r/StableDiffusion • u/knuckle23 • 5d ago
Question - Help Best local workflows\models for refining images generated by other AI models?
I've been experimenting with locally enhancing and refining images generated with ChatGPT and Nano Banana, and I'm curious how others approach this.
Currently, I'm using FLUX.2 Klein 9B in ComfyUI, but the results are still far from perfect. It does a decent job at improving overall image quality and adding details, but it often struggles with small details like:
- Distorted hands, fingers, toes, and anatomy.
- Malformed jewelry, accessories, and small objects.
- Inconsistent clothing details and strange geometry.
- Random artifacts and details that need additional correction.
And I still have to spend a lot of time manually masking problematic areas and inpainting them individually.
What I'm trying to achieve is something closer to reference-guided reconstruction: using the original image as an anchor while allowing a local model to intelligently reconstruct details, fix mistakes, improve anatomy, and add realistic textures without completely changing the character, composition, pose, or overall aesthetic.
So: Is FLUX.2 Klein 9B a good choice for this, or are there better alternatives?
I'm not necessarily looking for a way to upscale images. The main goal is to correct imperfections and improve existing details while keeping the original image recognizable.
Thanks!
2
u/DeepAnyMod 2d ago
What fixed most of the manual masking for me was doing the repair in small passes instead of one global enhance. Hands, jewelry and clothing details break because the model re-invents them everywhere at once. So first crop each problem area with a generous margin, then run a low-strength pass on just that crop with a short prompt describing what should be there ("five fingers, relaxed hand", "thin gold chain necklace"). Paste it back with a soft feathered edge. If the crop is small, upscale it 2x before the pass, since small details need pixels to come out right. For the rest of the image, a very gentle full-frame pass (strength around 0.2-0.3) adds texture without changing the character or pose. Doing it per region is quicker than it sounds once you reuse the same crop settings. Which problem comes up most for you, hands or accessories?
2
u/DelinquentTuna 5d ago
Something doesn't seem quite right here. You're getting bad anatomy out of commercial AI?
EG, an edit model. I feel like your whole post could be encapsulated as, "what's the best edit model?" There are so few worth considering that you should try each of Klein 9b, Qwen-Image-Edit, Qwen Image 2.1, and Flux.3 Klein. TBH, I have not looked at h3 image yet because their license is so fucking unworkable.
That said, getting mangled hands and stuff from Klein 9b (in editing) is pretty hard to do and I would've imagined impossible from GPT and Nano Banana. So I have to believe that you're either doing something very wrong or you are not describing your scenario very well.
1
u/djenrique 5d ago
You can VAE encode any image and use its latent and further process the image using your model of choice so long as the sampler adds noise and you set denoise lower than 1. Ask GPT he’ll tell you how.
3
u/Ill_Resolve8424 5d ago
Here is how I do it.
I make sure the image size is around 3-4.000 pixels, if not I upscale using seedvr2 or kadinsky (the new kid).
You need pixels to make good edits.
Than I use krita or Layershop now , to make the edits. Depending on the thing I want I use Qwen 2.1 or H3 or if I want something very specific I do a rough sketch and I use the "restyle" option in edit and use moss or krea2 with lowered strength. Working with people I prefer moss. I use selections with 20-30 feather, and edit the layer mask at will after. I use layershop since I am familiar with photoshop.
2
u/purelawan 5d ago
For hands, jewelry and small objects the thing that helped me most was not a better model but working at a bigger scale: crop the problem area (the Inpaint Crop and Stitch nodes do this), let the model redraw that crop at around 1 MP with a mask and denoise around 0.35 to 0.5, then stitch it back. A hand that is 120 px wide in a full image becomes 900 px in the crop, and even Klein fixes fingers fine at that size. For the "keep everything, just repair" pass, an edit model with a very literal instruction ("same image, only fix the left hand") tends to drift less than img2img on the whole frame.
2
u/SnooHamsters7479 5d ago
Since you're already masking problem areas, I'd try inpainting just those regions at a higher working resolution (crop and scale the masked area up, fix it, then paste back) with a low denoise around 0.3 to 0.45. That keeps the pose and composition anchored while giving small details like hands and jewelry enough pixels to come out clean.
2
u/Ill-Ant-9489 4d ago
What finally worked for me was scale, not a fancier refiner. Upscale the full image to about 3k first with seedvr2, then redo hands and jewelry as separate masked passes at that size, denoise around 0.4 so the pose holds. A blind low denoise over the whole frame just smears the small stuff, which is probably what klein 9b is doing now.
I folded that upscale plus a klein detail re-render into a local app I made on top of comfyui, LoRA Dataset Studio. The re-render takes an instruction, so you say what the ring or the fingers should be instead of hoping a blind pass sorts it. heads up, klein can shift color a bit.
is the bad anatomy mostly on your full body gens, or on close crops too?
2
u/flavioj 5d ago
Currently, I primarily use Layershop, with Qwen 2.1 for corrections. Previously, I also used Inpainting (I use the Forgeneo UI) whenever the model had editing capabilities. As for proprietary models, I would stitch together pieces of artwork and have Gemini correct them, then resize the result. ChatGPT, by contrast, would usually alter the image's colors when attempting the same task—even when explicitly instructed not to.