GFPGAN Face Restore

Restore and enhance faces in photos using GFPGAN.

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 GFPGAN?

GFPGAN (Generative Facial Prior GAN) specializes in:

  • Restoring old/damaged photos

  • Enhancing blurry faces

  • Improving AI-generated faces

  • Fixing low-resolution portraits

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

Download Models

Basic Usage

Options

Python API

Basic Face Restoration

With Background Enhancement

Process Only Faces (No Paste Back)

Batch Processing

CodeFormer (Alternative)

CodeFormer is another excellent face restorer:

Video Face Restoration

API Server

Model Versions

Version
Quality
Speed
Notes

v1.4

Best

Medium

Recommended

v1.3

Great

Fast

Good balance

v1.2

Good

Fastest

Legacy

Use Cases

Old Photo Restoration

AI Art Enhancement

Group Photos

Performance

Image Size
Faces
GPU
Time

512x512

1

RTX 3090

~0.2s

1024x1024

1

RTX 3090

~0.3s

1024x1024

5

RTX 3090

~0.8s

2048x2048

1

RTX 4090

~0.3s

Troubleshooting

No Face Detected

Over-smoothed Results

  • Use CodeFormer with lower fidelity weight

  • Blend with original using alpha compositing

VRAM Issues

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?