Suno icon

Suno

Generate AI music, lyrics, and audio with the Suno API

Audio Conversion → Generate MIDI

AI-generated

Summary

Submit a request to generate a MIDI file from audio processed via vocal separation using a task ID. Optionally include an Audio ID from the vocal separation result. Provide a publicly accessible HTTPS callback URL to receive task completion notifications.

Inputs

  • Category — Select the category; defaults to 'Music Generation' but is not directly used in the MIDI generation request.
  • Task ID (required) — The unique task ID obtained from a prior vocal separation request, identifying the audio processing job.
  • Callback URL (required) — A publicly accessible HTTPS URL where the system will send notifications upon task completion; private IP addresses are not allowed.
  • Audio ID — Optional Audio ID from the origin data in the vocal separation results to specify the particular track to generate MIDI for.

Output shape

a JSON object representing the API response, typically including task status and identifiers for the MIDI generation job.

The node sends a POST request to the /api/v1/midi/generate endpoint including required parameters. The operation is asynchronous; results and status are reported via the provided callback URL. The response is returned as JSON in the node's output.

Links

Discussion