Video editing API limits: Sume media tool caps in one table
Source and output lengths, counts, and sizes for Sume's trim, filter, detach, frames, inspect, captions, and Timeline APIs, each linked to its docs page.

Sume's video editing APIs cap sources at 300 seconds for video filter and video frames and at 1,800 seconds for video trim, audio detach, and video inspect. A Timeline 1.0 render outputs 1 to 1,800 seconds from up to 200 slots, and timeline compose outputs at most 300 seconds. The table below lists each tool's documented length, count, and size caps.
Each row links the docs page it comes from; the caption limits also come from the Sume API reference. All were read on 2026-09-26. Behavior described as "today" is read from Sume's code.
What are the caps for each media tool?
Lengths are in seconds. "Source" is the input file; "output" is what the job produces.
| Tool | Length | Counts and sizes |
|---|---|---|
Video trim, POST /v1/video-trim | Source ≤ 1,800; output 0.2–900 | output width and height 256–2160; fps 24, 25, 30, or 60 (exact precision only) |
Video filter, POST /v1/video-filter | Source ≤ 300 | ≤ 8 ops; filtergraph ≤ 2,048 characters and 32 named filters; crop sides ≥ 0.05 |
Audio detach, POST /v1/audio-detach | Source ≤ 1,800; output ≤ 900 (a longer track needs a range) | sample_rate 16000, 44100, or 48000; mp3 at 128 kbps |
Video frames, POST /v1/video-frames | Source ≤ 300 | 1–24 at values, or fps ≤ 2 capped at 24 frames; max_edge 16–2160 |
Video inspect, POST /v1/video-inspect | Source ≤ 1,800; transcript hint ≤ 600 | ≤ 24 stills (8 by default); max_edge 64–2160 (768 by default) |
Video captions, POST /v1/video-captions | Priced for videos up to 60 | words ≤ 1,200; cues ≤ 200; times 0–60; script_text ≤ 8,000 characters |
Timeline 1.0, POST /v1/timeline-1.0/render | Output 1–1,800; each slot ≥ 0.2 | 1–200 slots; ≤ 20 audio parts; output even 256–2160 |
Timeline compose, POST /v1/timeline-1.0/compose | Output ≤ 300 | One still and one video; output 256–2160 |
Timeline audio, POST /v1/timeline-1.0/audio | Produced audio ≤ 1,800 | 1–20 parts (concat) or ranges (split) |
Which rules apply to every media tool?
A few limits are shared rather than per tool:
- Inputs: trim, filter, detach, frames, inspect, and the three Timeline tools read only your workspace's
media.sume.comartifacts or assets. Captions take a public HTTPS video URL. - Waiting:
mode: "sync"holds a request for at most 30 seconds. Trim, filter, detach, and the Timeline tools default toasync, inspect defaults tosync, and video frames always answers202. - Keys: trim, filter, detach, inspect, and the Timeline tools require an
Idempotency-Key; video frames requires it on MCP writes, and the docs say to send it on REST too. - No argv: ffmpeg fields such as
codecare refused, asffmpeg_fields_rejectedon trim, filter, detach, frames, and inspect, and as a400on the Timeline tools.
Which caps fail at submit and which fail later?
Request-shape caps fail at submit with a 400. Length caps that depend on the file are checked by the worker after it probes the source, so the job fails instead:
source_duration_exceeded: a trim or detach source longer than 1,800 seconds.output_duration_exceeded: a filter source longer than 300 seconds.duration_out_of_range: a video frames source longer than 300 seconds.frame_time_out_of_range: anatvalue at or past the probed duration.- Some limits clamp instead of failing: a trim
endpast the source warnstrim_clamped_to_source, and a composevideo.durationpast the file warnscompose_duration_clamped_to_source.
What are Timeline's finer limits?
Beyond length and slot count, Timeline 1.0 and compose check these values:
- Transitions: at most 1 second, at most 50% of the shorter neighbor, and at least one output frame; more than 8 adjacent fades fails
too_many_chained_transitions. render.strategy: "single"is refused above 12 slots (render_strategy_unsafe). Edge fades are 0–5 seconds each, and their sum must fit the output.soundtrack:fade_out_seconds≤ 10 andduck_db0–20.audio.gain_db: −60 to 12. Video coverage may trail the spine by at most 0.5 seconds.- Compose
stack:ratio0.1–0.9. Composeoverlay:width_ratio0.05–1 andmargin_ratio0–0.45.
What do the caps mean for a long recording?
A 30-minute recording fits inspect, trim, and detach (detach one range of 900 seconds or less at a time), but not filter or frames. Cut it with trim into clips of 900 seconds or less (300 or less before a filter or frames call), then assemble up to 1,800 seconds with Timeline 1.0. The captions page prices a standalone caption job for videos up to 60 seconds, and today the caption worker refuses a longer source with duration_out_of_range. Split a long video into short clips walks through that workflow.
Sources
Related posts
Written by Sume