Text to speech
text_to_speechGenerate speech (priced per 1,000 characters). voice from list_voices.
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 | ||
| model | No | ||
| voice | No | ||
| confirm_credits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||