TemPolor – AI Music API Platform
API Documents
TemPolor API PlatformCreate Music
API Documents
TemPolor API PlatformCreate Music
Discord
  1. Music to MIDI
  • Get Started
    • Overview
    • Quickstart
    • Model and Pricing
  • API Reference
    • Error Code
    • Domain and Authentication
    • Song
      • Song Generation
        POST
      • Callback Interface
        POST
      • Query Task Status
        POST
    • Lyrics
      • Lyrics Generation
        POST
      • Callback Interface
        POST
      • Query Task Status
        POST
    • Stem Separation
      • Create Task
        POST
      • Callback Interface
        POST
      • Query Task Status
        POST
    • Music to MIDI
      • Create Task
        POST
      • Callback Interface
        POST
      • Query Task Status
        POST
    • Account
      • Query Information
        POST
  • Others
    • Feature List
  1. Music to MIDI

Callback Interface

POST
https://your-domain.com/api/midi/callback
Your own endpoint that receives the per-stem MIDI files and stem audio once transcription completes. Return the plain text success to acknowledge. Use https://webhook.site to test.

Request

Header Params

Body Params application/json

Example
{
    "midi": [
        {
            "item_id": "123",
            "status": "succeeded",
            "midi_url": "xxxxxx",
            "stems_url": "xxxxxx"
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Go
PHP
Python
Request Request Example
Shell
JavaScript
Java
Go
curl --location 'https://your-domain.com/api/midi/callback' \
--header 'Authorization: Tempo-********************************-3w' \
--header 'Content-Type: application/json; charset=utf-8' \
--data '{
    "midi": [
        {
            "item_id": "123",
            "status": "succeeded",
            "midi_url": "xxxxxx",
            "stems_url": "xxxxxx"
        }
    ]
}'

Responses

🟢200OK
*/*
Body*/*

Example
success
Modified at 2026-11-25 02:32:16
Previous
Create Task
Next
Query Task Status