β All models Β· GFPGAN face restoration
Multi-model Β· restore face β upscale 4Γ Β· WASM
This is the classic real-world restoration pipeline: GFPGAN reconstructs the face from a learned prior, then Real-ESRGAN enlarges the whole restored crop 4Γ and rebuilds general detail. Two specialist models, chained, running entirely on your device β the exact division of labour the original GFPGAN pipeline uses.
Two models load below (face restore ~340 MB, upscale ~67 MB β a large first-time download). Pick an old portrait, then run the pipeline: restore β upscale.
Both models run on-device; the photo and every restored pixel never leave the tab.
Restore the face before upscaling: GFPGAN reconstructs facial structure at 512Γ512, then Real-ESRGAN enlarges that clean result 4Γ and sharpens general texture. Doing it the other way would upscale the degraded face and bake in its artefacts. Each model does the job it's best at β the face specialist first, the general upscaler second.