mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
Docs: clarify OpenAI-compatible TTS endpoints
This commit is contained in:
@@ -93,6 +93,7 @@ Full schema is in [Gateway configuration](/gateway/configuration).
|
|||||||
},
|
},
|
||||||
openai: {
|
openai: {
|
||||||
apiKey: "openai_api_key",
|
apiKey: "openai_api_key",
|
||||||
|
baseUrl: "https://api.openai.com/v1",
|
||||||
model: "gpt-4o-mini-tts",
|
model: "gpt-4o-mini-tts",
|
||||||
voice: "alloy",
|
voice: "alloy",
|
||||||
},
|
},
|
||||||
@@ -216,6 +217,9 @@ Then run:
|
|||||||
- `prefsPath`: override the local prefs JSON path (provider/limit/summary).
|
- `prefsPath`: override the local prefs JSON path (provider/limit/summary).
|
||||||
- `apiKey` values fall back to env vars (`ELEVENLABS_API_KEY`/`XI_API_KEY`, `OPENAI_API_KEY`).
|
- `apiKey` values fall back to env vars (`ELEVENLABS_API_KEY`/`XI_API_KEY`, `OPENAI_API_KEY`).
|
||||||
- `elevenlabs.baseUrl`: override ElevenLabs API base URL.
|
- `elevenlabs.baseUrl`: override ElevenLabs API base URL.
|
||||||
|
- `openai.baseUrl`: override the OpenAI TTS endpoint.
|
||||||
|
- Resolution order: `messages.tts.openai.baseUrl` -> `OPENAI_TTS_BASE_URL` -> `https://api.openai.com/v1`
|
||||||
|
- Non-default values are treated as OpenAI-compatible TTS endpoints, so custom model and voice names are accepted.
|
||||||
- `elevenlabs.voiceSettings`:
|
- `elevenlabs.voiceSettings`:
|
||||||
- `stability`, `similarityBoost`, `style`: `0..1`
|
- `stability`, `similarityBoost`, `style`: `0..1`
|
||||||
- `useSpeakerBoost`: `true|false`
|
- `useSpeakerBoost`: `true|false`
|
||||||
|
|||||||
Reference in New Issue
Block a user