Extensions/ComfyUI_IPAdapter_plus
ComfyUI Extension Runs on cloud

ComfyUI_IPAdapter_plus

ComfyUI reference implementation for IPAdapter models. The code is mostly taken from the original IPAdapter repository and laksjdjf's implementation, all credit goes to them. I just made the extension closer to ComfyUI philosophy.

By cubiq·Created 3 years ago·Updated about a year ago· 6,099
cubiq/ComfyUI_IPAdapter_plus
Nodes37
On cloudRunnable
Categoryipadapter/faceid, ipadapter
Stars6,099
Updatedabout a year ago

Nodes (37)

IPAdapter FaceID Batch

Put a real face into a batch of generations

ipadapter/faceid
IPAdapter

The simple image-prompt node to start with

ipadapter
IPAdapter Advanced

The IP-Adapter node you actually reach for

ipadapter
IPAdapter Batch (Adv.)

One reference per frame for animation

ipadapter
IPAdapter ClipVision Enhancer

Squeeze more detail out of a small reference

ipadapter/dev
IPAdapter ClipVision Enhancer Batch

High-detail transfer across a sequence

ipadapter/dev
IPAdapter Combine Embeds

Merge up to five references into one

ipadapter/embeds
IPAdapter Combine Params

Stack several masked references into one pass

ipadapter/params
IPAdapter Combine Weights

Glue two weight lists into one

ipadapter/utils
IPAdapter Embeds

Apply a pre-computed reference embedding

ipadapter/embeds
IPAdapter Embeds Batch

Apply a precomputed reference, skip the encode

ipadapter/embeds
IPAdapter Encoder

Pre-encode a reference once, reuse it everywhere

ipadapter/embeds
IPAdapter FaceID

Apply a face embedding to your generation

ipadapter/faceid
IPAdapter FaceID Kolors

Face consistency for the Kolors model

ipadapter/faceid
IPAdapter from Params

The apply node for multi-reference, regional setups

ipadapter/params
IPAdapter InsightFace Loader

Load the face model FaceID needs

ipadapter/loaders
IPAdapter Load Embeds

Pull a saved reference back off disk

ipadapter/embeds
IPAdapter Model Loader

The manual loader for any adapter file

ipadapter/loaders
IPAdapter Mad Scientist

The node that hands you every dial at once

ipadapter/dev
IPAdapter Noise

Build a negative-image input to sharpen results

ipadapter/utils
IPAdapter Precise Composition

Borrow a layout, keep your own style

ipadapter
IPAdapter Precise Composition Batch

Borrow the layout, not the look

ipadapter
IPAdapter Precise Style Transfer

Lift a look without dragging the subject

ipadapter
IPAdapter Precise Style Transfer Batch

Style only, with a boost knob

ipadapter
Prompt Schedule From Weights Strategy

Turn an IPAdapter fade into a prompt timeline

ipadapter/weights
IPAdapter Regional Conditioning

A different reference in each region

ipadapter/params
IPAdapter Save Embeds

Bake a reference once, reuse it forever

ipadapter/embeds
IPAdapter Style & Composition SDXL

Style from one image, layout from another

ipadapter/style_composition
IPAdapter Style & Composition Batch SDXL

Take the look from one image, the layout from another

ipadapter/style_composition
IPAdapter Tiled

For when your reference and your canvas aren't the same shape

ipadapter/tiled
IPAdapter Tiled Batch

Tiled reference conditioning, tuned for big batches

ipadapter/tiled
IPAdapter Unified Loader

The one-click way to load IP-Adapter

ipadapter
IPAdapter Unified Loader Community

One-click loading for the community-baked models

ipadapter/loaders
IPAdapter Unified Loader FaceID

The one-node setup for face consistency

ipadapter/faceid
IPAdapter Weights

The node that fades one image into another across a batch

ipadapter/weights
IPAdapter Weights From Strategy

Reuse one fade timeline everywhere

ipadapter/weights
Prep Image For ClipVision

Control how your reference gets cropped

ipadapter/utils
Readme

ComfyUI IPAdapter plus

ComfyUI reference implementation for IPAdapter models.

The IPAdapter are very powerful models for image-to-image conditioning. The subject or even just the style of the reference image(s) can be easily transferred to a generation. Think of it as a 1-image lora.

[!IMPORTANT]
2025.04.14 - I do not use ComfyUI as my main way to interact with Gen AI anymore as a result I'm setting the repository in "maintenance only" mode. If there are crucial updates or PRs I might still consider merging them but I do not plan any consistent work on this repo.

Example workflows

The examples directory has many workflows that cover all IPAdapter functionalities.

IPAdapter Example workflow

Video Tutorials

<a href="https://youtu.be/_JzDcgKgghY" target="_blank"> <img src="https://img.youtube.com/vi/_JzDcgKgghY/hqdefault.jpg" alt="Watch the video" /> </a>

The following videos are about the previous version of IPAdapter, but they still contain valuable information.

:nerd_face: Basic usage video, :rocket: Advanced features video, :japanese_goblin: Attention Masking video, :movie_camera: Animation Features video

Installation

Download or git clone this repository inside ComfyUI/custom_nodes/ directory or use the Manager. IPAdapter always requires the latest version of ComfyUI. If something doesn't work be sure to upgrade. Beware that the automatic update of the manager sometimes doesn't work and you may need to upgrade manually.

There's now a Unified Model Loader, for it to work you need to name the files exactly as described below. The legacy loaders work with any file name but you have to select them manually. The models can be placed into sub-directories.

Remember you can also use any custom location setting an ipadapter entry in the extra_model_paths.yaml file.

FaceID models require insightface, you need to install it in your ComfyUI environment. Check this issue for help. Remember that most FaceID models also need a LoRA.

For the Unified Loader to work the files need to be named exactly as shown in the list below.

Most FaceID models require a LoRA. If you use the IPAdapter Unified Loader FaceID it will be loaded automatically if you follow the naming convention. Otherwise you have to load them manually, be careful each FaceID model has to be paired with its own specific LoRA.

All models can be found on huggingface.

Community's models

The community has baked some interesting IPAdapter models.

if you know of other models please let me know and I will add them to the unified loader.

Generic suggestions

There are many workflows included in the examples directory. Please check them before asking for support.

Usually it's a good idea to lower the weight to at least 0.8 and increase the number steps. To increase adherece to the prompt you may try to change the weight type in the IPAdapter Advanced node.

Troubleshooting

Please check the troubleshooting before posting a new issue. Also remember to check the previous closed issues.

Credits