What Is Hires Fix? Generating Higher-Resolution AI Images
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
- Generate at native size, for example 1024 x 1024 for SDXL.
- Upscale the result (in latent or pixel space) by 1.5-2x.
- 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