Generate audio using AI
Generate Audio with AI
Generate audio, music, and voice content using AI models
POST
Generate audio using AI
Generate music, sound effects, and AI voices from text. The SDK provides specialized methods for each audio type with appropriate parameters.
Music Generation
Create background music and ambient soundtracks from text prompts.Sound Effect Generation
Generate sound effects and environmental audio from descriptions.Voice Generation
Convert text to natural-sounding speech in multiple voices.- Default duration is 5 seconds for music, 2 seconds for sound effects
- Audio IDs have an
a-prefix (e.g.,a-a1b2c3d4) - Generation is asynchronous; use
callback_urlfor webhook notification - All audio returns an Audio object with
generate_url()method
Generative Media Guide
Learn about all AI generation capabilities
Voiceovers Tutorial
Add narration to silent footage with AI voices
Authorizations
API key for authentication (sk-xxx format)
Path Parameters
Example:
"default"
Body
application/json