ComfyUI workflow management Tips | Buses , Routes and Efficiency Nodes

How to · Beginner ·🎨 Image & Video AI ·2y ago

Key Takeaways

The video demonstrates the use of ComfyUI for workflow management in image AI tasks, showcasing tools such as workspace manager, efficiency nodes, and custom nodes to organize complex workflows. It highlights the importance of efficient workflow management using buses, routes, and efficiency nodes for better organization and productivity.

Full Transcript

hello this video is about organization of confi workflows as you might have seen confi workflows can become very Missy with many lines that are not clear where they came from it will include notes about confi workspace manager efficiency nodes template usage not Source name display organizing complex workflows using routs and buses or pipes now it's possible to have a workspace management using by going to the manager and install custom nodes now it's possible to look up for workspace just search workspace you can see 11 Cafe here now this workspace manager can be installed now installing this workspace manager gives us a way to manage our workspace such as workflows which is really useful it can be a useful thing here now if you come to the page here it shows you examples of how this workspace management works which allows us to have better organization of kyui now once we are complete we can do a restart okay now this will close comy so now after we install this extension we get buttons up here which allows us to manage the workspace for example we can check here that we can create folders We can rename these folders such as video to video okay video to video for instance text to image Etc so we can create a new workspace or new workflow and you need organizing organizing under folders we can check the settings from this location and change the folder location Etc okay by clicking edit now the point is that now now we can create new workflows such as this this one is called okay we can give it a name for example test test one Etc and this this test for example we can put it drag and drop it here and we have better organization of our workflows so when we create a new workflows for example if we add another okay note whatever so the point is I just want to show you that we can actually open this workflow by double clicking it or drag it for example if we drag this workflow okay so this becomes like a preset so I can add this workflow into an existing workflow okay so if we quick click here we just drag it and we get another set of of blocks so this is this is this is a good way to manage workflows and use existing existing workflows now we can also connect uh we can connect multiple nodes for for example if we SE choose click this one and this one and empty latent for example and vot checkpoint we can convert them into a group note now this group one for instance okay so this becomes like uh combining multiple combining multiple nodes into the same group now if we create a group node as well for example here add a group now group one for instance okay and we made this group once it touches these two group these uh two no now we can see that that it tracks the movement of the group now if we click right Mouse click and we can fit group two notes so it automatically fits into the nod okay we can see that it has added this one as well okay we can remove it like this now there is something called efficiency nodes now efficiency nod tries to combine multiple no at the same time now there are some uh nodes that we can use which are called efficiency noes as well from inst custom nodes we just SE for efficiency for example we can use this this set now if we check the web page here we can see examples which basically Prov provides something similar slightly similar to automatic 111 which combines multiple uh which combines multiple uh inputs and outputs in the same in the same log okay now if we try to install this one okay we can uh we can also check there are XY Z plots we check here double click we can see many examples that we can download and use in our own workspaces we can see here that we just have like a looger the unit or a Cas sampler then the high resolution fix which are similar slightly similar to automatic 111 now if we download this to our computer for example okay save as just click save as and then load the high resolution fix for example this one we need to install I have installed it already Okay and we can drag and drop the workflow down this location we can see that efficient loader basically contains all the information regarding loading of a model conditioning positive and negative and other stuff it's also very useful to have clip skip as well because some enemy models are trained based on clip skip of two some realistic models or other models are train trained on clip skip one so this is very useful to have this value minus one or minus two now this is efficiency loader this is like the unit and this becomes like the high resolution fix which is a setable checkpoint okay let's B VI now we press control enter to run the example now uh this provides a preview as well just like automatically 111 okay we can disable this preview by checking none here preview method so we will not get this preview mode now initially it will display the initial image then it will do the highr fix and try to improve the quality of the image so this is just like if you want to have something similar okay but by using this method we might have less control and we it might not be the best option okay so we can see check open image we can see this is our image we can save it and use it if we like this image for example now uh it's possible also to use multiple control Nets at the same time for example using a a single modde such as such as CR conf multi control net multi multi control net stack okay so this just provides us with something like having multiple controls at the same time but we need to Prov to use the images is okay now this images can be load image which are pre- processed images or can be a pre-processed image for example we can use it a c pre-processor and have this image pre-processed then fed to the control net okay so this becomes like a multiple control net stack we can click here if we want to duplicate it just click alt and it will have another copy we can have open p for example open p preprocessor and use it for the second control net so this is like multiple control control net Stacks Some people prefer to use multiple these Stacks because they look neater or similar on the work Flor now this is the default workflow now sometimes we might build something and we want to save this as a preset so that I don't need to build it every time for example if I'm I'm creating a control net loger which consists of control net apply control net Advan for instance apply control net Advanced we have an image a load image we might also have a pre-processor cany for example cany Ed pre-processor image image okay now we can see say that this is like a control n Group which could be used in uh so many in other workflows okay and now I explained before that we can actually save it as a workflow just this one save it as a workflow and drag and drop it here we can also save this as a reset by clicking all these we can click control and drag like this to select all of them now if we want to save this as a template or a reset we can also a right Mouse click at this location and save as a template for example we can say it control net example one now the next time I want this to be used elsewhere we just come here and use note templates and use control net example one so we get we can have it in multiple locations so if we have have another workflow this is the default one we just want to use it the control net because it's used so so many often okay we can use it like this now it's very useful to know if a certain note belongs to a certain library for example uh if I have a control net okay multi multi control net for example this one and I want to know which Library does this belong to we can come to manager and tell a badge on so we can see that now we have a uh it says that this comes from the conf studio now this this means that these are core packages part of the confy UI now there's something called lock as well I think this comes from by by bython go library now this locking means that we cannot move this anymore until unless we unlock it now regarding organization of the workflow it's is very important and very useful to actually use U use roots for example now we can see here for instance that the lines are going underneath the not so we don't know where this comes from so this can become very complicated when the workflow grows so it's very it's very useful to have something called The Roots as I explained previous video okay so this becomes like a root so uh the clip for instance we can also uh reroute it and organize it like this so that's for example anything related to V anything related to V would become uh like a bus something called a bus for instance okay so if I want to use the vi in this location we can come here and create another rout and add this if I want to use the vi once again in another location we add another rout for instance and use it in another location so these are called like POS okay I think they are very useful for organizing the workflows okay initially it can be slightly confusing but it's very important for organization of complicated workflows now there's something also called for example here in this example okay if I want to create okay let's delete this one now I want to let's delete this one as well for example if I want to create an upscaler L upscale or like a higher is fix let's L upscale by okay and I want to have this into another pass for example to another case sampler which will do a second pass using for example okay now let's assume that we are using here ER a ancestral okay er a it doesn't really matter that much okay the first pass is 20 the second pass is for example is 15 or 10 okay and we want to have like higher fix so we would reduce the UN level down to 50% now after this location we want to decode and display the image so preview the image now in this location we can also now before the upscale we can also decode and display the image preview the image so the point here that we have V here we have V here we have the same model so if we want to drag this line down to this location once again so the lines go underneath each other so this is not a good organization this is not a good organization at all so we use something like the roots or like the buses like I've said before okay so this can be slightly clearer in this in this methodology okay now the same applies for uh for the positive prompt and negative prompt now because we might have many things such as model positive proms negative proms we can use something called AOS now AOS there are multiple notes for AOS for example such as the post node it tell us this is from W no suit the purpose of this post is just an organizational matter so for example if we have a very large workflow so we can for example press alt and drag to this location and we can have uh instead of moving each each individual line we can move the entire bus like this now there's another bus called for example uh from basic pipe pipe now from basic pipe it's just like just like a different methodology of doing the same thing so it's not really that important okay something called or two basic P two basic P so this becomes like a connection from and to but I think that the Ws are more useful because we can have the bu like this and we can have like get nodes from this location at the same time so this looks more useful in this methodology and we just like a line now over time we can actually we can also reduce this like this here okay for example here I want the model okay so instead of of using this individual stuff here we can use clip we can use V okay and remove this one we can also use the positive positive prompt and negative prompt for example because we might use the same thing over and over again so we can in this in this case we can have organized this in a different way so by this location we have all the information that we need in this location okay and becomes just a m a matter of organization so we don't need these things anymore these roots they become just an excessive something extra so now I want the model we just drag it to this location we don't want to have interconnections Crossing in the connections okay we drag the positive drag the negative and we have our stuff here we can have a plus for a root for this one now once we are done we can come to this location for example and have this from the V for instance come once again and use the model the same model the same positive prompt we can use another another prompt we might continue using the same model the same information so if we have a plus or a root system that would be uh much much better and much easier okay so we can see for example this is the image so the point is just that this is an organizational matter that we can use for example we can use Roots instead of the buses and use re Roots by clicking alt we can have we can control okay control c contrl v so we can have these things like buses was just to pass information from one location to another so this is just an organizational matter nothing more so this help helps us to produce more modular more modular workflows on the long run now one last thing uh we notice here that we have different color for example the model usually have this color the clip have like a yellow something here like an orange color for example for the V so usually for example initially we don't have a color for the roots for example if we have a clip we can see that the color will change and becomes like yellow this helps us to recognize what this color what this node is without knowing where it came from just based on colors for example if I drag this to V we change the color will change this location okay so the positive prompt for instance we know that this is conditioning this is an orange color this is more like redish the orange color is more like conditioning conditioning could be positive or negative so this helps us to recognize what this is exactly so this is it about this video I hope this video was useful and uh have a good day

Original Description

This video includes tips about organization of CompfyUI workflows, as they can become very messy. CompfyUI is probably the most powerful tool for Stable diffusion workflows with infinite possibilities. Video will include notes about: 00:00:23 Comfyui workspace manager to organize workflow files 00:02:26 Combining Nodes & Groups 00:03:15 Efficiency Nodes 00:05:57 MultiControl Net Stack 00:07:10 Templates 00:08:40 how to display node names origin 00:09:27 Organizing workflow using Routes 00:12:32 Organization using Buses and Pipes check ComfyUI beginners Guide at https://youtu.be/p_lKJSUNV_0 efficiency nodes: https://github.com/LucianoCirino/efficiency-nodes-comfyui/tree/v2.0 workflow space manager: https://github.com/11cafe/comfyui-workspace-manager WAS Node suite https://github.com/WASasquatch/was-node-suite-comfyui
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

This video teaches how to use ComfyUI for efficient workflow management in image AI tasks, covering topics such as organization of complex workflows, use of efficiency nodes, and design of control nets. By following the steps outlined in the video, viewers can improve their workflow management skills and increase productivity. The video is particularly useful for beginners in image AI who want to learn how to use ComfyUI for workflow management.

Key Takeaways
  1. Install custom nodes for workspace management
  2. Create folders and rename them for better organization
  3. Use efficiency nodes to combine multiple nodes at the same time
  4. Download and install custom nodes from the web page
  5. Drag and drop workflow to location
  6. Run example by pressing control enter
  7. Disable preview by checking none
  8. Save image and use it
  9. Duplicate control net by clicking alt
  10. Use buses to pass information between locations
💡 The use of buses, routes, and efficiency nodes in ComfyUI can significantly improve workflow management and productivity in image AI tasks.

Related Reads

📰
The Best Free AI Image Generators Better Than ChatGPT and Gemini
Discover free AI image generators that outperform ChatGPT and Gemini for specific workflows, offering superior photorealism and graphic design capabilities
Dev.to AI
📰
50+ Sequential Images, One Prompt in Codex
Learn to generate sequential images with Codex using a single prompt and understand the limitations of this approach
Medium · ChatGPT
📰
How can I batch-generate 3D assets from prompts or images using an API, and which 3D generation APIs support batch generation?
Learn to batch-generate 3D assets from prompts or images using APIs for efficient pipeline creation
Reddit r/artificial
📰
How AI Head Swap Works: The Technology Behind Realistic AI Image Replacement
Learn how AI head swap technology works and its applications in image editing
Dev.to AI

Chapters (8)

0:23 Comfyui workspace manager to organize workflow files
2:26 Combining Nodes & Groups
3:15 Efficiency Nodes
5:57 MultiControl Net Stack
7:10 Templates
8:40 how to display node names origin
9:27 Organizing workflow using Routes
12:32 Organization using Buses and Pipes
Up next
Sora Shutdown! Best AI Video Replacements Right Now
LoverFighterWriter
Watch →