Nodes Browser
ComfyDeploy: How Comfyui-SAL-VTON works in ComfyUI?
What is Comfyui-SAL-VTON?
Dressup your models! This is my quick implementation of the SAL-VTON node for ComfyUI. Based on the paper [a/Keyu Y. Tingwei G. et al. (2023). Linking Garment with Person via Semantically Associated Landmakrs for Virtual Try-On](https://openaccess.thecvf.com/content/CVPR2023/papers/Yan_Linking_Garment_With_Person_via_Semantically_Associated_Landmarks_for_Virtual_CVPR_2023_paper.pdf)
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
Comfyui-SAL-VTON
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Comfyui-SAL-VTON : Dressup your models!
This is my quick implementation of the SAL-VTON node for ComfyUI.
Based on the paper Keyu Y. Tingwei G. et al. (2023). Linking Garment with Person via Semantically Associated Landmakrs for Virtual Try-On
Installation
- Clone this repository into the
custom_nodes
folder. - Navigate to the cloned folder and run
pip install -r requirements.txt
. Be sure you're in the ComfyUI venv! - Download these landmark, warp, and salvton models.
- Create a folder, named
salvton
, in the ComfyUImodels
directory and copy all three downloaded models into it. - Profit?
Things to be aware of
- The garment should be 768x1024. If you don't have an image of the exact size, just resize it in ComfyUI.
- The results are poor if the background of the
person
image is not white. Consider using rembg or SAM to mask it and replace it with a white background. - The garment mask is just the shape of the input garment. You can generate it with SAM or use rembg like I did in the workflow.
Acknowledgement
This is a simple wrapper around the inference code available on ModelScope. Thanks to the original authors for their work.