v1

latestOpenAPI 3.0.32026-07-2691139249.7 KB
text_to_speech

post/api/text_to_speech/

Request body

idstring uuid required
scriptstring required

Text to be converted to speech

accentstring uuid nullable

Accent to be used for the speech

webhook_urlstring uri nullable

Webhook URL for status updates. Default is null.

outputstring required

Output audio url

media_jobstring nullable required
credits_usednumber required

Credits used in this API call

durationinteger required

Duration of the video in seconds

is_hiddenboolean required

Whether the job is hidden or not

statusstring required
failed_reasonstring required

Failed reason

created_atstring date-time required
updated_atstring date-time required

Response

idstring uuid required
scriptstring required

Text to be converted to speech

accentstring uuid nullable

Accent to be used for the speech

webhook_urlstring uri nullable

Webhook URL for status updates. Default is null.

outputstring required

Output audio url

media_jobstring nullable required
credits_usednumber required

Credits used in this API call

durationinteger required

Duration of the video in seconds

is_hiddenboolean required

Whether the job is hidden or not

statusstring required
failed_reasonstring required

Failed reason

created_atstring date-time required
updated_atstring date-time required