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.
.github | ||
assets | ||
docker | ||
lama_cleaner | ||
scripts | ||
.gitignore | ||
build_docker.sh | ||
LICENSE | ||
main.py | ||
publish.sh | ||
README.md | ||
requirements-dev.txt | ||
requirements.txt | ||
setup.py |
Lama Cleaner
A free and open-source inpainting tool powered by SOTA AI model.
https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-965f-5c6683141375.mp4
Features
- Completely free and open-source, fully self-hosted, support CPU & GPU
- Windows 1-Click Installer
- Classical image inpainting algorithm powered by cv2
- Multiple SOTA AI models
- Various inpainting strategy
- Run as a desktop application
- Interactive Segmentation on any object.
- More features at lama-cleaner-docs
Quick Start
Lama Cleaner make it easy to use SOTA AI model in just two commands:
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