You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1531123
Browse filesBrowse the repository at this point in the historyBrowse files
Add Volcengine/BytePlus Seed Speech as a bundled TTS provider with current API-key auth, legacy AppID/token fallback, native Ogg/Opus voice-note output, and MP3 audio-file output.
Co-authored-by: Peter Steinberger <[email protected]>
- Providers/ElevenLabs: include `eleven_v3` in the bundled TTS model catalog so model selection surfaces can offer ElevenLabs v3. (#68321) Thanks @itsuzef.
56
56
- Providers/Local CLI TTS: add a bundled local command speech provider with file/stdout input, voice-note Opus conversion, and telephony PCM output. (#56239) Thanks @solar2ain.
57
57
- Providers/Inworld: add Inworld as a bundled speech provider with streaming TTS synthesis, voice listing, voice-note output, and PCM telephony output. (#55972) Thanks @cshape.
58
+
- Providers/Volcengine: add Volcengine/BytePlus Seed Speech as a bundled TTS provider with API-key auth, native Ogg/Opus voice-note output, and MP3 audio-file output. (#55641) Thanks @xuruiray.
58
59
- Android/Talk Mode: expose Talk Mode in the Voice tab with runtime-owned voice capture modes and microphone foreground-service escalation. Thanks @alex-latitude.
59
60
- Providers/LiteLLM: register `litellm` as an image-generation provider so `image_generate model=litellm/...` calls and `agents.defaults.imageGenerationModel.fallbacks` entries resolve through the LiteLLM proxy. Thanks @zqchris.
60
61
- Codex harness: require Codex app-server `0.125.0` or newer and cover native MCP `PreToolUse`, `PostToolUse`, and `PermissionRequest` payloads through the OpenClaw hook relay.
Copy file name to clipboardExpand all lines: docs/tools/tts.md
+56-6Lines changed: 56 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ read_when:
7
7
title: "Text-to-speech"
8
8
---
9
9
10
-
OpenClaw can convert outbound replies into audio using ElevenLabs, Google Gemini, Gradium, Inworld, Local CLI, Microsoft, MiniMax, OpenAI, Vydra, xAI, or Xiaomi MiMo.
10
+
OpenClaw can convert outbound replies into audio using ElevenLabs, Google Gemini, Gradium, Inworld, Local CLI, Microsoft, MiniMax, OpenAI, Volcengine, Vydra, xAI, or Xiaomi MiMo.
11
11
It works anywhere OpenClaw can send audio.
12
12
13
13
## Supported services
@@ -20,6 +20,7 @@ It works anywhere OpenClaw can send audio.
20
20
-**Microsoft** (primary or fallback provider; current bundled implementation uses `node-edge-tts`)
21
21
-**MiniMax** (primary or fallback provider; uses the T2A v2 API)
22
22
-**OpenAI** (primary or fallback provider; also used for summaries)
23
+
-**Volcengine** (primary or fallback provider; uses the BytePlus Seed Speech HTTP API)
23
24
-**Vydra** (primary or fallback provider; shared image, video, and speech provider)
24
25
-**xAI** (primary or fallback provider; uses the xAI TTS API)
25
26
-**Xiaomi MiMo** (primary or fallback provider; uses MiMo TTS through Xiaomi chat completions)
@@ -39,7 +40,7 @@ or ElevenLabs.
39
40
40
41
## Optional keys
41
42
42
-
If you want ElevenLabs, Google Gemini, Gradium, Inworld, MiniMax, OpenAI, Vydra, xAI, or Xiaomi MiMo:
43
+
If you want ElevenLabs, Google Gemini, Gradium, Inworld, MiniMax, OpenAI, Volcengine, Vydra, xAI, or Xiaomi MiMo:
43
44
44
45
-`ELEVENLABS_API_KEY` (or `XI_API_KEY`)
45
46
-`GEMINI_API_KEY` (or `GOOGLE_API_KEY`)
@@ -49,6 +50,9 @@ If you want ElevenLabs, Google Gemini, Gradium, Inworld, MiniMax, OpenAI, Vydra,
49
50
`MINIMAX_OAUTH_TOKEN`, `MINIMAX_CODE_PLAN_KEY`, or
provider-native `ogg_opus`; normal audio-file targets request `mp3`.
285
+
252
286
### xAI primary
253
287
254
288
```json5
@@ -447,7 +481,7 @@ Then run:
447
481
-`tagged` only sends audio when the reply includes `[[tts:key=value]]` directives or a `[[tts:text]]...[[/tts:text]]` block.
448
482
-`enabled`: legacy toggle (doctor migrates this to `auto`).
449
483
-`mode`: `"final"` (default) or `"all"` (includes tool/block replies).
450
-
-`provider`: speech provider id such as `"elevenlabs"`, `"google"`, `"gradium"`, `"inworld"`, `"microsoft"`, `"minimax"`, `"openai"`, `"vydra"`, `"xai"`, or `"xiaomi"` (fallback is automatic).
484
+
-`provider`: speech provider id such as `"elevenlabs"`, `"google"`, `"gradium"`, `"inworld"`, `"microsoft"`, `"minimax"`, `"openai"`, `"volcengine"`, `"vydra"`, `"xai"`, or `"xiaomi"` (fallback is automatic).
451
485
- If `provider` is **unset**, OpenClaw uses the first configured speech provider in registry auto-select order.
452
486
- Legacy `provider: "edge"` config is repaired by `openclaw doctor --fix` and
453
487
rewritten to `provider: "microsoft"`.
@@ -461,7 +495,7 @@ Then run:
461
495
-`maxTextLength`: hard cap for TTS input (chars). `/tts audio` fails if exceeded.
462
496
-`timeoutMs`: request timeout (ms).
463
497
-`prefsPath`: override the local prefs JSON path (provider/limit/summary).
464
-
-`apiKey` values fall back to env vars (`ELEVENLABS_API_KEY`/`XI_API_KEY`, `GEMINI_API_KEY`/`GOOGLE_API_KEY`, `GRADIUM_API_KEY`, `INWORLD_API_KEY`, `MINIMAX_API_KEY`, `OPENAI_API_KEY`, `VYDRA_API_KEY`, `XAI_API_KEY`, `XIAOMI_API_KEY`).
498
+
-`apiKey` values fall back to env vars (`ELEVENLABS_API_KEY`/`XI_API_KEY`, `GEMINI_API_KEY`/`GOOGLE_API_KEY`, `GRADIUM_API_KEY`, `INWORLD_API_KEY`, `MINIMAX_API_KEY`, `OPENAI_API_KEY`, `VYDRA_API_KEY`, `XAI_API_KEY`, `XIAOMI_API_KEY`). Volcengine uses `appId`/`token` instead.
465
499
-`providers.elevenlabs.baseUrl`: override ElevenLabs API base URL.
466
500
-`providers.openai.baseUrl`: override the OpenAI TTS endpoint.
- If `messages.tts.providers.google.apiKey` is omitted, TTS can reuse `models.providers.google.apiKey` before env fallback.
498
532
-`providers.gradium.baseUrl`: override Gradium API base URL (default `https://api.gradium.ai`).
0 commit comments