Generate audio
API Reference
Generate audio
Creates audio (e.g. speech) from a text prompt.
POST
Generate audio
Body
application/json
Audio generation request
Text prompt or text to synthesize
Reference audio URLs for voice cloning
Reference image URL
wav, mp3, pcm, or ogg_opus
url (default) or b64_json
Output sample rate in Hz
Persist the generated audio to the workbench (default true)
Preset voice name or cloned voice ID