{"id":19571,"date":"2024-09-08T11:50:40","date_gmt":"2024-09-08T03:50:40","guid":{"rendered":"https:\/\/www.1ai.net\/?p=19571"},"modified":"2024-09-08T11:50:40","modified_gmt":"2024-09-08T03:50:40","slug":"%e5%ae%89%e8%a3%85comfyui%e7%9c%8b%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%8c%e8%bf%99%e5%a5%97%e6%95%99%e7%a8%8b%e8%af%a6%e7%bb%86%e4%bb%8b%e7%bb%8d%e6%9c%ac%e5%9c%b0%e6%90%ad","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/19571.html","title":{"rendered":"It is enough to read this article to install comfyui. This tutorial introduces the local installation of ComfyUI in detail."},"content":{"rendered":"<p>I have shared with you before<a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a>The native installation package builds the ComfyUI environment locally.<\/p>\n<p><a href=\"https:\/\/www.1ai.net\/en\/18978.html\/\">ComfyUI [Basics]: A ComfyUI installation tutorial that even a novice can learn (native version installation package)<\/a><\/p>\n<p>Today I will share with you another way to build the ComfyUI environment locally: using Qiuye&#039;s installation package.<\/p>\n<p><strong>1. Qiuye&#039;s installation package<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e5%ae%89%e8%a3%85%e6%95%99%e7%a8%8b\" title=\"[Sees articles with tags]\" target=\"_blank\" >Installation Tutorial<\/a><\/strong><\/p>\n<blockquote>\n<ul>\n<li>Qiuye installation package entrance: https:\/\/www.bilibili.com\/read\/cv31254871\/<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19572\" title=\"88156394j00sjh6h9001jd000j5006fm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/88156394j00sjh6h9001jd000j5006fm.jpg\" alt=\"88156394j00sjh6h9001jd000j5006fm\" width=\"689\" height=\"231\" \/><\/p>\n<p>We get the installation package from the network disk address in the above picture: https:\/\/pan.quark.cn\/s\/64b808baa960.<\/p>\n<p>Below we will provide a detailed step-by-step description on how to install using Qiuye&#039;s installation package.<\/p>\n<p>\u3010<strong>Step 1<\/strong>\u3011Download the relevant files in the installation package of Qiuye Da Lao to your local computer, and focus on downloading the following two files to your local computer. The latest version is V1.4.7.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19573\" title=\"43ffa667j00sjh6h9000ld000u000aim\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/43ffa667j00sjh6h9000ld000u000aim.jpg\" alt=\"43ffa667j00sjh6h9000ld000u000aim\" width=\"1080\" height=\"378\" \/><\/p>\n<p>\u3010<strong>Step 2<\/strong>\u3011Unzip the ComfyUI-aki-v1.4.7z file to your local computer. The unzipped folder is ComfyUI-aki-v1.4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19574\" title=\"f94a69f1j00sjh6h90003d000ae001jm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/f94a69f1j00sjh6h90003d000ae001jm.jpg\" alt=\"f94a69f1j00sjh6h90003d000ae001jm\" width=\"374\" height=\"55\" \/><\/p>\n<p><strong>\u3010Step 3\u3011Download the model<\/strong><\/p>\n<p>Commonly used model download websites:<\/p>\n<blockquote>\n<ul>\n<li><strong>Domestic LiblibAI:<\/strong>https:\/\/www.liblib.art\/<\/li>\n<li><strong>Foreign C Station:<\/strong>https:\/\/civitai.com (requires scientific Internet access)<\/li>\n<li><strong>Foreign Huggingface:<\/strong>\u00a0https:\/\/huggingface.co\/ (requires scientific Internet access)<\/li>\n<\/ul>\n<\/blockquote>\n<p>We put the downloaded model into the corresponding directory:<\/p>\n<ul>\n<li><strong>Large Model<\/strong>:\\ComfyUI-aki-v1.4\\models\\checkpoints<\/li>\n<li><strong>Loar Model<\/strong>:\\ComfyUI-aki-v1.4\\models\\loras<\/li>\n<li><strong>VAE Model<\/strong>:\\ComfyUI-aki-v1.4\\models\\vae<\/li>\n<li><strong>embeddings<\/strong>:\\ComfyUI-aki-v1.4\\models\\embeddings<\/li>\n<li><strong>ControlNet<\/strong>:\\ComfyUI-aki-v1.4\\models\\controlnet<\/li>\n<li><strong>Clip Node<\/strong>:\\ComfyUI-aki-v1.4I\\models\\clip<\/li>\n<li><strong>Unet Node<\/strong>:\\ComfyUI-aki-v1.4\\models\\unet<\/li>\n<\/ul>\n<p><strong>Here we take the most commonly used large model majicMIX realistic as an example<\/strong><\/p>\n<blockquote>\n<ul>\n<li>LiblibAI: https:\/\/www.liblib.art\/modelinfo<\/li>\n<li>\/bced6d7ec1460ac7b923fc5bc95c4540<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19576\" title=\"2015d03cj00sjh6h90021d000u000jrm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/2015d03cj00sjh6h90021d000u000jrm.jpg\" alt=\"2015d03cj00sjh6h90021d000u000jrm\" width=\"1080\" height=\"711\" \/><\/p>\n<p>Download it locally and place it in \\ComfyUI-aki-v1.4\\models<\/p>\n<p>\\checkpoints directory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19575\" title=\"9a645bdaj00sjh6h90007d000c80028m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/9a645bdaj00sjh6h90007d000c80028m.jpg\" alt=\"9a645bdaj00sjh6h90007d000c80028m\" width=\"440\" height=\"80\" \/><\/p>\n<p><strong>\u3010Step 4\u3011<\/strong>Enter the ComfyUI-aki-v1.4 directory. There is a file called &quot;AI\u7ed8\u4e16\u5f00\u5668.exe&quot; under the directory. Just click it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19577\" title=\"83e0602ej00sjh6h90017d000c400gsm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/83e0602ej00sjh6h90017d000c400gsm.jpg\" alt=\"83e0602ej00sjh6h90017d000c400gsm\" width=\"436\" height=\"604\" \/><\/p>\n<p>A progress box for launching the application will appear in the middle. Just wait for the installation to complete, and finally you will enter the &quot;HuiShi&quot; one-click startup interface.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19578\" title=\"02d0f675j00sjh6h9001id000u000irm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/02d0f675j00sjh6h9001id000u000irm.jpg\" alt=\"02d0f675j00sjh6h9001id000u000irm\" width=\"1080\" height=\"675\" \/><\/p>\n<p>\u3010<strong>Step 5<\/strong>\u3011Click the &quot;One-click start&quot; button in the picture above, and you will see the startup progress in the console interface below. Please wait patiently until you see the ComfyUI address information in the console.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19579\" title=\"cc0e2899j00sjh6h9002nd000r300gem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/cc0e2899j00sjh6h9002nd000r300gem.jpg\" alt=\"cc0e2899j00sjh6h9002nd000r300gem\" width=\"975\" height=\"590\" \/><\/p>\n<p>At this time, a ComfyUI management interface will automatically open in the browser. If it is not open, directly enter http:\/\/127.0.0.1:8188 in the browser.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19580\" title=\"cdb9cb5dj00sjh6h9000yd000u000d6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/cdb9cb5dj00sjh6h9000yd000u000d6m.jpg\" alt=\"cdb9cb5dj00sjh6h9000yd000u000d6m\" width=\"1080\" height=\"474\" \/><\/p>\n<p><strong>\u3010Step 6\u3011Image generation<\/strong><\/p>\n<p>We enter a hint, adjust the parameters set, click on the Queue Prompt button, and you can generate a picture\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19581\" title=\"12fe04ddj00sjh6h90012d000u000g1m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/12fe04ddj00sjh6h90012d000u000g1m.jpg\" alt=\"12fe04ddj00sjh6h90012d000u000g1m\" width=\"1080\" height=\"577\" \/><\/p>\n<p>In the console we can see the progress information of image generation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19582\" title=\"f9f816eej00sjh6h90009d000u0002km\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/f9f816eej00sjh6h90009d000u0002km.jpg\" alt=\"f9f816eej00sjh6h90009d000u0002km\" width=\"1080\" height=\"92\" \/><\/p>\n<p>At this point, the construction of the ComfyUI environment using Qiuye&#039;s installation package is basically completed.<\/p>\n<p><strong>2. Description of ComfyUI startup error related issues<\/strong><\/p>\n<p>\u3010<strong>Error 1<\/strong>\u3011\uff1a<strong>AnimateDiff plugin<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19583\" title=\"bff43b0cj00sjh6h90009d000u0001fm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/bff43b0cj00sjh6h90009d000u0001fm.jpg\" alt=\"bff43b0cj00sjh6h90009d000u0001fm\" width=\"1080\" height=\"51\" \/><\/p>\n<p><strong>reason:<\/strong>The AnimateDiff plug-in is a plug-in for generating GIF animations. The model required by the AnimateDiff plug-in is not found. This error has no effect on our use of ComfyUI unless the AnimateDiff plug-in is needed.<\/p>\n<p><strong>Solution 1:<\/strong>Download the relevant model from the website https:\/\/github.com\/Kosinkadink\/ComfyUI-AnimateDiff-Evolved<\/p>\n<p>Place the model (for example: mm_sd_v15_v2) in one of the following locations:<\/p>\n<ul>\n<li>ComfyUI\/custom_nodes\/ComfyUI-AnimateDiff-Evolved\/models<\/li>\n<li>ComfyUI\/models\/animatediff_models<\/li>\n<\/ul>\n<p>Place the Motion LoRA model in one of the following locations:<\/p>\n<ul>\n<li>ComfyUI\/custom_nodes\/ComfyUI-AnimateDiff-Evolved\/motion_lora<\/li>\n<li>ComfyUI\/models\/animatediff_motion_lora<\/li>\n<\/ul>\n<p><strong>Solution 2:<\/strong>In the ComfyUI-aki-v1.4\\custom_nodes directory, directly delete the plug-in ComfyUI-AnimateDiff-Evolved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19584\" title=\"5d5f94d2j00sjh6h9001ad000b000inm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/5d5f94d2j00sjh6h9001ad000b000inm.jpg\" alt=\"5d5f94d2j00sjh6h9001ad000b000inm\" width=\"396\" height=\"671\" \/><\/p>\n<p>\u3010<strong>Error 2<\/strong>\u3011\uff1a<strong>getaddrinfo failed<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19585\" title=\"e07131a2j00sjh6h9001td000t900a4m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/e07131a2j00sjh6h9001td000t900a4m.jpg\" alt=\"e07131a2j00sjh6h9001td000t900a4m\" width=\"1053\" height=\"364\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19586\" title=\"e610297cj00sjh6h90033d000u000hum\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/e610297cj00sjh6h90033d000u000hum.jpg\" alt=\"e610297cj00sjh6h90033d000u000hum\" width=\"1080\" height=\"642\" \/><\/p>\n<p><strong>reason<\/strong>\uff1aCannot connect to host raw.githubusercontent.com:443, which means that the address raw.githubusercontent.com cannot be accessed. Let&#039;s verify it.<\/p>\n<p>Use cmd to open the command line.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19587\" title=\"91174113j00sjh6h9000gd000fn0038m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/91174113j00sjh6h9000gd000fn0038m.jpg\" alt=\"91174113j00sjh6h9000gd000fn0038m\" width=\"563\" height=\"116\" \/><\/p>\n<p>The dns domain name resolution cannot find this host.<\/p>\n<p><strong>Processing<\/strong>:<\/p>\n<p>You can find the IP address that can be used for this domain name through the link below.<\/p>\n<blockquote>\n<ul>\n<li>https:\/\/www.ipaddress.com\/website\/raw.githubusercontent.com\/<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19588\" title=\"07a0e91fj00sjh6h9001yd000u000dmm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/07a0e91fj00sjh6h9001yd000u000dmm.jpg\" alt=\"07a0e91fj00sjh6h9001yd000u000dmm\" width=\"1080\" height=\"490\" \/><\/p>\n<p>In the middle of the page we can see the available IP addresses.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19589\" title=\"de470d3fj00sjh6h9000ed000ay006rm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/de470d3fj00sjh6h9000ed000ay006rm.jpg\" alt=\"de470d3fj00sjh6h9000ed000ay006rm\" width=\"394\" height=\"243\" \/><\/p>\n<p>Let&#039;s verify whether these IP addresses are available. Here we take 185.199.108.133 as an example.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19590\" title=\"aad8d1c2j00sjh6h9000td000ct005mm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/aad8d1c2j00sjh6h9000td000ct005mm.jpg\" alt=\"aad8d1c2j00sjh6h9000td000ct005mm\" width=\"461\" height=\"202\" \/><\/p>\n<p>It can be accessed. The next step is to modify the local hosts file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19591\" title=\"d6264ac3j00sjh6h90006d0006f0044m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/d6264ac3j00sjh6h90006d0006f0044m.jpg\" alt=\"d6264ac3j00sjh6h90006d0006f0044m\" width=\"231\" height=\"148\" \/><\/p>\n<p>Open the file and add a line of information.<\/p>\n<blockquote>\n<ul>\n<li>185.199.108.133 raw.githubusercontent.com<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19592\" title=\"3882a6d4j00sjh6h9001gd000i500anm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/3882a6d4j00sjh6h9001gd000i500anm.jpg\" alt=\"3882a6d4j00sjh6h9001gd000i500anm\" width=\"653\" height=\"383\" \/><\/p>\n<p>Restart ComfyUI and the console interface will not report errors.<\/p>\n<p>Okay, that\u2019s all for today\u2019s sharing. I hope that what I shared today will be helpful to you.<\/p>\n<p>The model and workflow are placed in the network disk, and those who are interested can take them!<\/p>\n<p>https:\/\/pan.quark.cn\/s\/b3df771404e2<\/p>","protected":false},"excerpt":{"rendered":"<p>Previously, I shared with you the use of ComfyUI native installer to build ComfyUI environment locally. ComfyUI [Basic]: ComfyUI installation tutorial (native version of the installation package) Today we share with you another way to build ComfyUI environment locally: using the installation package of the big brother of the autumn leaves. I. Autumn Leaf Big Brother's Installer Installation Tutorial Autumn Leaf Installer Entry: https:\/\/www.bilibili.com\/read\/cv31254871\/ We start from the web address in the picture above: https:\/\/pan.quark.cn\/s\/64b808baa960\u83b7\u53d6\u5b89\u88c5\u5305. Below is a tutorial on how to install the package using Akiba Daigou.<\/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":[1989,1138],"collection":[],"class_list":["post-19571","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-comfyui","tag-1138"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/19571","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=19571"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/19571\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=19571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=19571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=19571"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=19571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}