Gemini Neural Text-to-Speech (TTS) Expressive Voice Synthesizer
synthesize_gemini_speech_audioConverts written scripts into natural, prosody-controlled spoken audio for voiceover narration or spoken agent replies.
Instructions
Converts written text into natural, prosody-controlled spoken voice audio using Gemini 3.8 Flash Neural Text-to-Speech. Use when rendering voiceover narration or spoken agent replies from a deterministic text script; for conducting bidirectional conversational audio dialog comprehension, use process_live_audio_dialogue instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('voice_persona' defaults to 'neutral_broadcast'), supports '?demo=true' or L402 (50 sats), and returns HTTP 400 if invalid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "synthesize_gemini_speech_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exact written script or paragraph to synthesize into spoken voice audio. | |
| voice_persona | No | Expressive vocal timbre preset; defaults to 'neutral_broadcast' when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Neural TTS model executed ('gemini-3.8-flash-tts'). | |
| notice | Yes | Audio synthesis status message. | |
| output | Yes | Synthesized speech audio descriptor and phoneme duration summary. | |
| success | Yes | True when TTS synthesis completed. |