text_to_speech
Convert text into natural-sounding speech with support for multiple languages, voice selection, speed adjustment, and optional subtitles. Advanced voices can include emotion for expressive audio.
Instructions
Generate speech from text. Pro voices may support emotion; Lite voices do not.
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 | ||
| emotion | No | ||
| language | No | pt-BR | |
| speed_rate | No | ||
| voice_name | No | Ravi Ananda | |
| generate_subtitle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||