Skip to main content
POST
https://api.destined.ai
/
v1
/
tts
/
synthesize
curl -X POST "https://api.destined.ai/v1/tts/synthesize" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "speaker_id": "abc123-def456",
    "text": "Hello, this is a test of the Destined Voice API."
  }'
{
  "audio_url": "https://destined-voice.s3.amazonaws.com/audio/gen_abc123.wav",
  "duration_seconds": 3.2,
  "characters_used": 47
}

Request Body

speaker_id
string
required
ID of the speaker to use for synthesis
text
string
required
Text to convert to speech (max 2000 characters)

Response

audio_url
string
required
URL to the generated audio file (WAV format)
duration_seconds
number
required
Duration of the generated audio
characters_used
integer
required
Number of characters consumed
curl -X POST "https://api.destined.ai/v1/tts/synthesize" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "speaker_id": "abc123-def456",
    "text": "Hello, this is a test of the Destined Voice API."
  }'
{
  "audio_url": "https://destined-voice.s3.amazonaws.com/audio/gen_abc123.wav",
  "duration_seconds": 3.2,
  "characters_used": 47
}