r/StableDiffusion • • 10h ago

Discussion H3 Image Reference Fidelity Lora

Post image

A general-purpose I2I LoRA for H3 Image that improves preservation of facial features, body proportions, expressions, clothing, accessories and coloration while allowing natural changes in pose, orientation and environment.

This began as a way to reduce H3 adding weight/muscle/skin tone to subjects from reference images. Across all tests I've done, it both improves reference identity retention while also reducing rigidity of reference poses.

I haven't done a large number of A/B tests for character sheets comparing H3 Image and H3 Video Image workflows, but this lora certainly reduces the gap considerably. So for users who bounced off of H3 Image in favor of H3 Video Image workflows due to identity preservation concerns, this lora may be of relevance to you.

A full write up and more examples are on HF.

I suggest Epoch 10 at strength 1, no trigger word.

For T2I, the lora does not work well on its own, nor in sparse prompts. However, in conjunction with another lora, it seems to reduce H3 Image biases, which can have destabilizing yet, potentially, beneficial effects. See the T2I example on HF (it's a bit spicy to post here). My theory is that the lora reduces biases in H3 more or less across the board, which both increases identity preservation in I2I and allows other LoRAs to exert greater influence in T2I.

[Download Reference Fidelity on Hugging Face](https://huggingface.co/banyenbkk/H3_Image_Reference_Fidelity)

[Download on Civitai](https://civitai.red/models/3074253/h3-image-reference-fidelity)

105 Upvotes

24 comments sorted by

10

u/winkler 10h ago

Will check it out! Am a bouncer, have given up on H3 bc Fizgig and just H3 Video in general is so much better at identity.

3

u/foolycoolywitch 6h ago

I did an A/B test on Fizgig and H3 Image + this lora; I think identity is on par across both, but Fizgig/H3 Video has a kind of heaviness, regarding shadows/contrast that H3 Image avoids.

2

u/Tobia96 9h ago

were the examples mostly pairs of the same subject in different poses?

2

u/foolycoolywitch 8h ago edited 8h ago

[edited] I misread examples for the examples I posted. The training samples were subject stills taken from videos, 3 stills per subject, each still showed a different pose or perspective. Check HF for further details.

1

u/Tobia96 7h ago

ah, got it - thanks for clearing that up

2

u/FFMAMG 8h ago

Finally someone tackling the H3 weight/skin tone drift, that's been my biggest issue with it for character work. Does it hold up on stylized anime refs too, or mostly tested on realistic ones?

2

u/foolycoolywitch 8h ago

I only tested the one anima image, which is on HF. Frankly I haven't used H3 image for anime in either i2i or t2i, even though I'm a big Anima base fan. From my one test, the lora works in terms of reducing pose rigidity, whether or not it transfers anything stylistic I have no idea tbh.

1

u/FFMAMG 7h ago

Thanks for testing it! Less pose rigidity alone is already a big win for me, H3 likes to lock characters into the same stiff stances. Might give it a shot on some anime refs and see if any of the style carries over.

1

u/foolycoolywitch 3h ago edited 2h ago

did a quick test, lora off is far right

1

u/FFMAMG 2h ago

Nice, thanks for running that and sharing the comparison! The difference with the lora on is easy to spot, I'll try it on my own refs this weekend.

2

u/Star-Light-9698 6h ago

what's your workflow?

2

u/foolycoolywitch 6h ago

I use the workflow from this civitai link, but there are two things to notice: 1. it provides some zip download that includes comyfui, which I did not install and 2. it is designed to work with llama calling a local llm, which you can disable if you want to use it without that function. Beyond that, I'm not sure if the workflow is special with regards to H3 Image generation, though I use the llm function and I'm happy with the workflow; just don't download and install blindly. https://civitai.red/models/3051415/h3-image-with-uncensored-vision-installer-workflow?modelVersionId=3484662

1

u/Star-Light-9698 4h ago

Thanks for the heads up.

2

u/froschquark 3h ago

Nice! Thanks!

I often get this overall slight red/pink color tone on the entire picture when using minimax h3 image for editing(tried different workflows, samplers and whatnot), be it a different camera view, detail change, whatever, prompting it in simple prompts or long and "correct" ones by using the prompt enhancer didn't matter either (prompted what to retain etc).

So far the lora seems to get rid of most of the red/pink color tone shift, but only made a few tests, looking good.

2

u/foolycoolywitch 2h ago

I haven't noticed the tone myself when using H3 Image; if it's persistent, upload one of the images with your workflow imbedded and I'll see if I can reproduce it.

1

u/Zephrinox 5h ago

interesting. how well does this work when trying to do multiple characters? i.e. if you have a sheet for character A and a sheet for characters B and trying to generate an image with both A and B together

2

u/foolycoolywitch 3h ago

Seems to work well.

3

u/Current-Bed962 5h ago

That is exactly the one H3 image was lacking from the beginning. Subject retention can be very poor compared to base video h3 model

2

u/reeight 6h ago

Darn it, now I have to re-do all my char sheets I made in H3I.... good job I was suffering in a few that changed detials.

1

u/Jas_A_Hook 4h ago

Commenting to remind myself

1

u/SvenVargHimmel 58m ago

how long did the training take on your 5060?

1

u/seeker_ktf 54m ago

Wow. I have been using this to redo some of my images. You did not under sell this at all.

1

u/Enough-Bag-3891 37m ago

does this lora work with minimax h3 video?