Suno MIDI Generation API
POSThttps://api.acedata.cloud/suno/midi

Suno MIDI API, retrieve MIDI data from generated music.

Related Products

Suno - Ace Data Cloud
Suno music generation platform, directly interfaces with this API, high-speed and stable availability.

Request Headers

acceptstring
Specify the format of the response returned by the server. If not specified, the default format is `application/json`.
Please select
authorizationstring
Bearer token

Request Body

audio_idstringRequired parameter
The source audio ID for generating MIDI will extract MIDI content based on the existing audio.
callback_urlstring
The callback address used to receive processing results. If not specified, the results will be returned directly in the response body.
asyncboolean
Whether to process in asynchronous mode. When set to `true`, the interface immediately returns `task_id`, without the need to provide `callback_url`, and then the result can be obtained by polling the corresponding task query interface; if `callback_url` is also provided, the result will be pushed to that callback address.
Please select

Response

Suno Music Generation
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.