Face Enhancer Fast
Quickly upscale images and enhance faces using Real-ESRGAN on fast A100 hardware. Same capabilities as Real-ESRGAN with faster processing times.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "real-esrgan-a100",
"version": "0.0.1",
"input": {
"image": "https://example.com/low-res-portrait.jpg",
"scale": 4,
"face_enhance": true
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| face_enhance | boolean | false | Run GFPGAN face enhancement along with upscaling |
| image | string | - | Input image |
| scale | number | 4 | Factor to scale image by |
Examples
Quick face enhancement:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "real-esrgan-a100",
"version": "0.0.1",
"input": {
"image": "https://example.com/old-photo.jpg",
"scale": 4,
"face_enhance": true
}
}'
2x upscale without face processing:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "real-esrgan-a100",
"version": "0.0.1",
"input": {
"image": "https://example.com/product-image.jpg",
"scale": 2,
"face_enhance": false
}
}'
Related Models
- real-esrgan - Standard Real-ESRGAN upscaler
- gfpgan - Dedicated face restoration
- each-upscaler - Advanced upscaler with creativity controls