Halloween teaser cut: Video trim start and duration, exact or keyframe
Cut a short Halloween teaser from a longer clip with Sume Video trim: start plus duration, frame-exact or keyframe copy, at a flat public rate per job.

The cut
To cut a teaser from a longer shoot, call POST /v1/video-trim with video_url, start, and exactly one of end or duration. It returns a new MP4 holding only [start, end) and leaves the source untouched. Halloween 2026 is Saturday, October 31, so a Friday-night teaser for the weekend is a few clicks away.
The source must already be a media.sume.com artifact or asset in your workspace. Off-host URLs are rejected at admit, so import first with POST /v1/media-imports. An Idempotency-Key header is required.
Request
curl -sS -X POST https://api.sume.com/v1/video-trim \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: halloween-teaser-001" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/haunted-walkthrough.mp4",
"start": 12,
"duration": 10,
"precision": "exact",
"audio": "keep"
}'Exact or keyframe
precision defaults to exact, a frame-accurate re-encode. keyframe uses stream copy, so the cut may start a GOP early; re-base against actual_start_seconds in the result. The output conform (width, height, fps) works with exact only.
| Field | Rule |
|---|---|
| duration | 0.2 to 900 seconds; exactly one of end or duration |
| audio | keep (default) or drop |
| Caps | source up to 1800 s; output up to 900 s, at least 0.2 s |
| Public rate | $0.02 per job; confirm live in GET /v1/catalog |
Then caption or assemble
A finished job's result has video_url (a new artifact), duration_seconds, actual_start_seconds, precision and optional warnings[]. Past the source the end clamps and the result warns trim_clamped_to_source. Drop the new URL into a Timeline 1.0 video[] slot with source_in 0, or caption it. There is no GET /v1/video-trim/:id; poll /v1/jobs/:id/status and read /result.
Sources
Related posts
More in Media tools
- Holiday sale instrumental on Music Router: length in the prompt
Generate an instrumental sale-reel track with Sume Music Router: duration fields are rejected, so state length and structure in the prompt.
- How many audio tracks can one Instagram Reel hold? Up to 20
Meta says you can add up to 20 tracks to a single Reel. How to plan a multi-track sound bed ahead of time and build it in one Sume Timeline render.
- How-to Reel: burn numbered step captions with authored cues
A 45-second tutorial Reel with Step 1 to Step 5 on screen: pass authored cues to Sume video captions, skip speech-to-text, and pay $0.20 for up to 60 seconds.
- ImageKit video smart crop fo-face vs a Sume 9:16 reframe
ImageKit can track faces with fo-face when cropping video. Sume has no subject tracking: you choose a static crop, a fit mode, or one crop per shot.
Written by Sume