All credits go to the original creator of the LoRA
https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA
Swaps characters in existing video.
If the character in the video and the replacement character look similar, it will not change anything.
Make sure to specify exactly what to replace, and who to replace with in the prompt.
Use google for downloading models in workflow.
P.S: Works on real videos too - surprisingly well.
Add more reference images to make the character more consistent in the output.
Description
FAQ
Comments (10)
same video in, same video out. It doesn't work.
If the character in the video and the replacement character look similar, it will not change anything.
Make sure to specify exactly what to replace, and who to replace with in the prompt.
try different seeds, if it still doesn't work, share workflow.
@rmanb2 Thanks man. I used qwen-image 2.1 swapped the character of the first and last frame of the clip and it works.
same
From my experience, this workflow/LoRA only works with very short prompts, i.e "Replace person with dark hair in <Video 1> with person in <Picture 1>, with motion and camera preserved.". Anything longer or more advanced will cause it to either not work or be very inconsistent.
@anonx513 Longer prompts worked for us with v1.5 at 1.0, in our own graph rather than this workflow: 89 to 107 words, 6 of 6 swapped from the first frame. Ours named the person by where she is and her hair, and said everyone else stays exactly as in <Video 1>.
Getting an error: "ERROR lora diffusion_model.blocks.0.adaln_proj.linear.weight shape ..." and Gemini says it's because the 'PleagueKind-tiddies-realismslider' is the culprit. Do I just change this or what?
yup, you can remove that.
it might also be the turbo lora i'm using, you can change that too - try larry 600
@rmanb2 If I want to generate a video longer than 5 seconds to 16 seconds, what should I change? So far I've lowered the resolution (disconnected the connectors from the Resolution Selector node) to be 576x1024 but it's been running for many minutes now. The default settings would only run 5 minutes max and finish for 5 seconds.
junk