aistudio_tts
Generate Arabic or English studio voiceovers—single-speaker or multi-speaker—with tone and pacing controls, and save ready-to-use WAV audio files.
Instructions
Generate Arabic or English studio voiceover / speech (single-speaker or multi-speaker dialogue) in Google AI Studio.
Saves a ready-to-use WAV/audio file into ~/Downloads/google-ai-studio (or output_path).
Args: text: The script or multi-speaker dialogue to speak (e.g. "Host: Welcome!\nGuest: Thanks!"). voice: Voice name (e.g. 'Kore', 'Puck', 'Charon', 'Zephyr', 'Aoede', 'Fenrir'). Default 'Kore'. style_instructions: Optional tone/pacing/accent direction (e.g. 'Warm Egyptian Arabic narrator, confident commercial pace'). multi_speaker: Optional dict mapping speaker names to voice names (e.g. {"Host": "Kore", "Guest": "Puck"}). model: Optional TTS model name (API mode default: 'gemini-3.8-flash-tts'). output_path: Optional local file path for the saved WAV. use_browser: True (default) drives aistudio.google.com/generate-speech in Chrome; False uses Gemini TTS API.
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": "aistudio_tts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| voice | No | Kore | |
| output_path | No | ||
| use_browser | No | ||
| multi_speaker | No | ||
| style_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |