Skip to content

Local Multilanguage with openai-edge-tts#8

Open
rnascimento13 wants to merge 2 commits intocoleam00:mainfrom
rnascimento13:openai-edge-tts
Open

Local Multilanguage with openai-edge-tts#8
rnascimento13 wants to merge 2 commits intocoleam00:mainfrom
rnascimento13:openai-edge-tts

Conversation

@rnascimento13
Copy link
Copy Markdown

@rnascimento13 rnascimento13 commented Oct 24, 2024

add local multi-language TTS support

it emulates the OpenAI TTS endpoint with a local open source Microsoft Edge's online text-to-speech

just change the OPENAI BASE URL to http://openai-edge-tts:5050/v1 and API key to password (set on .env)
Screenshot from 2024-10-24 08-58-11

you can choose a voice/language on this list (eg: "en-US-AndrewNeural")
https://gist.github.com/BettyJJ/17cbaa1de96235a7f5773b8690a20462
it also support any OpenAI-compatible voices (alloy, echo, fable, onyx, nova, shimmer)

you can also set the model to "tts-1" or "tts-1-hd" (default "tts-1")

this can be used in n8n aswell

https://github.com/travisvn/openai-edge-tts

OPENAI_EDGE_TTS_API_KEY was not working on .env its fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant