ComfyUI Workflow Creation Essentials For Beginners

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
if you've already installed comfy UI and are now ready to start getting creative with your own workflows then this crash course will equip you with the core skills needed to make your ideas a reality I'll be providing key workflow examples time saving hints and tips settings you may not be aware of as well as how to start expanding beyond the basic nodes you get by the end you'll have a toolbox full of comfy Essentials ready to Unleash Your Creations upon the world so without any further Ado let's get to it starting right at the beginning with a blank canvas you'll soon see how easy it is to make a workflow that generates an image from text you can of course do a whole lot more than the workflow I'm about to show you with one such example of doing a whole lot more being my free reposal a workflow this started out with the idea of can I make a consistent character just using a single face image and an image that I want that character to be posed in as it turns out like you can see there yes you can I've got my input face image there's the pose as you can see it sort of detects the pose there and then generates my character using that pose if I want a new pose I simply pick that new pose and then regenerate and there I have my character in the new pose after i' created that one I then expanded it to swap clothing and backgrounds as well so it's uh yeah if you have a quick look at the number of nodes there it's very easy to get carried away all right getting back to basic back to our blank canvas adding nodes is the very first thing that you need to master and like with this example example here you'll typically want to start with a Cas sampler this is like the main engine of the workflow with controls for things like the seed and guidance scale sampler all that sort of good stuff it's also the first thing that appears when you do that doubleclick there K sampler first thing in the menu That's not the only way that you can add nodes because of course you can do much the same thing by right clicking add node sampling and I've got a case sampler there there it is so we got exactly the same node by doing right click instead of double left click a third way to add nodes is one that I use quite a lot and that's where you just drag a little noodle out from the thing and then pick from the list that is provided there I've added a model it's not always the best list it doesn't always work but most of the time it is useful nodes can be dragged around quite easy easily just click anywhere on the blank bits and you can also resize them from the corners press the delete key on your keyboard to delete any selected node and you've also got a little dot up in the corner which you can use to toggle whether or not it is collapsed time to drag some more noodles out of our little friend there the K sampler first thing we want is a text encode prompts we've got there for the positive and then same again for the negative the final input we have on that is a latent image so once again I'm using that one and the one I want is an empty latent image there it's got the size 512 we want to see the image our text Will generate so let's do something with this output once again we'll drag that noodle we'll do a decode that gives another output we've got there okay and there I'm going to do preview image of course you could save it if you wanted to save wow that's almost a complete workflow if you look very closely at the colors for the inputs and outputs on each node you'll see there is still a red vae and some yellow nodes to connect as well matching the colors makes it really easy but you should also see that when I try to drag a noodle out all the other options go gray and literally the only one I can connect it to is that vae so let's do the same thing with the yellow nodes we've got a clip into a clip a clip into a clip and now we have a completed workflow all it needs now is input from your imagination so let's use this as an awesome positive prompt click up our Q prompt and see what it generates excellent I now have a rather cool radent we make him a little bit bigger there fantastic stuff so you now want to do something a bit like a high res fix you want most of the nodes that you've already got up there and wired in much the same way not a problem hold down the control key and you can select multiple nodes okay so I've done a little area select there but you can also select the nodes individually press contrl C to copy I'm going to zoom out a little bit and then shift contrl V to paste where my cursor is and now I've got a a new set of nodes there and they're already connected if you don't want them connected just do a plain crl V and that will paste without they're still selected so if I hold the shift key I can also move them around as a group so if I didn't quite paste them in the right place that's not a problem either the other thing you can do is make a little group out of them as well so if you right click anywhere on the canvas add group for selected nodes will give them a little group which makes them even easier to move around and to sort of see what each section does if you made a mistake you can just press contrl Zed and that will undo so say I moved it down there by accident no actually I want it back where it was contrl Zed and that will undo if you if you actually want to undo your undo you can do contrl y and that will redo now that's nearly a highres fix but one thing that's left to do is just change this one noodle because obviously I want the output from that case sampler to go through here okay so let's do that let's add a new latent upscale node there it is got a search bar there so you can just type in words to search for we've got one there latent upscale let's put that in okay so we'll connect that noodle out from there and that new one is going to go into there because I want to do a little upscale I'm going to go all the way up to 1024 for that one if I can type There It Is I've got my upscale latent node in there and one last thing to do here obviously I want the do noise a little bit lower otherwise that's going to just Che Chang the image completely all right let's fire that one off and see if it works will I get a little bit of a latent upscale yes I will there he goes he's got a very nice tie as you can see there's a little bit more detail and obviously that's 512 x 512 that's 1024x 1024 maybe this set of nodes is something you want to do a lot of in which case why not make it a template okay so let's select those three nodes and if I right click anywhere on the template I can select save selected nodes as template I can give it a name there we go let's just give it a name for now and I've now saved those three nodes as a template which I can pop into any workflow at any time just by selecting that node templates and there I've got a name so there I've done it and I've got another set of templates in there as you can see IP adapter basic there you go so it's very handy when you've got one node which takes a particular set of of inputs and it tends to always be the same inputs so that's quite nice and here's another little template I've got no templates prompt everywhere that's very handy just takes the text prompts and prompts things everywhere so that's absolutely fantastic but now I've got loads of nodes everywhere absolutely everywhere and normally to move you need to find a bit of blank canvas but perhaps you can't find a bit of blank canvas because you've tied everything together really neatly and you haven't got any space but that doesn't matter because you can actually press space wherever your cursor is and that will let you move the canvas around so there's no need to find a little bit to click you can just press space and move around whenever you like another thing that some people don't like is all these noodles I mean look at that spaghetti isn't that not very neat at all well there are some things you can do with that for example we got this little Cog over here on the menu and if you scroll down down a bit that will give you link render mode by default it's spline but perhaps you like straight so there are the straight lines in which case there you go now we've got things going straight instead lots of different options in there so pick the one that you prefer chances are you'll want to add some sort of custom node but how do you install them and where do you even find what's available and what about keeping comfy UI up to dat well if you don't already have comfy UI manager installed then now is the time to do it because it will manage all your custom node and updating needs essentially this is the only custom node you'll need to install this way because then the manager will install everything for you so I'm going to go into custom nodes exactly like it says there and then get clone that copy and paste download that restart comfy UI and you have comfy UI manager installed really really easy if you've not yet installed comfy UI normally and so you're using the Microsoft Windows portable do note the instructions for that case where here you'll first have to download and install git for Windows and then download their install manager for portable bat so you can just download that and that will essentially do the git clone command for you scrolling down further other installations are available too there's instructions there for Linux with v EnV and also for collab notebooks with comfy UI manager installed you'll now get this extra button down there manager and share as well click manager and you'll get the comfy UI manager menu here's where you can install custom nodes just click install custom nodes and you'll get a whole bunch of things there as there's lots of nodes I suggest using the search if you're looking for particular things and also note these yellow things things here will give you information about possible conflicts with nodes you've already got installed if you've loaded somebody else's workflow then the install missing custom node button is your friend and along with the update all button being a lifesaver when it comes to keeping all of your custom nodes as well as comfy UI itself up to date now one thing you might have noticed is the little badges on some of my notes like this one says comfy UI IP adapter plus so I know where I got it from how am I getting those little badges well it's in manager there you got badge nickname and there are a few other options you can pick as well talking of handy little options and settings this comfyi custom scripts is another custom node I suggest you install because it's got loads of additional features for example if I go back to that little Cog you'll see a bunch of things in here have a little snake on them and that's all from the custom node and one of the things I absolutely love is this option here always snap to grid Now by default when you're moving a node around you have to hold the shift key to have it snap to grid but with that tick you don't ever have to hold the shift down it always snaps so you can keep everything nice and neatly aligned the other thing you get with that is custom colors which I find really handy you can rightclick on a node there colors and now we've got a custom colors down at the bottom with a palette so you can go absolutely wild and have some brilliantly colored nodes everywhere personally I find colors really really handy not quite sure how I developed a color scheme but now I love coloring stuff in and uh workflows just seem to make sense with colors to me anyway there's a whole bunch of other features that this ads as well so I do suggest going to have a look at the GitHub page for all the extras that you get just with that one custom node some people don't like noodles everywhere and one set of nodes which can really help reduce your noodle load is use everywhere or U nodes this example workflow uses one simple node from that pack anything everywhere three it just connects in the model the clip and the V8 so you've got a little self-contained thing there and anywhere it needs a model clip or VA it automatically connects now you'll see sort of a double circle around some of them that's because anything everywhere is connected to that if you really don't know where things are then that's absolutely fine because you can show U links and then you'll see the noodles that it is hiding one great way to practice is by using workflows from other people people as an example and I've got a ton of them for you for free over on the a very comfy nerd website also if you're a patreon then you'll get bonus workflows too one thing to note if you're using certain models such as the sdxl turbo and stable video diffusion ones uh they do have a slightly different license to previous models as you can see there stability AI non-commercial research community licens agreement uh the main thing there being the new non-commercial Edition now they have released some news that there's going to be a subscription model coming soon so keep your eyes peeled for that should you be feeling creative and ready to start getting your ideas into workflows but haven't yet installed comy UI then do check out this next video
Info
Channel: Nerdy Rodent
Views: 14,764
Rating: undefined out of 5
Keywords: comfyui essentials, ComfyUI basics, How to use ComfyUI, ComfyUI workflow essentials, Creating workflows using comfyui, workflows in comfyui, comfyui tutorial, comfyui howto, comfyui how-to, easy comfyui, basic comfyui, ComfyUI, Comfui, ComfyUI workflows, Stable diffusion, Sdxl, ComfyUI templates, Learn ComfyUI, ComfyUI group nodes, ComfyUI settings, ComfyUI shortcuts
Id: VM9snsuoqBc
Channel Id: undefined
Length: 15min 2sec (902 seconds)
Published: Fri Dec 01 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.