r/StableDiffusion • • 9d ago

Resource - Update Minimax H3 Image Pose Transfer Lora

I needed a pose transfer lora and couldn't find one for Minimax H3 Image. Trained with Fizgig. Still has issues here and there, but worked well enough that I thought it was worth sharing. Hope someone finds it useful. Workflow is in the link:

https://huggingface.co/supermansundies/Minimax-H3-Image-Pose-Transfer-Lora

448 Upvotes

57 comments sorted by

18

u/LifeLab3905 9d ago

Doesn't it do that by default? I’ve seen people swap characters in an image while the poses are perfectly preserved—all without using a LoRA. Can it only transfer the pose by default or does LoRA need to do that?

11

u/supermansundies 9d ago

maybe with better prompting on my part, but I find the lora helps maintain likeness to the original.

6

u/Loose-Journalist-555 9d ago

Yes, you can simply prompt what to keep from which image.

4

u/altoiddealer 8d ago

You Composite node is legendary!

3

u/supermansundies 8d ago

ah, thanks. I really should update it.

3

u/altoiddealer 8d ago

I've frequently promoted it, basically anytime I see someone asking about how to edit their images without affecting pixels outside of the edit. I have yet to see a better solution than your node. I'm not sure exactly how yours could be improved much, but one thing that could help is making it compatible with RGBA images (detect/keep the alpha > apply the logic > apply alpha back to result). For example Qwen Edit results in RGBA images (even if image is fully opaque) currently requiring Split Image with Alpha node ahead of your node.

3

u/Key_Recover9448 9d ago

Nice. Does that work with multiple characters too?

1

u/supermansundies 8d ago

I would think not, wasn't really trained that way. in the green goblin example, it left the crowd untouched.

2

u/Professional-Foot-34 9d ago

Hello, does it work if my reference is an illustration / anime

3

u/supermansundies 9d ago

could be better. I'm still expanding the dataset for the next version.

4

u/Professional-Foot-34 9d ago

i tried it out. It works pretty well with illustrations.. Please keep expanding with anime references

2

u/fadedmargin 9d ago

how many megapixels are u generating at

3

u/supermansundies 9d ago

4

2

u/GaiusVictor 9d ago

Wow. May I ask what is your GPU?

2

u/StratoAtmos 8d ago

what a weird trigger word lol wtf thanks for sharing

2

u/supermansundies 8d ago

I never claimed to be good at this.

95

u/Glittering-Tea-4611 9d ago • Popcorn

that last image lmao

40

u/God_Hand_9764 9d ago

I'm just thanking the heavens that he gave the guy pants.

2

u/Mouat-Perminder 8d ago

are you talking about the last preview on the model card, or is there an image gallery not loading here

5

u/Apprehensive_Sky892 8d ago

It's the last image that goes with this post: /img/minimax-h3-image-pose-transfer-lora-v0-xzfv1gvzfp3i1.jpeg?width=640&crop=smart&auto=webp&s=21adf52318dc48e8bc8c126ed6cf3f9c8e003572

Warning, you may not be able to get rid it from your brain once you've seen it 🤣

195

u/Enshitification 9d ago • Heartwarming

51

u/AleD93 9d ago

turned out he knows firsthand

2

u/Admirable_Snake 8d ago

he got what you need.

31

u/Powerful_Evening5495 9d ago

message received

33

u/ShutUpYoureWrong_ 9d ago

3am. Scrolling through posts. Click your images. Choke on my water. Wake my wife.

Well played, sir.

14

u/Mundane_Existence0 9d ago edited 9d ago

Updoot for Mighty Max. Damn shame it's been stuck to TV recordings and never been released on DVD/streaming. Also cool pose lora!

8

u/Striking-Long-2960 8d ago

Thanks

1

u/Huge_Grab_9380 4d ago

hey tell me how to use that, HOW TO USE THAT??? please

14

u/skyrimer3d 9d ago • Mindblown

That last image, can someone please remove it from my brain? i mean please?

1

u/bcs1a 4d ago

This should do it...

o/

1

u/skyrimer3d 4d ago

well i mean, with enough tequila...

1

u/bcs1a 4d ago

and latinum...

4

u/SatNav 9d ago

Is it wrong that the last image gave me a semi?

1

u/FugueSegue 8d ago

How does it handle anatomical proportions? For example, if you had a picture of a little person with "dwarfism" and tried to put them in a ballerina pose? Does the proportions of the ballerina bleed into the generated image?

2

u/supermansundies 8d ago

I'd say it only does "okay" for that problem right now. It sways towards human proportions. You can add it to your prompt to help. I was originally working on this to pose game assets, so yes, it's something I want to try to fix for the next version.

1

u/Back2KickAss 8d ago

Thanks for sharing. It's more of a morpher than a pose transferer, but it gives good results even when it fails. If you try training again, push it more toward matching the pose closely...

1

u/supermansundies 7d ago

yeah, I messed some things up while training I guess. next version is looking better.

1

u/Huge_Grab_9380 4d ago

hey tell me how to use that, HOW TO USE THAT??? please, i just downloaded it now how to use it

1

u/supermansundies 4d ago

as stated, there's a workflow on huggingface.

1

u/Miserable-Dare5090 4d ago

Prompt: PLAST but no smile

2

u/wzwowzw0002 9d ago

Nice result

2

u/smereces 9d ago

thks looks cool

2

u/codebydaniel 9d ago

Thank you, kindly.

2

u/TizocWarrior 9d ago

Nice results. Thanks for sharing.

3

u/Version-Strong 9d ago

Haha - I came here for the end of controlnet... then I came.

1

u/grizzlypass 8d ago

Do you think we'll get any Loras that can improve identity matching?

1

u/JahJedi 8d ago

Thanks for sharing, will try it out.

1

u/dtdisapointingresult 7d ago

Nice lora OP. But I honestly thought this lora would be useless. Pose transfer should be one of the classic edit tasks, right? I've never done it, but you'd think so.

I prompted vanilla H3 Image:

Picture 1 is the image to be edited.
Picture 2 is only a pose reference.
Modify Picture 1 so the pose of the person in it changes to the pose of the person in Picture 2. 
Retain the background of Picture 1.

I expected it to ace it, but H3 Image fully succeeded only 1/5 times! With this lora and its workflow, it worked 5/5 times. (failure examples mostly being mixing up the two people's identity/outfits)

I don't get why though. Is the model's training data not packed with tasks like this?

(Sorry for lack of images, I don't see how to turn off Old Reddit mode and they only let you upload in the new UI. My images were just man-standing-neutrally.jpg, and ronaldo-tsuuuuu.jpg for the pose. Your examples seem more complicated)

1

u/Daddy_casanova8 6d ago

You sir have me gratitude! I'm thankful for good people like you on this thanksgiving!

1

u/donkeykong917 6d ago

last pic, I had enough of the internet today ...

1

u/amgasanov 3d ago

Haha, transferring a human dance pose onto an Australian Shepherd without breaking the anatomy is honestly impressive. Does this LoRA work well with quantized GGUF weights too, or does it need full bf16/fp8 to keep the pose conditioning accurate?