Trim Audio

Cut an audio file to a specified time range.

Input Audio

Click/drag to upload

Supports MP3, WAV, AAC, OGG, FLAC

Start Time

e.g. 00:00:05

End Time

e.g. 00:01:00

Duration

e.g. 00:00:55. At least one of start_time/end_time/duration required.

Select model

Preview

No result yet

Preview the task result before downloading or chaining it into other flows.

Build with Medux

Run this tool from your agent or code

Every Medux tool has open examples on GitHub: copy a prompt for Claude or Codex, or start from a working API request.

Claude MCP

Claude MCP example

A ready-to-paste prompt and approval checklist for running medux_trim_audio from Claude.

View on GitHub

Codex MCP

Codex MCP example

The same workflow for Codex: expected tool call, arguments to review and how to verify the result.

View on GitHub

REST API

API example

Request fields, curl, Python and JavaScript samples, and response handling for this endpoint.

View on GitHub