Suno · Music

Get Instrument Stems (MIDI)

Split a song into multiple tracks (vocals, drums, bass, other instruments) and get instrument MIDI.

💡 When to use:Use for detailed remixing, re-arranging, or to obtain instrument MIDI.

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: gen_stem_all
clipIdstringRequired
ID of the song clip to split

Response Fields

codenumber
Status code; 200 = success
msgstring
Message
data.idstring
Task ID (the taskId returned on submit; used to poll)
data.taskTypestring
Task type; always "gen_stem_all"
data.statusstring
Status: pending / succeeded / failed
data.errorMsgstring
Failure reason; empty on success
data.paramobject
Echo of the request params you submitted
data.resultarray
Array of separated stems (vocals/drums/bass/guitar/keyboard…, usually 12)
data.result[].idstring
The stem clipId; reusable for export, etc.
data.result[].titlestring
Stem name, e.g. " (Vocals)" / " (Drums)" / " (Bass)"
data.result[].audio_urlstring
Audio URL of this stem (mp3)
data.result[].batch_indexnumber
Stem index (0 = Vocals … increments to the last)
data.result[].metadata.stem_type_group_namestring
Stem category, e.g. Vocals / Drums / Bass
data.result[].metadata.durationnumber
Stem duration (seconds)
data.result[].statusstring
Stem status; "complete" = ready to download