Overview
Real-ESRGAN provides several models optimized for general real-world images, including photos, screenshots, and natural scenes. This guide covers model selection and best practices for general image super-resolution.Recommended Models
RealESRGAN_x4plus (Primary)
The default and most versatile model for general images.- Upscale Factor: 4x
- Architecture: RRDBNet (23 blocks)
- Model Size: ~64MB
- Best For: Photos, natural images, general scenes
realesr-general-x4v3 (Denoise Control)
A smaller, faster model with controllable denoising strength.- Upscale Factor: 4x
- Architecture: SRVGGNetCompact (32 conv layers)
- Model Size: ~17MB (much smaller than x4plus)
- Best For: Images where you want to control noise vs. detail trade-off
- Denoise Strength: 0 (keep noise/texture) to 1 (strong denoise)
The
realesr-general-x4v3 model requires both the base model and the denoise model (wdn) for the -dn option to work.RealESRGAN_x2plus (2x Upscaling)
For moderate upscaling when 4x is too aggressive.- Upscale Factor: 2x
- Architecture: RRDBNet (23 blocks)
- Best For: Images that need moderate enhancement
RealESRNet_x4plus (No GAN)
ESRGAN model without GAN training - produces smoother results.- Upscale Factor: 4x
- Architecture: RRDBNet (23 blocks)
- Best For: When you want smoother results without GAN artifacts
Model Comparison
- By Use Case
- By Size
Common Usage Patterns
Standard Workflow
1
Prepare Images
Place your images in the
inputs folder:2
Run Inference
Process with the appropriate model:
3
Check Results
Enhanced images are saved in the
results folder with the _out suffix.Advanced Examples
Tips for Best Results
Batch Processing
Process entire folders efficiently:Special Image Types
RGBA Images (With Transparency)
Real-ESRGAN automatically handles alpha channels:- Alpha channels are upsampled using the method specified by
--alpha_upsampler(default:realesrgan) - Output is always saved as PNG to preserve transparency
Grayscale Images
Grayscale images are supported natively:16-bit Images
High bit-depth images are automatically handled:Performance Optimization
Multi-GPU Usage
Specify GPU device:Memory Management
- Low Memory
- Balanced
- High Memory
Next Steps
Face Enhancement
Enhance faces in your photos with GFPGAN integration
Anime Images
Learn about specialized models for anime content