All prebuilt tools TRIM VIDEO API

Trim Video with an API

Cut a precise segment from a source video using start and end times. Run it from the playground or call the same preset through one agent-ready endpoint.

What the tool does
A focused video edit with a predictable API contract.
  1. 01Validate time boundaries
  2. 02Seek to the start point
  3. 03Cut the requested segment
  4. 04Return a playable output
BUILT FOR AUTOMATION

Useful defaults, typed options.

The tool slug stays stable while your agent supplies the input asset and a narrow set of documented options.

  • Millisecond timestamps
  • Fast stream copy when safe
  • Exact duration validation
POST /api/v1/tools/trim-video
{
  "tool": "trim-video",
  "input": "asset_01",
  "options": { "start": 2.5, "end": 17 }
}
FAQ

About trim video

Can video be trimmed without quality loss?

Stream copy is possible near compatible keyframes. Exact frame cuts may require re-encoding the surrounding segment.

Which timestamp format should I use?

The API accepts seconds as numbers, including decimal values for sub-second precision.

KEEP BUILDING

Related media tools

Compress Video for Web
Reduce video file size while preserving a crisp, web-ready image.
Convert Video to MP4
Convert MOV, WebM, AVI and other inputs into a compatible MP4 output.
Resize Video for Social Media
Create vertical, square and landscape variants from one source video.