
★ 4.4k
June 2024
MIT
Image generation
What it does
Upload a damaged or blurry portrait and it reconstructs the face. You can try it directly on the project's hosted site, or run your own copy - which needs a Replicate account, an API key and some command-line setup. Note that the work happens on Replicate's servers using the GFPGAN model, so the photo does leave your machine; keep that in mind for family or third-party photos. Only faces are restored, not backgrounds or text.
Summary based on the project's own description. The Japanese page has a fuller beginner guide: setup difficulty, what to prepare, and a step-by-step start.
Screenshots & visuals

Before you start
- Setup difficultyFor advanced users
- Command lineRequired
- API keyRequired
- Sends data onlineYes
Judged automatically from the project's own metadata. Always confirm on the official page.
restorePhotos FAQ
- Is restorePhotos free?
- restorePhotos itself is free, but it needs an API key for an external AI service. That service charges separately, though some have a free tier.
- Do I need to install anything or write code to use restorePhotos?
- It needs the command line. If you are not comfortable typing commands, expect to get stuck during setup.
- Does restorePhotos work on a phone?
- No. It needs a computer.
- Can I use restorePhotos commercially?
- The licence is MIT, which permits commercial use. Conditions such as keeping the copyright notice still apply, so read the licence text before shipping it inside something.
How it compares
The conditions that decide whether you can actually use it, side by side.
| Tool | Command line | API key | Sends data out | Phone | Commercial use |
|---|---|---|---|---|---|
| restorePhotos (this page) | Required | Required | Yes | No | Yes |
| CodeFormer | Not needed | Not needed | Yes | No | Not verified |
| Stable Diffusion web UI | Required | Not needed | No | No | Yes |
| Deep-Live-Cam | Required | Not needed | Yes | No | Yes |
"Sends data out" means your input is uploaded to someone's server. Pick "No" when the material cannot leave your organisation.