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

КОМЕНТАРІ • 55

  • @zengqiangzhang
    @zengqiangzhang 3 місяці тому

    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.

    • @Frankie-t1z
      @Frankie-t1z 2 місяці тому

      I know how to change the top, but the pants have been trying unsuccessfully. Have you succeeded?

  • @fernandocruz1805
    @fernandocruz1805 3 місяці тому

    Genial amigo gracias por compartir tus conocimientos ahora voy a practicar y te aviso
    Saludos desde Ecuador

    • @CgTopTips
      @CgTopTips  3 місяці тому

      Me alegra que los videos te hayan sido útiles.

  • @Frankie-t1z
    @Frankie-t1z 2 місяці тому

    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.

  • @sirjcbcbsh
    @sirjcbcbsh 24 дні тому

    what is the use of Birefnet segmentation? is the any alternatives

  • @motopaediatheview9284
    @motopaediatheview9284 3 місяці тому

    it seems to work better with vivid garment colors..? Can we change the background mask color like green or pink for some images?

  • @senoharyo
    @senoharyo 3 місяці тому +2

    i have installed comfyui-oms-diffusion (Add Magic Clothing Attention" & Load Magic Clothing Model) node, but don't work (RED) T_T

  • @gregosfr
    @gregosfr 3 місяці тому

    thank you, would it be possible to have a workflows with 2 garments, top and bottom please?

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      Yes, in the next tutorial video, we will talk about Masking

    • @gregosfr
      @gregosfr 3 місяці тому

      @@CgTopTips thanks

  • @k0ta0uchi
    @k0ta0uchi 3 місяці тому

    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?

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      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

    • @k0ta0uchi
      @k0ta0uchi 3 місяці тому

      @@CgTopTips Oh, that's wonderful!! I'm looking forward to it!! Thank you!!

    • @zengqiangzhang
      @zengqiangzhang 3 місяці тому

      @@CgTopTips Are there any new videos coming out? I’m looking forward to it.

  • @TheStunningBeauty
    @TheStunningBeauty 3 місяці тому

    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."

    • @CgTopTips
      @CgTopTips  3 місяці тому

      Search that file on google and place it on mentioned directory

  • @LaughingSack-o7c
    @LaughingSack-o7c 3 місяці тому

    Can Flux be applied here?

  • @hainguyenhoang11
    @hainguyenhoang11 4 дні тому

    Why is the color not true?

  • @ZeroTsukimine-i4n
    @ZeroTsukimine-i4n 2 місяці тому

    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 -.-

  • @HamedEmine
    @HamedEmine 3 місяці тому

    Do we need to download the BiRefNet models separately? Apparently it doesn't do so automatically...
    Thank you by the way!

    • @valorantacemiyimben
      @valorantacemiyimben 3 місяці тому

      Even though I upload BiRefNet files, it still gives an error :/

    • @HamedEmine
      @HamedEmine 3 місяці тому +1

      @@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

    • @CgTopTips
      @CgTopTips  3 місяці тому

      Please share the error

  • @LaMagra-w4c
    @LaMagra-w4c 3 місяці тому

    Is this for use only with Nvidia cards? tried with AMD but no luck

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      Almost, yes. If you want to use an AMD card, it has its own complexities

  • @anagnorisis2024
    @anagnorisis2024 3 місяці тому

    i'm getting this error: safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge
    ???

  • @MrDebranjandutta
    @MrDebranjandutta 3 місяці тому

    Can this work for jewellery

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      No, It only work for outfit

  • @axeltadeodiazflores1034
    @axeltadeodiazflores1034 3 місяці тому

    Is this can be used with an existing image?, without generating an image?

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      Yes, but you need to make some changes in the workflow. In the next videos, I will try to make a video about this.

  • @zengqiangzhang
    @zengqiangzhang 3 місяці тому

    In which path is the oms_diffusion_768_200000.safetensors model placed?

    • @HamedEmine
      @HamedEmine 3 місяці тому

      In the "unet" folder

    • @CgTopTips
      @CgTopTips  3 місяці тому

      Model > Unet Folder

  • @yngeneer
    @yngeneer 3 місяці тому +1

    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....

    • @CgTopTips
      @CgTopTips  3 місяці тому

      In the next video, we will talk about integrating ControlNet and Masking in Clothing Magic to achieve a more accurate and better result

    • @yngeneer
      @yngeneer 27 днів тому

      @@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?

  • @VintageForYou
    @VintageForYou 3 місяці тому

    RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)

    • @Frankie-t1z
      @Frankie-t1z 2 місяці тому

      Considering whether the choice of large model type is wrong, it should be SD1.5.

  • @dennischo2140
    @dennischo2140 3 місяці тому

    Is it just for female? I wish to change to male but in vain...

    • @CgTopTips
      @CgTopTips  3 місяці тому

      It doesn't matter; since men's clothing is simpler, this method works better :)

    • @dennischo2140
      @dennischo2140 3 місяці тому

      @@CgTopTips I input the prompt with male, add male model photo on controlnet, but at last, the results are always female...

    • @dennischo2140
      @dennischo2140 3 місяці тому

      @@CgTopTips and I also use man photo on faceswap...but...

    • @CgTopTips
      @CgTopTips  3 місяці тому +1

      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!

  • @CH_Nisar
    @CH_Nisar 3 місяці тому

    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'

    • @CH_Nisar
      @CH_Nisar 3 місяці тому

      i downloaded the BiRefNet from hunggigface and paste that models\\BiRefNet\\swin_large_patch4_window12_384_22kto1k.pth path and now its working..... thanks

    • @CgTopTips
      @CgTopTips  3 місяці тому

      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.

  • @zengqiangzhang
    @zengqiangzhang 3 місяці тому

    oms_diffusion_768_200000.safetensors 模型放置在哪个路径中?

  • @davidtsibikoff9951
    @davidtsibikoff9951 3 місяці тому

    doesnt work: No such file or directory: '\ComfyUI\\models\\BiRefNet\\swin_large_patch4_window12_384_22kto1k.pth

    • @CgTopTips
      @CgTopTips  3 місяці тому

      Create the folder manually and search the file on google, it's available on huggingface

    • @davidtsibikoff9951
      @davidtsibikoff9951 3 місяці тому

      @@CgTopTips thank you!