Media tools
Sume media tools by API: trim, filter, captions, frames, inspect, speech-to-text, upscaling, background removal, transitions, and Timeline assembly.
Start with Video editing API limits: Sume media tool caps in one table

Song limited to 90 seconds in a 165-second Short: plan the audio
YouTube says most songs run up to 90 seconds in a 3-minute Short. Join 90 s of song to 75 s of other audio with timeline audio, then render for $0.31.

TikTok Spark Ads: MP4 or MOV only; non-Spark lists five containers
Spark Ads list .mp4 or .mov with no duration limit; non-Spark lists five containers and 10 minutes. Sume trim and Timeline write MP4, so both fit.

Video filter limits: 8 ops, 2,048 characters, 32 filters
Video filter takes up to 8 dim/crop ops plus a filters-only graph of 2,048 characters and 32 filters. See what is allowed, what is refused, and the free check.

Video inspect with fps 0.4 returns 24 stills from a 60-second clip
The inspect frames program caps at 24 stills and fps at 2. For a 60-second clip, fps 0.4 fills all 24 slots, 2.5 seconds apart, centered in each bin.

YouTube stereo audio at 384 kbps in a 3-minute Short is 8.64 MB
YouTube's upload page asks for 384 kbps stereo, 128 mono, 512 for 5.1, at 48 kHz. For 180 seconds that is 8.64, 2.88 or 11.52 MB; Sume detach can write 48 kHz.

Korean captions API error: caption_hangul_text_latin_style (400)
Sume refuses Korean text on the slam, punch and tiktok-green caption styles with a 400. Use black-outline, korean-ad or another Hangul style; $0.20 a job.

Crop 1920x1080 to 9:16 with an API: width 0.3164, x 0.3418
Center-crop a 16:9 clip to vertical with Sume video filter: the crop fractions, the arithmetic, and why 1280x720 falls under TikTok's 540x960 minimum.

Poster frame at 2.5 seconds: video-frames returns source-size stills
Sume POST /v1/video-frames extracts up to 24 exact stills at source size. Always async (202); a failed instant gives a null url and the job still succeeds.

Video inspect API: 24 stills max, so 2 fps covers only 12 seconds
Sume video inspect returns at most 24 stills per call and caps fps at 2. How to size frames.fps for a 60-second clip, plus fast versus precise seek.

Timeline refuses 9 chained fades: too_many_chained_transitions
Sume Timeline 1.0 refuses more than 8 adjacent fades with too_many_chained_transitions. How transitions are validated, and the hard-cut fix.

Rendered video judders: output_fps_resamples_sources and 24 to 30 fps
Why a Sume timeline render can stutter when output.fps differs from your clips, what the output_fps_resamples_sources warning means, and the fix: omit fps.

Fast video cut API: precision keyframe and actual_start_seconds
Sume video trim has two modes. Keyframe copies the stream and can start a GOP early; exact re-encodes. Both cost $0.02. Re-base on actual_start_seconds.

Talking photo greeting: 8 seconds on Fabric 720p plus voice-over cost
An 8-second talking-photo greeting on VEED Fabric 1.0 costs $1.50 at 720p or $0.80 at 480p, plus about $0.0114 of TTS for a 240-character line.

Meta's 4 GB video cap at Sume's 30-minute render limit: 17.8 Mbps
Meta ad video tops out at 4 GB. A 30-minute Sume Timeline render can average up to 17.8 Mbps and fit; a 15-minute Reels ad allows 35.6 Mbps. Table inside.

Library song capped at 90 s in a 3-minute Short: 90 seconds left bare
YouTube caps most Shorts Audio Library songs at 90 seconds in a 3-minute Short, some at 60 or 30. Uncovered time per cap, and how to score the rest on Sume.

Crop an avatar video to 1:1: video-filter fractions for every ratio
Exact x, y, width and height fractions that turn a 9:16, 3:4, 4:3 or 16:9 Sume avatar clip into a centered square with video-filter, $0.02 a job.

Dim an avatar clip to 0.45 for overlay text: run the free check first
Darken a Sume avatar video with video-filter dim 0.45, run the unbilled /check call first, then pay $0.02 for the encode. What dim does and what it refuses.

Lip sync an 11-second mascot line: H3 Max 480p, 768p, 1080p vs Fabric
An 11-second line on MiniMax H3 Max Lip Sync costs $0.6875 at 480p, $1.10 at 768p, $2.20 at 1080p; Fabric 720p is $2.0625.

Facebook Feed's 241-minute video ad limit vs Sume's 30-minute render
Facebook Feed video ads can run 241 minutes; Sume Timeline renders 30 minutes per job. Covering 241 minutes is nine jobs and $24.10 at the public rate.

Meta lists Reels ads from 0 seconds; Sume's shortest trim is 0.2
Meta's Reels ad page lists lengths from 0 seconds, Feed from 1. Sume's shortest trim is 0.2 s and shortest Timeline render 1 s; shortest clip per model.

TikTok ad bitrate window: 0.516 to 6.67 Mbps for 10 minutes
TikTok wants at least 516 kbps and at most 500 MB. For a 10-minute ad that is a 38.7 MB floor and a 6.67 Mbps average ceiling. The math and what Sume controls.

Instagram Reels borders and logos: crop them off with video filter
Instagram lists Reels with borders, logos or watermarks among those shown less. Crop a border off with Sume video filter, using fractions, and check it free.

LinkedIn Page video max ratio 2.4:1: crop a 32:9 recording
LinkedIn Pages accept video from 1:2.4 to 2.4:1 and up to 4096x2304. A 5120x1440 ultrawide capture fails both. Crop it with Sume video filter to fit.

Dim a background clip under text: video filter dim amounts
The Sume video-filter dim op multiplies luma by an amount between 0 and 1; black stays black and chroma is untouched. Amount table, request and the $0.02 price.

Trim and conform to 1080x1920 at 30 fps in one video-trim job
Video trim's output field re-encodes to a set width, height and 24/25/30/60 fps in the same $0.02 job, exact precision only. Request, ranges and refusal codes.

Join voiceover takes into one gapless wav: timeline audio concat
Timeline audio concat joins up to 20 hosted audio parts sample-exact into one reusable wav for $0.01 per job and returns segment offsets.

Video trim caps: 1800 s in, 900 s out, and the 901 s refusal
Sume video-trim accepts a source up to 1800 seconds and an output up to 900 seconds. The refusal codes you get past either cap and how to split a long cut.

Remove backgrounds from 500 product photos: RMBG API cost and code
Sume RMBG 1.0 removes a background for $0.0225 per image regardless of size. Batch cost for 50 to 5,000 photos, the request body and a Python loop.

Audio detach limits: 1800 s source, 900 s output, wav or mp3
Sume audio detach turns one hosted video into a wav or mp3 for $0.01. Source up to 1800 s, output up to 900 s, with the range, channel and sample rate options.

Extract 6 thumbnail candidates from a clip with video-frames
Send POST /v1/video-frames with an at list of up to 24 timestamps and get durable image URLs at source size. Python polling example, formats and limits.

video-frames fps limit: 24 frames, fps up to 2, what it covers
Sume video-frames takes fps from just above 0 up to 2 and caps each call at 24 frames at mid-bin times. Table of sample times and the span 24 frames reach.

Is my clip ready for face swap? Preflight with reference ingest
Face swap wants a 4 to 15 second source with usable audio. Read the clip first with reference ingest purpose face_swap and check duration and audio.silent.

Exact or keyframe video trim: which to pick and what changes
Sume video-trim defaults to a frame-accurate exact re-encode; keyframe is a stream copy that can start a GOP early. How to choose and re-base the times.

video-inspect vs video-frames: which returns the still you need
Video inspect gives a probe, 8 default stills at 768 px and optional STT for clips up to 1800 s; video frames gives exact stills at source size up to 300 s.

Trim before crop: how the 300 s filter limit sets the order
Video filter accepts sources up to 300 seconds while video trim accepts 1800. For a 20-minute clip, trim first, then crop: two jobs, $0.04.

Crop a 21:9 or 2.39:1 film clip to 9:16 with video filter
Width fractions for cropping ultrawide 21:9, 2.39:1 and 32:9 clips to 9:16 with one Sume video-filter crop op, plus the 0.05 minimum side and a free check.

Amazon video ad frame rate: set Sume Timeline fps to 24, 25 or 30
Amazon lists 24, 25 and 30 fps among its rates. Sume Timeline takes 24, 25, 30 or 60. Choose a rate that matches the source to avoid the resample warning.

LinkedIn video ads need under 30 fps: render at 24 or 25 on Sume
LinkedIn's spec says frame rate must be less than 30 fps. Sume Timeline and trim accept 24, 25, 30 or 60, so only 24 and 25 fit. How to set it and check it.

Amazon Sponsored Brands video is 16:9 only: render 1920x1080 on Sume
Amazon lists 16:9 as the only aspect ratio for Sponsored Brands video. Set Timeline output to 1920x1080 at 24 fps and check the plan for free before you pay.

How many words fit a 5 to 14.8 s lip-sync segment: measure first
At the 2.8 words a second Sume's avatar planner assumes, 5 to 14.8 s is 14 to 41 words. TTS pace varies: measure the audio before setting duration_seconds.

Group TTS sentences into 5 to 14.8 second lip-sync segments in Python
A short Python planner that groups sentence durations into segments the Sume H3 Max lip-sync route accepts (5 to 14.8 s) and prints the 768p cost of each.

H3 Max lip sync: 480p drafts then a 1080p final for a 6-second line
A 6-second line costs $0.375 at 480p and $1.20 at 1080p on Sume H3 Max lip sync. Drafting pays only past 1.45 expected attempts. The math, with code.

Holiday music bed under a voice: soundtrack duck_db 0 to 20
Sume Timeline takes a soundtrack bed with gain_db, loop, fade_out_seconds up to 10 and duck_db 0 to 20 under a voice spine. Python plan call and errors.

LinkedIn ratios 1:1, 4:5, 9:16: Sume video-filter crop fractions
LinkedIn lists 16:9, 1:1, 4:5 and 9:16 video. Centered crop fractions for a 16:9 or 9:16 source, plus a short Python function that prints the video-filter ops.

Move burned captions: design.placement.anchor_ratio on Sume
Sume caption styles have default heights. Send design.placement.anchor_ratio to move the line, as a fraction of frame height. Which styles accept it.

Amazon Sponsored Brands video: cut a 20-second window with Sume trim
Amazon lists 6 to 45 seconds for Sponsored Brands video and prefers 20 or less. Use Sume video trim to cut an exact range from a longer clip for $0.02 a job.

Black Friday supercut in Timeline: 12 segments vs auto chunking
Timeline accepts up to 200 video slots. A single strategy is refused above 12 segments (render_strategy_unsafe); auto chunks the render past 12.

Mixing 24 fps Seedance clips with 30 fps footage in Sume Timeline
Set output.fps to 24, 25, 30 or 60 in Timeline 1.0. If you omit it, the job matches the sources, and a mismatch returns output_fps_resamples_sources.