generate_speech
Generate and save speech audio. This may consume credits and is blocked by dry_run or either missing paid authorization gate.
Instructions
Generate and save speech audio. This may consume credits and is blocked by dry_run or either missing paid authorization gate.
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": {
"voice_id": "<voice_id>",
"text": "<text>",
"filename": "<filename>"
},
"name": "generate_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| filename | Yes | ||
| model_id | No | ||
| voice_id | Yes | ||
| allow_paid | No | ||
| language_code | No | ||
| output_format | No | mp3_44100_128 | |
| voice_settings | No | ||
| allow_unknown_cost | No |