Generate a sound effect or music
generate_soundMake a sound effect or a music bed and return a run id. Poll get_run_status for the audio URL and duration_seconds. Effects run 1-22 seconds, music 10-300 and instrumental by default so it sits under a voiceover. This is the sound half of a video: without it a cut lands silent, and a bed under narration is what makes a montage feel scored rather than assembled.
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 |
|---|---|---|---|
| kind | No | Shorthand for picking the model: "effect" (default) or "music". Ignored if `model` is set. | |
| model | No | Model id from list_models. Omit and `kind` decides. | |
| prompt | Yes | What to hear. For an effect, the sound itself — "a heavy wooden door closing on a stone floor". For music, the mood, instrumentation and tempo. Describing the source beats naming a feeling. | |
| seconds | No | Length. Effects run 1-22s (default 4); music 10-300s (default 30). Outside the range is rejected, not clamped. | |
| instrumental | No | Music only. Defaults true so the bed sits under a voiceover; false allows a vocal line. |