Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Body

application/json
text
string
required

Text to convert to speech

sample_audio_url
string
required

An audio URL containing a voice sample of the target speaker without music or overlapping voices. Recommended over voice_id for better output quality.

voice_id
string

Voice model ID

gender
string

Gender preference for the voice (e.g., "male", "female")

webhook_url
string

Callback URL for async processing

Response

Successfully initiated TTS conversion

success
boolean
task_id
string
conversion_id
string
eta
integer