Prerequisites
- A paid account with credits — see Pricing
- An API Key — see API Key and API Configuration (sign in if needed)
Synchronous TTS example
Submit one line of text and receive a synthesized audio URL in the HTTP response.code is 200 and data.results contains CDN audio URLs. Field-level detail: Create TTS (sync) in API reference.
Replace YOUR_VOICE_ID with a voiceId from List system voices (e.g. sv_…).
Async tasks
For async tasks:- Send
X-Idempotency-Keyon everyPOST(required, max 64 characters). - Configure a Webhook URL on API Configuration.
- The HTTP response confirms acceptance only (
taskId, etc.) — deliverables arrive via Webhook request body.
Next steps
API Key
Bearer header and configuration
Text to speech
TTS workflows and voice selection

