Suno MIDI API for Turning Separated Stems into Notes

Transcribe the stems from a suno-stem-split task into MIDI. Send model: suno-midi with that task's img_uuid as task_id to POST /api/v1/audio/generations; add one stem's audio_id to transcribe only that part. You get a .mid file and the same notes as JSON.
Get API Key
Glowing note blocks rising from a waveform onto a piano roll grid

Two Outputs from One Transcription

A Standard MIDI File

A type: midi item links to a .mid file with one track per instrument, written at 120 BPM so note times match the audio, with drums on channel 10.
A MIDI keyboard controller connected to a laptop on a studio desk

Raw note data as JSON

A type: json item lists instruments, each with notes carrying pitch, start and end in seconds and a velocity from 0 to 1.
Abstract 3D render of colored bars arranged like notes on a timeline
MIDI is transcribed from an existing stem split, not from a full mix.

Suno MIDI Request Fields and Limits

model

Always suno-midi.

task_id (required)

The img_uuid of one of your successful suno-stem-split tasks.

audio_id

Optional. The audio_id of one stem from that split's result, to transcribe only that stem. Omit it to transcribe all stems.

custom_callback_url

Optional public HTTPS URL that receives the job-detail body when the task status changes.

Result

Two items: a midi link to a Standard MIDI File and a json item with per-instrument note data. Not every instrument may be detected; links expire at link_expired_at.
A flat price per transcription request.

Suno MIDI API Pricing

0.1 token ($0.002) per request

The same price for one stem or all stems of a split.

Budget the split separately

The required suno-stem-split task is billed on its own: from 3.25 tokens ($0.065) per request depending on mode.

Refunded on failure

Tokens are returned automatically if the transcription fails.

Integrate the Suno MIDI API

1

1. Create an API key

Generate a key at /keys and send it as Authorization: Bearer <key>.
2

2. Run a stem split

Submit suno-stem-split on your song and keep its img_uuid and the stems' audio_id values.
3

3. Request MIDI

POST {"model": "suno-midi", "task_id": "<stem split img_uuid>"} to /api/v1/audio/generations, adding audio_id for a single stem.
4

4. Use the notes

Poll GET /api/v1/jobs/detail or use your callback, then download the .mid file and/or read the JSON notes.
Create an API Key
Editable notes from generated music.

What Developers Build with Suno MIDI

DAW import

Give producers a MIDI file of a generated song so they can re-voice parts with their own instruments.

Sheet music and tabs

Feed the note data into notation or tab rendering for learners.

Interactive music games

Use note pitches and timings to build rhythm or play-along levels.

Melody and harmony analysis

Inspect pitch and timing data per instrument in your own tools.
Inputs, outputs and pricing.

Suno MIDI API FAQ

What is the Suno MIDI API endpoint?

POST https://api.goenhance.ai/api/v1/audio/generations with model: suno-midi.

Can I send an audio URL directly?

No. task_id must be a successful suno-stem-split task; run the split first (it accepts audio_url).

Can I transcribe only one instrument?

Yes. Pass that stem's audio_id from the split result; omit it to transcribe all stems.

What tempo is the MIDI file?

120 BPM, so note times in the file match the audio. Drums are on channel 10.

Will every instrument be detected?

Not always. It works best on clean stems such as AI-generated songs.

How much does it cost?

0.1 token ($0.002) per request, plus the cost of the stem split it reads from.

Start Building with the Suno MIDI API