generate_music
Create music or songs from a text prompt, including lyrical songs and instrumentals, with adjustable model, tempo, duration, and vocals.
Instructions
Generate music or songs. 4 models: ACE Step (songs with lyrics), Lyria 2 (instrumental), ElevenLabs Music, Tracks.
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 |
|---|---|---|---|
| bpm | No | Tempo in beats per minute (ACE Step only) | |
| model | No | Model to use. Options: ace-step: ACE Step, lyria: Lyria 2, elevenlabs-music: ElevenLabs Music, tracks: Tracks | lyria |
| lyrics | No | Song lyrics with [verse], [chorus], [bridge] tags (ACE Step only) | |
| prompt | Yes | Music description: style, mood, instruments, tempo | |
| duration | No | Duration in seconds (ACE Step only) | |
| instrumental | No | Instrumental only, no vocals (ACE Step only) |