POST
/
v2
/
speech

Authorizations

x-api-key
string
headerrequired

Body

application/json
script
string
required

The text script that will be used to generate the audio.

replica_id
string
required

The replica that will be used to generate the audio.

callback_url
string
required

The speech file will be returned asynchoronously as a presigned S3 URL.

speech_name
string

A name for the speech.

Response

200 - application/json
speech_id
string

A unique identifier for the speech.

speech_name
string

The name of the speech.

speech_file_url
string

If no callback_url is provided in the request, this will contain a direct link to download the speech file.