Video Trim
An AI video editor for source footage. Describe a fragment to find or material to remove, and get separate clips or one cleaned video.
Bring your next idea to life
Start with a prompt or try an example.
Describe the fragment to find or material to remove, whether to return one cleaned video or separate clips, and any count or duration limit. Timestamps are optional. For example: find the part where two people discuss pricing; remove unambiguous filler words from the full video; or return three interesting moments, 10–15 seconds each.
Examples
The leap and the catch
A 39-second clip of a border collie at play, trimmed to the run-up, the mid-air catch and the landing. The editor found the moment from a plain-language description, no timestamps needed.
How to use Video Trim
A compact decision guide for placing this pipeline in a workflow.
Best for
- Finding several interesting moments in a long recording
- Describing a conversation, event or topic and receiving a matching clip
- Removing unambiguous filler words, stutters, long pauses, or named sections while preserving the remaining speech
- Creating one or more edited videos before reframe or captions
When to use
- After importing a video when the user wants selected moments or unwanted material removed
- Before video-reframe or captions
Tips
- State whether you want separate clips or one cleaned video
- Name exactly what to keep or remove and include count or duration constraints when relevant
- Use the returned clips as inputs to Video Reframe or Captions
Video Trim API
Call this pipeline from your own code. One request dispatches a run; the model is an input field, not a separate endpoint.
Get an API token- inputs
- 4
- required
- 2
- Pricing
- 0.1 to 11 credits
| Input | Type | default | Description |
|---|---|---|---|
instructions | string | default— | Describe the fragment to find or material to remove, whether to return one cleaned video or separate clips, and any count or duration limit. Timestamps are optional. For example: find the part where two people discuss pricing; remove unambiguous filler words from the full video; or return three interesting moments, 10–15 seconds each. |
video_url | string | default— | Source video to search and trim. |
max_clip_duration_sec | number | default120 | Optional safety limit applied to every returned video. |
max_clips | integer | default3 | Optional safety limit. The agent may return fewer outputs when the request calls for one result. |
Point any MCP client at pipe2 and your agent gets these tools. It finds this pipeline, reads the same schema above, then runs it.
list_pipelinesget_pipeline_schemarun_pipelineget_pipeline_run_statusrequest_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}Recipes using this pipeline
Show all recipesArticles about this pipeline
Show all articlesFrequently Asked Questions
Can I ask for several clips?
Can I describe one moment instead?
Can I request an exact duration?
How long can each clip be?
Does the agent inspect the complete video?
What does this cost?
Video Trim: Find and Cut the Moments That Matter
Give Video Trim a long video and describe what you want. The AI watches the full source, finds one or more matching moments, and returns separate MP4 clips. Ask for three interesting moments, a conversation about a specific topic, or one exact event with a duration such as 20 seconds.
How It Works
- Understand the request: natural-language instructions describe the topic, number of clips and target duration
- Review the source: the agent analyses the complete video and checks the chosen ranges before rendering
- Return separate clips: each result is saved to your library and can be sent to Video Reframe or Captions
Describe the number, topic and target duration in the instructions. Video Trim chooses the ranges; it is the replacement for a separate highlights step.

