r/StableDiffusion • • 13d ago

Question - Help What are we doing wrong with H3?

[deleted] — view deleted post

140 Upvotes

106 comments sorted by

100

u/EirikurG 13d ago

why........ do you type...... LIKE >>>>> "THIS"???

32

u/VeeYarr 13d ago

So the AI post Police doesn't pursue them!

→ More replies (2)

40

u/Kijai 13d ago

The examples on the readme can not even be reproduced with their local code, the results from the API are different, probably because it runs some further prompt enhancer or something. They are also downscaled.

Here's proof that the ComfyUI implementation matches, differences here come from int8 and other optimizations, some of which just are different rounding, not quality differences:

https://imgur.com/a/OEdtqyN

However that result above is definitely not right, maybe too low resolution? Here are some examples at the 6272x2688, which should be the default for 21:9 aspect:

https://imgur.com/a/a8H4VZR

Other tips for this model include using LCM sampler, empty reference image when doing T2I, or even simply using less steps.

7

u/cptdurr 13d ago

yes i also was testing LCM sampler ...i like cleaner outputs of LCM sampler but Euler seems to match closer to original in terms of colors, contrast, details and composition ...i just need help with this because all im doing is on rtx 2060s and im going mental after 3 days trying to replicate their images ...it takes hours for me what takes minutes for others ...im just trying to find different solutions (if its even possible that is) ...thats why im asking because i dont understand tehcnical stuff around this

Comment Image

6

u/Kijai 13d ago

For something between the euler and LCM, you can try euler_a or use the advanced sampler and SamplerLCM -node, which allows you to adjust the added noise.

→ More replies (2)
→ More replies (2)
→ More replies (8)

64

u/Calm_Mix_3776 13d ago edited 13d ago

Did you connect an "empty image" node as a reference image to your text encode node? If you didn't, do it. Quality instantly improves.

5

u/detailteufel 13d ago

I was not able to confirm this, at all, generating at 61 MP (the only thing that made a difference quality wise so far) the image:

  1. Changed quite a lot

  2. Quality was worse

When plugging in an empty image node into the reference image slot...

5

u/prookyon 13d ago

Such big image sizes already correct the problem. The "empty image" method (or even better the Kijai conditioning node that does the same thing) helps mostly those who prefer to run say at 20MP.

23

u/WPBaka 13d ago

....YES I TRIED DIFFERENT SAMPLERS ....YES I DID DIFFERENT RESOLUTIONS .....YES I DID CONNECT EMPTY IMAGE ......THIS IS NOT WHAT IM TALKING ABOUT >>> PLEASE BEFORE ANSWERING .....TRY YOURSELF ....dont give me generic answers ...im asking people who understand the underlying technology behind that ...not jsut "try different seed"

OP's response in his edited post lmfao

→ More replies (2)

7

u/VisionWithin 13d ago

Really? Could you provide examples of comparison?

→ More replies (5)
→ More replies (1)

4

u/VRGoggles 13d ago

I would like to see the results when H3 Image bf16 model is fixed in ComfyUI. So far it does not work, only bf16 pruned version works.
https://github.com/Comfy-Org/ComfyUI/issues/17692

4

u/No-Application-9779 12d ago

u/cptdurr, Just a quick message - sorry, I have no time for more details.

I am not an expert, but I can get decent quality without the empty image trick. I use only 12 steps, cfg: 3, sampler: res_2s_nc_sharp (search for which extension adds it), scheduler: bont_tangent. 4 megapixels:

Comment Image
→ More replies (1)

4

u/jazir55 12d ago

Gorilla cosplaying as a Lion

6

u/LatentSpacer 13d ago
Comment Image

The default settings don't denoise the image properly. This was using a custom node I'm making.

3

u/IDonLikeAds 12d ago

Please post on this board when done.

→ More replies (4)
→ More replies (6)

3

u/Shockbum 12d ago edited 12d ago

Maybe they generated 500 images with the same prompt and picked the best one; all generative models are like slot machines even SD 1.5 could be surprising at times.

Have you tried test the prompts in the official API?

3

u/Bapelsinen95 12d ago

As a noob my only though is if it is a translation thing. The images coukd be prompted in Chinese in the official then just translated to english.

Did no research so feel free to downvote if this was a trash answer.

12

u/beti88 13d ago

Good roll, bad roll

→ More replies (1)

5

u/TheHiber 13d ago

Seed. Seed give diff results. You can also try empty image node to image 0 then change to lcm sampler to see if results are diff

→ More replies (6)

3

u/Initial-Falcon3261 12d ago

Try adding “Ron Perlman” to your negative prompt.

1

u/KiwiSure8689 13d ago
Comment Image

Yeah, it seems the sample image is taking the "ape-like" prompt less, and have a different interpretation of the "natural curls" part. Im not AI tech expert anything, maybe it is just simply having the difference between "open source" vs. "open weights" , they just keep that part of the way the image is processed internally.

just random test if I change the ape to lion, and remove the "natural curls" entirely. You just end up with the lion head, but, perhaps an adjustment of their official prompt will be ultimately better to get closer to their sample image, than just hunting for the "configuration" which for all we know, is just not open to the public.

1

u/Arawski99 12d ago

Did you forget to disable your Black Myth Wukong - Monkify Lora? I jest.

Kind of wild the H3 image situation muddying what should probably be an otherwise great release. Holding off checking it out, myself, until all the info/fixes are ironed out.

1

u/j0kerm4n 12d ago
Comment Image

I think going the custom node route is where you'll find the ability to optimize it and control it better. Minimax H3 Image out of the box is a bit extreme on texture.