generate_music_detailed
Generate music with detailed controls and receive the audio file plus structured JSON metadata in one multipart response, so you can use both the track and its data.
Instructions
Generate music using the detailed endpoint, which returns audio and structured JSON metadata in a multipart response.
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_detailed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| prompt | No | ||
| filename | Yes | ||
| model_id | No | music_v1 | |
| allow_paid | No | ||
| finetune_id | No | ||
| lyrics_text | No | ||
| output_format | No | mp3_44100_128 | |
| sign_with_c2pa | No | ||
| generation_mode | No | ||
| music_length_ms | No | ||
| with_timestamps | No | ||
| composition_plan | No | ||
| finetune_strength | No | ||
| allow_unknown_cost | No | ||
| force_instrumental | No | ||
| model_style_prefix | No | music | |
| use_phonetic_names | No | ||
| store_for_inpainting | No | ||
| with_waveform_visual | No | ||
| respect_sections_durations | No |