Real-ESRGAN icon

Real-ESRGAN

Open weights
Tencent ARC

Real-ESRGAN is an open-source image upscaling and restoration model developed by Xintao Wang and collaborators at Tencent ARC Lab that enhances low-resolution, degraded, or compressed images to high-resolution outputs with remarkable detail recovery.

Image Upscale

Key Highlights

Real-World Degradation Modeling

High-order degradation training process simulating real-world image corruptions including blur, noise, compression artifacts and ringing

Specialized Model Variants

Offers separately optimized models for photographs, anime/illustration and face enhancement, providing solutions for different use cases

Wide Ecosystem Integration

Integrated into Upscayl, Replicate, Hugging Face and many image processing tools, being the most widely used super-resolution solution

Fast and Efficient Inference

Offers fast inference speed with reasonable hardware requirements, providing suitable performance for practical use even on consumer GPUs

About

Real-ESRGAN (Real-world Enhanced Super-Resolution Generative Adversarial Network) is an open-source image upscaling model developed by Xintao Wang and collaborators at Tencent ARC Lab. Released in 2021, it addresses the critical limitations of its predecessor ESRGAN by introducing a high-order degradation modeling process that enables robust performance on real-world images suffering from complex, unknown degradations including blur, noise, compression artifacts, and resolution loss. It has become one of the most cited and widely deployed super-resolution models in both research and production environments.

The technical architecture of Real-ESRGAN builds upon the proven RRDB (Residual in Residual Dense Block) backbone while introducing a U-Net discriminator architecture that provides more detailed per-pixel feedback during training. The model's key innovation lies in its second-order degradation pipeline, where classical degradations such as blur, resize, noise, and JPEG compression are applied sequentially in two stages to synthesize training pairs that closely mimic the complex degradation patterns found in real-world photographs. This approach effectively eliminates the domain gap between synthetic training data and actual use cases. The pipeline also models sinc filters and ringing artifacts, covering degradation types that earlier models failed to address adequately.

Real-ESRGAN ships with multiple specialized variants optimized for different content types and magnification levels. The RealESRGAN_x4plus model handles general photographic content with excellent detail recovery, while RealESRGAN_x4plus_anime is fine-tuned specifically for anime, illustrations, and cartoon-style artwork with clean lines and smooth gradients. Additional variants include 2x upscaling options and video-capable models for temporal processing. The realesrgan-ncnn-vulkan implementation enables GPU-accelerated processing across NVIDIA, AMD, and Intel GPUs through the Vulkan compute API, ensuring broad hardware compatibility without vendor lock-in.

The model serves an extraordinarily wide range of practical applications across industries. Photographers use it for restoring vintage family photos and enhancing low-resolution web images. E-commerce businesses rely on it for improving product photography quality to meet marketplace standards. Digital artists employ it to add detail and increase canvas resolution for print-ready output. Media archivists utilize it for digitization workflows, upscaling historical footage and scanned documents. Print professionals depend on it to prepare low-resolution assets for high-DPI output. Social media creators leverage it to enhance visual content quality, while game modders use it for texture upscaling in retro titles.

Community adoption of Real-ESRGAN has been remarkably extensive across the open-source ecosystem. Popular applications including Upscayl, ChaiNNer, and AUTOMATIC1111's Stable Diffusion WebUI integrate Real-ESRGAN as their primary or default upscaling engine. The project provides Python APIs, command-line tools, and pre-compiled binaries for Windows, macOS, and Linux platforms. Released under the BSD-3 license, it is freely usable in both personal and commercial projects, which has accelerated its industrial adoption significantly.

In terms of output quality, Real-ESRGAN produces notably fewer hallucination artifacts compared to competing super-resolution models when processing real-world photographs with unknown degradations. The anime variant excels at preserving clean line art and smooth color gradients characteristic of illustrated content. With GPU acceleration, even high-resolution images are processed in seconds rather than minutes, making it viable for batch processing workflows at scale. The model demonstrates competitive performance on standard metrics including PSNR, SSIM, and LPIPS, while delivering consistently strong perceptual quality scores. Its continuously growing ecosystem and active community support have firmly established Real-ESRGAN as the de facto standard in AI-powered image upscaling technology.

Use Cases

1

Old Photo Restoration

Restoring low-resolution or degraded old family photos and archive images to obtain high-quality versions

2

E-Commerce Image Enhancement

Creating more professional visual presentations on e-commerce platforms by upscaling and sharpening product photos

3

Anime and Illustration Upscaling

Upscaling low-resolution anime and illustration images with the specialized model to obtain sharp and clean results

4

Video Frame Upscaling

Improving video quality by upscaling frames of old or low-resolution videos individually

Pros & Cons

Pros

  • Can upscale images by 8x resolution while maintaining and improving image quality
  • Effectively reduces noise and compression artifacts; recreates realistic textures for sharper images
  • Runs fast on affordable GPUs (Nvidia T4 ~1.8s for 2x upscale)
  • Includes specialized facial enhancement mode improving portrait quality with natural-looking results
  • Handles old photographs, low-res, blurry, noisy, compressed, and anime images; free and open source

Cons

  • May struggle with highly compressed or extremely low-quality images
  • Watch for block inconsistencies when using heavy tiling
  • Learning curve for newcomers with dependency installations
  • Desktop-dominant experience as it's GPU-heavy; no solid mobile ports yet
  • Newer models like AESRGAN with attention modulation can better preserve subtle facial details

Technical Details

Parameters

N/A

Architecture

U-Net with RRDB (Residual-in-Residual Dense Block) generator

Training Data

High-order degradation model simulating real-world image degradations on DIV2K, Flickr2K, OST datasets

License

BSD

Features

  • 2x and 4x Super-Resolution
  • Real-World Degradation Handling
  • Anime-Specific Model Variant
  • GFPGAN Face Enhancement Integration
  • U-Net Discriminator Architecture
  • BSD-3-Clause Open Source License

Benchmark Results

MetricValueCompared ToSource
Max Scale Factor4x (standard), up to 10x—GitHub xinntao/Real-ESRGAN
PSNR24.97 dBESRGAN: 24.14 dBComparative Analysis (NHSJS 2025)
SSIM0.76ESRGAN: 0.72Comparative Analysis (NHSJS 2025)

Available Platforms

hugging face
replicate
fal ai

News & References

Frequently Asked Questions

Related Models

CodeFormer icon

CodeFormer

S-Lab, Nanyang Technological University

Evaluate CodeFormer for a permitted portrait restoration: compare fidelity settings, inspect face changes and recomposition, and check the non-commercial S-Lab license.

Source Available
FidelityFx Super Resolution icon

FidelityFx Super Resolution

AMD|N/A

FidelityFX Super Resolution (FSR) is AMD's open-source spatial upscaling technology designed to boost performance in real-time rendering applications, particularly video games. Unlike NVIDIA's DLSS which requires dedicated Tensor Cores, FSR is hardware-agnostic and runs on AMD, NVIDIA, and Intel GPUs including integrated graphics. The technology has evolved through multiple generations: FSR 1.0 used Lanczos-based spatial upscaling on single frames, FSR 2.0 introduced temporal upscaling leveraging motion vectors and previous frame data for near-native quality, and FSR 3.0 added optical flow-based frame generation to dramatically increase perceived frame rates. Quality modes range from Ultra Quality to Ultra Performance, letting users balance visual fidelity against performance gains of up to 2x or more. FSR supports DirectX 11, DirectX 12, and Vulkan APIs and is deployed across PC, Xbox, PlayStation, and portable devices like Steam Deck where it enables playable frame rates within limited GPU power budgets. Hundreds of major titles including Cyberpunk 2077, Starfield, and Hogwarts Legacy feature FSR integration, with engine-level support in Unreal Engine and Unity simplifying adoption. Released under the MIT license through AMD's GPUOpen platform, FSR encourages transparent collaboration and modification by developers and researchers. Its platform independence and open-source nature have made it one of the most widely adopted upscaling solutions in the gaming industry, shaping the future of real-time image quality enhancement.

Open weights
StableSR icon

StableSR

Jianyi Wang|N/A

StableSR is an innovative super-resolution model developed by Jianyi Wang and collaborators that leverages the generative prior of a pre-trained Stable Diffusion model for high-quality image upscaling with realistic detail synthesis. Released in 2023 under the Apache 2.0 license, StableSR represents one of the first successful applications of diffusion-based generative models to the image super-resolution task. The model introduces a time-aware encoder that injects information from the low-resolution input image into the Stable Diffusion denoising process at each timestep, along with a controllable feature wrapping module that balances between fidelity to the original image and the richness of generated details. This architecture enables StableSR to produce upscaled images with remarkably realistic textures and fine details that go beyond what traditional regression-based super-resolution methods can achieve. The controllable feature wrapping allows users to adjust the strength of generative enhancement, providing a spectrum from conservative restoration that closely follows the input to aggressive enhancement that adds more synthesized detail. StableSR handles diverse image types including photographs, artwork, screenshots, and text-containing images, with particular strength in restoring natural textures like skin, hair, fabric, and foliage. The model is fully open source with code and pre-trained weights available on GitHub and is compatible with existing Stable Diffusion infrastructure. StableSR is valuable for photographers restoring low-resolution images, digital artists upscaling reference material, and content creators who need high-resolution outputs from limited source imagery. Its diffusion-based approach has influenced subsequent research in generative super-resolution methods.

Open weights
SUPIR icon

SUPIR

Fanghua Yu et al. (SUPIR author team)

Evaluate SUPIR restoration with controlled Q/F and caption comparisons, inspect invented detail, and clarify checkpoint permissions before a trial.

Source Available

Quick Info

ParametersN/A
Typegan
LicenseBSD
Released2021-07
Architecture

U-Net with RRDB (Residual-in-Residual Dense Block) generator

CreatorTencent ARC

Links

Tags

real-esrgan
upscale
super-resolution
image-upscale
Visit Website