A lightweight AI-driven try-on web app that visualizes an AI character donning your dream outfit. Upload, segment, render, all is seamless and effortless.
Please note: All images utilized herein were sourced from publicly accessible online databases and are used for illustrative purposes only.From top to bottom
- Clear image
- Drawer
- SAM point-segmenter with interactive functionality (left pos right neg)
- Rect-drawer for local area correction
- Undo
- Eraser
- Expand
- Download
- Send to render
Follow this Colab example, or run on Colab. Need to register a ngrok account and copy your token to replace "{your_token}".
- Install the dependencies (if needed)
pip install -r requirements.txt
- Download models of SAM, LDM, ControlNet, and LoRA.
You may download models from civitai or
./script/download.sh
or
. script/download.sh
where the model I downloaded from official sites and distributors on civitai. Thanks to them.
- Launch backend
python run_app.py
- Go to Browser
http://127.0.0.1:8001
- At least 12G GPU memory is required
- CodeFormer
- Memory optimization
- ...