mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
Correct the typo & add example URL for OpenAI compatible TTS services
This commit is contained in:
@@ -175,7 +175,7 @@ tts:
|
||||
openai:
|
||||
apiKey: '${TTS_API_KEY}'
|
||||
model: 'tts-1'
|
||||
voice: ['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer']
|
||||
voices: ['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer']
|
||||
```
|
||||
|
||||
you can choose between the `tts-1` and the `tts-1-hd` models, more information about the models can be found in the [OpenAI's documentation](https://platform.openai.com/docs/guides/text-to-speech/audio-quality)
|
||||
@@ -219,7 +219,15 @@ pronunciation_dictionary_locators: [''] # list of strings (array)
|
||||
|
||||
### OpenAI compatible TTS services
|
||||
|
||||
check the [OpenAI TTS](#openai-tts) section, just change the `url` variable to the ones that you want to use
|
||||
check the [OpenAI TTS](#openai-tts) section, just change the `url` variable to the ones that you want to use. It should be a complete url:
|
||||
```yaml filename="librechat.yaml"
|
||||
tts:
|
||||
openai:
|
||||
apiKey: 'sk-xxx'
|
||||
model: 'tts-1'
|
||||
voices: ['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer']
|
||||
url: "https://api.compatible.com/v1/audio/speech"
|
||||
```
|
||||
|
||||
### ElevenLabs compatible TTS services
|
||||
|
||||
|
||||
Reference in New Issue
Block a user