Real-ESRGAN Upscaling

Upscale and enhance images using Real-ESRGAN on GPU.

circle-check

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is Real-ESRGAN?

Real-ESRGAN is a practical image restoration model that:

  • Upscales images 2x-4x

  • Removes noise and artifacts

  • Enhances details

  • Works on photos, anime, and art

Model Variants

Model
Best For
Speed

RealESRGAN_x4plus

General photos

Medium

RealESRGAN_x4plus_anime_6B

Anime/drawings

Medium

RealESRGAN_x2plus

2x upscale

Fast

RealESRNet_x4plus

Fast processing

Fastest

Quick Deploy

Docker Image:

Ports:

Command:

Accessing Your Service

After deployment, find your http_pub URL in My Orders:

  1. Go to My Orders page

  2. Click on your order

  3. Find the http_pub URL (e.g., abc123.clorecloud.net)

Use https://YOUR_HTTP_PUB_URL instead of localhost in examples below.

CLI Usage

Installation

Basic Upscaling

Options

Python API

Basic Usage

With Face Enhancement

Anime Upscaling

Batch Processing

Process Folder

Shell Script

Tiled Processing (Large Images)

For images that don't fit in VRAM:

Tile Size Recommendations

VRAM
Max Tile Size

4GB

200

6GB

300

8GB

400

12GB

600

24GB

0 (no tiling)

Video Upscaling

Using Real-ESRGAN

FFmpeg Pipeline

API Server

FastAPI Server

Usage

Model Comparison

Model
Quality
Speed
VRAM
Best For

x4plus

Best

Slow

4GB+

Photos

x4plus_anime_6B

Best

Medium

3GB+

Anime

x2plus

Good

Fast

2GB+

Quick 2x

RealESRNet

OK

Fastest

2GB+

Previews

Performance

Image Size
GPU
4x Upscale Time

512x512

RTX 3090

~0.5s

1024x1024

RTX 3090

~1.5s

2048x2048

RTX 3090

~5s

512x512

RTX 4090

~0.3s

Troubleshooting

CUDA Out of Memory

Artifacts in Output

  • Use smaller tile size with more overlap

  • Try different model (anime vs photo)

  • Check input image quality

Slow Processing

  • Enable FP16: half=True

  • Increase tile size if VRAM allows

  • Use faster model: RealESRNet

Download Results

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplacearrow-up-right for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

Last updated

Was this helpful?