Skip to content
OMNI Labs
WorkLookbookMusicJournal
TalentMethodCertificationWardrobeSplat
BuildAutomationEmbodimentAutonomyPen
Contact
Creative AI Production Studio
OMNI Labs
01Home02Work03Lookbook04Music05Journal
StudioTalentMethodCertificationWardrobeSplat
LabBuildAutomationEmbodimentPen
06Contact
hello@omnilabs.studioIstanbul · Global
OMNI Labs

Human direction, AI infrastructure. We build high-end visual systems, synthetic media, and custom production workflows — faster, and fully under control.

Work

WorkLookbookMusicJournal

Studio

TalentMethodCertification

Lab

BuildAutomationEmbodimentPen

Contact

Start a projecthello@omnilabs.studioInstagramLinkedInXYouTubeTikTokIstanbul · Global
Creative AI Production Studio
© 2026 OMNI Dijital Hizmetler Ltd. Şti.
← Journal
  1. Home
  2. Journal
AI Video Production

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 Labs2 Nov 2026Updated 16 Nov 2026

Wipe frame: left half the source runway walk, right half the locally swapped person in the same stride

On this page

  1. What we tested
  2. Why 736p took 26 minutes
  3. Head-only replacement needs a different mask
  4. Why the smaller dancer was skipped
  5. The production rule
  6. Update, November 2026: 720p fits after all, and FastH3 looks better

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.

tested

For a straightforward single-person swap, 480p was the useful operating point: 5 s requested, 4.46 s returned, 3 min 46 s wall time, with identity, outfit, stride and camera push preserved.

Source walk (left) and the local Openjutsu swap at 480p (right): stride and camera push come from the source.

Why 736p took 26 minutes

We ran the same job at

Related

  • Bar chart: a four-person Openjutsu swap at 720p took 40 minutes with H3 and a 4-step LoRA, 45 minutes with FastH3 at 8 steps, which gave clearer faces

    test16 Nov 2026

    Openjutsu with FastH3: Better Faces, Same Speed

    We put FastH3 in place of Openjutsu's own model for a four-person, 720p person swap. The faces came out clearly better, and it took the same time. We also learned that patching a multi-person swap doesn't fix it.

  • Bar chart of twelve micro-drama premises scored by three blind viewers out of 90; Dinner Is Ready leads with 75 in red, She Pays the Rent is last with 40

    test16 Nov 2026

    Cold-Testing 12 Micro-Drama Premises Before We Generate Anything

    Before spending a cent on video, we wrote 12 premises for a new domestic drama and had three blind viewers score them for stopping, sending and wanting part two. The winner was the one you can follow with the sound off.

  • Three vertical frames side by side: the failed AI take with the man standing and leaning on a massage table, the grey Blender previz with simple shapes lying on the table, and the final AI frame with him lying on the table face to face with the woman
736×1312
. It finished, but wall time rose to
26 min
. Inference step
4
alone consumed
21 min
because the job spilled beyond the card's
16 GB VRAM
.

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
TestInput scopeResultOperational reading
Simple person swap5 s at 480p3 min 46 sFits the practical local workflow
Same swap736×131226 minVRAM spill; step 4 alone took 21 min
Mask-only check5 sAbout 1 minCheap preflight before generation
Head-only group test16.7 s at 480pThree chained clips of about 6 sMain 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.

warning

Without the head-only patch, clothing comes from the replacement photograph. With the patch, the grown head mask may include the neck and alter a collar. Choose the mode by what must remain source footage, then inspect the mask boundary before rendering.

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
ResolutionTimePeak VRAM
480p143 s15.5 GB
720×1280346 s15.5 GB
1088×1920428 s15.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.

Sources

  1. Openjutsu on GitHub
OMNI Labs is a creative AI production studio.Everything in the Journal comes from our own productions and tests.Start a project

test15 Nov 2026

The $5.54 Posture Failure That Needed a Previz

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.