{"id":39743,"date":"2025-07-22T09:01:51","date_gmt":"2025-07-22T01:01:51","guid":{"rendered":"https:\/\/www.1ai.net\/?p=39743"},"modified":"2025-07-19T14:11:21","modified_gmt":"2025-07-19T06:11:21","slug":"comfyui%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b%ef%bc%9a%e9%9b%b6%e5%9f%ba%e7%a1%80%e6%8e%8c%e6%8f%a1ipadapter%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2%ef%bc%8c%e4%ba%ba%e8%84%b8%e6%9b%bf%e6%8d%a2%e3%80%81","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/39743.html","title":{"rendered":"ComfyUI Tutorial: Zero-based mastery of IPAdapter local deployment, face replacement, style imitation rely on it!"},"content":{"rendered":"<p>IPAdapter is a very powerful plugin with three main features:<\/p>\n<p>First is<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e4%ba%ba%e8%84%b8%e6%9b%bf%e6%8d%a2\" title=\"[Sees articles with labels]\" target=\"_blank\" >face replacement<\/a>.<\/p>\n<p>IPAdapter can accurately recognize the facial features of the people in the reference map and introduce the features to the resultant map to achieve the face replacement effect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39744\" title=\"347fb95fj00szmtw300z7d000sf00igm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/347fb95fj00szmtw300z7d000sf00igm.jpg\" alt=\"347fb95fj00szmtw300z7d000sf00igm\" width=\"1023\" height=\"664\" \/><\/p>\n<p>The second is material migration.<\/p>\n<p>In addition to recognizing the facial features of a person, IPAdapter is also able to recognize the material of the reference image and apply it to the resultant image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39745\" title=\"bb620f31j00szmtw300q0d000u000igm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/bb620f31j00szmtw300q0d000u000igm.jpg\" alt=\"bb620f31j00szmtw300q0d000u000igm\" width=\"1080\" height=\"664\" \/><\/p>\n<p>Finally, there is style migration.<\/p>\n<p>IPAdapter, in addition to the above two functions, recognizes the style of the reference graph and migrates the results to the result graph.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39746\" title=\"2784058dj00szmtw301jqd000u000j4m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/2784058dj00szmtw301jqd000u000j4m.jpg\" alt=\"2784058dj00szmtw301jqd000u000j4m\" width=\"1080\" height=\"688\" \/><\/p>\n<p><strong>IPAdapter Local Deployment<\/strong><\/p>\n<p><strong>I. Plug-in Installation<\/strong><\/p>\n<p>If you are using the Autumn Leaves Integration Pack, the IPAdapter_plus plugin is already installed by default, so you don't need to install the plugin again.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39747\" title=\"83f79411j00szmtw1001ad000tl00adm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/83f79411j00szmtw1001ad000tl00adm.jpg\" alt=\"83f79411j00szmtw1001ad000tl00adm\" width=\"1065\" height=\"373\" \/><\/p>\n<p>If you don't have IPAdapter plugin installed locally, you can install it by searching the manager and installing the first \"IPAdapter_plus\".<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39748\" title=\"6e61a8fdj00szmtw1002fd000u0008xm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/6e61a8fdj00szmtw1002fd000u0008xm.jpg\" alt=\"6e61a8fdj00szmtw1002fd000u0008xm\" width=\"1080\" height=\"321\" \/><\/p>\n<p>You can also install it via the github link<\/p>\n<p>https:\/\/github.com\/cubiq\/<a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a>_IPAdapter_plus.git<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39749\" title=\"d4106ba9j00szmtw20052d000u000g6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/d4106ba9j00szmtw20052d000u000g6m.jpg\" alt=\"d4106ba9j00szmtw20052d000u000g6m\" width=\"1080\" height=\"582\" \/><\/p>\n<p>For more plugin installation methods, see the article:<\/p>\n<h4><a href=\"https:\/\/www.1ai.net\/en\/37613.html\/\">AI Painting ComfyUI Getting Started Tutorial, ComfyUI Workflow Custom Node Installation<\/a><\/h4>\n<p><strong>2. Download the model<\/strong><\/p>\n<p>Ipadapter's plugin is better to install, the hard part is the model installation, you must be more careful when installing.<\/p>\n<p>Still open the Ipadapter's github page and scroll down to see the download link for its models, which are divided into 4 main categories.<\/p>\n<p>(https:\/\/github.com\/cubiq\/ComfyUI_IPAdapter_plus.git)<\/p>\n<p>1\u3001Download the visual model, place the path\uff1a\/ComfyUI\/models\/clip_vision<\/p>\n<p>(Note: the name of the downloaded model needs to be renamed to be the same as the name in blue in the picture below)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39750\" title=\"bd6aa5adp00szmtw1000pd000jd0040m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/bd6aa5adp00szmtw1000pd000jd0040m.png\" alt=\"bd6aa5adp00szmtw1000pd000jd0040m\" width=\"697\" height=\"144\" \/><\/p>\n<p>2\u3001Download the basic model, facial model, etc., model placement path: \/ComfyUI\/models\/ipadapter, if there is no ipadapter this folder, create a new one yourself.<\/p>\n<p>(Discarded models may not be downloaded)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39752\" title=\"0bf6a91fj00szmtw1003dd000lv00bnm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/0bf6a91fj00szmtw1003dd000lv00bnm.jpg\" alt=\"0bf6a91fj00szmtw1003dd000lv00bnm\" width=\"787\" height=\"419\" \/><\/p>\n<p>3\u3001Download the basic faceid model, etc., model placement path: \/ComfyUI\/models\/ipadapter<\/p>\n<p>(Discarded models may not be downloaded)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39751\" title=\"aef608a7j00szmtw1002sd000ki009xm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/aef608a7j00szmtw1002sd000ki009xm.jpg\" alt=\"aef608a7j00szmtw1002sd000ki009xm\" width=\"738\" height=\"357\" \/><\/p>\n<p>4\u3001Download the lora model, place the path: \/ComfyUI\/models\/loras<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39753\" title=\"3748a514j00szmtw1001rd000rr005zm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/3748a514j00szmtw1001rd000rr005zm.jpg\" alt=\"3748a514j00szmtw1001rd000rr005zm\" width=\"999\" height=\"215\" \/><\/p>\n<p><strong>III. Simple use of workflows<\/strong><\/p>\n<p>Come to the comfyui_ipadapter_plus plugin directory, find the examples folder, this folder has a lot of sample workflows, load a default workflow.<\/p>\n<p>Key point: the presets in the IPAdapter loader actually represent models with different weights, here we use light, standard, medium, high intensity, etc. to help you understand better.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39754\" title=\"4ab5f59ej00szmtw1000sd000gh008tm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/4ab5f59ej00szmtw1000sd000gh008tm.jpg\" alt=\"4ab5f59ej00szmtw1000sd000gh008tm\" width=\"593\" height=\"317\" \/><\/p>\n<p>Change the preset in \"IPAdapter Loader\" to medium intensity and add a prompt:<\/p>\n<p>Cue word: closeup of a fierce warrior woman wearing a full armor at the end of a battle, high quality, detailed)<\/p>\n<p>Click Generate Image.<\/p>\n<p>The generated images do not follow the cue words, but the style, color, and composition of the generated images are very similar to the reference image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39756\" title=\"6a002b6bj00szmtw200bpd000u000eum\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/6a002b6bj00szmtw200bpd000u000eum.jpg\" alt=\"6a002b6bj00szmtw200bpd000u000eum\" width=\"1080\" height=\"534\" \/><\/p>\n<p>At this point, change the weight type in the \"Apply IPAdapter\" node to \"Prompts are more important\".<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39755\" title=\"0987d859j00szmtw1000rd000c4009rm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/0987d859j00szmtw1000rd000c4009rm.jpg\" alt=\"0987d859j00szmtw1000rd000c4009rm\" width=\"436\" height=\"351\" \/><\/p>\n<p>The images generated now follow the cue word more closely, while the style also takes into account the characteristics of the reference image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39757\" title=\"73a8937ej00szmtw300nyd000u000qtm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/73a8937ej00szmtw300nyd000u000qtm.jpg\" alt=\"73a8937ej00szmtw300nyd000u000qtm\" width=\"1080\" height=\"965\" \/><\/p>\n<p>We then change the weight type to style conversion, which is now the style conversion effect on the reference image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39758\" title=\"d308cf35j00szmtw300fzd000u000jsm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/d308cf35j00szmtw300fzd000u000jsm.jpg\" alt=\"d308cf35j00szmtw300fzd000u000jsm\" width=\"1080\" height=\"712\" \/><\/p>\n<p>Change the \"IPAdapter Loader\" preset to Portrait, and change the \"Apply IPAdapter\" weight type to Cue word is more important, and then load a frontal portrait, and the generated image is following the cue word for the character scene, but the face is Refer to the picture. This realizes face replacement.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39759\" title=\"e618d60cj00szmtw200drd000u000elm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/07\/e618d60cj00szmtw200drd000u000elm.jpg\" alt=\"e618d60cj00szmtw200drd000u000elm\" width=\"1080\" height=\"525\" \/><\/p>\n<p>These are the main points of today's post, which focuses on the installation of the IPAdapter plugin and model, as well as the simple usage of workflows.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ipadapter is a very powerful plugin, which has three main functions: first, the replacement of human faces. IPAdapter is able to identify the facial characteristics of the person in the reference map with precision and introduce this feature to the results map, with a human face replacement effect. The second is material migration. In addition to identifying the facial characteristics of the person, Ipapter is able to identify the material of the reference map and apply it to the results map. Finally, style migration. In addition to the two functions above, IPSASpter identifies the style of the reference diagram and moves the results to the result diagram. IPAdapter local deployment I. Plugin installation If you use the Autumn Leaf Integration Package, the IPdapter_plus plugin is installed by default<\/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":[2217,1989,6276,7225],"collection":[],"class_list":{"0":"post-39743","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","9":"tag-comfyui","11":"tag-7225"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/39743","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=39743"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/39743\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=39743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=39743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=39743"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=39743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}