Skip to main content

Overview

Real-ESRGAN provides a specialized model optimized for anime images, illustrations, and artwork. The RealESRGAN_x4plus_anime_6B model is significantly smaller than the general model while delivering excellent results for anime content.

RealESRGAN_x4plus_anime_6B Model

Key Features

  • Optimized for Anime: Trained specifically on anime and illustration data
  • Smaller Size: Only 6 RRDB blocks vs. 23 blocks in the general model (~17MB vs ~64MB)
  • Fast Processing: Faster inference due to smaller architecture
  • High Quality: Preserves anime-style details and aesthetics

Download and Install

1

Download Model

2

Run Inference

3

Check Results

Enhanced anime images are saved in the results folder with 4x upscaling.

Usage Examples

Basic Upscaling

Advanced Options

Model Specifications

Comparison with Other Models

Common Use Cases

Upscaling Anime Screenshots

Perfect for enhancing low-resolution anime screenshots from streaming services.

Processing Manga Panels

Preserves fine line details in manga artwork.

Enhancing Anime Artwork

Upscale digital artwork and illustrations while maintaining anime aesthetic.

Processing Game Assets

Upscale anime-style game sprites and textures. Use tiling for large textures.

Tips for Best Results

Image FormatUse PNG format for anime images when possible to avoid JPEG compression artifacts:
Transparent ImagesThe anime model handles RGBA images with transparency:
Output is automatically saved as PNG to preserve the alpha channel.
Face Enhancement Not RecommendedThe --face_enhance option is designed for realistic faces and may not work well with anime faces. It’s recommended to not use face enhancement with anime models:
Choosing Output ScaleFor anime images:
  • 2x: Moderate enhancement, good for already decent quality
  • 4x: Standard upscaling for most anime content
  • Higher: Use for very low resolution sources

Performance Optimization

Memory Usage

The anime model uses less memory than the general model:

Batch Processing

Process multiple anime images efficiently:

GPU Selection

Use specific GPU for processing:

NCNN Executable Alternative

For users who prefer the portable NCNN executable:
1

Download NCNN Executable

Download the appropriate version for your platform:
2

Run NCNN Version

The NCNN version doesn’t require CUDA or PyTorch installation.

Troubleshooting

This is normal for the anime model as it’s trained to reduce noise. If you want to preserve more texture:
  1. Use the general model instead:
  2. Or use a lower output scale:
Ensure you’re using PNG output for best color preservation:
Use tiling to reduce memory usage:
Try smaller tile sizes (256, 300) if still encountering issues.

Next Steps

Anime Videos

Learn to upscale anime videos with realesr-animevideov3

General Images

Explore models for real-world photos

NCNN Executable

Use the portable executable without Python