← Back to all generators
lucataco/codeformer
OfficialView on Replicate →
Robust face restoration algorithm for old photos/AI-generated faces
Capabilities
Reference Images
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
image* | string(uri) | Input image | — | — |
background_enhance | boolean | Enhance background image with Real-ESRGAN | true | — |
codeformer_fidelity | number | Balance the quality (lower number) and fidelity (higher number). | 0.5 | min: 0, max: 1 |
face_upsample | boolean | Upsample restored faces for high-resolution AI-created images | true | — |
upscale | integer | The final upsampling scale of the image | 2 | — |
imagerequiredstringInput image
background_enhancebooleanEnhance background image with Real-ESRGAN
Default:
truecodeformer_fidelitynumberBalance the quality (lower number) and fidelity (higher number).
Default:
0.5min: 0, max: 1face_upsamplebooleanUpsample restored faces for high-resolution AI-created images
Default:
trueupscaleintegerThe final upsampling scale of the image
Default:
2Version:
78f2bab438abUpdated: 7/25/20269.5M runs
cinemasetfree.com