Create an Audio Enhancement
This endpoint initiates an audio enhancement job.
note
Audio files must be MP3 or WAV format and under 150MB in size.
HTTP Request
POST https://app.resemble.ai/api/v2/audio_enhancements
1
2
3
4
5
6
curl --request POST "https://app.resemble.ai/api/v2/audio_enhancements"
-H "Authorization: Bearer YOUR_API_TOKEN"
-F "audio_file=@your_audio_file.mp3"
-F "enhancement_level=0.8"
-F "loudness_target_level=-14"
-F "loudness_peak_limit=-3"
Request Headers
Header | Value | Description |
---|---|---|
Authorization | Bearer YOUR_API_TOKEN | API token can be obtained by logging into the Resemble web application and navigating to the API section. |
Request Body
Attribute | Type | Description | Required |
---|---|---|---|
audio_file | File | The audio file to enhance. Formats supported: MP3, WAV. Maximum size: 150MB. | Yes |
enhancement_level | Float | Level of enhancement to apply, from 0.0 (minimal) to 1.0 (maximum). Default is 1. | No |
loudness_target_level | Integer | Target loudness level in LUFS. Range: -70 to -5. Default is -14. | No |
loudness_peak_limit | Integer | Maximum peak level in dBTP. Range: -9 to 0. Default is -1. | No |
HTTP Response
{
"success": true,
"uuid": "<enhancement_uuid>",
"status": "processing"
}
Example
1
2
3
curl --request POST "https://app.resemble.ai/api/v2/audio_enhancements"
-H "Authorization: Bearer YOUR_API_TOKEN"
-F "audio_file=@your_audio_file.mp3"
Try It Out
API Key:
Multipart Body:
Audio File:
Enhancement Level (0.0-1.0):
Loudness Target Level (-70 to -5):
Loudness Peak Limit (-9 to 0):