Skip to main content
POST
Text to Speech

Pricing

  • Cost: 1 credits per character
⚠️ Important Notes
  • The generated audio file will expire after 12 hours. Please download and save it promptly.

Headers

x-api-key
string
required

Body

application/json
voiceId
string
required

ID of the voice to be used for the speech

text
string
required

Text to be converted to speech

format
string
required

Format to be used for the speech, Available options: wav, pcm, mp3, opus

Response

200 - application/json
code
integer
required
message
string
required
data
object
required