Trim a supplier product video to 30 seconds with Sume, $0.02
Channels cap video length differently. Cut one clip to the range you need with Sume's video-trim endpoint, $0.02 per job, frame-accurate by default.

To cut a product video down to a length a channel accepts, import the clip into Sume, then call POST /v1/video-trim with a start and either an end or a duration. You get a new MP4 containing only that range, the original is untouched, and the job costs $0.02.
The need grows as sellers spread out. Amazon says its Seller Central now links eBay, Shopify, TikTok and Walmart accounts and lets you import and link off-Amazon listings (read 2026-10-04), and every one of those channels sets its own video limits. Check each channel's current page for the number.
What are the trim rules?
From the video-trim docs. The source must already be on Sume's media host, so import first with POST /v1/media-imports. An Idempotency-Key header is required.
| Item | Value |
|---|---|
| Required | video_url (on media.sume.com), start, and exactly one of end or duration |
| duration | 0.2 to 900 seconds |
| precision | exact (default, frame-accurate re-encode) or keyframe (stream copy, may start earlier) |
| audio | keep (default) or drop |
| Caps | Source up to 1800 s; output up to 900 s |
| Price | $0.02 per job |
What does a trim call look like?
This cuts the first 30 seconds. The default mode is async, so the call returns a job; poll GET /v1/jobs/{id}/status, then read /result for the new video_url.
import os, requests
r = requests.post(
"https://api.sume.com/v1/video-trim",
headers={
"Authorization": "Bearer " + os.environ["SUME_API_KEY"],
"Idempotency-Key": "trim-sku-1001-30s",
},
json={
"video_url": "https://media.sume.com/artifacts/artf_demo/supplier.mp4",
"start": 0,
"duration": 30,
"audio": "keep",
},
timeout=60,
)
print(r.status_code, r.text[:300])
When should you use keyframe instead?
Only when speed matters more than the exact cut point. Keyframe copies the stream and the cut may start up to a group of pictures early, so re-base against actual_start_seconds in the result. For a product clip that opens on the item, take the default.
What about rights and quality?
Trim only footage you have the right to use, such as your own or what a supplier explicitly licenses to you. Trimming does not improve the clip. If the first seconds are weak, a clip generated for the channel may serve better than a cut of someone else's.
Sources
Related posts
More in Media tools
- Trim the silent lead-in: first spoken word from STT, then video trim
A clip that starts with two seconds of nothing loses viewers. Read the first word's start time from STT, then cut with video trim, exact or keyframe.
- Turn six product stills into a 30-second vertical video
When 12 million AI listings share the same still images, a short video stands out. Stitch six stills into a 1080x1920 clip with Sume Timeline 1.0 for $0.10.
- Video analyses: include_transcript false leaves scene audio null
On the legacy Sume video-analyses resource, scene audio is null unless include_transcript was true. Handle both shapes, and know what replaces it for new work.
- Video analyses keyframes: one still per second per scene
A legacy Sume video analysis gives a still for each whole second of a scene plus a keyframe_url near 40%. How stills fail and how to pick your own cover.
Written by Sume