implementation of MagicClothing with garment and prompt in ComfyUI
U can contact me thr twitter Weixin:GalaticKing
you should run under custom_nodes directory of ComfyUI
git clone https://github.com/frankchieng/ComfyUI_MagicClothing.git
then run
pip install -r requirements.txt
download the models of cloth_segm.pth , magic_clothing_768_vitonhd_joint.safetensors(upper-body model),OMS_1024_VTHD+DressCode_200000.safetensors(lower-body and full-body model) from 🤗Huggingface and place them at the checkpoints directory, If u wanna to run AnimateDiff you should place garment_extractor.safetensors and ip_layer.pth in checkpoints/stable_ckpt directory
install the ComfyUI_IPAdapter_plus custom node at first if you wanna to experience the ipadapterfaceid.Then download the IPAdapter FaceID models from IP-Adapter-FaceID and place them as the following placement structure For cloth inpainting, i just installed the Segment anything node,you can utilize other SOTA model to seg out the cloth from background.
tips:If you wanna to run the controlnet openpose part,you have to install the comfyui_controlnet_aux custome code as well as download the body_pose_model.pth, facenet.pth and hand_pose_model.pth at openpose models and place them in custom_nodes/comfyui_controlnet_aux/ckpts/lllyasviel/Annotators
ComfyUI
|-- models
| |-- ipadapter
| | |-- ip-adapter-faceid-plus_sd15.bin
| | |-- ip-adapter-faceid-plusv2_sd15.bin
| | |-- ip-adapter-faceid_sd15.bin
| |-- loras
| | |-- ip-adapter-faceid-plus_sd15_lora.safetensors
| | |-- ip-adapter-faceid-plusv2_sd15_lora.safetensors
| | |-- ip-adapter-faceid_sd15_lora.safetensors
|-- custom_nodes
| |-- ComfyUI_MagicClothing
| | |-- checkpoints
| | | |-- cloth_segm.pth
| | | |-- magic_clothing_768_vitonhd_joint.safetensors
| | | |-- OMS_1024_VTHD+DressCode_200000.safetensors
| | | |-- stable_ckpt
| | | | |-- garment_extractor.safetensors
| | | | |-- ip_layer.pth