Generate speech
generate_speechSpeaks a line of text: dialogue, narration, an announcer (ElevenLabs v4, which takes audio tags for delivery: elevenlabs/tts/eleven-v4). Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.
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 | What to say | |
| voice | No | A voice name, e.g. Rachel, Aria, Roger | |
| options | No | Any other input the model takes, per generate schema of its endpoint; the fields above win | |
| wait_seconds | No | How long to wait for the result before returning the request id |