Local Multilanguage with openai-edge-tts#8
Open
rnascimento13 wants to merge 2 commits intocoleam00:mainfrom
Open
Local Multilanguage with openai-edge-tts#8rnascimento13 wants to merge 2 commits intocoleam00:mainfrom
rnascimento13 wants to merge 2 commits intocoleam00:mainfrom
Conversation
OPENAI_EDGE_TTS_API_KEY was not working on .env its fixed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)

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