From 2f7fad64c7fa2812cda89e4f57120e4c78ffd7ea Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Sat, 25 Apr 2026 20:36:03 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@e2fd3dcee9cdd37f89d1037b29ec70f9d59eec46 --- .openclaw-sync/source.json | 4 ++-- docs/.generated/plugin-sdk-api-baseline.sha256 | 4 ++-- docs/providers/google.md | 4 ++-- docs/tools/tts.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 0010c80ea..5924a1868 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "d5b6667823a431bc6ddaf36b5ab064833336a92b", - "syncedAt": "2026-04-25T20:31:08.663Z" + "sha": "e2fd3dcee9cdd37f89d1037b29ec70f9d59eec46", + "syncedAt": "2026-04-25T20:34:31.784Z" } diff --git a/docs/.generated/plugin-sdk-api-baseline.sha256 b/docs/.generated/plugin-sdk-api-baseline.sha256 index d414d5632..0ec8dfc60 100644 --- a/docs/.generated/plugin-sdk-api-baseline.sha256 +++ b/docs/.generated/plugin-sdk-api-baseline.sha256 @@ -1,2 +1,2 @@ -f813474b1623f06e1465daacd56db970e8e92ab1be122faee0fa2a1dc2d4fc43 plugin-sdk-api-baseline.json -b3ea88c0c9b4cf6d9a46f0d34149063303853e78ef9708224608e4da79b23190 plugin-sdk-api-baseline.jsonl +c911117176b41eebf26470618274a7e093910e9b36855bc045bc8a92f6856745 plugin-sdk-api-baseline.json +ff360635f95beb217b9dd207a87eaf331319a7671aea03acfe05911756741b21 plugin-sdk-api-baseline.jsonl diff --git a/docs/providers/google.md b/docs/providers/google.md index 661cc7b7f..765439d0a 100644 --- a/docs/providers/google.md +++ b/docs/providers/google.md @@ -252,8 +252,8 @@ The bundled `google` speech provider uses the Gemini API TTS path with - Default voice: `Kore` - Auth: `messages.tts.providers.google.apiKey`, `models.providers.google.apiKey`, `GEMINI_API_KEY`, or `GOOGLE_API_KEY` -- Output: WAV for regular TTS attachments, PCM for Talk/telephony -- Native voice-note output: not supported on this Gemini API path because the API returns PCM rather than Opus +- Output: WAV for regular TTS attachments, Opus for voice-note targets, PCM for Talk/telephony +- Voice-note output: Google PCM is wrapped as WAV and transcoded to 48 kHz Opus with `ffmpeg` To use Google as the default TTS provider: diff --git a/docs/tools/tts.md b/docs/tools/tts.md index 0af905c65..8995e9afa 100644 --- a/docs/tools/tts.md +++ b/docs/tools/tts.md @@ -584,7 +584,7 @@ These override `messages.tts.*` for that host. - **Local CLI**: uses the configured `outputFormat`. Voice-note targets are converted to Ogg/Opus and telephony output is converted to raw 16 kHz mono PCM with `ffmpeg`. -- **Google Gemini**: Gemini API TTS returns raw 24kHz PCM. OpenClaw wraps it as WAV for audio attachments and returns PCM directly for Talk/telephony. Native Opus voice-note format is not supported by this path. +- **Google Gemini**: Gemini API TTS returns raw 24kHz PCM. OpenClaw wraps it as WAV for audio attachments, transcodes it to 48kHz Opus for voice-note targets, and returns PCM directly for Talk/telephony. - **Gradium**: WAV for audio attachments, Opus for voice-note targets, and `ulaw_8000` at 8 kHz for telephony. - **xAI**: MP3 by default; `responseFormat` may be `mp3`, `wav`, `pcm`, `mulaw`, or `alaw`. OpenClaw uses xAI's batch REST TTS endpoint and returns a complete audio attachment; xAI's streaming TTS WebSocket is not used by this provider path. Native Opus voice-note format is not supported by this path. - **Microsoft**: uses `microsoft.outputFormat` (default `audio-24khz-48kbitrate-mono-mp3`).