Lama Cleaner
GitHubGitHub (opens in a new tab) (opens in a new tab)
  • Introduction
    • pip
    • Windows 1-click installer
    • Docker
    • Try online
    • Download model manually
  • Models
    • LaMa
    • LDM
    • ZITS
    • MAT
    • FcF
    • Manga
    • Stable Diffusion
    • Paint By Example
    • Controlnet
    • Instruct Pix2pix
    • Manual Inpainting Mode
    • File Manager
    • Inpainting Strategy
    • Croper & Resize
    • Custom Mask
    • Desktop Application
  • Plugins
    • Interactive Segmentation
    • GFPGAN
    • RealESRGAN
    • Remove Background
    • RestoreFormer
    • Anime Segmentation
    • Make GIF
  • Memory

  • Frequently Asked Questions
  • Introduction
    • pip
    • Windows 1-click installer
    • Docker
    • Try online
    • Download model manually
  • Models
    • LaMa
    • LDM
    • ZITS
    • MAT
    • FcF
    • Manga
    • Stable Diffusion
    • Paint By Example
    • Controlnet
    • Instruct Pix2pix
    • Manual Inpainting Mode
    • File Manager
    • Inpainting Strategy
    • Croper & Resize
    • Custom Mask
    • Desktop Application
  • Plugins
    • Interactive Segmentation
    • GFPGAN
    • RealESRGAN
    • Remove Background
    • RestoreFormer
    • Anime Segmentation
    • Make GIF
  • Memory

  • Frequently Asked Questions
Question? Give us feedback → (opens in a new tab)Edit this page
Models
LaMa

LaMa: Resolution-robust Large Mask Inpainting with Fourier Convolutions

  • --model lama
  • lama PWC (opens in a new tab)
  • github: https://github.com/saic-mdal/lama (opens in a new tab)
  • paper: https://arxiv.org/abs/2109.07161 (opens in a new tab)

Lama Cleaner was initially developed to work with LaMa model, it's the first model I saw that generalizes surprisingly well to high resolutions (~2k❗️) and achieves excellent performance even in challenging scenarios, e.g. completion of periodic structures.

lama-example1

lama-example2

ModelsLDM