Extract Key, BPM, and Key Changes from Audio

Processes an audio file to extract key changes, dominant key, and BPM (Beats Per Minute).

post/v1/extract_key_bpm

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://www.youtube.com/watch?v=example123",
  "webhook_url": "http://your-webhook-url.com/callback"
}

Response

Successfully initiated key/bpm extraction

successboolean
task_idstring
conversion_idstring
etainteger
credit_estimatenumber float
messagestring

Example response

{
  "success": true,
  "task_id": "keybpm789",
  "conversion_id": "conv456",
  "eta": -1,
  "credit_estimate": 100.1,
  "message": "Successfully published to queue"
}

Changes

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