Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export the musical notes of a clip as MIDI instrument data
POST /api/v1/music/midi
clip_id
data.clipId
results[].id
stem_clip_id
{ "code": 0, "message": "ok", "request_id": "req-1710000000000", "data": { "state": "complete", "instruments": { "piano": [ ... ], "bass": [ ... ] } } }
state
instruments
curl -X POST https://api.example.com/api/v1/music/midi \ -H "Authorization: Bearer sk-mm-your-key" \ -H "Content-Type: application/json" \ -d '{ "clip_id": "abc123def456" }'
# Step 1: separate stems POST /api/v1/music/stem → stem.id = "stem-xyz" # Step 2: export MIDI with stem context POST /api/v1/music/midi { "clip_id": "abc123", "stem_clip_id": "stem-xyz" }