GFPGAN
What is GFPGAN?
GFPGAN is an AI tool that sharpens and restores faces in blurry or damaged images and videos by using a built-in understanding of what high-quality faces should look like.
At a glance
- Type of model
- Face restoration model using generative adversarial network with facial prior
- Developed by
- Tencent ARC (Applied Research Center)
- Key capability
- High-quality blind face restoration from degraded, blurry, or low-resolution images using pretrained GAN facial priors
- How it fits in AI workflow
- Applied as a post-processing step to enhance face quality in AI-generated images, upscaled footage, and photo or video restoration
- Related terms
- CodeFormerFace restorationGANStyleGANUpscaling
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
How it compares
Both restore degraded faces using generative AI, but GFPGAN relies on a StyleGAN2 prior injected during restoration, while CodeFormer uses a discrete codebook with transformer-based selection. CodeFormer generally handles more extreme degradation better and offers explicit fidelity control, while GFPGAN is faster and remains a solid choice for moderate face enhancement tasks.
Pro tip
GFPGAN works best when faces are clearly the main subject of the restoration: applying it to full-scene images with faces as small elements can distort other parts of the scene, so crop or mask to the face area before processing when working with complex compositions.
Types and variations
- GFPGAN has been released in multiple versions, with GFPGAN v1.
- 4 being a commonly used stable release that offers improved performance over earlier iterations.
- Each version improves on the quality of facial detail restoration and the handling of diverse skin tones and facial types.
- The model is available through the official GitHub repository and is integrated into numerous third-party tools and platforms.
Ready to make your first scene in Morphic?
Try MorphicCommon use cases
- GFPGAN is widely used for restoring old or damaged photographs, enhancing AI-generated portrait images, improving face quality in AI video outputs, processing archival video footage frame by frame, and as a component in automated photo enhancement applications.
- It is particularly popular in consumer photo restoration tools and as an integrated option in AI image generation interfaces.
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
FAQs
GFPGAN stands for Generative Facial Prior Generative Adversarial Network. It is a face restoration model that uses a pretrained face GAN to supply high-quality facial detail priors during the restoration process.
GFPGAN was developed by researchers at Tencent ARC (Applied Research Center) and released as an open-source project.
GFPGAN performs best on images where a face is clearly visible but degraded by blurriness, low resolution, compression artefacts, or damage. It is less effective when faces are very small, heavily obscured, or at extreme angles.
Yes: GFPGAN remains widely used due to its speed and solid performance on moderate face restoration tasks. While CodeFormer and similar newer models often produce better results on heavily degraded faces, GFPGAN is faster and sufficient for many everyday enhancement needs.
GFPGAN can be applied to individual video frames to enhance face quality across video footage. Various tools automate this process by running GFPGAN on each frame, though it requires significant processing time without GPU acceleration.
GFPGAN is available as an open-source model on GitHub and is integrated into popular AI image tools including AUTOMATIC1111 Stable Diffusion Web UI. Several online photo restoration services also use it under the hood.