Generate music
generate_musicUse for background music, jingles or songs. Default Lyria 3.5 (20 credits a track, ~30 s); elevenlabs-music-v2.5 for an exact length (120 credits/min); minimax-music-3 or mureka-v9.5 to sing lyrics.
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 | ||
| lyrics | No | Lyrics to sing, on song models. | |
| prompt | Yes | Genre, mood, tempo, instruments, what it's for. | |
| duration | No | Seconds, on models with an exact length. | |
| instrumental | No | No vocals. |