generate_music
Create instrumental background music from a text description of style and mood. Returns the path to the generated audio file.
Instructions
Generate instrumental background music from a description (fal). Requires a fal API key. Returns the path to the generated audio file.
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_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | fal model id. Omit for the default. | |
| prompt | Yes | Description of the music style and mood | |
| duration | No | Duration in seconds. Default is provider-dependent. |