WorkflowActive
wiro / audio-trim
audio-trim
Cut any audio file into a precise clip using a start time plus end time or duration. Export MP3, WAV, M4A, FLAC, and more with bitrate control.
Utility
Model ID
audio-trim
Provider
wiro
Updated
1785772750
wiro playground—wiro/audio-trim
Updated 1785772750
## Overview
Audio Trim by Wiro cuts a single section out of an existing audio recording. You set a start point, then choose either an end point or a clip length. It returns a new audio file that contains only the selected segment, which helps you ship clean clips without a full editor.
## What you can build
- Podcast teasers by clipping a quote from a long episode
- Short sound bites for social posts
- Ringtones or notification sounds from a longer track
- Training datasets by extracting consistent-length segments
- QA workflows that standardize “first 15 seconds” samples from user uploads
- Trimmed intros and outros for voiceovers and narration
## Inputs
- One source audio file to trim. You can upload a file or provide a direct file URL.
- A required clip start position. Enter it as seconds (example: 12.5) or as a timecode (example: 00:01:02). The start must fall inside the audio.
- An optional clip end position. Enter it as seconds or timecode. The end must be later than the start.
- An optional clip length (duration). Enter it as seconds or timecode. It is measured from the start. If you provide both an end time and a length, the length is used.
- An optional export format for the trimmed file: MP3, WAV, M4A, AAC, FLAC, OGG, or Opus. If you don’t choose one, the output keeps the input file’s format.
- An optional bitrate for lossy exports, in kbps. The valid range is 32 to 320 kbps. This setting is ignored for lossless exports like WAV and FLAC.
## Outputs
- A single trimmed audio file in the chosen format.
- The result is returned as a downloadable file URL hosted on Wiro’s CDN.
- The URL is publicly accessible, so treat it as a public link.
## Limitations
- The start time must be inside the source audio.
- The end time must be later than the start time.
- If you set a clip length that runs past the end of the source audio, the clip is shortened automatically.
- Bitrate controls only apply to lossy formats. WAV and FLAC ignore bitrate settings.
- Corrupt files, broken URLs, or uncommon audio encodings can cause failures or unexpected cuts.
- Output files are stored on Wiro’s CDN for a limited time, so download anything you need to keep.
## Safety & compliance
- Only upload audio you have rights to process and share.
- Don’t use sensitive audio if a public URL is not acceptable for your workflow.
- Download outputs you want to keep, then store them in your own private storage.
API quick start
Run audio-trim with a single API call.
POST https://api.wiro.ai/v1/Run/wiro/audio-trim
{
"inputAudio": "https://your-cdn.com/input.mp3",
"start": "00:00:00",
"end": "...",
"duration": "..."
}