Which short-video lengths fit one video-trim call? 0.2 to 900 seconds
One Sume video-trim call outputs 0.2 to 900 seconds, so a 3-minute Short fits easily. A 10-minute TikTok ad fits; a 60-minute source does not.

Sume's video trim writes an output of 0.2 to 900 seconds from a source up to 1800 seconds. That covers a 180-second YouTube Short and a 10-minute TikTok in-feed ad in one call. It does not take a 60-minute source at all: sources over 1800 seconds fail with source_duration_exceeded, so cut the file down elsewhere first. Specify start plus exactly one of end or duration.
Platform lengths against one call
Figures are from YouTube Help for Shorts (up to 3 minutes) and TikTok Ads Help for non-Spark in-feed ads (up to 10 minutes), both read 2026-10-04. The 900-second output cap and 1800-second source cap are in the video trim docs.
| Target | Length | One trim call? |
|---|---|---|
| YouTube Short | 180 s | Yes |
| TikTok in-feed ad | 600 s | Yes |
| Output cap | 900 s | Limit |
| Source file | up to 1,800 s | Longer sources are refused (source_duration_exceeded) |
A request
Import the source first, then trim. precision: exact is frame accurate; keyframe is faster but can start earlier, which the result reports as actual_start_seconds. Output is $0.02 per job, async by default.
curl -X POST https://api.sume.com/v1/video-trim \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: trim-short-001" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/long.mp4",
"start": 12,
"duration": 180
}'Sources
Related posts
More in Developers
- whisper-1 or gpt-transcribe for subtitles: what OpenAI assigns to each
OpenAI recommends gpt-transcribe, gpt-4o-transcribe-diarize for speakers, whisper-1 for translation and subtitles. Plus the 25 MB limit and a chunking script.
- Why adaptive and auto are missing from /v1/videos/models
Seedance and Wan list auto and adaptive aspect ratios in the Video Router catalog, but /v1/videos/models filters them out. Which models, and a script to see it.
- Windsurf now redirects to Devin Desktop: where Sume MCP setup lives
Windsurf redirects to Devin Desktop, and Cascade was removed in v3.9.19. Re-add Sume's hosted MCP URL there and verify it with mcp_health and tools_list.
- Workers post-quantum Web Crypto: Sume webhooks stay HMAC-SHA-256
Cloudflare Workers Web Crypto now supports ML-KEM and ML-DSA. Sume webhook signatures are still HMAC SHA-256, and verifyWebhook runs on Workers with WebCrypto.
Written by Sume