{"version":"v1","licence":"CC-BY-4.0","id":"gfpgan","name":"GFPGAN","repo":"TencentARC/GFPGAN","repository_url":"https://github.com/TencentARC/GFPGAN","docs_url":"https://github.com/TencentARC/GFPGAN#readme","description":"Tencent ARC face restoration model that repairs blurry, low-res faces in old photos, with optional Real-ESRGAN background upscaling.","summary":"GFPGAN 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.","capabilities":["face-restoration","photo-upscaling"],"tags":["Face restoration","Photo restoration","Runs AI locally","CLI","Python"],"alternatives":[{"product":"topaz-gigapixel","jobs":["face-restoration","photo-upscaling"],"coverage":"partial","note":"Face recovery is its main job; background upscaling goes through Real-ESRGAN. Command line only."}],"facts":{"runs_locally":{"status":"yes","value":"Yes, Python script on your machine","source_url":"https://github.com/TencentARC/GFPGAN#zap-quick-inference","checked_at":"2026-10-16","confidence":"high","validation":"documentation_review","modes":["local"],"untrusted_source_quote":"python inference_gfpgan.py -i inputs/whole_imgs -o results -v 1.3 -s 2"},"code_license":{"status":"partial","value":"Apache-2.0, except StyleGAN2- and DFDNet-derived parts under non-commercial licences","source_url":"https://github.com/TencentARC/GFPGAN/blob/master/LICENSE","checked_at":"2026-10-16","confidence":"high","validation":"documentation_review","spdx":"Apache-2.0","untrusted_source_quote":"GFPGAN is licensed under the Apache License Version 2.0 except for the third-party components listed below."},"model_license":{"status":"unknown","value":"Repo LICENSE is Apache-2.0 with third-party exceptions (StyleGAN2-related parts carry extra restrictions); no separate licence for the released .pth checkpoints. Rechecked discussion #616 (\"Is commercial use allowed?\") and issue #641 (commercial-use request for GFPGANv1.4.pth): still no maintainer answer","source_url":"https://github.com/TencentARC/GFPGAN/blob/master/LICENSE","checked_at":"2026-11-07","confidence":"high","validation":"documentation_review","spdx":null,"applies":true,"untrusted_source_quote":"GFPGAN is licensed under the Apache License Version 2.0 except for the third-party components listed below."},"commercial_use":{"status":"partial","value":"Unclear; bundled third-party code includes NVIDIA and DFDNet non-commercial terms","source_url":"https://github.com/TencentARC/GFPGAN/blob/master/LICENSE","checked_at":"2026-10-16","confidence":"medium","validation":"documentation_review","untrusted_source_quote":"The Work and any derivative works thereof only may be used or intended for use non-commercially."},"paid_services":{"status":"yes","value":"None required","source_url":"https://github.com/TencentARC/GFPGAN#readme","checked_at":"2026-10-16","confidence":"medium","validation":"documentation_review","required":[],"optional":[]},"hardware":{"status":"yes","value":"PyTorch; NVIDIA GPU with CUDA optional; the clean version needs no custom CUDA extensions","source_url":"https://github.com/TencentARC/GFPGAN#wrench-dependencies-and-installation","checked_at":"2026-10-16","confidence":"medium","validation":"documentation_review","cpu_ok":null,"min_vram_gb":null,"min_ram_gb":null,"untrusted_source_quote":"Option: NVIDIA GPU + CUDA"},"platforms":{"status":"partial","value":"Linux listed; Windows and macOS not documented","source_url":"https://github.com/TencentARC/GFPGAN#wrench-dependencies-and-installation","checked_at":"2026-10-16","confidence":"medium","validation":"documentation_review","windows":"unknown","macos":"unknown","linux":"yes","untrusted_source_quote":"Option: Linux"},"setup":{"status":"yes","value":"Medium, clone repo, pip install basicsr, facexlib and requirements, download weights","source_url":"https://github.com/TencentARC/GFPGAN#installation","checked_at":"2026-10-16","confidence":"high","validation":"documentation_review","level":"medium","untrusted_source_quote":"We now provide a clean version of GFPGAN, which does not require customized CUDA extensions."}},"metrics":{"stars":37736,"forks":6283,"contributors":11,"archived":false,"last_push_at":"2024-07-26T18:44:02Z","latest_release":{"tag":"v1.3.8","published_at":"2022-09-16T11:35:50Z"},"fetched_at":"2026-12-02T01:21:17.154Z"},"url":"https://repoquarry.dev/projects/gfpgan","note":"Installation guidance: follow docs_url. This service never installs or runs code."}