← Back to pipelines
Video Trim
AI analyzes your video and picks the most visually interesting segment at your desired length.
0.5
3 – 15 seconds
Best for
- •Trimming long stock footage or uploaded clips to a specific duration
- •Selecting the most visually interesting segment from any video
- •Preparing clips for video-reel assembly — social media clips should be 3-8 seconds
- •Removing boring intros, outros, logos, and dead time from raw footage
When to use
- •After footage-search — stock clips are typically 10-60s, trim to the best 5-8s
- •Before video-reel — ensures all clips are the right length for assembly
- •When a user uploads a long recording and needs the highlight segment
- •When AI-generated video has transition artifacts at start/end
Tips
- ✓Always provide context — it dramatically improves which segment Claude picks
- ✓For social media B-roll, 5-7 seconds is the sweet spot
- ✓Use between footage-search and video-reel to control pacing
- ✓Context examples: 'product close-up', 'aerial landscape', 'crowd reaction', 'calm establishing shot'
Video Trim — AI Smart Clip Selector
Upload a long video clip and let AI pick the best segment. AI analyzes keyframes extracted from the video and selects the most visually interesting window of your desired duration.
How It Works
- Extract keyframes — frames are extracted every 2 seconds from the video
- AI analysis — AI examines all keyframes and picks the best continuous window
- Smart trim — FFmpeg extracts the selected segment with clean frame-accurate cuts
Why Smart Trim?
- Stock footage clips are often 10-60 seconds, but you only need 5-8 seconds
- Blind trimming grabs the first N seconds — usually a boring intro
- Smart trim finds the peak action, best composition, or most relevant content
Frequently Asked Questions
How does AI pick the best segment?
AI analyzes keyframes extracted every 2 seconds. It looks for strong composition, clear subjects, good lighting, and avoids intros/outros with logos or black frames.
Can I influence what segment is picked?
Yes — use the Context field to describe what the clip is for. For example, 'product close-up with clean background' or 'energetic crowd scene' helps AI pick frames that match your intent.
What duration range is supported?
3 to 15 seconds. Default is 5 seconds — great for social media clips and B-roll.
Does this cost credits?
0.5 credits per trim.
What happens if the video is already short enough?
If the video is shorter than or equal to the desired duration, it is returned as-is without trimming.