Convert Audio to MIDI

Processes an audio file and converts it into a MIDI file. Optionally generates a sonified .wav and/or a CSV of note events. This request is handled asynchronously.

post/v1/audio_to_midi

Request

  • Base URL
    https://api.musicgpt.com/api/public
  • Auth
    API key in header Authorization

Request body multipart/form-data

OR

Example request

{
  "audio_url": "https://example.com/audio.mp3",
  "webhook_url": "https://your-webhook-url.com/callback"
}

Response

MIDI conversion task initiated successfully

successboolean
task_idstring
messagestring

Example response

{
  "success": true,
  "task_id": "task789",
  "message": "MIDI conversion task queued successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.