From 9fc8a7b7f71213babf90f930cf447b0f7841c75d Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Sat, 25 Apr 2026 05:13:51 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@8acc92c881abc1cc02ff5695e15b75b94e294b07 --- .openclaw-sync/source.json | 4 ++-- docs/providers/google.md | 12 +++++++++--- docs/tools/tts.md | 2 ++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 9121eccd6..2d5dfe261 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "3f63ba8fd808f46566aabbca194fa54c2d6b4871", - "syncedAt": "2026-04-25T05:11:57.135Z" + "sha": "8acc92c881abc1cc02ff5695e15b75b94e294b07", + "syncedAt": "2026-04-25T05:12:22.573Z" } diff --git a/docs/providers/google.md b/docs/providers/google.md index ae8e2625a..661cc7b7f 100644 --- a/docs/providers/google.md +++ b/docs/providers/google.md @@ -267,6 +267,7 @@ To use Google as the default TTS provider: google: { model: "gemini-3.1-flash-tts-preview", voiceName: "Kore", + audioProfile: "Speak professionally with a calm tone.", }, }, }, @@ -274,9 +275,14 @@ To use Google as the default TTS provider: } ``` -Gemini API TTS accepts expressive square-bracket audio tags in the text, such as -`[whispers]` or `[laughs]`. To keep tags out of the visible chat reply while -sending them to TTS, put them inside a `[[tts:text]]...[[/tts:text]]` block: +Gemini API TTS uses natural-language prompting for style control. Set +`audioProfile` to prepend a reusable style prompt before the spoken text. Set +`speakerName` when your prompt text refers to a named speaker. + +Gemini API TTS also accepts expressive square-bracket audio tags in the text, +such as `[whispers]` or `[laughs]`. To keep tags out of the visible chat reply +while sending them to TTS, put them inside a `[[tts:text]]...[[/tts:text]]` +block: ```text Here is the clean reply text. diff --git a/docs/tools/tts.md b/docs/tools/tts.md index 30a7104b3..16780a098 100644 --- a/docs/tools/tts.md +++ b/docs/tools/tts.md @@ -379,6 +379,8 @@ Then run: - `providers.minimax.pitch`: integer pitch shift `-12..12` (default 0). Fractional values are truncated before calling MiniMax T2A because the API rejects non-integer pitch values. - `providers.google.model`: Gemini TTS model (default `gemini-3.1-flash-tts-preview`). - `providers.google.voiceName`: Gemini prebuilt voice name (default `Kore`; `voice` is also accepted). +- `providers.google.audioProfile`: natural-language style prompt prepended before the spoken text. +- `providers.google.speakerName`: optional speaker label prepended before the spoken text when your TTS prompt uses a named speaker. - `providers.google.baseUrl`: override the Gemini API base URL. Only `https://generativelanguage.googleapis.com` is accepted. - If `messages.tts.providers.google.apiKey` is omitted, TTS can reuse `models.providers.google.apiKey` before env fallback. - `providers.gradium.baseUrl`: override Gradium API base URL (default `https://api.gradium.ai`).