Skip to content

Commit

Permalink
Merge pull request #212 from stc1988/fix/elevenlabs
Browse files Browse the repository at this point in the history
more api_key -> token
  • Loading branch information
meganetaaan committed Sep 21, 2023
2 parents c7a5b34 + 298ffa4 commit 7b57feb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firmware/docs/text-to-speech.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Tested below:
* [Google Cloud Text-to-Speech API](https://cloud.google.com/text-to-speech)
* [Coqui AI TTS](https://github.com/coqui-ai/TTS)
* [VoiceVox](https://github.com/Hiroshiba/voicevox_engine)
* [ElevenLabs](https://beta.elevenlabs.io/speech-synthesis)
* [ElevenLabs](https://elevenlabs.io/speech-synthesis)

See also official documents of each of them.

Expand Down
2 changes: 1 addition & 1 deletion firmware/docs/text-to-speech_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* [Google Cloud Text-to-Speech API](https://cloud.google.com/text-to-speech)
* [Coqui AI TTS](https://github.com/coqui-ai/TTS)
* [VoiceVox](https://github.com/Hiroshiba/voicevox_engine)
* [ElevenLabs](https://beta.elevenlabs.io/speech-synthesis)
* [ElevenLabs](https://elevenlabs.io/speech-synthesis)

それぞれの公式ドキュメントも参照してください。

Expand Down
2 changes: 1 addition & 1 deletion firmware/tests/speeches/tts-elevenlabs/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TTS } from 'tts-elevenlabs'
import Timer from 'timer'

const api_key = 'YOUR_API_KEY_HERE'
const token = 'YOUR_API_KEY_HERE'
const tts = new TTS({
token,
onPlayed: (num) => {
Expand Down

0 comments on commit 7b57feb

Please sign in to comment.