Skip to main content
POST
Python
Audio Cutter allows you to select specific sections of audio recordings, making it perfect for creating highlights, clips, ringtones, and more.
  • Easily extract the best parts of any audio
  • Supports multiple formats like MP3, WAV, FLAC, and more
  • Fast processing with high-quality output
Audio Cutter ensures your trimmed audio sounds clean and professional.

Endpoint

Use this endpoint to trim a section from an existing audio file.

Sample Output

Listen to the trimmed audio: Download Audio

Try it Yourself

Visit the Audio Cutter Endpoint Explorer to cut and download trimmed audio segments instantly.

Request Parameters

Note: Either audio_file or audio_url must be provided.
content-type: multipart/form-data

Sample Request

Python


Sample Response

Success (200 OK)


Webhook Response

When audio cutter conversion completes, your webhook will receive:

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"

start_time
number<float>
required

Start time in milliseconds.

Example:

10500

end_time
number<float>
required

End time in milliseconds.

Example:

45000

audio_file
file

Audio file to upload and process directly.

output_extension
enum<string>

Desired output format.

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

"mp3"

webhook_url
string

Callback URL for async processing results.

Example:

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

Response

Successfully initiated task

success
boolean
task_id
string
conversion_id
string
eta
integer
credit_estimate
number
message
string
status
string