Skip to content

Commit 6b2c115

Browse files
committed
Docs: clarify OpenAI-compatible TTS endpoints
1 parent 1d3962a commit 6b2c115

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/tts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Full schema is in [Gateway configuration](/gateway/configuration).
9393
},
9494
openai: {
9595
apiKey: "openai_api_key",
96+
baseUrl: "https://api.openai.com/v1",
9697
model: "gpt-4o-mini-tts",
9798
voice: "alloy",
9899
},
@@ -216,6 +217,9 @@ Then run:
216217
- `prefsPath`: override the local prefs JSON path (provider/limit/summary).
217218
- `apiKey` values fall back to env vars (`ELEVENLABS_API_KEY`/`XI_API_KEY`, `OPENAI_API_KEY`).
218219
- `elevenlabs.baseUrl`: override ElevenLabs API base URL.
220+
- `openai.baseUrl`: override the OpenAI TTS endpoint.
221+
- Resolution order: `messages.tts.openai.baseUrl` -> `OPENAI_TTS_BASE_URL` -> `https://api.openai.com/v1`
222+
- Non-default values are treated as OpenAI-compatible TTS endpoints, so custom model and voice names are accepted.
219223
- `elevenlabs.voiceSettings`:
220224
- `stability`, `similarityBoost`, `style`: `0..1`
221225
- `useSpeakerBoost`: `true|false`

0 commit comments

Comments
 (0)