/
/Musicgpt API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 4w ago · Updated 4w ago
  • postCut an audio file between specified timestamps
  • postMaster an audio file using a reference track
  • postChange the speed of an audio file
  • postConvert Audio to MIDI
  • postTranscribe Audio to Text
  • postConvert audio to cover song
  • postRemove echo from an audio file or URL
  • postRemoves noise from an audio file or URL
  • postRemoves reverberation from an audio file or URL
  • postExtend Audio Using Prompt and Optional Lyrics
  • postExtract stems from an audio file or URL
  • postExtract Key, BPM, and Key Changes from Audio
  • postConvert audio file to different format
  • postGenerate a Song from an Image
  • postInpaint an Audio Segment
  • getConvert Prompt to Lyrics
  • postGenerate Custom Music
  • postGenerate Custom Music
  • postRemix Audio Using Prompt and Optional Lyrics
  • postSing Over Instrumental Using Prompt and Lyrics
  • postGenerate Sound Based on Given Prompt
  • postConvert text to speech using a specified voice
  • postConvert voice from audio file or URL
  • getGet All Voices
  • getGet Conversion by ID
  • getGet Conversion by ID Streaming
  • getGet Voices by Name

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

Response

MIDI conversion task initiated successfully

successboolean
task_idstring
messagestring

Example response

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