
Resize a clip while trimming: output needs precision exact
Sume video trim takes output {width, height, fps} only with precision exact, the default. With keyframe you get video_trim_output_requires_exact. $0.02 a job.
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

Sume video trim takes output {width, height, fps} only with precision exact, the default. With keyframe you get video_trim_output_requires_exact. $0.02 a job.

A 13.4-second voice-over is rounded up to 14 billable seconds on Sume's H3 Max Lip Sync: $1.40 at 768p, $0.875 at 480p. Rounding rule and what to trim.

Sume video captions cost $0.20 per job for clips of 60 s or less. A restyle with source_caption_id reuses stored word timings, so no second transcription.

Pinterest's ad specs list no bitrate. The only ceiling is 2 GB at up to 15 minutes, about 17.8 Mbps average. Sume has no bitrate field, so check the file size.

Kling 3.0 Motion Control on Sume bills $0.1575 per output second: 9 seconds is $1.4175. With Music 1.0 and a 1-minute render it is $1.6425.

Sume's free video-filter check covers schema, allowlist and source, not the worker. A valid program can still fail on expressions, memory or time. Next steps.

A $5.00 balance buys 50 audio seconds of H3 Max Lip Sync at 768p ($0.10), 80 at 480p, or 26 whole seconds of VEED Fabric at 720p ($0.1875) on Sume.

Sume video upscale accepts factors 1.1 to 4. 960x540 needs 4, 1280x720 needs 3, 1920x1080 needs 2; 854x480 tops out at 3416x1920. Same $0.009 a second.

fal lists VEED Fabric 1.0 at $0.15 per second (720p) and $0.08 (480p). Sume bills list x 1.25: $0.1875 and $0.10. Prices at 4, 8, 12, 20 and 30 seconds.

result.lyrics on a Sume music job is model-reported, not measured. For a lyric video, burn captions with your own cues: music $0.125 plus a $0.20 caption job.

A 30-minute LinkedIn ad must average under about 2.2 Mbps to fit 500 MB. Sume's timeline renders up to 1,800 seconds for $3.00; trim stops at 900.

Sume video inspect seek: fast snaps each still to the keyframe at or before the time, about 0-5 s early on typical sources. precise decodes the exact instant.

Latin caption styles have no Hangul glyphs, so Korean text on slam, punch or tiktok-green returns 400 caption_hangul_text_latin_style. Use korean-ad.

A 1080x2400 screen recording is 0.45 wide-to-tall; Pinterest's page avoids shapes shorter than 1:2. Crop height 0.9 gives 1080x2160; 0.8 gives 9:16.

A 900-second detach, the output cap, is about 28.8 MB as 16 kHz mono 16-bit wav and about 14.4 MB as 128 kbps mp3. Arithmetic and the STT shape.

A 1080x1350 clip in a 720x1280 Snap frame: cover loses 304 px of width, contain leaves 380 px of bars. Fit modes cover, contain, blur; $0.10 a minute.

TikTok's 1:1 ad needs 640x640 or more. A 9:16 source crops to a square with video filter height 0.5625 and y 0.21875, or y 0.1 to keep the top. $0.02.

MiniMax H3 Max Lip Sync on Sume bills ceil of audio seconds: a 6.2 s line is 7 s, or $0.4375 at 480p, $0.70 at 768p and $1.40 at 1080p.
Sume image upscale allows factor 1 to 4 at $0.20 per image, with about 16 megapixels reserved. A 1024 square times 4 is 4096 square, 16.78 MP. Check the math.

On Sume's Kling 3.0 Motion Control the optional prompt (up to 2,000 characters) steers appearance only; motion and framing follow the driving video.

Pinterest's page recommends 6 to 15 seconds with a 4-second minimum. Three video trim jobs at $0.02 turn a 47-second demo into cuts of 12, 9 and 15 seconds.

Sume RMBG 1.0 is $0.0225 per image regardless of size, so 2,000 cutouts cost 2,000 x $0.0225 = $45.00. Request body, endpoint and limits.
At 30 fps TikTok's 516 kbps floor is 0.033 bits per pixel at 540x960 but 0.008 at 1080x1920. Why a bigger frame needs a higher real bitrate to look the same.
Timeline compose stack splits the 1080x1920 frame by ratio. Ratio 0.4 gives the still a 768 px band and the video the other 1,152 px. $0.02 flat per job.

Video trim clamps an end past the source length and returns warning trim_clamped_to_source. A 4 to 184 cut of a 172.4 s clip yields 168.4 s for $0.02.

Video upscale is $0.009 per input second, up to 30 s per video. Twenty 12-second clips are 240 s x $0.009 = $2.16. Fields and the 5-second default reserve.

A 47-second VEED Fabric 1.0 talking still on Sume is 47 x $0.10 = $4.70 at 480p and 47 x $0.1875 = $8.8125 at 720p. Limits, audio cap and alternatives.

YouTube says use 16:9 to keep a video from becoming a Short. A 9:16 clip in 1920x1080 with blur fit keeps 608 px (31.6%) sharp; a 5-minute render is $0.50.

The video-frames route takes clips up to 300 s and 24 frames per call. At fps 0.08 a 300-second clip yields 24 source-size stills, from 6.25 s to 293.75 s.

Set seek fast to get stills from the keyframe at or before each time, skipping the decode. Stills can be early by a GOP, about 0 to 5 s, never later.

YouTube lists 8 Mbps for 1080p at 24-30 fps and 12 Mbps at 48-60: 180 MB versus 270 MB over 180 s. Timeline fps 60 only helps with 60 fps sources.

YouTube's upload page lists 4:2:0 chroma and H.264. Sume video trim exact re-encodes to libx264 yuv420p; keyframe copies the stream and keeps the source format.

Three video trim jobs at $0.02 each turn one 150-second clip into Shorts of 60, 60 and 30 seconds, each at or under the one-minute claim line on YouTube.

fps 0.25 on a 96-second Short returns 24 stills at seconds 2, 6, 10 and on to 94. Video frames takes 24 per call, so one job covers the whole cut.

Video inspect's default eight stills on 45 seconds sit 5.6 s apart; only 2.8 s falls in Snap's non-skippable first 6. Use frames at 1, 3 and 5.9 instead.

LinkedIn lists in-stream ads up to 90 seconds and recommends 15 to 30 seconds. From a 95-second source, trim start 0 for 90 s and start 20 for 30 s: $0.04.
LinkedIn lists 720x1280 for 9:16 with a 1080x1920 max. Sume's Timeline default is 1080x1920, 2.25x the pixels; set output 720x1280 and fps 25.

LinkedIn lists MP4, H.264 or VP8, AAC audio and a frame rate under 30. One video trim exact job at $0.02 writes H.264 with AAC and can set 25 fps.

A silent clip makes speech-to-captions fail with caption_no_speech. Send cues (text, start, end) and Sume burns your text at those times without speech-to-text.

Standalone captions are $0.20 per job for clips up to 60 s. Restyling with source_caption_id reuses the word timings, so three looks cost 3 x $0.20.

Timeline audio concat joins up to 20 Sume-hosted audio parts into one gapless wav for a flat $0.01, and returns segment offsets to re-base your video slots.

Timeline 1.0 bills $0.10 per ceil(output minute), minimum one. A 60 s render is $0.10; 61 s rounds up to 2 minutes, $0.20. Use the free plan call to check.

Kling 3.0 Motion Control is billed on Sume at $0.1575 per output second for 1 to 30 s, so 17 s is $2.6775. Table of lengths from 1 to 30 s and what they cost.

Sume's MiniMax H3 Max Lip Sync accepts stills with aspect ratio 0.4 to 2.5. A 2.76:1 frame is out of range; cropping 2760x1000 to 2500x1000 fits.

Need only the sound of seconds 40 to 55? Send one audio-detach job with a range for $0.01. Trimming first and then detaching costs $0.03.

TikTok's non-Spark ad spec sets 540x960 as the 9:16 minimum. One video-trim job with output 540x960 at 30 fps costs $0.02. Bitrate is not a field.

A centered 3:4 crop of a 1920x1080 frame keeps 810x1080 pixels. In video-filter fractions that is width 0.421875, height 1, x 0.2890625. One job, $0.02.

YouTube's Shorts page says square or vertical, up to three minutes. 4:5 is vertical, though not named. A 170-second 1080x1350 Timeline render costs $0.30.