CodeFormer

Generate

Lower = better quality but may alter face. Higher = more faithful to original.

Result

Results will appear here

About This Model

CodeFormer is a Transformer-based face restoration model that excels at repairing blurry, damaged, or low-quality face photos. It offers a unique fidelity slider to balance between quality enhancement and faithfulness to the original face.

Key Features

  • Face-specialized — Trained specifically for face restoration, not general upscaling
  • Fidelity control — Adjust the balance between quality and original likeness
  • Built-in upscale — Includes 1x-4x upscaling alongside restoration
  • Multi-face support — Can restore multiple faces in a single image

Best For

  • Restoring blurry selfies and portraits
  • Enhancing old family photos with faces
  • Improving low-resolution profile pictures
  • Repairing AI-generated faces with artifacts

Tips

  • Fidelity 0.5 — Good default balance for most photos
  • Lower fidelity (0.1-0.3) — Better quality but may alter facial features
  • Higher fidelity (0.7-1.0) — More faithful to original but less enhancement