From cad5d0b85c9fed70f8053c9e52cbfea1b2d9009a Mon Sep 17 00:00:00 2001 From: Sam Alghaithi Date: Sat, 29 Aug 2026 01:18:59 -0700 Subject: [PATCH] docs: add OpenAI-compatible endpoint example to speech TTS config --- .../librechat_yaml/object_structure/speech.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/docs/configuration/librechat_yaml/object_structure/speech.mdx b/content/docs/configuration/librechat_yaml/object_structure/speech.mdx index 8931152f3..b28bb1457 100644 --- a/content/docs/configuration/librechat_yaml/object_structure/speech.mdx +++ b/content/docs/configuration/librechat_yaml/object_structure/speech.mdx @@ -96,6 +96,20 @@ tts: voices: ["alloy", "echo", "fable", "onyx", "nova", "shimmer"] ``` +#### OpenAI-compatible endpoints + +The optional `url` field points the `openai` provider at any service that implements the OpenAI speech API. Set it to the service's full speech endpoint and configure the model and voices that service documents. For example, [Gandr](https://gandr.ai) accepts `tts-1` as the model and either the OpenAI voice names, which map onto its own voices, or its native voice ids: + +**Example:** +```yaml filename="speech / tts / openai (custom url)" +tts: + openai: + url: "https://tts.gandr.ai/v1/audio/speech" + apiKey: "${GANDR_API_KEY}" + model: "tts-1" + voices: ["gandr-mia", "gandr-ava", "gandr-jenny", "gandr-dane", "gandr-leo", "gandr-lewis"] +``` + ### azureOpenAI Azure OpenAI TTS configuration.