Generate a sound
generate_soundMake a new sound effect with AI from a text prompt, free. Waits for it (usually about 10 seconds) and returns the best takes, each with a url (WAV) and a preview_url (MP3) that need no header, a file_name and a ready curl command: run it to save the file (curl -L -o <file_name> ""). Links work for 120 days, so save what you keep. Describe the sound plainly and specifically: "magic sparkle chime", "retro 8-bit coin pickup", "fast cinematic whoosh transition". Best for sound effects and short ambiences up to 10 seconds; not for music with structure or speech. One job at a time per account, 250 a week. Takes are AI-generated (ai_content "ai"); tell the person. They aren't exclusive to the person: soundza may add takes to its library. Search the catalog first when an existing sound would do, and for music beds or anything over 10 seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Repeat a result exactly. | |
| takes | No | How many takes to return, best first: 1 to 3. Default 1. | |
| prompt | Yes | What the sound is, in plain words. Up to 200 characters. | |
| duration_seconds | No | Length in seconds, 0.5 to 10. Default 3. |