The Text-to-Speech (TTS) API converts text into natural-sounding speech. Submit your text and receive high-quality audio output in various voices and languages.

Endpoint

POST https://infer.voice.intron.io/tts/v1/enqueue

Authentication

Authorization: Bearer YOUR_API_KEY

Request

Headers

HeaderValueRequired
AuthorizationBearer YOUR_API_KEYYes
Content-Typeapplication/jsonYes

Body Parameters

FieldTypeDescriptionRequiredOptionsDefault
textStringthe text to processyes
voice_accentStringAccent for the speech voiceyessee page of supported accents
voice_genderStringAccent for the speech voiceyesmale / female
voice_languageStringLanguage of the input textnosee page of supported languagesen

Supported Language And Accents

Supported Languages And Accents

Comprehensive list of languages and accents supported

Basic request and response sample

curl --location 'https://infer.voice.intron.io/tts/v1/enqueue' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer api-key' \
  --data '{
      "text":"hello world",
      "voice_accent":"swahili",
      "voice_gender":"female"
  }'

Rate Limits

60 requests per minute
Rate limit headers included in response
Retry-After: (delay-seconds) indicates time in seconds to retry