{"id":20295,"date":"2024-09-20T11:01:16","date_gmt":"2024-09-20T03:01:16","guid":{"rendered":"https:\/\/www.1ai.net\/?p=20295"},"modified":"2024-09-20T11:01:16","modified_gmt":"2024-09-20T03:01:16","slug":"comfyui%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b%ef%bc%8ccomfyui%e6%8f%92%e4%bb%b6%e8%af%a6%e8%a7%a3%e5%92%8c%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85%e8%ae%b2%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/20295.html","title":{"rendered":"ComfyUI tutorials, ComfyUI plug-ins detailed explanation and download and installation of explanation"},"content":{"rendered":"<p>We know.<a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a>As a Stable Diffusion-based<a href=\"https:\/\/www.1ai.net\/en\/tag\/ai%e7%bb%98%e7%94%bb%e5%88%9b%e4%bd%9c%e5%b7%a5%e5%85%b7\" title=\"[SEES ARTICLES WITH LABELS]\" target=\"_blank\" >AI drawing creation tool<\/a>The ComfyUI plug-in provides users with feature-rich and flexible operations. It mainly enables users to customize workflows more precisely by means of node processes, while ComfyUI plug-ins further extend its capabilities to enable users to customize and enhance workflows according to their needs. Today we focus on understanding the ComfyUI plug-in mechanism and how plug-ins are installed.<\/p>\n<p><strong>I.\u00a0<a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui%e6%8f%92%e4%bb%b6\" title=\"[See articles with [CommyUI plugin] labels]\" target=\"_blank\" >ComfyUI Plugin<\/a>machine<\/strong><\/p>\n<p>ComfyUI's plug-ins usually exist in the form of customized nodes that can add new features or enhance existing ones. Users can extend the capability of ComfyUI by installing these plug-ins to meet the needs of different users in different scenarios. For example, adding an image keying plug-in can make it easier for users to deal with image backgrounds; a translation plug-in can help deal with multi-language texts.<\/p>\n<p><strong>What the ComfyUI plugin does<\/strong><\/p>\n<ul>\n<li><strong>enhancement<\/strong>: Break through the limitations of ComfyUI's native functionality to provide more advanced and specialized features. For example, some plug-ins can realize complex image processing algorithms, specific text generation modes and so on.<\/li>\n<li><strong>increase efficiency<\/strong>: Enable users to complete tasks more efficiently by simplifying repetitive operations or providing quicker ways to operate. For example, an automated workflow plug-in can automate a series of pre-defined action steps.<\/li>\n<li><strong>Meeting individualized needs<\/strong>: Different users have different workflows and preferences, and the plug-in allows users to customize the interface and functionality according to their needs, creating a personalized work environment.<\/li>\n<\/ul>\n<p><strong>How to use the ComfyUI plugin<\/strong><\/p>\n<ul>\n<li><strong>nodalized operation<\/strong>: ComfyUI's workflow is node-based. Plugins are integrated into the workflow by adding new nodes. Each node represents a specific function or operation, such as loading a model, processing an image, generating text, and so on.<\/li>\n<li><strong>node connection<\/strong>: Users can connect different nodes to form a workflow through an intuitive interface. Data is passed and processed between nodes in the order of connection. For example, an image loading node connected to an image processing node and then to an image saving node constitutes a simple image processing workflow. New nodes added by the plugin can be interconnected with ComfyUI native nodes as well as nodes of other plugins to realize the combination and extension of functions.<\/li>\n<\/ul>\n<p><strong>II. How to find ComfyUI plugins<\/strong><\/p>\n<p>Generally, the ComfyUI plugins we use can be found on top of github. Scientific internet access is required to access this site.<\/p>\n<blockquote>\n<ul>\n<li>\u200dgithub official website: https:\/\/github.com\/\u200d<\/li>\n<\/ul>\n<\/blockquote>\n<p>\u3010<strong>initial step<\/strong>\u3011: Go to the home page of the official github website<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20296\" title=\"8173e459j00sk3c9i0016d000u000btm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/8173e459j00sk3c9i0016d000u000btm.jpg\" alt=\"8173e459j00sk3c9i0016d000u000btm\" width=\"1080\" height=\"425\" \/><\/p>\n<p><strong>[Step 2]:<\/strong>Enter the keyword \"ComfyUI\" in the search box, and the plugins that come up are basically related to ComfyUI.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20300\" title=\"8e2de61fj00sk3c9i001ld000u000iom\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/8e2de61fj00sk3c9i001ld000u000iom.jpg\" alt=\"8e2de61fj00sk3c9i001ld000u000iom\" width=\"1080\" height=\"672\" \/><\/p>\n<p>We can also sort the results of our search by using github's sorting feature, for example below I have chosen the Most stars (the most stars, which means the user has the most favorites) sort.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20298\" title=\"27295f05j00sk3c9i001jd000u000hcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/27295f05j00sk3c9i001jd000u000hcm.jpg\" alt=\"27295f05j00sk3c9i001jd000u000hcm\" width=\"1080\" height=\"624\" \/><\/p>\n<p><strong>Step 3:<\/strong>Find the right plugin node according to our requirement scenario.<\/p>\n<p>As the 4th plugin ltdrdata\/ComfyUI-Manager in the picture above, see the name, this plugin is ComfyUI Manager. Clicking on it will take you to the main page of the plugin. Generally this page is the plugin's gitlib official home page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20299\" title=\"00c967a3j00sk3c9j003pd000p300x4m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/00c967a3j00sk3c9j003pd000p300x4m.jpg\" alt=\"00c967a3j00sk3c9j003pd000p300x4m\" width=\"903\" height=\"1192\" \/><\/p>\n<p>Many plugins are introduced in English, we can install an immersive translation plugin in our browser, which will automatically do the translation, and it is in English and Chinese.<\/p>\n<p><strong>Highlights:<\/strong>The use of ComfyUI plug-in partners must pay attention to the plug-in page details, generally in this page, will be detailed description of the functionality of the plug-in role, installation methods, precautions, as well as the history of the version and so on. Many plug-in installation problems can be found here to find the corresponding answers.<\/p>\n<p><strong>[Step 4]:<\/strong>Plug-in downloads<\/p>\n<p>There are currently 2 main methods commonly used for plugin downloads.<\/p>\n<p><strong>Method 1: git download<\/strong>, by installing the git tool and using the git clone command to download to the \\ComfyUI\\custom_nodes directory, then restart ComfyUI.<\/p>\n<p><strong>Method 2: Manual<\/strong><strong>Download the plugin zip package.<\/strong>Download the zip package of the plugin manually from the homepage of the gitlib plugin website and unzip it into the \\ComfyUI\\custom_nodes directory, then restart ComfyUI.<\/p>\n<p><strong>emphasize<\/strong>: Regarding the installation of ComfyUI plugins, the above 2 methods are the most commonly used, but some plugins can not be used after installation in the above 2 ways, because many plugin nodes need to install additional dependencies in order to run, and may not be able to do so by relying solely on the dependencies of ComfyUI itself. Therefore, it is recommended to read the instructions on how to install the plugin on the github official page.<\/p>\n<p><strong>III. ComfyUI plugin download<\/strong><\/p>\n<p>Let's focus on demonstrating the download of the ComfyUI plugin. The ComfyUI-Manager plugin is used here as an example. Other plug-ins are installed similarly. As the autumn leaf installation package has been built in the ComfyUI-Manager plug-in, we here to the native ComfyUI installation package to build the ComfyUI environment as an example.<\/p>\n<p><strong>Way 1: Use git to download the plugin<\/strong><\/p>\n<p>\u3010<strong>initial step<\/strong>]: Install the git tool<\/p>\n<blockquote>\n<ul>\n<li>Download the git tool at https:\/\/git-scm.com\/download\/win<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20297\" title=\"1101858cj00sk3c9i001vd000kg00pzm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/1101858cj00sk3c9i001vd000kg00pzm.jpg\" alt=\"1101858cj00sk3c9i001vd000kg00pzm\" width=\"736\" height=\"935\" \/><\/p>\n<p>Everyone in accordance with the configuration of their computer to download the installation file, the general computer is 64-bit, in accordance with the arrow in the picture above to download the file, download is an exe file, click on the installation in accordance with the prompts to install can be, relatively simple, there is no particular complexity of the place.<\/p>\n<p>\u3010<strong>second step<\/strong>]: Check if git is installed successfully<\/p>\n<p>Open a command prompt window and type in the git command. The following figure shows the successful installation of git.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20301\" title=\"07e5f555j00sk3c9i0023d000hk00dvm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/07e5f555j00sk3c9i0023d000hk00dvm.jpg\" alt=\"07e5f555j00sk3c9i0023d000hk00dvm\" width=\"632\" height=\"499\" \/><\/p>\n<p>\u3010<strong>third step<\/strong>]: Download of nodes<\/p>\n<p>Open a command prompt window in the \\ComfyUI\\custom_nodes directory. Use the following command<\/p>\n<blockquote>\n<ul>\n<li>git clone https:\/\/github.com\/ltdrdata\/ComfyUI-Manager.git<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20304\" title=\"76231597j00sk3c9i000nd000qx005gm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/76231597j00sk3c9i000nd000qx005gm.jpg\" alt=\"76231597j00sk3c9i000nd000qx005gm\" width=\"969\" height=\"196\" \/><\/p>\n<p>There will be an extra folder ComfyUI-Manager in the \\ComfyUI\\custom_nodes directory after the download is complete.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20302\" title=\"e20e4bfaj00sk3c9i000dd000hy0038m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/e20e4bfaj00sk3c9i000dd000hy0038m.jpg\" alt=\"e20e4bfaj00sk3c9i000dd000hy0038m\" width=\"646\" height=\"116\" \/><\/p>\n<p>Related notes: (1) Regarding the git address of the plugin, we can get it from the github plugin homepage.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20305\" title=\"c54e8b41j00sk3c9i001dd000u000b5m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/c54e8b41j00sk3c9i001dd000u000b5m.jpg\" alt=\"c54e8b41j00sk3c9i001dd000u000b5m\" width=\"1080\" height=\"401\" \/><\/p>\n<p>(2) Command format for git download plugin:<strong>git clone url address<\/strong><\/p>\n<p>\u3010<strong>fourth step<\/strong>]: restart ComfyUI.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20303\" title=\"189961dcj00sk3c9i0022d000u000brm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/189961dcj00sk3c9i0022d000u000brm.jpg\" alt=\"189961dcj00sk3c9i0022d000u000brm\" width=\"1080\" height=\"423\" \/><\/p>\n<p>In the ComfyUI Launch Console, we can see that the ComfyUI-Manager plugin installs dependencies automatically.<\/p>\n<p>\u3010<strong>Step 5<\/strong>] Entering the operation interface of ComfyUI<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20308\" title=\"045b021aj00sk3c9i000pd000u000a8m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/045b021aj00sk3c9i000pd000u000a8m.jpg\" alt=\"045b021aj00sk3c9i000pd000u000a8m\" width=\"1080\" height=\"368\" \/><\/p>\n<p>We can see that there is a Manager option inside the function menu on the right side. It means that our plugin has been installed successfully, click on the Manager option button, you can see the functional interface of the plugin manager. About this interface later we will introduce in detail, here will not expand.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20306\" title=\"c05a8e91j00sk3c9i000ud000u0009bm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/c05a8e91j00sk3c9i000ud000u0009bm.jpg\" alt=\"c05a8e91j00sk3c9i000ud000u0009bm\" width=\"1080\" height=\"335\" \/><\/p>\n<p><strong>Way 2: Manually download the plugin zip package<\/strong><\/p>\n<p><strong>[First step]:<\/strong>Download the zip installer from the github plugin homepage<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20307\" title=\"faba80f4j00sk3c9i001pd000pt00hum\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/faba80f4j00sk3c9i001pd000pt00hum.jpg\" alt=\"faba80f4j00sk3c9i001pd000pt00hum\" width=\"929\" height=\"642\" \/><\/p>\n<p><strong>[Step 2]<\/strong>Unzip the zip package and place it under the \\ComfyUI\\custom_nodes directory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20309\" title=\"31c86747j00sk3c9i000nd000eg00e0m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/31c86747j00sk3c9i000nd000eg00e0m.jpg\" alt=\"31c86747j00sk3c9i000nd000eg00e0m\" width=\"520\" height=\"504\" \/><\/p>\n<p>Be careful to place the files according to the directory above and never have nested folders.<\/p>\n<p>\u3010<strong>third step<\/strong>]: restart ComfyUI.<\/p>\n<p>The latter steps are equivalent to Mode 1 above and will not be repeated here.<\/p>\n<p>About ComfyUI plugin manager will be explained separately later, interested partners can keep attention.<\/p>\n<p>Okay, that\u2019s all for today\u2019s sharing. I hope that what I shared today will be helpful to you.<\/p>","protected":false},"excerpt":{"rendered":"<p>As we know, ComfyUI, as a Stable Diffusion-based AI painting creation tool, provides users with feature-rich and flexible operations. It mainly enables users to customize their workflow more precisely by means of node flow, while ComfyUI plug-ins further extend its capability to enable users to customize and enhance their workflow according to their needs. Today we focus on understanding the ComfyUI plug-in mechanism and how the plug-in is installed. I. ComfyUI Plug-in Mechanism ComfyUI plug-ins usually exist in the form of custom nodes, which can add new functionality or enhance existing functionality. Users can install these plug-ins to extend the capabilities of ComfyUI to meet different needs.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[4402,1989,4401],"collection":[],"class_list":["post-20295","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-ai","tag-comfyui"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/20295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=20295"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/20295\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=20295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=20295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=20295"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=20295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}