Logo Vincent
Back to all posts

StableDiffusionWebUI: High-Resolution Fix (Hires.fix) - Algorithms

AI Art
StableDiffusionWebUI: High-Resolution Fix (Hires.fix) - Algorithms
Table of Contents

Preface

SD generates 512x512 images by default.

Setting the width and height too large on the first generation may cause unexpected issues.

It is recommended to generate at 512x512 first, then upscale later to improve resolution.

There are many methods for high-resolution upscaling. This section introduces the High-Resolution Fix (Hires.fix).

Hires.fix

In Hires.fix, the upscale ratio, width, height, and sampling steps can remain unchanged.

The main variables are the upscaling algorithm and denoising strength.

We keep the checkpoint, prompts, and other settings the same to compare these two factors.

Prompt - Chinese

一个男孩,坐在椅子上,上半身,靠近窗口,蓝色上衣,黑色头发,戴眼镜,面向镜头,左手边是窗子

Prompt - English

A boy sitting on a chair, upper body, close to the window, blue shirt, black hair, wearing glasses, facing the camera, with the window on his left side

Checkpoint

Samaritan 3d Cartoon

Seed

3255625742

Sampler

Euler a

Sampling Steps

25

Denoising Strength

Temporarily fixed at 0.7. The next section will compare denoising strength values.

Algorithm: Latent

Algorithm: Latent (antialiased)

Algorithm: Latent (bicubic)

Algorithm: Latent (bicubic antialiased)

Algorithm: Latent (nearest)

Algorithm: Latent (nearest-exact)

Algorithm: None

Algorithm: Lanczos

Algorithm: Nearest

Algorithm: DAT x2

Algorithm: DAT x3

Algorithm: DAT x4

Algorithm: ESRGAN_4x

Algorithm: LDSR

Algorithm: R-ESRGAN 4x+

Algorithm: R-ESRGAN 4x+ Anime6B

Algorithm: ScuNET GAN

Algorithm: ScuNET PSNR

Algorithm: SwinIR 4x

Summary

In this example, the differences between Hires.fix algorithms are not very significant.

Results may vary in different scenarios, so it is worth experimenting.

Two commonly recommended algorithms online:

R-ESRGAN 4x+: Suitable for realistic scenes

R-ESRGAN 4x+ Anime6B: Suitable for anime scenes

SDWebUI

|—Link: https://sdwebui.ai/?from=vq

|—Authentic Stable Diffusion WebUI V1.10.1~

|—Top-tier 4090 GPU, premium members get exclusive single 4090 card for image generation~

|—Supports Mac client, Windows client, and Web online usage~

|—Innovative instant model transfer feature, instantly use local models~

|—Supports txt2img, img2img, extras, and PNG info

|—Supports CLIP interrogation and DeepBooru interrogation

|—Supports Hires.fix with 21 built-in upscaling models

|—Supports ADetailer with 11 built-in repair models

|—Supports ControlNet with 44 built-in preprocessors and 68 built-in models

|—Supports super-resolution upscaling (Tiled Diffusion, Demo Fusion, Tiled VAE)

|—Supports old photo restoration with 21 built-in upscaling models, plus GFPGAN and CodeFormer restoration models

|—Built-in 2 common Styles, 11 popular Checkpoint models, 7 popular LoRA models, 14 common embeddings

|—Built-in oldsix prompt plugin

|—Built-in 23-lesson beginner tutorial

Related Articles

sdwebui.ai - Ready-to-Use Native sdwebui

sdwebui.ai sdwebui.ai is a ready-to-use native online sdwebui. URL: https://www.sdwebui.ai/ Authentic Stable Diffusion WebUI V1.10.1 Top-tier 4090 GPU, premium members get exclusive single 4090 for image generation Supports Mac client, Windows client, and Web online usage

StableDiffusionWebUI: Detail Repair (ADetailer)

Using ADetailer to fix facial and hand details in Stable Diffusion — installation, usage, parallel repair, and model comparison.

SodaArt - Restore Old Photos in Three Steps

Environment Setup Open https://sodaart.ai/, download the Mac or Windows client, install and open it locally, or click Online Generation to open the web version directly. Step 1: Log in to the homepage Use your phone number + verification code to log in, then click Online Generation. Step 2: Upload old photos in the Extras tab Under Online Generation - Extras tab, upload your old photos. Step 3: Configure

StableDiffusionWebUI: Old Photo Restoration (GFPGAN)

Preface: One of the use cases for sdwebui is old photo restoration. Common old photo restoration tools existed before sdwebui, including GFPGAN and CodeFormer. However, combining them with Hires.fix in sdwebui yields even better results.

StableDiffusionWebUI: Image Info (PNG Info)

Preface: PNG Info is a built-in feature of sdwebui that is essential in everyday image generation workflows. It allows you to upload an image, read its meta information, parse the generation parameters, and conveniently send them to other features like txt2img, img2img, and inpainting.

© 2026 vincentqiao.com . All rights reserved.