Suno (Kie.ai) icon

Suno (Kie.ai)

Generate music, lyrics, and audio processing using Suno via Kie.ai API

Generate MIDI

AI-generated

Summary

Generate a MIDI file from existing music by providing the source music's task ID and optionally specifying asynchronous completion handling via a webhook.

Inputs

  • Task ID (required) — The Task ID of the source music from which to generate the MIDI.
  • Reply URL — Webhook URL to receive a callback when the MIDI generation task completes.
  • Reply Ref — Custom reference string included in the webhook callback for identifying the request.
  • Wait for Completion — Boolean flag to determine if the node should wait (poll) for the MIDI generation task to complete before returning (default is true).

Output shape

a JSON object containing the task status and result information, including MIDI file URLs if waiting for completion; otherwise, data about the created task

If 'Wait for Completion' is true, the node polls the dedicated task status endpoint every 3 seconds up to 5 minutes until the task reaches a terminal state and returns the final parsed response. If false, the node returns immediately after task creation with initial task details. The reply webhook URL and reference, if provided, are used by the Kie.ai API for asynchronous callbacks on task completion.

Links

Discussion