generate_speech
Generate speech audio from text using selectable voices and models. Saves output as a .wav file for playback or integration.
Instructions
Synthesizes speech from text.
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>",
"output_path": "<output_path>"
},
"name": "generate_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize into speech | |
| output_path | Yes | File path to save the generated audio (.wav) | |
| voice_name | No | Voice name (e.g. Puck, Charon, Kore, Fenrir, Aoede) | Puck |
| model | No | "speech" (default, Pro quality) or "speech-fast" | speech |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |