Edit Audio

Comprehensive audio editing with one operation — the audio counterpart of Edit Video. Trim the audio, apply fades, adjust loudness, and change the format, bitrate and sample rate of the input audio.
Send the audio source together with an export object describing the output you want. For example, {"audio_url": "https://example.com/input.wav", "export": {"format": "mp3", "bitrate": 192, "sample_rate": 44100}} produces a 192 kb/s, 44.1 kHz MP3. Leave bitrate empty to let the service pick an optimal value, and omit sample_rate unless you need a specific one.
Trim with start / end (both in milliseconds), and shape the edges with fade_in / fade_out or trim_silence. Set loudness with either volume (a dB offset) or normalize (a -16 LUFS broadcast target). Two pairs are mutually exclusive: trim_silence cannot be combined with fade_out, and normalize cannot be combined with volume.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uri
length between 1 and 2083

Source audio URL.

integer
≥ 0
Defaults to 0

The point in time of the audio from where the trimming (in milliseconds) begins.

integer
≥ 1

The point in time of the audio where the trimming (in milliseconds) ends. It must be greater than start. Leave empty to trim to the end of the audio.

integer
≥ 0

Fade-in duration in milliseconds, applied from the beginning of the output.

integer
≥ 0

Fade-out duration in milliseconds, applied to the end of the output. Cannot be combined with trim_silence.

boolean

Remove silence from the beginning and the end of the audio. Cannot be combined with fade_out.

number
-60 to 20

Volume adjustment in dB. Negative values make the audio quieter, positive values louder. Cannot be combined with normalize.

boolean

Normalize loudness to a broadcast target of -16 LUFS. Cannot be combined with volume.

export
object

Export options for the output audio.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json