ComfyUI - Change Character Outfit with Magic Clothing
Вставка
- Опубліковано 19 лис 2024
- In this video, we show how you can add a desired outfit to your character using a prompt.
Magic Clothing is a branch version of OOTDiffusion, focusing on controllable garment-driven image synthesis.
***********************************
Comfyui tutorial, Учебное пособие по Comfyui, Comfyui ट्यूटोरियल, Tutoriel Comfyui, Tutorial Comfyui, Comfyui 튜토리얼
Comfyui stable diffusion, Install comfyui, comfyui video, controlnet comfyui, comfyui animateddiff, comfyui sdxl, comfyui upscale, comfyui video to video, comfyui manager, comfyui inpainting, comfyui ipadapter, comfyui faceswap
***********************************
🤯 Get my FREE comfyui tutorials with workflows: openart.ai/wor...
/ @cgtoptips
------------------------------------
🌍 SOCIAL
/ cgtoptips
/ cgtoptips
📧 cg.top.tips@gmail.com
------------------------------------
#ComfyUI
#MagicClothing
This is the best workflow I have ever used for costume changes. Thanks to CG TOP TIPS. I haven't figured out the process for tops and pants yet.
I know how to change the top, but the pants have been trying unsuccessfully. Have you succeeded?
Genial amigo gracias por compartir tus conocimientos ahora voy a practicar y te aviso
Saludos desde Ecuador
Me alegra que los videos te hayan sido útiles.
Thank you very much CG TOP TIPS for the tutorial on magic clothing, which is very useful to me, but I still have a question. Does this model have no effect on the replacement of pants? If so, can you tell me how to operate it? Thank you so much.
what is the use of Birefnet segmentation? is the any alternatives
it seems to work better with vivid garment colors..? Can we change the background mask color like green or pink for some images?
i have installed comfyui-oms-diffusion (Add Magic Clothing Attention" & Load Magic Clothing Model) node, but don't work (RED) T_T
thank you, would it be possible to have a workflows with 2 garments, top and bottom please?
Yes, in the next tutorial video, we will talk about Masking
@@CgTopTips thanks
Thank you for sharing. I'm trying to add IPAdapter to the workflow, but it's not working well. Do you have a good workflow?
I'm sorry, I haven't tested IPAdapter in the workflow yet, but In the next video, I will show about integrating ControlNet and Masking in Clothing Magic to achieve a more accurate and better result
@@CgTopTips Oh, that's wonderful!! I'm looking forward to it!! Thank you!!
@@CgTopTips Are there any new videos coming out? I’m looking forward to it.
Can you show me how to solve the problem: "ComfyUI cannot find the model file "swin_large_patch4_window12_384_22kto1k.pth" required for the BiRefNet node."
Search that file on google and place it on mentioned directory
Can Flux be applied here?
Why is the color not true?
Hola gracias por compartir tu conocimiento. Tengo un problema y es que los nodos de "Add Magic Clothes" aparecen en rojo por mas que le instale los nodos. asi que no puedo seguir este tutorial -.-
pude resolverlo instalando OOTD node :D
Do we need to download the BiRefNet models separately? Apparently it doesn't do so automatically...
Thank you by the way!
Even though I upload BiRefNet files, it still gives an error :/
@@valorantacemiyimben You need to place the models under the BiRefNet folder inside your ComfyUI models folder
The path should look like this: "ComfyUI\models\BiRefNet"
In that folder you need to download 6 models, total size is 3.06GB
Here are the model names you should have there:
- BiRefNet-DIS_ep580.pth
- BiRefNet-ep480.pth
- pvt_v2_b2.pth
- pvt_v2_b5.pth
- swin_base_patch4_window12_384_22kto1k.pth
- swin_large_patch4_window12_384_22kto1k.pth
Please share the error
Is this for use only with Nvidia cards? tried with AMD but no luck
Almost, yes. If you want to use an AMD card, it has its own complexities
i'm getting this error: safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge
???
Can this work for jewellery
No, It only work for outfit
Is this can be used with an existing image?, without generating an image?
Yes, but you need to make some changes in the workflow. In the next videos, I will try to make a video about this.
In which path is the oms_diffusion_768_200000.safetensors model placed?
In the "unet" folder
Model > Unet Folder
oh gosh... first the numpy issue, than diffusers , than BiRefNet and as the grand finale, when is everything installed and set - the results are terrible....
In the next video, we will talk about integrating ControlNet and Masking in Clothing Magic to achieve a more accurate and better result
@@CgTopTips so...I get back to this after several months and now it wont work again. Can you please confirm that yours still working - so the issue is on my side?
RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)
Considering whether the choice of large model type is wrong, it should be SD1.5.
Is it just for female? I wish to change to male but in vain...
It doesn't matter; since men's clothing is simpler, this method works better :)
@@CgTopTips I input the prompt with male, add male model photo on controlnet, but at last, the results are always female...
@@CgTopTips and I also use man photo on faceswap...but...
You changed both necessary parts, but it's interesting why it didn't work! Completely rename the men's clothing file you selected in Load Image. Sometimes, because previous files have similar names to the new file, ComfyUI loads the previous files!
First of all Thank you so much for what you are doing free of cost for us, and the 2nd thing is i am getting this error
Model loading failed: [Errno 2] No such file or directory: 'C:\\ComfyUI_windows_portable\\ComfyUI\\models\\BiRefNet\\swin_large_patch4_window12_384_22kto1k.pth'
i downloaded the BiRefNet from hunggigface and paste that models\\BiRefNet\\swin_large_patch4_window12_384_22kto1k.pth path and now its working..... thanks
I'm glad the videos have been helpful for you. You need to search for the file name mentioned in Google and download it from the Huggingface website, which is approximately 780 MB.
oms_diffusion_768_200000.safetensors 模型放置在哪个路径中?
Model > Unet
doesnt work: No such file or directory: '\ComfyUI\\models\\BiRefNet\\swin_large_patch4_window12_384_22kto1k.pth
Create the folder manually and search the file on google, it's available on huggingface
@@CgTopTips thank you!