Openjutsu: A Local Person Swap in 3 Minutes 46 Seconds
We tested a local person-replacement stack at two resolutions and found a hard operating rule: edit at 480p or 576p, then upscale separately.
OMNI LabsUpdated
Key takeaways
A 5 s Openjutsu swap at 480p completed in 3 min 46 s while holding the replacement identity, outfit, stride and camera push.
The same job at 736×1312 took 26 min because it exceeded 16 GB VRAM; inference step 4 alone took 21 min.
Update: later measurements fit 720×1280 and even 1088×1920 on the 16 GB card without spilling, so 480p is no longer the ceiling.
Head-only replacement needs our patch; upstream replacement takes the complete outfit from the character photograph.
Small or brief people may be skipped by design, so multi-person work needs a mask check and, when necessary, a targeted second pass.
What we tested
Openjutsu takes an existing video and a replacement photograph, tracks the person, and regenerates only the masked subject area. The source video remains the timing authority: camera movement, cuts, body motion and soundtrack come from the original clip. The replacement photograph supplies identity and, in the normal mode, clothing. Underneath the app, SAM tracks the person, a vision-language model matches the subject to the supplied role, and H3 performs the masked video edit.
Our first useful test was deliberately simple: one walking subject, one replacement photograph, a short camera push and a nominal 5 s duration. At 480p, the job completed in 3 min 46 s. The replacement identity held, the outfit from the photograph held, and the source stride and push remained intact. The output did not last the nominal 5 s: H3 snaps duration down to its frame grid, so the file was 4.46 s.
That last detail matters in an edit. A clip request is not a promise of exact running time. We now conform the generated result to the timeline we actually received instead of building a cut around the requested duration.
Source walk (left) and the local Openjutsu swap at 480p (right): stride and camera push come from the source.
This was not the normal cost of adding pixels. Once the active model state no longer fits in dedicated video memory, parts of the job move through shared memory. The GPU spends its time transferring working data instead of denoising frames. A job can still make progress, which makes the failure easy to misread as a merely slow high-resolution mode. The step timing identifies the real problem: one step taking most of the render is a memory spill, not a reasonable resolution trade.
Openjutsu person-swap measurements on the local 16 GB GPU · measured 1 Nov 2026
Test
Input scope
Result
Operational reading
Simple person swap
5 s at 480p
3 min 46 s
Fits the practical local workflow
Same swap
736×1312
26 min
VRAM spill; step 4 alone took 21 min
Mask-only check
5 s
About 1 min
Cheap preflight before generation
Head-only group test
16.7 s at 480p
Three chained clips of about 6 s
Main subject held; smaller fast subject was skipped
The 736p job exceeded 16 GB VRAM. Our production ceiling is 480p or 576p, followed by a separate upscale.
The rule is therefore firm: do not buy detail inside this swap pass. Run at 480p or 576p, approve the replacement and motion there, then upscale the accepted clip with a separate finishing process. That keeps the generative stage inside memory and gives the upscaler one stable result to enhance.
Head-only replacement needs a different mask
Upstream Openjutsu is a person replacement system, not a head replacement system. Its normal prompt explicitly takes complete outfits from the supplied pictures. That behavior was correct in the walking test, where the replacement outfit was wanted. It was wrong for a dance clip where the plaid shirt and choreography needed to remain source footage.
We added a head-only patch. In Advanced mode, the patch changes the tracker target from the whole person to `head` and routes that track through the existing mask branch. H3 then regenerates the head region while the body, clothing and dance stay outside the edit mask. In our 16.7 s group test, processed as three chained clips of about 6 s each, the main dancer's head changed while the plaid shirt and dance remained intact.
The patch has a visible boundary condition. The mask is grown before generation so it covers motion and avoids a hard seam. That grown region can include the neck, which means collars may change even though the intended edit is head-only. The practical check is not just “did the face change?” We inspect the neck edge and collar through the full motion, because that is where mask growth becomes a wardrobe edit.
Why the smaller dancer was skipped
The group test exposed a second mechanism: tracking thresholds are also editorial decisions. Openjutsu deliberately leaves a track unchanged when it lasts fewer than 12 frames or occupies less than 2% of the frame. Those limits prevent unstable fragments and tiny detections from becoming expensive, distorted swaps. They also mean “replace everyone” is not a reliable instruction when one person is small, fast or briefly visible.
The main dancer was large and persistent, so the head track survived. A smaller, fast-moving second dancer did not. This was not H3 forgetting a prompt; the track was filtered before the masked edit. Rewriting the role description alone cannot restore a subject that never reaches generation.
Our rule is to run the mask-only check first. A 5 s check took about 1 min, which is cheap compared with discovering a missed subject after the full swap. If a secondary person is absent, we finish the main pass, then run Openjutsu again on that output with one photograph and one role describing the missed subject. The reduced assignment removes the ambiguity and gives the smaller person a dedicated pass.
Small faces remain a separate limit. When the tracked face has too few pixels, the replacement can distort even if the mask exists. Openjutsu's optional face-fix route depends on non-commercial InsightFace weights, so we do not treat it as a clean commercial remedy. Better source framing, a closer crop or a different shot is the safer production choice.
The production rule
Openjutsu is useful when the source performance is already right and the person is the variable. It preserves the things that are costly to recreate—camera movement, cuts, stride, choreography and soundtrack—while replacing the tracked region locally. It is not a high-resolution finishing system, and it is not a guarantee that every person in a crowded frame will be selected.
Our working order is simple: run the mask-only check; decide whether the job is full-person or head-only; inspect every intended subject; generate at 480p or 576p; review collars, small faces, mirrors and missed tracks; use a targeted second pass where needed; then upscale. We also cut to the returned 4.46 s grid-aligned result rather than the nominal 5 s request.
Licensing stays part of that decision. The Openjutsu application is MIT-licensed. Its H3 weights and the speed LoRA inherit the MiniMax-H3 community licence, which restricts public use in the US, EU, UK and South Korea. A local, zero-API-cost render is not automatically cleared for global commercial delivery; the model licence still governs where the output can be used.
The test gave us a narrow but dependable use case: one prominent subject, a checked mask, a memory-safe resolution and a separate finish. Inside those limits, the 3 min 46 s result is fast enough to make person replacement an editing option rather than a cloud-generation event.
Update, November 2026: 720p fits after all, and FastH3 looks better
Two findings from November change this article.
The 480p ceiling was too cautious. We timed a 3-second single-person swap at three sizes. None of them spilled out of VRAM:
Openjutsu single-person swap, 3 s clip, RTX 5060 Ti 16 GB · measured 15 Nov 2026
Resolution
Time
Peak VRAM
480p
143 s
15.5 GB
720×1280
346 s
15.5 GB
1088×1920
428 s
15.7 GB
Step times stayed flat at every size. The 26-minute 736p run above was not reproduced.
A full 16.5-second, four-person video at 720×1280 then rendered in 40 minutes at 15.6 GB peak, again with no spill. 720p is now a working size for Openjutsu on this card.
Swapping the base model for FastH3 gave better faces. Openjutsu ships with plain H3 Ref2VA and a 4-step speed LoRA. Swapping in FastH3, FastVideo's distilled H3, at 8 steps made the faces clearer and closer to the reference photos. It was not faster. The full write-up, with the multi-person lessons, is in Openjutsu with FastH3: Better Faces, Same Speed.
Seedance 2.5 kept standing our actor next to a massage table instead of lying him on it. More words didn't fix it. A grey Blender blockout matched to the location plate did.