Estimate premium characters
estimateHow many premium characters a text would use with a voice, without making audio. Standard voices are free; premium voices use at most one premium character per character (value voices less). Give the text, or just its length in characters. Free to call.
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": "<voice>"
},
"name": "estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The text you plan to speak. | |
| voice | Yes | A voice id from list_voices. | |
| characters | No | Or the number of characters, instead of the text. |