generate_audio
Create a sound from a text description and place it on an audio track—drum loop, texture, instrument phrase, riser, or effect—using exact bar length at the song tempo.
Instructions
Generate a sound from a description onto an audio track: a drum loop, a texture, an instrument phrase, a riser, an effect. bars = exact length in bars at the song tempo (the tempo goes in the prompt). backend: auto, comfyui (Stable Audio Open, up to 47 s), elevenlabs, replicate.
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_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| bars | No | ||
| name | No | ||
| seed | No | ||
| track | No | ||
| prompt | Yes | ||
| backend | No | auto | |
| project | No | ||
| seconds | No |