Ultimate Guide to IPAdapter on comfyUI

Endangered AI
14 Apr 202430:52

TLDRThe video offers an in-depth tutorial on using the updated IPAdapter in Comfy UI, created by Mato. It covers installation, basic workflow, and advanced techniques like daisy-chaining and weight types for image adaptation. The host also shares tips on using attention masks and style transfer for creative outputs, inviting viewers to explore and experiment with the versatile IPAdapter features.


  • 😀 The video discusses a major update to the IPAdapter in Comfy UI by Mato, also known as Laton Vision.
  • 🔧 It provides a step-by-step guide on how to install the new nodes and models for IPAdapter in Comfy UI.
  • 📁 The installation process involves using the Comfy UI manager, downloading models from a GitHub repository, and ensuring correct file naming and placement.
  • 💻 Viewers are instructed to uninstall previous versions and restart to update the necessary nodes properly.
  • 🌐 A URL is provided in the description for downloading the models needed for the IPAdapter.
  • 📚 The video mentions the need for additional components like 'inside face' for some face IP adapters and how to install them via 'requirements.txt'.
  • 🎨 The workflow for using the IPAdapter has been simplified with the introduction of a unified loader and IP adapter node.
  • 🔄 The video covers advanced techniques such as daisy-chaining IP adapters and using attention masks to focus the model on specific areas of the image.
  • 🖌️ It explains different 'weight types' that can be used to control how the reference image influences the model during the generation process.
  • 👕 An example is given on how to transfer the style of an article of clothing onto a new image using the IPAdapter.
  • 🎭 The script concludes with creative uses of attention masks and style transfer weight types to apply multiple styles to different parts of an image.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is the Ultimate Guide to using the IPAdapter on ComfyUI, including a massive update and new features.

  • Who is Mato and what is his contribution to the IPAdapter on ComfyUI?

    -Mato, also known as Laton Vision, is the creator of the ComfyUI IP adapter node collection. He released a significant update to the IP adapter's usage in ComfyUI and provided tutorial videos.

  • What should one do if they already have the IPAdapter installed?

    -If someone already has the IPAdapter installed, it is suggested to uninstall it, restart, and then reinstall it to ensure all necessary nodes are updated correctly.

  • Where can viewers find the models required for the IPAdapter?

    -The models required for the IPAdapter can be found on the GitHub page provided in the description section of the video.

  • What is the purpose of the unified loader in the IPAdapter workflow?

    -The unified loader simplifies the process of getting started with the IPAdapter by accepting the model from the checkpoint loader and outputting it to the IP adapter node along with the reference image.

  • What is the role of the IPAdapter Advanced node in the workflow?

    -The IPAdapter Advanced node provides more control over how the models are used and how the reference image is applied, including the ability to accept an image negative and select different weight types.

  • What is the significance of the weight types in the IPAdapter Advanced node?

    -Weight types determine how the reference image is applied to the model throughout the process, with options like linear, ease in, ease out, and others affecting the conditioning strength at different stages of the model.

  • What is the purpose of the 'prep image for clip Vision' step?

    -The 'prep image for clip Vision' step is used to ensure that the image is cropped into a square and uses an interpolation method that is beneficial for the IP adapter, even if the original image is already square.

  • How can attention masks be used in the IPAdapter workflow?

    -Attention masks can be used to focus the IP adapter on specific areas of the reference image or to remove distracting elements, thus influencing the model's focus and conditioning.

  • What is the benefit of using the 'style transfer' weight type in the IPAdapter Advanced node?

    -The 'style transfer' weight type allows for the application of a specific style from one image to another, enabling creative effects and the combination of different visual elements in the generated output.

  • How can viewers access the toolkit workflow and advanced versions of the workflows shown in the video?

    -Viewers can access the toolkit workflow and advanced versions of the workflows by supporting the creator on Patreon, where these resources are exclusively available for patrons.



📺 Introduction to Comfy UI IP Adapter Update

The video begins with an introduction to the Comfy UI IP adapter's significant update by Mato, the creator of the tool. The narrator discusses their intention to create an 'anime diff part two' video but was drawn to explore the new features and tutorials released by Mato. The video promises to cover both existing and new content, providing personal insights and experiences with the updated nodes. The installation process is outlined, starting with the Comfy UI manager and proceeding to downloading models from a GitHub repository to ensure all necessary components are correctly installed.


🔧 Detailed Installation Guide for Comfy UI IP Adapter Models

This paragraph provides a step-by-step guide for installing the Comfy UI IP adapter models. It covers the process of downloading and correctly naming the models, placing them into specific folders within the Comfy UI directory structure. The narrator emphasizes the importance of accurate file naming to avoid installation issues. Additionally, it mentions the optional installation of community IP adapter models and the requirement of Insight Face for certain face IP adapters, with instructions on how to integrate it into the Comfy UI setup.


🛠️ Exploring the Basic Workflow of the IP Adapter

The narrator delves into the basic workflow of the IP adapter, highlighting the unified loader and IP adapter node introduced in the update. They explain how to quickly set up the IP adapter with minimal adjustments, using the unified loader to select the desired model and the IP adapter node to apply it alongside a reference image. The video also touches on the possibility of combining different models like face plus with face ID for enhanced results, setting the stage for further exploration of the adapter's capabilities.


🎨 Advanced Techniques with IP Adapter Nodes

This section introduces advanced nodes that provide more control over the IP adapter's functionality. The advanced IP adapter node is discussed, which allows for the use of an image negative to counteract unwanted image artifacts. The narrator explains different weight types and their effects on the model's application of the reference image, comparing them to the standard diffusion model's unit model process. A utility workflow is mentioned as a tool to help viewers determine the most effective weight type for their specific images.


👗 Experimenting with Style Transfer and Attention Masks

The video script describes an experiment with transferring the style of a dress onto a new image using the IP adapter, with a focus on adjusting the strength of the model and the specificity of the prompt for better results. Attention is given to the use of attention masks to refine the areas of the image that the model should focus on, with a demonstration of how masking out the face can alter the color and style application in the final image.


🌟 Creative Applications of Attention Masks and Style Transfer

The narrator showcases a creative use of attention masks and style transfer weight types to apply different styles to various parts of an image. They demonstrate how to combine styles from two different images onto a single character, using masks to control the areas affected by each style. The process involves duplicating nodes, applying masks, and using a Gaussian blur to create a smooth transition between styles, resulting in a dual-tone image that reflects the desired aesthetic.


🔗 Conclusion and Access to Exclusive Workflows

In the concluding paragraph, the narrator thanks viewers for watching, encourages likes and subscriptions, and promotes access to exclusive workflows and advanced versions available on Patreon. They also invite viewers to join their Discord community for further discussions and support, and express gratitude to patrons for their ongoing support, which enables the creation of these videos.




IPAdapter is a node in the Comfy UI that facilitates the integration of various models to enhance image generation processes. It is central to the video's theme, as the tutorial focuses on its updated usage and installation. The script discusses the installation process, the necessity of downloading models, and how to utilize IPAdapter in workflows for tasks such as face and style transfer.

💡Comfy UI

Comfy UI is a user interface for managing and running models, often used in AI-based image generation. In the context of the video, Comfy UI serves as the platform where IPAdapter nodes are installed and operated. The script mentions using the Comfy UI manager for installing custom nodes, indicating its integral role in the process.


Mato, also known as Laton Vision, is the creator of the Comfy UI IPAdapter node collection. The script refers to Mato as having released a significant update and providing tutorial videos on the use of IPAdapter. Mato's contributions are foundational to the video's educational content, as the script builds upon the instructions and findings presented in Mato's videos.

💡Tutorial Videos

Tutorial videos are instructional resources that guide users through complex processes. In the script, two tutorial videos by Mato are highlighted for explaining the use of the updated IPAdapter in Comfy UI. These videos are essential for understanding the changes and new functionalities introduced in the IPAdapter update.

💡Unified Loader

The Unified Loader is a component in the IPAdapter workflow that accepts the model from the checkpoint loader. It simplifies the process of getting started with IPAdapter by requiring minimal configuration. The script describes how to use the Unified Loader in conjunction with the IPAdapter node for efficient image processing.

💡Checkpoint Loader

The Checkpoint Loader is a mechanism that provides the model for the Unified Loader in the IPAdapter setup. It is mentioned in the script as a prerequisite step before the Unified Loader can function, indicating its role in the sequence of operations within the IPAdapter workflow.

💡Daisy Chaining

Daisy chaining in the context of the video refers to a method of connecting multiple IPAdapter nodes in a sequence to enhance the image generation process. The script explains that while not necessary for the first Unified Loader, daisy chaining becomes useful when using multiple instances to refine the output progressively.

💡Weight Types

Weight Types in the IPAdapter advanced node determine how the reference image influences the model during the generation process. The script explains various weight types like 'standard prompt', 'style transfer', 'linear', 'ease in', 'ease out', and their impact on the final image, emphasizing the need for experimentation to achieve desired results.

💡Attention Masks

Attention Masks are tools used to focus the IPAdapter on specific areas of the reference image while ignoring others. The script demonstrates using attention masks to alter the way styles are applied to different parts of an image, showcasing their utility in fine-tuning the generation process to achieve particular visual effects.

💡Style Transfer

Style Transfer is a technique within the IPAdapter that allows the application of a specific style from one image to another. The script illustrates using the 'style transfer' weight type to apply a retro neon style to a character, blending it with the original image to create a stylized output.

💡Face ID

Face ID refers to a specific model within the IPAdapter collection designed to recognize and transfer facial features accurately. The script mentions downloading Face ID models and using them in conjunction with the IPAdapter for tasks like maintaining facial likeness in generated images.


Introduction to a massive update on comfy UI IP adapter node collection.

Installation process simplified with comfy UI manager and custom nodes.

Necessity of downloading models from GitHub for the IP adapter to function properly.

Instructions on how to correctly name and place models in respective folders.

Explanation of the unified loader and IP adapter node for basic workflow.

Demonstration of face likeness transfer using the IP adapter.

Combining face plus model with face ID model for improved results.

Introduction of unified loader face ID for more control over models.

Utilization of the IP adapter advanced node for fine-tuned control.

Description of weight types and their impact on the model's conditioning process.

Utility workflow to determine the best weight type for reference images.

Use of prep image for clip Vision to improve interpolation method.

Experimentation with transferring clothing style without a person in the reference image.

Technique to combine outfit and reference person using advanced IP adapter.

Importance of attention masks in focusing the model's conditioning.

Creative application of attention masks and style transfer weight type.

Final thoughts on the creative potential of the IP adapter nodes.