text_to_speech
Generate spoken audio from written text using ElevenLabs AI. Returns a task ID, status, and output URLs for the created speech.
Instructions
Create a ElevenLabs task on RunAPI (text to speech). Returns a task id, status, and output URLs.
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": "text_to_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Declared type: string. | |
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| speed | No | Declared type: number. | |
| style | No | Declared type: number. | |
| voice | No | Declared type: string. | |
| next_text | No | Declared type: string. | |
| stability | No | Declared type: number. | |
| timeout_ms | No | ||
| timestamps | No | Declared type: boolean. | |
| callback_url | No | Declared type: string. | |
| language_code | No | Declared type: string. | |
| previous_text | No | Declared type: string. | |
| poll_interval_ms | No | ||
| similarity_boost | No | Declared type: number. |