Generate Sound Based on Given Prompt
Features
Sound Generator
Creates an audio file based on a textual prompt. The generation process is asynchronous and returns a task ID for tracking.
POST
Generate Sound Based on Given Prompt
Create custom sounds with AI using just a simple prompt.
Sound Generator lets you synthesize high-quality sound effects and audio textures directly from text prompts. Perfect for developers, game designers, filmmakers, and creative technologists who need original sounds on demand.
Use this endpoint to generate sounds based on a text description.
- Generate realistic or abstract sounds
- Fine-tuned AI audio creation
- Instant feedback or asynchronous delivery via webhook
Endpoint
Sample Output
Listen to an actual sample: Prompt: sound of waves crashing at the sea shore. Download AudioTry it Yourself
Visit the Sound Generator Endpoint Explorer to try live prompt-based sound creation.🚀 Experiment with different descriptions — from realistic sounds (like “city street at night”) to fantastical ones (“alien spacecraft landing”)!
Request Parameters
| 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 |
audio_length | int | Optional | Specify song length (optional) |
content-type: application/x-www-form-urlencoded
Sample Request
Python
Sample Response
Success (200 OK)
Webhook Response
Once the sound is ready, your webhook will receive:
Note: If your webhook is set, you’ll get the sound automatically once ready. Otherwise, you can fetch it manually using the conversion_id.
Payload and Request Formation
Authorizations
Body
application/x-www-form-urlencoded
Text prompt guiding the sound generation.
Example:
"Generate a soothing ambient soundscape."
Callback URL for async processing results.
Example:
"http://your-webhook-url.com/callback"
Desired duration of generated audio in seconds (beta feature)
Example:
30