How it works
Synthesises speech from your script and returns an audio_url straight away. About 1 credit per 1,000 characters. Pick a voice with list_voices.
Inputs
Name
Type
Required
Description
text
string
required
The script.
voice_id
string
optional
From list_voices.
model
string
optional
Voice model.
language
string
optional
Language code.
Returns
{ audio_url, media_id, mimeType, chars, creditsUsed }Examples
Voice-over for a video ad
The agent writes a 15-second script and voices it for the Reel.
{
"text": "This Black Friday, drive home for zero percent finance.",
"voice_id": "<voice_id>"
}