ComfyUI - Getting Started : Episode 2 - Custom Nodes Everyone Should Have

Sdílet
Vložit
  • čas přidán 14. 07. 2023
  • In this tutorial we cover how to install the Manager custom node for ComfyUI to improve our stable diffusion process for creating AI Art. I also cover the nesting of nodes, installing the efficient nodes, and a few other little nuances that will set you up for success as you use this amazing tool
    #comfyUI #stablediffusion
    Grab git here if you don't already have it: git-scm.com/
    Grab the manager custom node from here: github.com/ltdrdata/ComfyUI-M...
    Install ComfyUI from this link: github.com/comfyanonymous/Com...
    Twitter: / sedetweiler
    Threads: www.threads.net/sedetweiler
  • Krátké a kreslené filmy

Komentáře • 166

  • @zYGote04
    @zYGote04 Před 10 měsíci +171

    2:18 its "git clone" not "pull" you can use "pull" command to update the files later.
    If you not gonna use "clone" you will just get an error `fatal: refusing to merge unrelated histories` like in the video.

    • @LarsonLake
      @LarsonLake Před 10 měsíci +5

      Thank you!

    • @sedetweiler
      @sedetweiler  Před 10 měsíci +9

      Yeah, I realized that after the fact 😂

    • @faves633
      @faves633 Před 10 měsíci +5

      @@sedetweiler You also need to restart the batch file that no one wants to talk about for some reason. Oh well, found it.

    • @tsiwt
      @tsiwt Před 10 měsíci +8

      Damn this post should be highlighted so we don't waste time lol. thx

    • @IceeSwirl
      @IceeSwirl Před 10 měsíci +1

      Thank you for this comment. Could not figure out why Manager wasn't showing up. Kept trying to reinstall using Git Pull. Your comment should be pinned!

  • @cratesify
    @cratesify Před 10 měsíci +8

    Thank you so much for starting this series. I switched to Comfy for SDXL and have only been using others JSON files. Great guide.

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

    Again, thanks for this great video! Love the nesting of nodes. Makes things much more organized.

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

    You really have some awesome videos man. I know it's basic stuff, but these are very well done for the newcomer and so important. Thank you.

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

    As a new Comfyui user I have to say your videos are super easy to follow and understand, tbh I hesitated for a long time switching from A1111 to Comfyui as I have been really intimidated by the interface. Keep up the great work!

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

    Very insightful and the right length to be able to maintain attention and optimize learning! Node based creation really taps into a different mind space. It’s incredible.

  • @rsunghun
    @rsunghun Před 10 měsíci

    I really appreciate that you took time to make this video. Clear and direct. Thank you!!

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

      Glad it was helpful! Thank you for taking the time to make a comment, that is also appreciated! Cheers!

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

    Thank you! Thank you! Thank you! I've been afraid of trying to use ComfyUI, but these kinds of concise tips are really opening the door for me! :)

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      Great to hear!

    • @theguru143
      @theguru143 Před 10 měsíci +1

      Same here. The "looks" of it are daunting, but these videos are helping me to get over my fear of spaghetti lines. It sort of reminds me of the "way back days" of BASIC and flow charts

  • @frankschannel2642
    @frankschannel2642 Před 10 měsíci +13

    This is awesome! It fills not only a software gap, but a knowledge gap of mine since I started (admittedly recently) using ComfyAI. I cannot thank you enough! PLEASE keep producing this kind of content!

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

    Really like this introduction tutorials, thank you so much for those 🙏

  • @maddocmiller6475
    @maddocmiller6475 Před 10 měsíci

    Amazing Tutorials! Very clear, very methodical and without fluff. Please keep them coming. If you don't mind, I want to ask if there is a inpainting workflow with low denoising values? The one in the documentation is replacing 100% of the masked content, but I want to only do a bit of denoising with 0.25 like in A1111. And not replace everything under the mask. ComfyUI is using a generic gray background for the masked content because it's deriving it from the alpha channel AFAIK. And the gray is showing through at low values.

  • @14MTH3M00N
    @14MTH3M00N Před 5 měsíci

    Well made informative and to the point videos. Really appreciated!

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

    that nested nodes tip is great, thanks!

  • @royjones5790
    @royjones5790 Před 10 měsíci +14

    To do the initial install of the MANAGER I had to use GIT CLONE, not GIT PULL

    • @parshw
      @parshw Před 10 měsíci +5

      Git clone for download and git pull for update

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

      thank you soo much!!!!!

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

      Glad I looked to see if this comment was already here!

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

    Really love this content! Please keep going!

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

      Thank you! Will do! I think we are up to 14 episodes now.

  • @lukeovermind
    @lukeovermind Před 10 měsíci +1

    Wow ok, that nested trick is neat, thank you!

  • @RobertWatts1957
    @RobertWatts1957 Před 10 měsíci +8

    Are you sure about this "git pull" command for a first time install? It failed for me, but "git clone" worked.

    • @jitgo
      @jitgo Před 10 měsíci

      Agree, for a first install of this manager, 'git clone' works, 'git pull' does not (for me anyway)

    • @DrSnakeGamez
      @DrSnakeGamez Před 10 měsíci

      Indeed, Git pull will only work for subsequent requests, like updating a repository. For initial install u would, like u already mentioned, need to run git clone first

    • @sedetweiler
      @sedetweiler  Před 10 měsíci +1

      Sorry, you are correct. "git clone" is needed for the first time! Sorry about that!

    • @sanderlenten10
      @sanderlenten10 Před 10 měsíci

      Thanks!

  • @goldkat94
    @goldkat94 Před 10 měsíci

    Awesome series, thanks alot!

  • @musicandhappinessbyjo795
    @musicandhappinessbyjo795 Před 10 měsíci

    Thanks for the great video. The nested node is a Game changer for a newbie like me.

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      Glad it was helpful! I totally agree, but don't go nuts with it, as it can cost you flexibility. Cheers!

    • @musicandhappinessbyjo795
      @musicandhappinessbyjo795 Před 10 měsíci

      @@sedetweiler That is true. Looking forward to your next video sir.

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

    It took me a while to figure out how to reproduce what was happening in episode 1 with this new efficiency in mind.

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

    Pretty good video. I just figured out you can renale the outputs of a nested node with a text editor
    "output_name": [
    "Positive Prompt",
    "Negative Prompt"
    ]
    }v

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

    Good series so far, thanks for creating them. Was installing the custom nodes, one looks like it's no longer supported Efficiency Nodes for ComfyUI Version 2.0+, do you have a suggested replacement? Also the Dirty Undo-Redo is now obsolete :)

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

    This is a great playlist.

  • @ImAlecPonce
    @ImAlecPonce Před 10 měsíci

    thanks!! vid was super useful

  • @Adam-kx9gi
    @Adam-kx9gi Před 10 měsíci +1

    great stuff. keep it up👌👌

  • @TheArghnono
    @TheArghnono Před 10 měsíci

    Incredibly useful for a ComfyUI noobie! Thank you.

  • @spiralofhope
    @spiralofhope Před 7 měsíci +2

    The submenu for efficiency mode doesn't appear even though it's listed as installed and active. To make it appear, do a
    pip install simpleeval

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

      I had to do:
      *pip uninstall simpleeval*
      then
      pip install simpleeval

  • @ImAlecPonce
    @ImAlecPonce Před 10 měsíci

    thanks @Robert Watts I changed to git clone and it worked!!!

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

    Hey I just wanted to thank you for these videos I am just some old fart and was having a lot of trouble wrapping my head around ComfyUI but your videos were concise to the point and helped a lot keep up the good work because I went from OMG what are all these convoluted boxes and strings of confusion to Oh I get it this is much cooler than Automatic 1111.

  • @royjones5790
    @royjones5790 Před 10 měsíci

    Does ComfyUI have a randomized variable &/r math node? Imagine I want to have 2 different prompts feed but I want the space/strength they take up total 100% but randomize the proportion. I'd want to randomize 1-100 then find the difference from 100 & feed value X to prompt 1's proportion & value Z (remainder) to prompt 2's. Or other ways to feed values randomly &/r with math?

  • @Kryptonic83
    @Kryptonic83 Před 10 měsíci +1

    good stuff, thanks

  • @billgregory8211
    @billgregory8211 Před 10 měsíci

    2 great videos in 1 and 2. How can place a stratup icon onto the taskbar,,,I can see the option to add to recent etc but not the task bar the way in which A1111 can do. Thanks, cheers

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

    To share the checkpoints from a diferent folder. I created a symlink to a folder that contains my stable diffusion models.
    mklink /D

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

      I need to do this as I am running with a notebook (not locally) and all my models are already on the google drive. Any advice much appreciated

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

      ​@@suzanazzz Nop.
      I have tried to use drive to save my models but couldn't find how to implement it. (I was using runpod, but at the end is linux, should be the same).
      the command that I wrote isn't gonna work in your case ^

  •  Před 10 měsíci

    I just found out about this. Mind blowed

  • @generichuman_
    @generichuman_ Před 10 měsíci +2

    This is giving me some ideas. I want to dig into the python development to make some nodes that integrate with GPT4. A user could provide an openai key and utilize GPT 4 for automating the generation of prompts. Example "Give me a list of 20 descriptive prompts that include artists that have a dark and eerie feel", or whatever.

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      Someone beat you to it! 😉 Check over at civit as there are a few options.

    • @generichuman_
      @generichuman_ Před 10 měsíci

      @sedetweiler I assumed so lol, this area is moving so fast, when you come up with an idea, most likely someone has already thought of it 😅

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

      @@generichuman_ Yea now we just need the comic book automation creation. With the building of unique characters and building a series around the generated art based off generated or already created transcripts.
      Wheres that one at!?!?

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

    perfect. thank you

  • @johnmcaleer6917
    @johnmcaleer6917 Před 10 měsíci +1

    Great video Scott, I'm using an M1 Mac and have got Comfy working fine except a few things, one is the custom manager, have done the git clone and all the necessary files/folders are itstalled but won't load from terminal...are you aware of any Mac users that have had the same problem ????

    • @sedetweiler
      @sedetweiler  Před 10 měsíci +1

      I am not sure. Most of the issues I have seen are more permission based. Sorry, I am not a Mac guy, but you can also use the links I provide to install things as we move forward. Sorry it is so difficult!

    • @johnmcaleer6917
      @johnmcaleer6917 Před 10 měsíci

      @@sedetweiler cheers, I'm finding it so strange that there is no real support for Mac users from the SD developers/community in general..
      I'm sure there are plenty of us in need 🤔

  • @simonmcdonald446
    @simonmcdonald446 Před 9 měsíci

    Not sure where to post so anyway: Is there a way to copy and paste parts of workflows into other workflow json files? Too assiti in customising my own workflows, otherwise I have to take a photo whichh seems an odd way to work.

  • @JackTorcello
    @JackTorcello Před 10 měsíci

    I am lost as to how to update the YAML file so that it'll point to the C:\Stable-diffusion\models file ? I open the file in VB - and there is an entry already pointing to C:\Stable-diffusion\models ... ?

  • @technoprincess95
    @technoprincess95 Před 10 měsíci +1

    When I install the missing node to fix the red error in the graph, do I need to restart the system to make that workflow run or just click refresh? Thank you.

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      Yes, it always requires a restart at this time.

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

    O meu deu um tanto de problemas, eu erro na importação das Custom Nodes e o botão Manager sumiu

  • @Entertainment-qy8ix
    @Entertainment-qy8ix Před 4 měsíci

    hi can you please tell is there any way to have a input field of changing location of save image as right now there is no option to change location of image save, it is saving in output only.

  • @allexferreira9604
    @allexferreira9604 Před 2 měsíci +1

    I had a lot of problems with the path file, basically in Windows the explorer doesn't show the file extension by default, I didn't intentionally rename it to .path.path

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

    Yay! Epsiode 3 coming soon?

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

      I think we are up to 13!

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

      @@sedetweiler Oh snap. I was only looking at the title and not thumbnail. I've got a lot of catching up to do! Thanks.

  • @TomMaiaroto
    @TomMaiaroto Před 10 měsíci

    Thanks!

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

    Hi, thanks for this awesome tutorial! I'm just starting to figure out Comfyui! I am running it however with collab notebook.
    The first part at 46 sec --> I have opened the .yaml file and replaced the base_path: like this:
    base_path: /content/drive/MyDrive/AI/models/
    When I load the ui it does not load my models though.... (I restarted the notebook and Ui several times)
    Thanks in advance for any help.

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

      Because it is running in a notebook, I believe you would need to make those models local to it by uploading the assets. I am not sure on this, but it needs those models.

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

      @@sedetweiler hi, thanks for getting back! There must be a way somewhere in the notebook but it is so different from the deforum notebook I use and cant figure it out here… i edited the .yaml file and re-uploaded but still nothing. Checkpoints take so much space I do not want to have them double (I have a lot).

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

    Hi, the efficiency node will no longer install as no longer install. is there an alternative to this that i can use. many thanks and fab video.

  • @royjones5790
    @royjones5790 Před 10 měsíci

    what is with ComfyUI & "batch" presentation? I have a RTX3060 & using A1111 I can do a batch size of 4 at 768x768 so to get 16 done I change the batch count to 4. I can't ask A1111 to do 16 in batch size, directly. But when I do a batch count of anything more than 1 the 1st set of responses disappears, making it so I only effectively see the last batch. How can I get all the batch sizes X batch count to show in ComfyUI's image results? Am I doing something wrong?

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      You should set that in the empty latent, as that is really what the batch size is. Let me know if that works for you.

    • @royjones5790
      @royjones5790 Před 10 měsíci

      @@sedetweiler In this case the Empty Latent's batch size takes up VRAM but the batch count purges memory between (at least that's how i understand it). So if my VRAM can only handle 1 1280x1080 if I switch Batch Size to 2, it'll crash. But if I change Batch Count to 2 it'll finish the first then go back again for the 2nd. In fact, I could feasibly make the Batch Count INFINITE if it's a clean purge.
      That's how I understand it to work

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

    really promising

  • @CMDRRustyDog
    @CMDRRustyDog Před 10 měsíci

    The DirtyUndoRedo node won't work for me. After it says it installed successfully and restarting ComfyUI, I get 'Failed to Import' error.

  • @MR.LTN_STUDIO
    @MR.LTN_STUDIO Před 22 dny

    感謝推薦!!!!

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

    I installed the manager but when I try to use it I get this error: Install failed: undefined / SyntaxError: Unexpected end of JSON input. I uninstalled/reinstalled, updated, but I don't know what else to do. Error only happens with models. I can install nodes just fine. Any suggestions?

  • @polystormstudio
    @polystormstudio Před 10 měsíci

    0:35 I didn't have this file, just the example file. I duplicated it, pasted in the path to my ckpt's and it hung on looking through that directory. Where do I paste the path of my ckpt's?

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      It's in the yaml file in the root of Comfy. There should be an example there already for you.

    • @polystormstudio
      @polystormstudio Před 10 měsíci

      @@sedetweiler I only got "extra_model_paths.yaml.example". The content of this file looks the same so I duplicated the file and removed ".example". From there, where do I put the path to my ckpt's? I put it at the end of the script but comfy wouldn't open.

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

    I'm trying to load your EASY workflow but I'm getting an error. Nodes not found: Efficient Loader and KSamper (Efficient). These boxes are red and they say "Undefined".

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

      So, use the manager and click on the "find missing nodes" and it will get those loaded.

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

      I tried that and nothing showed up in the window. I think I need to delete Comfy and start again from scratch, I installed it weeks ago and never really used it.@@sedetweiler

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

    I've used clone, restarted ComfyUi but manager still didn't appear :(

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

    the yaml file doesnt work for me idk why, i have everything double

  • @JackTorcello
    @JackTorcello Před 10 měsíci

    Yes, git clone worked rather better than git pull! :)

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

    Is it possible you could do some tutorial on AnimateDiff

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

    I just failed on my 5th attempt in the past few months using this, it seems whenever I try ComfyUI, I get various errors. I can't seem to get any kind of momentum. So I am deleting the directory and going to try it from scratch. Back to Episode 1 I go....

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

      I do that every so often. Things break and it can leave junk behind.

  • @bladechild2449
    @bladechild2449 Před 10 měsíci

    i mean, the git pull doesn't work for me with the error "refusing to merge unrelated histories", and it literally does the exact same thing to you the way you showed it.

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      Yeah, I screwed that up, use git pull the first time. :-( sorry about that.

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

    if you are installing the manager after jan 2024 and it not showing up on the UI then just upgrade the comfyui with " git pull "fincion on the comfyui folder that should fix the problem

  • @ITZJRGaming
    @ITZJRGaming Před 10 měsíci +1

    the custom nodes dont show for me

    • @tsiwt
      @tsiwt Před 10 měsíci

      yeap can't get them working either

  • @LouisGedo
    @LouisGedo Před 10 měsíci +1

    👋

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

    WAS Nodes simply will not load - updated/uninstalled/reinstalled etc etc etc

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

    "Fetch Updates" doesn't work for all custom nodes.

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

      Hmm, as long as you installed them from the manager or from git clone, they should update just dandy.

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

      @@sedetweiler just handly

  • @MikevomMars
    @MikevomMars Před 10 měsíci

    2:25 - That does not work. You have to type *"git clone"* instead of "git pull" to install the package ❗

  • @tcb133
    @tcb133 Před 9 měsíci

    can this be installed within google colab?

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

      There is a notebook for it in the git repo, but I have not tried it.

  • @lakislambrianides7619
    @lakislambrianides7619 Před 10 měsíci

    I am sorry for this but you were not clear what to do for not having duplicate checkpoints so although I have been waiting for this i did not understand . Since we not all have the same computer knowledge I think you should go with a step by step procedure. My opinion!

    • @sedetweiler
      @sedetweiler  Před 10 měsíci

      You just need to edit that yaml file and it will read the checkpoints you already have in the AUTO1111 directories. No need to copy them over.

    • @lakislambrianides7619
      @lakislambrianides7619 Před 10 měsíci

      @@sedetweiler I know that but how and what do u mean edit? Write something? What?

  • @user-nw6ku4bf6e
    @user-nw6ku4bf6e Před 10 měsíci

    Здравсвуйте! Подскажите пожалуйста, кто работает в Comfy UI, сейчас ищу художника, который мог бы взять на себя работу с нейросетями за оплату.

  • @kinkyqt
    @kinkyqt Před 10 měsíci

    First

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

      My wife said you did comment first. She is probably going to knit something for you wife in show of appreciation.

  • @daeger2471
    @daeger2471 Před měsícem +2

    I've decided to go back to Automatic1111 because I can't trust someone who doesn't use dark mode.

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

    This is *OBVIOUSLY FOR WINDOWS.*
    *Mac* people: I'm sure it's something similar...
    And *Linux* people don't exist. (So I won't even bother mentioning them.)

  • @Andrew-tb6xu
    @Andrew-tb6xu Před 8 měsíci

    Please either edit this video or redo it entirely bro. You left in a blaring error WHILE SAYING HOW OBVIOUS IT IS TO US ALL. Also, even after finding the solution to your error, custom nodes simply won't appear after following your instructions exactly.

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

      yes, I will have to re-do it as there is no "editing" on youtube. Almost time to refresh these anyway.

    • @Andrew-tb6xu
      @Andrew-tb6xu Před 8 měsíci

      @@sedetweiler It's ok, turns out ComfyUI just does not work with 6xxx cards so I switched back to automatic1111.

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

    very hard to follow when mumble and whisper right at the end of a sentence (like you are annoyed to go over something you already know) though I'm guessing unconscious.. also the git pull/clone mistake why even leave this vedeo up? just redo it not all ppl scroll down, look how many ppl already comment that they have been spending hrs fixing ur broken tutorial nothing personal.. :(

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

    Why the HELL does Comfyui Manager never install the missing nodes correctly to my Comfyui?? I tryed everything and I never figured it out and now I am stuck with basic workflows. Please help me!