Skip to content
Local Cloud

Trim video

Trim a video to the part you want

Set a start and an end and get the clip. Fast, private, no watermark.

$0.002

per run in the cloud

$0

on your own machine

Precise cuts

Start and end to the frame, or keep the fast copy without re-encoding.

Private

Your video never leaves your computer.

Next to your images

Trim the clips you generate right in the gallery.

Reference

Inputs and parameters

The same on every surface: the desktop app, Claude through MCP and the API. Unknown parameters are refused, so a typo never runs with a default.

Inputs

NameTypeLimitsNotes
video requiredvideo500 MB, 600 sSource video or GIF

Parameters

NameTypeDefaultAcceptedNotes
startfloat0at least 0Start, seconds.
endfloat·at least 0End, seconds (default: end of the video).
reencodebooltruetrue, falseFrame-accurate cut (re-encode). False = fast keyframe cut.

Outputs

  • videovideo, mp4

API

Run Trim video from the API

curl https://imference.com/tools/video-trim \
  -H "Authorization: Bearer $IMFERENCE_API_KEY" \
  -F video=@video.mp4

Files go in multipart fields named after the inputs; JSON works too, with {"inputs": {...}, "params": {...}} and https URLs or base64 data: URIs. The answer is a request_id: poll GET /status?request_id=... until it returns the outputs. Pay per call from a wallet instead at POST /ondemand/tools/video-trim. A run that fails is refunded to your credits. Details in the reference.

Specs

The details

Price
$0.002 · 2 credits
Runs
Local and cloud
License
LGPL-2.1-or-later
Tool id
video-trim 1.0.0
MCP tool
video_trim

More tools

Often used with it

All tools

FAQ

Good to know

Is there a size limit?

Locally, no. In the API, videos up to 500 MB.

Try Trim video tonight