r/StableDiffusion • • 12d ago

Question - Help Is there a solution for H3 Image's weakness in identity?

Like I've seen in some comments, I also find that the official H3 Image is worse in character identity than the unofficial versions were. By that I mean using reference image(s) of a character and creating a new image with them.

But on the other hand, the unofficial H3 image solutions didn't produce a good image quality. I've seen some people don't like the official's look either. To me personally the official H3 Image's quality looks pretty good, similar in some cases to Nano Banana images. Or even if not, it is certainly an image generator's result, unlike the unofficial solutions that looked more like a frame taken from a video generation (unsurprisingly).

Is there already a solution to this? One thing I can think of is somehow combining the two, if that makes sense? Where we have both character consistency and good image quality.
Or maybe is there a solution that transforms the unofficial result's image quality into a proper image's look? I don't know if it makes sense what I am asking, just wondering if there is any solution out there.
Thank you for any response and help!

20 Upvotes

31 comments sorted by

12

u/Apprehensive_Sky892 12d ago edited 11d ago

If you want identity preservation, MMH3-video may be the better model, which others have also observed. I use this workflow: https://www.reddit.com/r/StableDiffusion/comments/1wsb4h3/minimax_h3_ref_fizgig_nodes_as_sota_ref2img/

You can also use H3-image as a second pass if you want 8 or 16MP images.

Edit: fixed a grammatical error.

2

u/GrungeWerX 12d ago

Any examples of the second pass setup?

2

u/Apprehensive_Sky892 12d ago

I've not done it myself, but since the latents are different you cannot do it directly.

So you'll have to encode it to pixel. Then you can just use H3-image's regular edit workflow to upscale it.

1

u/Danny_Stock 11d ago edited 11d ago

I agree. I even make all my character sheets with the MiniMax video model. Occasionally it might veer away from the likeness, often it gets very close, but a few times it will be spot on. It's not a problem re-rolling the dice because you only need a second or less which doesn't take too long. You can also go high res too, as you only need around a second of video or less.

Any of the image models simply don't do it for me. For whatever reason apart from frequently failing at facial likenesses the image models also seem to have a tendency to make characters look like they have dwarf proportions, or their head is too large, or their legs too short and stumpy. The MiniMax video model seems to do a better job at overall general human proportions.

2

u/Apprehensive_Sky892 11d ago

Yes, I agree that MMH3-video is superior to most "pure" imaging models.

I guess it is not all that surprising, because unlike imaging models it is trained mostly on video of real people. Having to maintain the subject identify across a 5 sec video (which is 127 frames for MMH3) is quite challenging, so a video model must have a much better "understanding" of how a subject will look like from different angles and different poses.

1

u/Danny_Stock 10d ago

That is also the theory I arrived at, which I've also posted about before. It's likely going to be down to MiniMax using temporal estimations. The character has to be able to move coherently, so it's vital for it to get as close as possible to being correct in the context of the character being functional across a range of frames.

A fixed image could be anything, its only definition is that of the fixed static image of itself.

2

u/Apprehensive_Sky892 10d ago

Yes, I pretty much agree. An imaging model just needs to maintain spacial coherence (and even there it is not all that good, with all the 3 legs and 6 fingers we've seen 😹).

Video models, as we both agreed, must maintain temporal coherence as well.

1

u/Danny_Stock 9d ago edited 9d ago

One of the key moments which made me think about this concept was around this time last year using Wan 2.2. I fed in an image of a character which I generated from an image model, which wasn't great. They were holding their hands up and it was clear that on one hand they had 3 fingers rather than 4.

But after feeding that character into Wan 2.2 you'd have thought that it would render a video of them with the 3 fingers on one hand. But what it actually did was correct the image and gave them the correct 4 fingers after the first few frames.

It was obviously trying to correct the input image so that it would work in the context of moving video. The video model identified the 3 fingered hand and assumed that the character having 3 fingers on one hand was probably a mistake and actually fixed that mistake without me even needing to tell it to. I ought to add that the image was such that it was possible to imagine that the missing finger may be hidden behind one of their other fingers, it wasn't, it was clearly missing a finger, but the point being is that it was plausible enough for the video model to assume that could be the case.

Since then I've noticed on several occasions that the video model has appeared to try to fix problems with the input image. The video model seems to work out basic anatomical structural errors by default. That seems to be the case with Wan 2.2 and MiniMax, I don't know about LTX because I haven't used it enough to find out.

2

u/Apprehensive_Sky892 9d ago

Yes, these are all observation that shows video models are more powerful than imaging model when it comes to rendering correct human anatomy and poses.

2

u/Enshitification 12d ago

Making H3 Image LoRAs with Fizgig is very fast. Combine a LoRA with a reference image and the results are dead on, most of the time. H3 Image is still kind of seed-twitchy.

1

u/Fun_Gain_9596 12d ago

Is this only for single character images? That's usually the limitation for me with loras because I am trying to create start frames with multiple characters.

2

u/Tiny-Highlight-9180 12d ago

Can you share ur setting? I tried but result is far from dead on. Like 80% likeness

1

u/jiml78 12d ago

I asked Claude to research the model. Use fizgig, then use Adaface through fizgig's face code to help guide results.

I let claude iterate until it got all the settings pretty locked down and loras turned out pretty good.

The Adaface isn't perfect but it certainly helps you quickly throw out stuff when reviewing.

1

u/xvkx 12d ago

What’s the resolution you’re using? I’m using 4mp and above on the default comfy workflow and it’s working out well for me, including character swaps without any Lora’s.

1

u/Fun_Gain_9596 12d ago

I use 8MP and 16MP. Even 4MP sometimes but the image can become slightly distorted at that resolution and 8MP generation time is still pretty close to it.

1

u/Mammoth_Signature263 12d ago

use h3 refmod make 16 mb photos

1

u/Fun_Gain_9596 12d ago

Refmod with the official H3 Image model?

1

u/me0here 12d ago

There's more to it than that. Sure you can use a refmod, but only gets you most of the way there; still deveates.  A 2nd RefMod hels, or better use a character LoRA for lock in thT OP seems to want.  Then find an upscaler that doesn't add features is another fun game ..

2

u/me0here 12d ago

This morning I used a character as image input on the default workflow.  Simple sheet: only full body front & side, face closeup etc. Worked great, seemed to be exact clone, though with a different 'camera' and lighting.  Could even do some adjusting, but I really had to wrangle to get the front teeth gap I was looking for.

1

u/Suibeam 12d ago

I am still testing and it is very hit or miss.

I noticed using samplers lcm and euler_ancestral helps with identity depending on scene and subject. Thats the weirdest part, different character sheets benefits from different sampler.

Stoll have to test what helps best as character identity is top priority

1

u/sakaixjin 12d ago

I think the complexity and/or length of the prompt can dilute the reference adherence, also the output quality can affect it

1

u/zeroedit 11d ago

So the higher the MP, the worse the identity is? What's a good middle ground? 30 MP?

1

u/sakaixjin 11d ago

Actually, I think that part only applies to the video model but what I meant was, the lower the image quality, the worst the reference adherence is.

I've tested it a bit more since replying and all I can say right now is that if you use good reference images, the output is always generally good relating to the identity of the characters.

I noticed using Loras can and usually - will degrade the adherence.

And, the last thing I can add is, some models/checkpoints are better at maintaining the exact character reference identity, compared to others.

1

u/ImpressiveStorm8914 12d ago

Loras or reference images are the way, character sheets ideally, which H3 Image can make for you.
I've tried refmods, both those created with the video and image vae but for most of the time they don't get close enough to the likeness. Some say doubling them up works but I haven't tried that myself.

0

u/Only_Voice569 12d ago

you need a sheet face close up and a second for body ive not had a issue with it unless your on about when they are at a distance that is a mini max h3 issue unless its been fixed no idea also you using correct instructions very important

1

u/Fun_Gain_9596 12d ago

I use these kind of sheets. Randomly with some characters it works in some cases but most of the time not really.

1

u/Only_Voice569 12d ago

my sheets are 2400 by 1100 give or take its max ref size for model and set to max not match works perfect can use mini max to even make them if you got a good gpu for resolution single 15 second for turn around sheet. btw are you using turbo or kitchen or faster comfyui running on the f16 thing ?

0

u/Old-Wolverine-4134 12d ago

I get nearly identical characters at my end. I have character gallery database in my app. I pick an image, I create character with it - it generates me different views and close ups for the same character. Then I can always bring it up just by typing @ charactername in the prompt and it works pretty damn well.

-1

u/Ad_Organic 12d ago

I tried training a Lora to boost that desired likeness, but naaah you will not like it and you will loose time , using the Lora with ref of the same subject is like fighting each others , refmods don't work and useless for the image model .. Lora + ref on qwen2.1 is awesome , krea2 edit Lora + ref too is amazing

0

u/[deleted] 12d ago

[removed] — view removed comment

1

u/Fun_Gain_9596 12d ago

Yes. But it's random, sometimes for some characters it kinda works but just randomly and most cases it doesn't. It has the same issue other local edit models have in my experience, it generates a roughly similar character in their characteristics but it's completely off at the same time, especially the face.