api_music_midi_beat
Generate a downloadable-standard base64 MIDI file of an original drum pattern (kick/snare/hat steps). No copyrighted song or audio playback. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"bpm": "<bpm>",
"bars": "<bars>",
"kick_steps": "<kick_steps>",
"snare_steps": "<snare_steps>",
"hat_steps": "<hat_steps>"
},
"name": "api_music_midi_beat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | Tempo BPM from 30 to 300 | |
| bars | Yes | Pattern bars 1 to 16 | |
| hat_steps | Yes | 0–15 comma-separated 16th-note positions | |
| kick_steps | Yes | 0–15 comma-separated 16th-note positions | |
| snare_steps | Yes | 0–15 comma-separated 16th-note positions |