generate_speech
Generate speech audio from text using Gemini TTS models. Supports single and multi-speaker modes with voice selection and style control.
Instructions
Generate speech audio from text using Gemini TTS models.
Supports single-speaker and multi-speaker modes with voice selection and natural language style control.
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": "generate_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | flash-tts | |
| speakers | No | ||
| voice_name | No | ||
| multi_speaker | No | ||
| style_instructions | No |