Master an audio file using a reference track

Processes an input audio file to match the mastering characteristics of a reference track.

post/v1/audio_mastering

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/input_audio.mp3",
  "reference_audio_url": "https://example.com/reference_track.wav",
  "output_extension": "wav",
  "webhook_url": "http://your-webhook-url.com/callback"
}

Response

Successfully queued for mastering

successboolean
task_idstring
conversion_idstring
credit_estimatenumber float
etainteger
messagestring

Example response

{
  "success": true,
  "task_id": "master123",
  "conversion_id": "conv456",
  "credit_estimate": 150.75,
  "eta": 300,
  "message": "Mastering task queued successfully"
}

Changes

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