Skip to content

[Feature Request]: img2img UI consistency with new Highres. fix #7422

Description

@space-nuko

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

The new highres fix upscales an image based on a slider, and has an option to select an upscaler. From my understanding highres fix is basically supposed to be img2img but applied automatically on a txt2img output. However the img2img tab only allows you to scale by latent and use width/height sliders instead of scale factor. It would be nice for consistency's sake to mirror the new highres fix in img2img

Of course some people don't like the new highres fix, I personally find it more convenient when I know I just want to scale up by 2x to not have to fiddle around with the sliders; it would probably be best to have a checkbox that shows/hides the scale slider and replaces them with the width/height sliders

And the other thing is when I checked I didn't see an upscaler option in img2img like with highres fix, only "Just resize (latent upscale)", I assume this is equivalent to setting the upscaler to "Latent" in highres fix. It would be better to have the same upscaler dropdown in img2img too

Why is this important? I find myself using highres fix after img2img to regenerate the same seed with higher resolution, because of the aforementioned inconsistencies in img2img. This means the pre-highres-fix image has to be regenerated again which is wasted time. There is also a chance that while generating in txt2img you change the prompt/settings preemptively by force of habit and find a good txt2img output, then you want to go back to that output and highres fix it, but you would get different results because you accidentally changed the prompt. "Send to img2img" alleviates this because it sends the embedded infotext, ensuring the same exact prompt used for that image is intact

Basically it would be nice to be able to run "highres fix step 2", a.k.a. img2img, without needing to generate the first image again and worry that you changed something in the prompt accidentally

Proposed workflow

  1. Generate txt2img at 512x512px. Pick out one or more to upscale
  2. Click "Send to img2img". The image is sent to img2img
  3. Put a slider in img2img to upscale 2x, and set the upscaler to "remacri" (or whatever)
    a. Alternatively check a "Width/Height" checkbox and set width/height just like before in img2img
  4. Click generate, this is functionally equivalent to running the second half of highres. fix

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions