generate_music
Compose music from a text prompt or chunk-based plan, validating documented constraints and checking paid-operation approval before sending the request.
Instructions
Compose music from either a prompt or a chunk-based plan. The request is checked against current documented constraints and remains behind both paid-operation gates.
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": {
"filename": "<filename>"
},
"name": "generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| prompt | No | ||
| filename | Yes | ||
| model_id | No | music_v2_5 | |
| allow_paid | No | ||
| music_length_ms | No | ||
| composition_plan | No | ||
| allow_unknown_cost | No | ||
| force_instrumental | No |