Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek24 committed Mar 13, 2024
1 parent 1dafb8b commit 00deca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import * as googleTTS from '@sefinek/google-tts-api'; // ES6 or TypeScript
const googleTTS = require('@sefinek/google-tts-api'); // CommonJS

// Get audio URL
const url = googleTTS.getAudioUrl('Hello World', {
const url = googleTTS.getAudioUrl('Hello world!', {
lang: 'en',
slow: false,
host: 'https://translate.google.com',
Expand All @@ -53,7 +53,7 @@ const googleTTS = require('@sefinek/google-tts-api'); // CommonJS

// Get base64 text
googleTTS
.getAudioBase64('Hello World', {
.getAudioBase64('Hello world!', {
lang: 'en',
slow: false,
host: 'https://translate.google.com',
Expand Down

0 comments on commit 00deca7

Please sign in to comment.