New Feature: "ZOOM ENHANCE" automatically fixes small details like faces and hands! #8573
Replies: 7 comments 7 replies
-
Cool idea, dude! Unfortunately, I'm seeing the following error:
Got any idea what's causing this error? Anything I forgot to do maybe? Extension and A1111 should already be most recent version. I updated everything just minutes ago. |
Beta Was this translation helpful? Give feedback.
-
Installed but am receiving this error `Downloading clipseg model weights... The above exception was the direct cause of the following exception: Traceback (most recent call last): I see it mention CUDA so would it be due to having an ATI? |
Beta Was this translation helpful? Give feedback.
-
Hi all, Zoom Enhance now supports multiple subjects. See this post for more info: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I second the question on if textual inversions work for this? |
Beta Was this translation helpful? Give feedback.
-
How would I achieve this:
I've tried sometihng like this:
Does the model name need to include the ".ckpt"? What about if the model is in a subfolder? |
Beta Was this translation helpful? Give feedback.
-
It would be great if someone created something like this WITHOUT the need to install unprompted. |
Beta Was this translation helpful? Give feedback.
-
I'm pleased to announce the latest addition to the Unprompted extension: it's the
[zoom_enhance]
shortcode.Named after the totally-not-fake technology from CSI,
zoom_enhance
allows you to automatically upscale small details within your image where Stable Diffusion tends to struggle. It is particularly good at fixing faces and hands in long-distance shots.How does it work?
The
[zoom_enhance]
shortcode searches your image for specified target(s), crops out the matching regions and processes them through[img2img]
. It then blends the result back into your original image. All of this happens behind-the-scenes without adding any unnecessary steps to your workflow. Just set it and forget it.Features and Benefits
[txt2mask]
implementation of clipseg, which means you can search for literally anything as a replacement target, and you get access to the full suite of[txt2mask]
settings, such aspadding
andnegative_mask
.mask="face"
andreplacement="another person's face"
and check out the results.[zoom_enhance]
won't interfere with the style of your image. Face restoration is biased toward photography. With this shortcode, you can provide a subject like "illustration of walter white face" to avoid that problem.[set sd_model]
to change your checkpoint just during the upscale step.More Examples
Don't take my word for it. Judge for yourself.
How to Use
You can access the GUI through Unprompted » Wizard » Shortcodes » zoom_enhance:
Or slam this into your prompt:
It goes inside of an
[after]
block because it is supposed to execute after the generation of an image.By default, it will look for
face
and replace it with an upscaledface
. If you're making a specific person --such as Walter White--you should provide a more specificreplacement
value like so:If you want to fix hands instead of a face, you can try something like this:
Note: it's going to take some trial and error to find optimized settings for hands. Let me know if you find a config that works better than the one above.
You can place multiple
zoom_enhance
blocks back-to-back. Fixes multiple problem areas in one go.Limitations
Bonus - send me some prompts in the comments and I'll be happy to show you some more before-after examples!
Beta Was this translation helpful? Give feedback.
All reactions