Skip to main content

Prerequisites

Synchronous TTS example

Submit one line of text and receive a synthesized audio URL in the HTTP response.
On success, 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:
  1. Send X-Idempotency-Key on every POST (required, max 64 characters).
  2. Configure a Webhook URL on API Configuration.
  3. The HTTP response confirms acceptance only (taskId, etc.) — deliverables arrive via Webhook request body.
See Products overview for sync vs async by product.

Next steps

API Key

Bearer header and configuration

Text to speech

TTS workflows and voice selection