POST
/
generate
Authorization
string
required

Add your API token here. You can find it by reading the /authentication page.

Body

voice_id
string
required

The ID of the voice to use. Use the /voices endpoint to get a list of all available voices.

message
string
required

The message to generate. Limited to the first 500 characters.

return_usage
boolean

Set to true if you would like the current character usage to be returned along with the generated TTS.

Response

url
string

The URL to the generated audio file. The file will be deleted after 24 hours.

status
string

The status of the TTS generation. Learn more about different status codes here.

characterUsage
number

The current character count of the user.