Creates an audio file based on a textual prompt. The generation process is asynchronous and returns a task ID for tracking.
🚀 Experiment with different descriptions — from realistic sounds (like “city street at night”) to fantastical ones (“alien spacecraft landing”)!
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | String | Yes | A natural language description of the sound you want |
webhook_url | String | Optional | Webhook URL to receive a callback with the audio result |
user_id | String | Optional | Optional user ID for tracking purposes |
content-type: application/x-www-form-urlencoded
Note: If your webhook is set, you’ll get the sound automatically once ready. Otherwise, you can fetch it manually using the conversion_id.
Text prompt guiding the sound generation.
"Generate a soothing ambient soundscape."
Callback URL for async processing results.
"http://your-webhook-url.com/callback"
Desired duration of generated audio in seconds (beta feature)
30