Skip to main content
POST
Python
Master your audio files professionally using a reference track. Audio Mastering uses intelligent processing to match the sonic quality of your track to a reference file — perfect for music production, podcasts, and post-production work.
  • Match tone, loudness, and clarity
  • Quick, accurate mastering with webhook support

Endpoint

Use this endpoint to master an audio file based on a reference track.

Sample Output

Listen to the mastered audio:

Try it Yourself

Visit the Audio Mastering Endpoint Explorer to upload an audio and reference track for instant mastering.
Tip: Use a professionally mastered song as your reference for best results!

Request Parameters

content-type: multipart/form-data

Sample Request

Python


Sample Response

Success (200 OK)


Webhook Response

If a webhook_url is provided, you will receive the following once processing completes:
📂 If no webhook is provided, you can fetch the final mastered audio manually later using the conversion_id.

Payload and Request Formation

Authorizations

Authorization
string
header
required

Body

multipart/form-data
audio_url
string
required

Input audio URL (supported format: YouTube URL).

Example:

"https://example.com/input_audio.mp3"

reference_audio_url
string
required

URL of the reference audio file to match.

Example:

"https://example.com/reference_track.wav"

audio_file
file

Input audio file to upload directly.

reference_audio_file
file

Reference audio file to upload directly.

output_extension
enum<string>

Desired output file format.

Available options:
mp3,
wav,
flac,
ogg,
aac,
webm
Example:

"wav"

webhook_url
string

Callback URL to receive async result.

Example:

"http://your-webhook-url.com/callback"

Response

Successfully queued for mastering

success
boolean
task_id
string
conversion_id
string
credit_estimate
number<float>
eta
integer
message
string