Mastering ComfyUI: Creating Stunning Human Poses with ControlNet! - TUTORIAL

Sdílet
Vložit
  • čas přidán 20. 10. 2023
  • Join me in this tutorial as we dive deep into ControlNet, an AI model that revolutionizes the way we create human poses and compositions from reference images. Learn about the different ControlNet models, their applications, and how to use them effectively. Whether you're an artist, designer, or just curious about AI, this video will show you how to harness the power of ControlNet for stunning results. Let's explore the world of AI artistry together!
    ** Links from the Video Tutorial **
    - PoseMyArt: posemy.art
    - ComfyUI's ControlNet Auxiliary Preprocessors: github.com/Fannovel16/comfyui...
    - ControlNet Models: huggingface.co/lllyasviel/Con...
  • Jak na to + styl

Komentáře • 50

  • @billkage4279
    @billkage4279 Před 4 měsíci +1

    Wonderful! Thank goodness for you tutorials! More power to your channel!

  • @damasoroma
    @damasoroma Před 6 měsíci +6

    Thank you very much! I finally managed to clearly understand the basics of controlnet. Everything works perfectly for me. I just avoided downloading the workflow, rebuilding it step by step and following your video! Fantastic!

  • @RichGallant
    @RichGallant Před 6 měsíci +6

    Excellent tutorial the Aux processor information was very useful.

  • @ghostpepper1716
    @ghostpepper1716 Před 9 měsíci +2

    Nice and simple explanation. Thanks.

  • @thecolonelpridereview
    @thecolonelpridereview Před 8 měsíci +2

    So far you are my favourite AI tutorial guy.

  • @ArandomNutter
    @ArandomNutter Před 6 měsíci +2

    Thanks for the tutorial it came in handy

  • @TBou_nyncuk
    @TBou_nyncuk Před měsícem +1

    Great vod mate!

  • @NoName-bl6uo
    @NoName-bl6uo Před 5 měsíci +1

    Thanks bro for your work. Really concise and great videos

  • @GenTechArt
    @GenTechArt Před 8 měsíci +2

    thanks for tutorial ! useful !

  • @hleet
    @hleet Před 9 měsíci +7

    I think that it is important to understand the concept first. And you explain this very well. I use to watch a lot of other video of "how to" on that subject, but it‘s like watching a robot reading a technical paper that only scientists would understand. Anyway nice video 😊

    • @DreamingAIChannel
      @DreamingAIChannel  Před 9 měsíci +5

      Thanks! And yes, i hate that too, i mean if you want to read me some part of the paper that explain to me the concept if fine, but the more technical parts are of absolutely no interest to most people.... it's like I'm supposed to buy a car and the guy at the car dealer starts reading me the engine technical manual 🤣

  • @GetawayFilms
    @GetawayFilms Před měsícem +1

    Great video, concise explanation. Loved it.

  • @lyr1c53
    @lyr1c53 Před 3 měsíci +3

    For someone who gets an error saids "mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)" , that means you're using something for SD 1.5 with XL models(checkpoint). If you look at the checkpoint's name then there should be a word "XL" included. You just have to look for another model on civit AI or somewhere and use it.

    • @adriands8207
      @adriands8207 Před měsícem

      I have tried different XL models and all of them gave me the same mat1 and mat2 error, the only one that works for me it is epicrealism_naturalSinRC1VAE. Do you know what I am doing wrong? Thanks

    • @lyr1c53
      @lyr1c53 Před měsícem

      @@adriands8207 Yeah, you can't use models that includes letter "XL" in the model name.

  • @thecolonelpridereview
    @thecolonelpridereview Před 8 měsíci +2

    I want to use openpose but I notice for all the Control Net models on huggingface there are two of each: .pth and .yaml. What's the difference between them?

  • @luxed3583
    @luxed3583 Před 2 měsíci

    encountered this issue when trying to load test preprocessors
    "When loading the graph, the following node types were not found:
    PiDiNetPreprocessor
    ColorPreprocessor
    CannyEdgePreprocessor
    SAMPreprocessor
    DWPreprocessor
    BinaryPreprocessor....
    Nodes that have failed to load will show as red on the graph."
    how do i fix this?

  • @krio_gen
    @krio_gen Před 3 měsíci

    Great job.
    Do you have any examples of workflow with 2 and or 3 adapters?

  • @petrino
    @petrino Před 7 měsíci +1

    why no openpose editor in comfy? not great for image to image for example when it fails to find the pose.

  • @darkwitnesslxx
    @darkwitnesslxx Před 4 měsíci

    Does it matter whether you put the apply Controlnet before or after the prompt? Model-> ControlNet->Prompt or Model->Prompt->ControlNet?

  • @nitinburli7814
    @nitinburli7814 Před 8 měsíci +4

    Great tutorial, thanks! Also, how did you get the straight lines instead of noodle connections?

    • @DreamingAIChannel
      @DreamingAIChannel  Před 8 měsíci +3

      Hi! Thanks,here i've explained how to put the straight lines: czcams.com/video/AjwfswzLmxU/video.html

    • @MichaelDeNicola
      @MichaelDeNicola Před 6 měsíci +2

      @@DreamingAIChannelty for including the timestamp as well 🙏

  • @runebinder
    @runebinder Před 6 měsíci +2

    Hi complete newbie, installed Auto1111 a week and a half ago and then took the leap and installed ComfyUI Thursday. I've watched a few of your videos and I really like the way you break down what look like really complicated workflows when I read up on them and break it down and show what you need and how it all links up, thank you :) I was wondering if this could be used for img2img? Got it to make character pics for D&D and would be cool if I could use this to change poses but retain the character and style.

    • @DreamingAIChannel
      @DreamingAIChannel  Před 6 měsíci +4

      Absolutely! The most simple way to do img2img is use Load image -> Vae Encode -> Ksampler reducing the denoise to like 0.2 or so (you should test with low cfg too) -> Vae Decode -> Save Image... but what you asking is a bit more complex since you need to use controlnet to inject the pose keeping the character and style maybe with some lora. I could try to do it and maybe make a video about it!

    • @runebinder
      @runebinder Před 6 měsíci +1

      @@DreamingAIChannel thanks :) I'll give that a try and let you know how I get on.

  • @A.Raf-Viz66
    @A.Raf-Viz66 Před 5 měsíci

    how to install COntrolnet in comfyUi?

  • @Potts2k8
    @Potts2k8 Před 2 měsíci

    Error occurred when executing ControlNetLoader:
    Error while deserializing header: MetadataIncompleteBuffer
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI
    odes.py", line 705, in load_controlnet
    controlnet = comfy.controlnet.load_controlnet(controlnet_path)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 326, in load_controlnet
    controlnet_data = comfy.utils.load_torch_file(ckpt_path, safe_load=True)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 14, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\(USER)\OneDrive\Desktop\SDXL\ComfyUI_windows_portable\python_embeded\Lib\site-packages\safetensors\torch.py", line 311, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    🤷‍♂

  • @miguelfigueiredo9814
    @miguelfigueiredo9814 Před 4 měsíci

    hey, i just added the .yaml and .pth files of open pose but when im on comfyUI and im loading the controlnet the .safetensors doesnt appear instead it appears the .pth file but it gives an error when i try using it

  • @thecolonelpridereview
    @thecolonelpridereview Před 8 měsíci

    Unfortunately I wasn't successful following this tutorial, somewhere I must have made a mistake. After building the workflow and getting my pose base image I hit Queue Prompt. Once the workflow reaches the KSampler I get an error message Error occurred when executing KSampler:
    mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)
    File "Z:\AI Images\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
    and the many more errors after that which mean nothing to me. If you have any ideas what might fix this please let me know.

    • @DreamingAIChannel
      @DreamingAIChannel  Před 8 měsíci +1

      well, is possible that the width and the height of the image in the load image and the width and height of the empty latent are different? It should be the same for what i know

    • @thecolonelpridereview
      @thecolonelpridereview Před 8 měsíci

      Thanks for your response. I loaded up a 512x512 image and set the latent to the same size, which did indeed remove the first line of the error message but not all the subsequent lines. I guess I'll have to keep searching for a solution but if you think of anything let me know. Cheers.@@DreamingAIChannel

    • @sebastianvalenzuela1652
      @sebastianvalenzuela1652 Před 7 měsíci +1

      I had the same error. Not all checkpoints work with open pose. I was using Juggernaut and I got a error at kSampler. I changed the checkpoint to some anime one and it worked.

    • @thecolonelpridereview
      @thecolonelpridereview Před 7 měsíci

      Thanks for that! Would you mind telling us which anime checkpoint you used exactly? I'll download it and give it a try.@@sebastianvalenzuela1652

  • @kizentheslayer
    @kizentheslayer Před 5 měsíci

    how do you get the wires to be at sharp 90's?

    • @DreamingAIChannel
      @DreamingAIChannel  Před 5 měsíci

      Hi! here i've explained how to put the straight lines: czcams.com/video/AjwfswzLmxU/video.html

  • @user-nd7hk6vp6q
    @user-nd7hk6vp6q Před 5 měsíci

    How do I change the pose of an existing image instead of creating a new image, pls help

    • @DreamingAIChannel
      @DreamingAIChannel  Před 5 měsíci +2

      I know this is possible in A1111 with a reference image, I don't know if it is possible with controlnet in comfyui, I would have to try!

  • @TheJusticeLeague
    @TheJusticeLeague Před 6 měsíci

    Prompt outputs failed validation
    ControlNetLoader:
    - Required input is missing: control_net_name
    what did i do wrong...?!

    • @DreamingAIChannel
      @DreamingAIChannel  Před 6 měsíci +1

      uhm maybe you didn't connect some input, it's a pretty generic error... dont you have some red/pink node enlightened?

  • @dhrumil5977
    @dhrumil5977 Před 9 měsíci +1

    I'm confused between automatic 1111 and comfy ui

    • @Make_a_Splash
      @Make_a_Splash Před 9 měsíci +2

      Stick to comfy UI is hard and confusing initially, but you have always control . Aut1111 is way behind Comfy UI. Save this workflow as group so you can always recall them when you need it.
      Make another one for Inpainting, Image 2 Image and Upscaling.

    • @keepitshort4208
      @keepitshort4208 Před 7 měsíci

      ​@@Make_a_Splash true confusing, but fun when it works, but sadly for me using 1660ti my python crashed 😅

  • @kenshisaan2207
    @kenshisaan2207 Před 5 měsíci

    would be cool if you add the template

  • @akhiryugo6361
    @akhiryugo6361 Před 5 měsíci

    How are those wires straight? Mine is like spaghetti tangled

    • @DreamingAIChannel
      @DreamingAIChannel  Před 5 měsíci

      xD ,here i've explained how to put the straight lines: czcams.com/video/AjwfswzLmxU/video.html

  • @xorq
    @xorq Před 3 měsíci +1

    keep dreaming.?...
    thats what she said :(