---
title: "Generate High Resolution Image with Stable Diffusion WebUI"
date: 2023-04-16T10:08:46.000Z
author: Z.SHINCHVEN
tags: [Stable Diffusion, Stable Diffusion Web UI]
canonical: https://atlassc.net/2023/04/16/generate-high-resolution-image-with-stable-diffusion-webui
---
Stable Diffusion models are typically trained on 512x512 images. If you try to generate larger images of people, you may end up with two heads or weird limbs.

Fortunately, Stable Diffusion Web UI has a `Hires. fix` feature to resolve this issue. Here's how to use it:
- Set your image size to a size based on 512, for example, 512x768.
- Check `Hires. fix`.
- Choose an upscaler, e.g. `4k-UltraSharp`. Upscaler works differently in Hires. fix compared to extras. In `Hires. fix`, you will get a native high-resolution image, while in `extras`, it only performs super-resolution upscaling.
- Set the number of `Scaled by`, e.g. 2, you will actually get a 512x1536 image.
- **Last and most importantly**, set `Denoising strength` to a value below 0.5, otherwise you may still see two heads or weird limbs.

![Stable Diffusion Web UI Hires. fix](https://blogimgs.atlassc.net/images/stable-diffusion-web-ui/hires-fix.jpeg)
