X video minimum 0.5 seconds: keep Sume trim cuts at 0.5 s or more
X needs Post video of at least 0.5 seconds; Sume video-trim allows cuts down to 0.2 seconds. Set duration to 0.5 or more for X, with the upper caps.

X video must be at least 0.5 seconds, while Sume's video-trim accepts cuts as short as 0.2 seconds. So Sume can hand you a clip that X will refuse: for X, set duration to 0.5 or more.
X numbers are from its media best-practices page and Sume numbers from the Video trim docs, read 2026-10-01.
What are the two limits side by side?
The X page states the floor for Post video (categories tweet_video and amplify_video) as 0.5 seconds, with a 20-minute default maximum and 125 minutes for Premium or verified accounts. Sume's trim docs give its own bounds.
| Bound | X Post video | Sume video-trim |
|---|---|---|
| Shortest | 0.5 seconds | 0.2 seconds |
| Longest | 20 minutes default, 125 Premium | 900 s output |
| Source length | Not applicable | 1800 s |
| Who sets the cap | The posting user | The API contract |
How do I keep a trim at or above 0.5 seconds?
Pass start and exactly one of end or duration. The duration field is the length of the cut in seconds, 0.2 to 900. Pick 0.5 or higher in your own code, because nothing in the trim docs knows about X's floor. If you send both end and duration, or neither, you get video_trim_range_conflict or video_trim_range_required.
curl -X POST https://api.sume.com/v1/video-trim \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: x-short-cut-001" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/talk.mp4",
"start": 2,
"duration": 0.5
}'What happens for a cut under 0.2 seconds?
The docs state the floor as output of at least 0.2 seconds but do not name a separate refusal code for it; the documented video_trim_range_empty covers end at or before start, or a range longer than 900 s. Validate the length on your side before you submit, and check the returned duration_seconds on the result against X's 0.5 second minimum.
Does the same floor apply elsewhere?
No. Other platforms set their own floors; see Instagram Reels' 3-second minimum for a longer one. Treat each destination's number as its own check.
Sources
Related posts
More in Developers
- X video audio must be AAC-LC, not HE-AAC: check an AI video
X requires AAC Low Complexity audio, mono or stereo, with H264 High Profile and YUV 4:2:0. What Sume's exact trim keeps and re-encodes, and what it leaves.
- X video max 1280x1024, ratio 1:3 to 3:1, 60 fps: conform a clip
X video must be 32x32 to 1280x1024, 60 fps or less, ratio 1:3 to 3:1. Read literally, a default 1080x1920 Timeline file is over; conform with video-trim.
- X video 5,000 kbps recommendation: Sume trim has no bitrate field
X recommends H264 High Profile at 30 or 60 FPS and 5,000 kbps. Sume trim cannot set bitrate or codec; you can conform fps and size, and audio stays AAC.
- X video: no open GOP allowed, and what Sume trim exact does
X rejects open-GOP video. Sume trim exact re-encodes with libx264 and yuv420p; keyframe mode stream-copies and may start a GOP early. No GOP setting exists.
Written by Sume