Skip to main content
POST
Generate audio

Body

application/json

Audio generation request

model
string
required
prompt
string
required

Text prompt or text to synthesize

audio_urls
string[] | null

Reference audio URLs for voice cloning

image_url
string | null

Reference image URL

output_format
string | null

wav, mp3, pcm, or ogg_opus

pitch
integer | null
response_format
string | null

url (default) or b64_json

sample_rate
integer | null

Output sample rate in Hz

save_to_workbench
boolean | null

Persist the generated audio to the workbench (default true)

speed
number | null
voice
string | null

Preset voice name or cloned voice ID

volume
number | null

Response

Generated audio

audios
object[]
created
integer
model
string