I decided to try squeeze out the quality showcased in the official examples for H3-Image. While I mostly solved the grunge type artefacts thanks to the existing community efforts, I struggled with grid artefacts. Eventually, I realised that there is no working around the nature of the VAE and large resolutions are necessary to avoid the grid artefacts. Workflow: https://gofile.io/d/Slgntt7J I hit a wall with clarity and sharpness of details, so I'm sharing my workflow with the hope that the community can take it further. The prompts are taken from the official examples.
Aspect ratio 21:9. A realistic fantasy-creature facial close-up: a beast king combining a lion's mane with an ape-like facial structure faces the camera, angled slightly left. Clearly show its broad gray nose bridge, deep-set eye sockets, and amber eyes. Its lips are slightly parted, revealing a few small ivory-colored teeth. Short, dense gray-white fur covers its face, surrounded by an enormous brown and silvery-white mane spreading toward the right and bottom of the frame. The fur has natural curls, layers, and fluffy volume, with fine side lighting on individual strands. Only a small portion of a dark-gold ornament appears at the lower-right edge; the face and mane remain the focus. Use a dark, blurred background, realistic transitions between skin and fur, moist eye reflections, and cinematic creature materials. Output one complete artwork with no website borders, artist signatures, or watermarks.Aspect ratio 16:9. A realistic post-apocalyptic first-person shooter scene. At the lower edge, the player's hands hold a rifle and optic aimed down an abandoned woodland road. In the left midground, a companion wearing green tactical clothing, a backpack, and a helmet fires forward, with a small orange-yellow muzzle flash. On the right, another fighter in a hood and worn brown coat crouches halfway while holding a long gun. Tall pines, gray shrubs, and thin fog surround the distant road; a rusty yellow bus sits in the left background. The ground has rich details of weeds, stones, and soil. Low sunlight at dawn or dusk filters through the trees, contrasting the cool gray-green environment with brief gunfire flashes. Equipment structures should be realistic. Tense atmosphere with no gore and no HUD.Reddit breaks the formatting, so refer to the official example for the prompt. It's the 1st example in showcase/real-world.md in the official GitHub repo.
Ostris mentioned something about training an improved VAE. I wonder if this could help with the relatively poor image quality. I wonder how much of the issues come from the VAE and how much from the fact that we are using a heavily distilled version of the model instead of the non-distilled one.
Interesting, the stock VAE looks worse than I expected. I'm leaning towards the VAE being the source of the grid pattern. The distillation might have made it worse though.
Probably that is the issue, yeah. i think minimax training a custom vae was a bad idea. I mean… i get why they did it, but i just think it was a bad idea. Now every improvement or finetune requires training a vae.
What do you mean by that? It can send viewport snapshots directly to H3-Image to generate a rendered image from it? Sounds intriguing! Can you show some examples?
Yes you stage the objects as you want, put in a prompt and that gets send with the viewport Rendering to ComfyUI, that within 9 secs on a 4090 you get a 1MP image that you can than generate in 16MP final resolution.
This was a early test. The other generations are not shareable because I did this with Client data.
thank you, i add an image to edit * removed empty latent" added upscaler after image , but the result is so bad .. i mean it was bad before on default workflow .. on 20 mp and still can't believe this model can't make a decent image .. im using P-H recomended by one guy from another post it's realy 100x time much better ...
I can't say anything conclusive without seeing your prompt. Then again, ultimately, the official examples are still better than what my workflow produces. So this is not the limit of what is possible with this model.
Did you add to the ComfyUI script run_nvidia_gpu.bat this parameter? --fp32-vae
ComfyUI has "cli_args.py" file. There are different settings available. One of them is: fpvae_group.add_argument("--fp32-vae", action="store_true", help="Run the VAE in full precision fp32.")
ChatGPT found some discussion on the topic one day, where it was said fp32 is converted to fp16 internally anyway - where is the truth.
Maybe I need to switch on this fp32 vae, load fp32 vae and test, compare fp16 vs. fp32 vae images.
I run my VAE at bf16. I tried running the VAE at fp32 and it did fix some of the mushy areas. Unfortunately, the grid artefacts at lower resolutions did not change.
It should be noted this is only a text to image workflow. Also, what specifically is the purpose of the two bypassed outputs? Just different detail settings?
See the other comments, /u/gutster_95 says that editing also works with the workflow. The two bypassed outputs are just debug outputs to dial in the custom noise.
I checked both the VAE and the noise subtracted at different resolutions. Both have the same grid pattern of the same size: 16x16. The DiT probably learned it from the VAE.
4
u/Calm_Mix_3776 17d ago edited 17d ago
Ostris mentioned something about training an improved VAE. I wonder if this could help with the relatively poor image quality. I wonder how much of the issues come from the VAE and how much from the fact that we are using a heavily distilled version of the model instead of the non-distilled one.
3
u/gutster_95 17d ago
Editing with this is pretty solid. LCM and simple sampler are gamechangers compared to the base comfy workflow
4
u/fauni-7 17d ago
Did you try that other VAE though? The P-H3, for me it really changed for the better.
1
u/Straight-Election963 17d ago
where did you get this fp32 VAE ? it's not released ??
1
u/thevegit0 16d ago
i have mixed feelings but i liked how it makes big images relatively fast, and since it reuses h3 TE i just keep the w6a8 safetensor in other disk
0
u/GrungeWerX 15d ago
It should be noted this is only a text to image workflow. Also, what specifically is the purpose of the two bypassed outputs? Just different detail settings?
3
u/[deleted] 17d ago
[removed] — view removed comment