sczhou/codeformer
CodeFormer is a face restoration algorithm developed by sczhou that can be used to restore faces in old photos or AI-generated faces, and can also be used to improve Stable Diffusion generation results. The model provides API access on Replicate, costing approximately $0.0051 per run (about 196 runs per $1, varying with input), runs on Nvidia L40S GPU, and predictions typically complete within 6 seconds. It is also an open-source project that can be run locally via Docker. The project is based on the NeurIPS 2022 paper "Towards Robust Blind Face Restoration with Codebook Lookup Transformer", uses the S-Lab License 1.0, non-commercial use must comply with that license, and the Replicate API may not be used for commercial purposes.