unrestricted.image
GlossaryUpscalingSettings

What Is Hires Fix? Generating Higher-Resolution AI Images

Updated ·Also called: high-res fix, two-pass generation

Generating directly at high resolution often produces doubled heads and repeated objects, because models compose for their training size. Hires fix solves this in two passes.

How it works

  1. Generate at native size, for example 1024 x 1024 for SDXL.
  2. Upscale the result (in latent or pixel space) by 1.5-2x.
  3. Re-sample the larger image for some steps at a moderate denoising strength.

The first pass decides composition; the second adds detail.

Key settings

  • Upscale factor: 1.5x is safe; 2x is common.
  • Upscaler: latent (soft, more change) or an ESRGAN-style model (sharper).
  • Denoising strength: 0.3-0.5. Too high and composition changes; too low and detail stays soft.
  • Hires steps: often 10-20.

In ComfyUI

There is no single button; you build it: KSampler, upscale node, second KSampler with lower denoise. See ComfyUI nodes explained.

Memory

The second pass uses more VRAM. Tiled VAE decoding helps. More in hires fix explained.

Related

More terms: ControlNet · FP8 · IP-Adapter · Latent space · Sampler · Scheduler · Full glossary

Unlock the whole studio.

Open the unrestricted AI image generator and take every setting into your own hands.