Skip to main content
POST
Python
Trim your audio files with precision using AI. 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.
✂️ Try trimming different parts to see how accurate the cut is!

Request Parameters

content-type: multipart/form-data

Sample Request

Python


Sample Response

Success (200 OK)


Webhook Response

When audio cutter conversion completes, your webhook will receive:
📂 The conversion_path field contains the direct link to download the trimmed audio.

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 audio cut

success
boolean
conversion_id
string
credit_estimate
number<float>
conversion_path
string
message
string