GFPGAN Face Restore
Restore and enhance faces in photos using GFPGAN on Clore.ai
Restore and enhance faces in photos using GFPGAN.
All examples can be run on GPU servers rented through CLORE.AI Marketplace.
Renting on CLORE.AI
Visit CLORE.AI Marketplace
Filter by GPU type, VRAM, and price
Choose On-Demand (fixed rate) or Spot (bid price)
Configure your order:
Select Docker image
Set ports (TCP for SSH, HTTP for web UIs)
Add environment variables if needed
Enter startup command
Select payment: CLORE, BTC, or USDT/USDC
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:
Go to My Orders page
Click on your order
Find the
http_pubURL (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
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
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):
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 Marketplace for current rates.
Save money:
Use the Spot market for interruptible work — about a third of servers price spot below on-demand (median ~13% off), the rest match it
Pay with CLORE tokens
Compare prices across different providers
Next Steps
Stable Diffusion WebUI
Last updated
Was this helpful?