Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
Go to file
2023-03-31 21:02:57 +08:00
.github Update issue templates 2023-02-17 10:01:20 +08:00
assets update 2023-02-12 22:34:02 +08:00
docker update dockerfile 2023-01-20 09:50:14 +08:00
lama_cleaner web_config add sd_local_model_path 2023-03-31 09:09:37 +08:00
scripts update 2023-03-31 21:02:57 +08:00
.gitignore fix pil_to_bytes quality 2023-02-07 21:06:31 +08:00
build_docker.sh update dockerfile 2023-01-20 09:50:14 +08:00
LICENSE init 2021-11-15 22:21:01 +08:00
main.py add setup.py 2022-04-18 15:15:51 +08:00
publish.sh update 2022-04-18 22:18:48 +08:00
README.md Update README.md 2023-02-28 21:43:11 +08:00
requirements-dev.txt add setup.py 2022-04-18 15:15:51 +08:00
requirements.txt add plugins 2023-03-22 12:57:18 +08:00
setup.py 0.37.1 2023-03-02 09:03:37 +08:00

Lama Cleaner

A free and open-source inpainting tool powered by SOTA AI model.

total download version Open in Colab Hugging Face Spaces python version version

https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-965f-5c6683141375.mp4

Sponsor

❤️ Your logo

Features

Quick Start

Lama Cleaner make it easy to use SOTA AI model in just two commands:

# In order to use the GPU, install cuda version of pytorch first.
# pip install torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install lama-cleaner
lama-cleaner --model=lama --device=cpu --port=8080

That's it, Lama Cleaner is now running at http://localhost:8080

See all command line arguments at lama-cleaner-docs

Development

Only needed if you plan to modify the frontend and recompile yourself.

Frontend

Frontend code are modified from cleanup.pictures, You can experience their great online services here.

  • Install dependencies:cd lama_cleaner/app/ && pnpm install
  • Start development server: pnpm start
  • Build: pnpm build