Suno · Music

MIDI DownloadNEW

Download instrument MIDI (requires a clipId from "Get Instrument Stems" / gen_stem_all first).

💡 When to use:Use to bring the AI arrangement into a DAW for melody editing / re-arranging. ⚠ The clipId must be a gen_stem_all result on YOUR account, or you get same_account_required.

Submit task
POST/ api/ cqt/ generator/ suno
Query Result
GET/ api/ cqt/ info/ suno?id={taskId}
OpenAI-style call

The same capability is also available via POST /v1/audio/generations: add task to the body, other fields match the request body below (snake_case is accepted too); write model as suno-v6. Poll with GET /v1/audio/generations/{id}; non-audio results (lyrics, persona, timeline …) are in the result field.

Submit task
POST/ v1/ audio/ generations
Query Result
GET/ v1/ audio/ generations/ {id}

Authorization

AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.

Request body

application/json
taskstringRequired
Fixed value: mdi
clipIdstringRequired
Must be a clipId returned by gen_stem_all on your own account

Response Fields

codenumber
Status code; 200 = success, non-200 on failure (e.g. 500)
msgstring
Top-level message; equals errorMsg on failure
data.idstring
Task ID
data.taskTypestring
Task type; always "mdi"
data.statusstring
Status: succeeded / failed
data.errorMsgstring
Failure reason. same_account_required = clipId is not a gen_stem_all result on your account
data.paramobject
Echo of the request params you submitted
data.resultstring | object
On failure the string "任务失败"; on success the MIDI result (success sample TBD)
data.createTime / completeTimestring
Task submit time / completion time