Here are some of my character swaps and a bit on how I'm making them:
- Geiru Theft Auto
- Noira Devil vs Geiru
- Sovless Calibur II
- Super Comfy 64
Everything is done with H3 in ComfyUI: the original video is used as a guide, the character gets swapped in, and a bunch of renders are chained together so it can run for a long video.
No character LoRAs, no Viggle, and no masking the character out. The trick is to put the original video on one half of the frame and let H3 make the swapped character on the other half, side by side. Technically there is a mask, but it only locks the original half so it doesn't get re-rendered. The model then copies the motion, timing and camera from that side. It's explained better here.
You get a lot more freedom with refs than with something like Viggle, but the prompt becomes much more of an issue to get right, since it has to describe the whole thing: both sides and what goes in each.
For the model I'm using FL2VA (int8) with the Pika flex FL2VA turbo LoRA at 1.0, though ref2va works for this too. Pretty much any turbo should work, that's just the one I've been using. Sampling is lcm, 6 steps, no CFG, with manual sigmas 1.0, 0.973, 0.923, 0.8, 0.571, 0.333, 0.
One render is only a few seconds, so for longer videos I cut the source into pieces, mostly at shot changes or quiet parts. Each piece gets its own refs and prompt. If a piece is the same shot as the one before, it continues from the last latent frames of the previous render, so there's no visible jump where they join.
The catch with chaining a lot of clips on a long shot is that every clip gets a bit darker and more washed out, and it adds up badly. For that I'm using roycho's Geiru Keystone Attention. It holds onto the look of the first frame so the chain stops drifting. I changed it a bit to run on flash attention, since at first it was doubling my render times.
If part of a piece comes out wrong, I mark just that bit, redo it as an inpaint and splice it back in, without redoing the whole thing.
The chaining runs in a private custom app I made for my own stuff, but I'm happy to go into detail on any of it so people can set it up themselves in ComfyUI.
All of this is on a single 5070 Ti (16 GB), with no upscale on these yet.
Ask me anything if you want to know more.
...
EDIT: I put together two workflows for this: an endless one where you render one piece per run and it keeps chaining from the last one, and a 3-piece demo that does the whole thing in one click. The example in both is the first 22 seconds of the Geiru Theft Auto video above, and the repo shows each step: the source, each render before the cut with the original on top, the pieces chained, and the final crop. Everything's here: https://github.com/LucianoCirino/h3-side-by-side-chain. Only common packs: KJNodes, Video Helper Suite and roycho's Geiru Context Suite. The reference image background stills from the source side aren't required. I mostly use them when I shrink the original side a lot compared to the render side, so the model still sees the background in good detail.