Recast a video longer than 30 seconds: trim, recast, rejoin
H3 Max Recast takes 5 to 30 seconds of source. For a 90 second video on Sume, probe it, trim ranges, recast each at 768p, then plan the join. Cost math inside.

To swap the people in a video longer than 30 seconds, split it into ranges of 5 to 30 seconds, run H3 Max Recast on each range with the same reference photos, and join the results. On Sume that is a video trim per range, one Recast job per range, and a Timeline plan to put the pieces back together.
Sume does not split or stitch inside the Recast call. The row accepts one source of 5 to 30 seconds and the duration you send is the source's length. The steps below are a manual pipeline built from documented Sume surfaces, and the one step I could not confirm from the docs, how a joined render treats each clip's own audio, is flagged where it comes up.
What is the limit, and why 30 seconds?
Sume's Video Router docs give h3-max-recast 5 to 30 seconds, with the duration equal to the source length. Sume's API reference adds that no single shot in the source may run over 15 seconds. fal's H3 Max Recast page (read 2026-10-02) lists 768p at $0.30 per second and 1080p at $0.45 per second of output, and does not state a maximum duration, so the 30 second cap here is Sume's documented contract rather than something I could confirm on the vendor page.
That shot rule shapes where you cut. A 25 second range that is one continuous take is inside the duration limit and outside the shot rule.
How do you plan the ranges?
Start by inspecting the source. Video inspect returns probe facts for one clip on media.sume.com, with an optional stills grid, and probe plus stills are unbilled. Cut on shot changes, not on a fixed grid, so each range starts and ends on a cut and no person is swapped mid-motion across a seam.
Keep every range between 5 and 30 seconds. A tail shorter than 5 seconds is refused by Recast, so merge a short tail into the previous range, or extend the previous range's end, instead of leaving it alone.
| Plan | Ranges | Recast seconds | Recast cost |
|---|---|---|---|
| 3 ranges of 30 s | 3 | 90 | $33.75 |
| 4 ranges of 22.5 s | 4 | 90 | $33.75 |
| Same, at 1080p ($0.5625 per second) | 3 | 90 | $50.63 |
What does the trim step look like?
Video trim takes start plus exactly one of end or duration, and returns a new MP4 artifact. precision: exact is the default and re-encodes frame-accurately, which is what you want for cuts that must land on a shot boundary. The job costs $0.02 per trim according to the docs, which are the source for that number.
Run one trim per range, each with its own Idempotency-Key, then submit each trimmed clip to Recast with the inspected length of that clip as duration.
curl -X POST https://api.sume.com/v1/video-trim \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: recast-part-1" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/long.mp4",
"start": 0,
"duration": 30
}'How do you put the pieces back?
Timeline renders a video list over a separate audio spine: audio.url plus audio.duration_seconds, and up to 200 video[] slots whose URLs must already live on media.sume.com. Its plan route is unbilled and tells you the compiled duration and cost before you render.
The open question is audio. Fal says Recast preserves the source audio, but Timeline's documented model is one audio spine you provide, so the safe route is to detach the original video's audio once as wav, use it as the spine, and run the unbilled plan to check lengths line up. If a recast range is a different length than its source, the plan is where you find out, not the paid render.
Also expect small continuity differences between ranges: each Recast job is independent, and Sume does not promise that the same person looks identical across separate jobs. Reusing the same photos is the only control you have.
Sources
Related posts
More in Use cases
- Review a creator clip's transcript before reusing it as a paid ad
Get a creator clip's transcript for $0.01 per audio minute with video inspect, then flag risky claims with your own word list before the clip becomes an ad.
- Run one video prompt across five Sume models: a Python bake-off
Submit the same prompt to five Sume video models, choose each model's resolution from the catalog, and compare cost and time. Runnable code under 30 lines.
- Yearbook slideshow video: photos, narration and music in one render
Build a 90-second class slideshow: 18 photos on a Timeline 1.0 spine with fades, TTS narration, and a Music Router bed. Costs worked out, with limits.
- Score a multi-scene video with AI music: tempo, key, lead instrument
How to brief Sume Music for a video with several scenes: one consistent score or contrasting cues, with tempo, key and lead-instrument rules from the docs.
Written by Sume