MiniMax H3 · Character swap · ComfyUI

AI character swap in ComfyUI with MiniMax H3: a free Genjutsu alternative, 7 swaps tested

Published 12 min readby
MiniMax H3 · character swap: 6 min / 8 s, free in ComfyUI on an RTX 5090, sound kept, hard cuts break it Watch the video · Higgsfield Genjutsu vs ComfyUI - Create Character Swaps Locally

A free, local alternative to Higgsfield's Genjutsu is Akatz Labs' H3 Character Swap for MiniMax H3 in ComfyUI. On my RTX 5090 at the 768 setting, an 8-second swap took about 6 minutes and kept the clip's own sound. In seven test swaps, a hard cut broke it and one clip drifted back to the source person.

Short answer
  • Akatz Labs' H3 Character Swap (LoRA V1.5 on MiniMax H3, 8 steps, 768 setting) took 332 to 385 seconds per 6.6 to 8-second clip in ComfyUI on an RTX 5090 (one run per clip, 2026-11-03).
  • A 15-second clip took 13.7 minutes (822 s) with the MiniMax H3 character swap on an RTX 5090, and the swapped-in character held from the first frame to the last (one run, 2026-11-03).
  • The MiniMax H3 character swap kept each source clip's own soundtrack: 0.9955 to 1.000 correlation with the source on all seven of my test swaps (RTX 5090, 2026-11-03).
  • At the 480 setting, the same 8-second MiniMax H3 swap took 2.7 minutes instead of 6.2, but the face no longer matched the character: ArcFace 0.30 to her picture against 0.52 at 768 (one run each, RTX 5090, 2026-11-03).
  • In seven MiniMax H3 character swaps on an RTX 5090 (2026-11-03), a hard cut brought the original person back for about 1.5 seconds, and one swap drifted back to the source dancer for 3.7 of 8 seconds.

What is H3 Character Swap, and how does it compare with Higgsfield Genjutsu?

H3 Character Swap is a 155 MB LoRA by Akatz Labs that teaches MiniMax H3 by MiniMax to replace one person in a clip with the character in a picture, while Meta's SAM 3.1 finds the person and the clip keeps its own sound. It does one of the jobs Higgsfield's Genjutsu sells as a hosted tool, swapping a person, locally and for free.

Akatz Labs publishes the workflow and node pack on GitHub and the swap LoRA on Hugging Face. Comfy Org's own Openjutsu app runs the same workflow, pinned at commit 0670e4f, with one model change: LoRA V1.5 instead of V1. That is the version I ran.

Genjutsu, by Higgsfield's own guide, swaps a person, product, outfit or text in a 4 to 30-second clip, at up to 1080p. It is paid in credits, and the free runs some plans include work only on higgsfield.ai. I did not run Genjutsu, so there is no side-by-side here.

The free local swap and Higgsfield Genjutsu, by what each offers. Genjutsu facts from Higgsfield's pages, read 2026-11-02 and 2026-11-03
H3 Character Swap in ComfyUIHiggsfield Genjutsu
Where it runsYour own PC, in ComfyUIHiggsfield's website, API or MCP
CostFree files; render time on your GPUCredits
Output size480 (up to 0.5 MP) or 768 (up to 1 MP)480p, 720p or 1080p
Clip lengthWhole clip in 124-frame windows; I tested up to 15 s4 to 30 s
SoundThe source soundtrack is keptNot tested by me
Tested here7 swaps on an RTX 5090No runs

How do I set up the H3 Character Swap workflow in ComfyUI?

Setting it up takes three things: Akatz's node folder in your custom nodes, FFmpeg and FFprobe installed, and the two LoRAs and SAM 3.1 in your model folders. If you already run MiniMax H3, the swap LoRA and SAM add about 2 GB.

  1. From Akatz's repo at commit 0670e4f, copy worker_nodes/h3_character_swap into ComfyUI/custom_nodes. Its only outside calls are ffmpeg and ffprobe on your PC.
  2. Make sure ffmpeg and ffprobe are on PATH.
  3. Put h3_character_swap_v1.5.safetensors (155 MB) in models/loras, and sam3.1_multiplex_fp16.safetensors (1.75 GB, from Comfy-Org/sam3.1) in models/checkpoints.
  4. If you don't have it, add H3's 8-step turbo LoRA from LightX2V, minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors (1.96 GB), in models/loras.
  5. Load workflows/H3 Character Swap.json and pick LoRA V1.5, the one Openjutsu uses (the default is V1).
  6. Load your clip and your character picture, write the prompt (below) and run.

Akatz qualified it on Linux only; it ran fine on my Windows 11 PC. Akatz has since moved the workflow onto their H3 Relay 2.0 pack; I tested the pinned version Openjutsu runs.

Installed and tested 2026-11-03 on an RTX 5090 (32 GB), 96 GB RAM, Windows 11, on a separate ComfyUI test server.

Which settings does the MiniMax H3 character swap use?

The workflow runs MiniMax H3's reference-to-video model in int8 with the swap LoRA and the 8-step turbo LoRA, both at 1.0: 8 steps, CFG 1, er_sde with the normal scheduler. SAM 3.1 picks the person, and the video is made in 124-frame windows with 18 frames carried over.

The settings I ran, from the 0670e4f API workflow as Openjutsu runs it. Two files differ from the recipe, marked
SettingValue
Modelminimax_h3_ref2va_pruned_int8_convrot
LoRAsh3_character_swap_v1.5 at 1.0, FL2V turbo 8-step at 1.0
Steps, CFG8, 1
Sampler, schedulerer_sde, normal
Sigma shiftVideo 12, audio 3
Windows124 frames, 18 frames of history
SAM 3.1Text "person", threshold 0.35, select "largest", mask expansion 64 px
Resolution768 (came out 1312×736) or 480 (928×512), 24 fps
Text encoder (differs)int8 qwen3vl_32b_minimax_h3_int8_convrot; the recipe names the nvfp4 file
Video VAE (differs)int8 minimax_h3_video_vae_int8_convrot; the recipe names the fp16 file
Seed904239 on every swap; no anchor image

The prompt starts as Openjutsu's does, "Replace the selected person in <Video 1> with the character in <Picture 1>", then describes the character, then ends "Preserve the source performance, scene and audio timing." Describe the face, hair, proportions and clothing: Akatz's guide says a generic "replace the person" prompt performed poorly in their tests.

How well did the MiniMax H3 character swap handle my three test characters?

Two of three were clean: the chef became Mira and the walker became the astronaut. The red panda swap drifted back to the dancer for 3.7 of 8 seconds. Mira's face matched her picture at 0.52, against 0.18 for the chef she replaced.

All the footage is AI-made, with no real people. I rendered the source clips with MiniMax H3 in my Stubelius Ultimate H3 workflow (Pika H3 Flex, Reference mode, text only). The red panda chef and the astronaut are MOSS Image pictures, and Mira is the AI influencer from my free AI influencer post.

  • Dancer to red panda chef (8 s): the spins came through, but from 2.42 to 6.12 s, measured frame by frame, he turned back into the dancer, wearing the panda's chef jacket, then became the panda again. Akatz's LoRA card warns about this return to the source identity.
  • Chef to Mira (8 s): by ArcFace, Mira's face scored 0.52 against her picture and 0.18 against the source chef, so it really is Mira, not the chef with new hair. She says the chef's line in the chef's own voice.
  • Walker to astronaut (6.6 s): the cleanest: the suit, the raised visor, the wave, and the street untouched.
Three AI-generated pictures for the MiniMax H3 character swap test: a frame of the swapped chef in a restaurant kitchen, the AI-made character Mira holding a latte, and the source chef; labels give ArcFace face match 0.52 to Mira and 0.18 to the source chef
The chef-to-Mira swap at the 768 setting. Mira's face matched her picture at 0.52 and the chef she replaced at 0.18 (ArcFace on the largest face every 3rd frame, the median; one run, RTX 5090). AI-generated, no real people.
Two AI-generated frames side by side from a MiniMax H3 character swap test: left, the source dancer in a grey hoodie in a sunny living room; right, the swap mid-drift, the same dancer's face back on top of the red panda's white chef jacket
Four seconds into the red panda swap, the source dancer is back, wearing the panda's chef jacket. It lasted from 2.42 to 6.12 s of 8 s, measured frame by frame (one run, 768 setting). AI-generated.

Where does the MiniMax H3 character swap break?

At hard cuts, with more than one person, and on drift. In my extra tests, a cut brought the original person back for about 1.5 seconds, and with two people only the larger one was swapped. Length was fine: 15 seconds held to the last frame.

All seven swaps, one run each, seed 904239, on an RTX 5090. Sound is the correlation of the result's soundtrack with the source's (1.0 is identical)
ClipCharacterLengthRenderSoundWhat I saw
Dancer, 768Red panda chef8.0 s367 s0.9993Back to the dancer for 3.7 s; 3 held frames
Chef, 768Mira8.0 s372 s1.000Face 0.52 to Mira, 0.18 to the chef
Walker, 768Astronaut6.6 s332 s1.000Clean
Woodworker, 768Astronaut15.1 s822 s0.9999Held from first frame to last
Two people, 768Red panda chef8.0 s385 s0.9993Only the man in front swapped; the panda kept his jeans
Hard cut, 768Astronaut7.0 s377 s0.9955The dancer back for about 1.5 s after the cut; 1 held frame
Chef, 480Mira8.0 s165 s1.000Face 0.30 to Mira, 0.32 to the chef
  • Fifteen seconds: the astronaut held the whole way, and the woodworker's line stayed in his own voice.
  • Two people: SAM's "largest" setting picked the man in front; the woman behind him stayed exactly as she was.
  • A hard cut: I joined 3.5 s of the walker and 3.5 s of the dancer. After the cut the dancer was back for about 1.5 s, then the astronaut took over. Split your video at the cuts and swap each shot on its own; Openjutsu's README also says a hard cut breaks the swap.
Two AI-generated frames side by side from a MiniMax H3 character swap test, 0.7 seconds after a hard cut: the source dancer in a grey hoodie in a living room on the left, and on the right the swap, which should show an astronaut but still shows the dancer
Just after a hard cut, the swap lost the astronaut: the original dancer was back for about 1.5 s before the astronaut took over. Split your video at the cuts. One run, 768 setting. AI-generated.

How long does a MiniMax H3 character swap take on an RTX 5090?

About 6 minutes per 8-second clip at the 768 setting, roughly three quarters of a minute per second of video, and 13.7 minutes for 15 seconds. The 480 setting cut 8 seconds to 2.7 minutes, but the character's face no longer took, so for faces stay at 768.

At 480 the chef swap matched Mira at 0.30 and the source chef at 0.32, halfway between the two. I tested 480 only on the chef clip. Times are each job's time from my run log.

Tested 2026-11-03 on an RTX 5090 (32 GB), 96 GB RAM, Windows 11. Face match: ArcFace on the largest face in every 3rd frame against Mira's picture and against the source chef's face, the median. Sound: cross-correlation with the source clip after alignment, lag 0.0 s on every swap.

Is the free MiniMax H3 swap as good as Higgsfield Genjutsu?

I can't say, because I didn't run Genjutsu. For one continuous shot of one person at 768, the free swap did the job in three of my four such clips on an RTX 5090: the face, the clothes, the motion and the sound, for render time instead of credits.

On paper, Genjutsu covers more: clips up to 30 s, 1080p and no GPU of your own. The free route keeps everything on your PC, with every setting in view. Watch for drift, split at the cuts and keep it at 768.

What do the licences allow for MiniMax H3 character swaps?

MiniMax H3 and the swap LoRA are under the MiniMax H3 Community License: commercial use allowed, but not in the EU, UK, US or South Korea; label the result as AI; no impersonation without consent. Read it before commercial use; this isn't legal advice.

SAM 3.1 is under the SAM License, the node pack GPL-3.0 and the workflow MIT. Swap in characters, not real people who didn't say yes: everyone in my tests is AI-made, and no voice was cloned.

New to ComfyUI? The free Part 1 of ComfyUI From Zero covers workflows and model folders, and the course goes on from there.

Test setup and limits

  • Seven swaps, one run each, all on seed 904239, on one RTX 5090 (32 GB), Windows 11, on 2026-11-03.
  • Every source clip is an AI-made MiniMax H3 render, not camera footage, and every character is AI-made. No real people.
  • Face match was measured only on the chef-to-Mira swap (ArcFace). The red panda and the astronaut were judged by my eye alone.
  • I ran the int8 text encoder and int8 video VAE, not the nvfp4 and fp16 files the recipe names, and no anchor image.
  • Not measured: peak VRAM and lip sync. Not tested: Genjutsu itself, Openjutsu's optional paid first-frame step, Akatz's H3 Relay 2.0 canvas, LoRA V1, other GPUs, and camera footage.

Sources and files

Common questions

How much VRAM does the MiniMax H3 character swap need?

It ran on my 32 GB RTX 5090; I did not measure peak VRAM. Akatz's validation record says a 24 GB RTX 4090 ran out of memory at 1 MP with everything kept on the GPU and passed with normal ComfyUI offloading, on a host with 128 GB RAM.

Is the H3 Character Swap free to use?

Yes. The workflow is MIT, the node pack GPL-3.0, and the LoRA, SAM 3.1 and MiniMax H3 are free downloads; it costs render time on your own GPU. The LoRA and H3 are under the MiniMax H3 Community License, so read it before commercial use.

Does the H3 Character Swap work on Windows?

Yes, it ran fine on my Windows 11 PC with FFmpeg and FFprobe on PATH. Akatz Labs qualified it only on Linux, so Windows is outside what they tested.

Does the swapped video keep the original voice and sound?

Yes. The workflow keeps the source clip's soundtrack, and my seven swaps matched their sources at 0.9955 to 1.000 correlation. I did not measure lip sync.

Can I swap a real person into a video with MiniMax H3?

Not without their consent: the MiniMax H3 Community License forbids impersonating anyone without consent and asks you to label the result as AI. My tests use only AI-made characters in AI-made clips.

StuubzzzBuilds self-hosted AI image and video pipelines and the Stubelius nodes for ComfyUI, and teaches them in the ComfyUI From Zero course. My own tests run on one RTX 5090. About
Want the why, not just the workflow?

Learn it, fix it live, or have it made.

The ComfyUI From Zero course explains the machine from the first node to training your own LoRA, and Part 1 is free. If something is fighting you right now, bring it to a 60-minute 1-on-1.