Media import allows about 2 GB, but trim and filter stop at 300 MiB
Sume media import has a practical size cap near 2 GB, while video trim and filter reject sources over 300 MiB with source_too_large. How to plan around the gap.

Two limits in Sume's media path do not match, and the gap catches people. The OpenAPI description of POST /v1/media-imports gives a practical size cap of about 2 GB. But the media tools that read the stored file, such as video trim and video filter, refuse a source larger than the timeline download budget with source_too_large. In the worker, DEFAULT_MAX_DOWNLOAD_BYTES is 300 MiB.
Both are read from the clone on 2026-10-05. The API returns the check early: a HEAD request reads Content-Length, and a larger file fails with 400, next_action: use_smaller_source, plus the content_length and max_bytes it compared.
What the import takes in
Media import fetches a public TikTok or Instagram video URL, mirrors the bytes into media.sume.com, and records a workspace asset. A fixed estimate of $0.15 applies to each accepted import. YouTube is rejected with unsupported_platform. The result includes size_bytes, so you can read the size right after import.
Plan around the gap
- Read
size_bytesfrom the import result. If it is over 314,572,800 (300 MiB), do not send it to trim or filter. - Re-export a smaller file at a lower bitrate in your editor, then bring that file into Sume.
- Remember the duration caps too: trim and detach accept sources up to 1800 seconds, and filter up to 300.
A guard
A tiny pre-check keeps a pipeline from creating failing jobs.
LIMIT = 300 * 1024 * 1024
def can_process(size_bytes):
return size_bytes is not None and size_bytes <= LIMIT
print(can_process(250 * 1024 * 1024))
print(can_process(900 * 1024 * 1024))Sources
Related posts
More in Media tools
- invalid_segment_timing: the two causes in a 3-minute Short timeline
invalid_segment_timing means a slot start is not after the previous start, or a slot ends over 0.5 s past audio.duration_seconds. Check starts, then ends.
- Is a reference Short silent? Reference ingest audio gate at -60 LUFS
Reference ingest marks audio.silent when integrated loudness is -60 LUFS or lower. Silent means plan new music and skip STT; the manifest also reports beats.
- Is this video stereo or mono? Read probe audio_channels first
Sume video inspect returns audio_channels, audio_sample_rate and audio_codec. Use them to choose channels and sample_rate for audio detach before you submit.
- Keep a whole 16:9 shot in 9:16: blur fill instead of cropping
Cropping loses 68% of a 16:9 frame. Timeline fit blur keeps the full shot centered over a blurred copy. How it works on Sume and when to prefer it.
Written by Sume