GFPGAN at a glance
Checked 16 Oct 2026GFPGAN restores faces in old or low-quality photos using a pretrained StyleGAN2 prior, and can upscale the rest of the image with Real-ESRGAN. It is a Python command-line research project (PyTorch, NVIDIA GPU optional); many GUIs and ComfyUI nodes reuse its weights. The main code is Apache-2.0, but its licence file lists StyleGAN2- and DFDNet-derived parts under non-commercial terms, and the weights have no separate licence. It can shift identity slightly. Mature but inactive: last release v1.3.8 (Sep 2022), last commit Jul 2024.
RepoQuarry. “GFPGAN.” Checked 16 Oct 2026. https://repoquarry.dev/projects/gfpganHow much of Topaz Gigapixel does it replace?
2 of 6 jobs. Face recovery is its main job; background upscaling goes through Real-ESRGAN. Command line only.
For recover and redefine low-quality or compressed images, upscaling art, batch upscaling of many images, Photoshop and Lightroom plugin, see other Topaz Gigapixel alternatives. You may also need to build an interface, an API server and hosting yourself.
Facts, with sources
Every answer links to where we found it. We read the documentation; we did not install it.
python inference_gfpgan.py -i inputs/whole_imgs -o results -v 1.3 -s 2github.com · GFPGAN#zap-quick-inference ↗ today
GFPGAN is licensed under the Apache License Version 2.0 except for the third-party components listed below.github.com · LICENSE ↗ today
GFPGAN is licensed under the Apache License Version 2.0 except for the third-party components listed below.github.com · LICENSE ↗ today
The Work and any derivative works thereof only may be used or intended for use non-commercially.github.com · LICENSE ↗ today
Option: NVIDIA GPU + CUDAgithub.com · GFPGAN#wrench-dependencies-and-installation ↗ today
Option: Linuxgithub.com · GFPGAN#wrench-dependencies-and-installation ↗ today
We now provide a clean version of GFPGAN, which does not require customized CUDA extensions.github.com · GFPGAN#installation ↗ today