estimate_tts_cost
Estimate TTS credit costs locally before synthesis from text, voice, and account entitlements; no audio generated or final billing.
Instructions
Estimate TTS locally using backend text/SSML counting rules, account multipliers and current voice/account entitlements from existing APIs. Final settlement is performed by the synthesis backend. Show only display.estimated_costs as estimated credits, including when the selected entitlement uses characters. Raw costs retain the selected entitlement for budgets; do not show billable characters/seconds as the price. Does not synthesize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| pitch | No | ||
| speed | No | ||
| style | No | ||
| accent | Yes | ||
| volume | No | ||
| voice_id | Yes | A public voice ID returned by the speech catalog. | |
| stability | No | ||
| similarity | No | ||
| emotion_name | No | Default | |
| exaggeration | No | ||
| article_title | No | Speech |