POST
/
project
/
assets
/
generate_audio_from_text
/

Authorizations

X-API-KEY
string
headerrequired

Your API key with the prefix: dr_. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the account settings panel (In the bottom left corner click on your Accountprofile)

Body

application/json
slate_script
object[]
required
voice_id
string
required

The voice to be used to generate the audio

language_id
integer
default: 94

Language used to generate the audio. Language Id for English - Default (en-us) is 94

stability
number
default: 0.5

This controls the level of variation in generated audio. Low stability will increase expressiveness of speech while high stability will lower expressiveness but increase the predictability of how the script is spoken.

style_exaggeration
number
default: 0

Level of exaggeration of the speaking style. Available only for custom voices. Higher values will make increase similarity of cloned voice but may cause the audio to be less stable.

Response

201 - application/json
id
string
required

Id of the generated audio.

download_url
string
required

URL to download the audio. Note: URL will we valid for 60 minutes only.