Skip to main content
Suno allows us to create secondary works from generated music and obtain the MIDI of the music. This document explains the integration methods for the related API. The core input parameter for this API is audio_id, which is the official song ID generated, typically corresponding to the full track separated song ID (where the parameter action is all_stems in song generation). Optionally, it also supports callback_url for asynchronous callback addresses. The audio_id we input here is c65e6ffd-ead3-4926-9c8c-a42ce202946b.
The result is as follows:
{ “pitch”: 60, “start”: 52.104166666666664, “end”: 52.234375, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 52.505208333333336, “end”: 52.635416666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 53.046875, “end”: 53.239583333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 53.447916666666664, “end”: 54.036458333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 54.229166666666664, “end”: 54.359375, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 54.630208333333336, “end”: 54.760416666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 55.03125, “end”: 55.161458333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 55.651041666666664, “end”: 55.796875, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 56.067708333333336, “end”: 56.197916666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 56.46875, “end”: 56.598958333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 69, “start”: 56.869791666666664, “end”: 57.130208333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 57.130208333333336, “end”: 57.921875, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 58.213541666666664, “end”: 58.34375, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 58.614583333333336, “end”: 58.744791666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 59.015625, “end”: 59.145833333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 59.416666666666664, “end”: 59.942708333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 61.510416666666664, “end”: 61.640625, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 61.640625, “end”: 62.036458333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 62.234375, “end”: 62.364583333333336, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 62.635416666666664, “end”: 62.765625, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 62.765625, “end”: 63.557291666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 63.71875, “end”: 63.854166666666664, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 64.11458333333333, “end”: 64.25520833333333, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 64.51041666666667, “end”: 64.65625, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 64.91145833333333, “end”: 65.05729166666667, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 65.3125, “end”: 65.85416666666667, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 67.35416666666667, “end”: 67.484375, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 67.75520833333333, “end”: 67.88541666666667, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 68.15104166666667, “end”: 68.28125, “velocity”: 0.49606299212598426 }, { “pitch”: 69, “start”: 68.546875, “end”: 68.80729166666667, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 68.80729166666667, “end”: 68.9375, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 69.203125, “end”: 69.72916666666667, “velocity”: 0.49606299212598426 }, { “pitch”: 64, “start”: 69.92708333333333, “end”: 70.05729166666667, “velocity”: 0.49606299212598426 }, { “pitch”: 62, “start”: 70.328125, “end”: 70.45833333333333, “velocity”: 0.49606299212598426 }, { “pitch”: 60, “start”: 70.72916666666667, “end”: 70.859375, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 71.13020833333333, “end”: 71.65625, “velocity”: 0.49606299212598426 }, { “pitch”: 57, “start”: 73.203125, “end”: 73.47395833333333, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 73.46875, “end”: 73.60416666666667, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 73.609375, “end”: 73.73958333333333, “velocity”: 0.49606299212598426 }, { “pitch”: 55, “start”: 73.86979166666667, “end”: 74.265625, “velocity”: 0.49606299212598426 },
It can be seen that the fields in data are the MIDI information of the song after full track separation.