# Cut and trim audio

Trim the start or the end, or cut out any part.

Tool: Cut (`cut_audio`). Price: 1 credit a minute of input for whole files, charged only when a job succeeds.

## Free API

```bash
curl -F file=@episode.mp3 -F 'ranges=[[0,12.5]]' https://audo.ai/api/try/cut -o episode-cut.mp3
```

Free for the first 3 minutes of each file, 3 times a day per person, with no key or account. Uploads up to 100 MB, 2 at once from one address. The response is the result itself; a job that runs longer than about 30 seconds returns 202 with a link to check on it. With an API key (`-H "Authorization: Bearer $AUDO_API_KEY"`), the same request processes the whole file with credits. Details: https://audo.ai/docs/api.md

## Options

Form fields with the same names as the MCP tool's inputs:

- `ranges`: Time ranges as [start, end] pairs in seconds, such as [[0, 12.5], [300, 312]]. 1 to 100 ranges.
- `mode`: remove deletes the ranges; keep keeps only the ranges. Default remove.
- `output`: joined makes one file; separate makes one file per range. Default joined.
- `crossfade_ms`: A crossfade at each cut, in milliseconds (0 to 200), such as 20. Default 20.

## Languages

Any language: it works on the sound, not the words.

## From an assistant (MCP)

Add https://audo.ai/mcp and sign in (setup for each assistant: https://audo.ai/setup.md). The tool is `cut_audio`:

> Removes or keeps time ranges in an audio or video file, as one file or one file per range. Use it to trim, remove sections, or split. To cut by words, get their times from get_transcript first. Set free to true to do the first 3 minutes at no cost, up to 3 times a day; otherwise it costs 1 credit a minute of input. Returns job_id; the result maps old times to new ones.

Example: "Use Audo to cut the first 12 seconds and the part from 5:00 to 5:12 out of episode.mp3."

## More

- Every tool: https://audo.ai/llms.txt
- OpenAPI: https://audo.ai/api/openapi.json
- This page for people: https://audo.ai/audio-cutter
