Create a MIDI clip
create_midiIdempotent
Compose the requested original music as notes, then render it as a playable and downloadable MIDI clip. Times and durations are in quarter-note beats from zero. Match the requested tempo, length and character. Use a short musical title without personal information.
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": {
"title": "<title>",
"key": "<key>",
"style": "<style>",
"notes": "<notes>"
},
"name": "create_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ||
| key | Yes | ||
| notes | Yes | Up to 32 bars in 4/4. Use the same start time for simultaneous notes. | |
| style | Yes | ||
| title | Yes | ||
| midiType | No | melody | |
| instrument | No | piano |