ipadapter/faceidgenerated
IPAdapter FaceID Kolors(IPAdapterFaceIDKolors)
IPAdapter FaceID Kolors node from ComfyUI-IPAdapter-plus.
IP Adapter Face ID Kolors
model
ipadapter
image
image_negative
attn_mask
clip_vision
insightface
MODEL
face_image
weight
1.00
weight_faceidv2
1.00
weight_kolors
1.00
weight_type
COMBO
combine_embeds
COMBO
start_at
0.000
end_at
1.000
embeds_scaling
COMBO
IPAdapter plus
Description
The IPAdapter FaceID Kolors node applies IPAdapter conditioning to a diffusion model using face identity embeddings from InsightFace together with Kolors image embeddings. It combines the FaceID v2 path and the Kolors path, then patches the supplied MODEL so the adapter influence is active during sampling. The node also returns an IMAGE output alongside the patched model.
This node is part of the ipadapter/faceid category. Typical use is to connect a model, an IPADAPTER, and a reference face image, then route the resulting MODEL to a sampler.
Inputs
Required Inputs
| Input | Type | Default / Range | Description |
|---|---|---|---|
model | MODEL | None | The diffusion model to patch with IPAdapter conditioning. |
ipadapter | IPADAPTER | None | The IPAdapter weights and configuration used to build the conditioning. |
image | IMAGE | None | The reference image used for face and image embeddings. For FaceID use, this should contain a clear face. |
weight | FLOAT | 1, range -1 to 3, step 0.05 | Overall adapter strength. Negative values invert the adapter effect; values above 1 amplify it. |
weight_faceidv2 | FLOAT | 1, range -1 to 5, step 0.05 | Strength applied to the FaceID v2 embedding path. Use this to emphasize or reduce face identity likeness independently of the Kolors path. |
weight_kolors | FLOAT | 1, range -1 to 5, step 0.05 | Strength applied to the Kolors embedding path. Use this to balance the Kolors reference influence against the face identity influence. |
weight_type | COMBO | None | Selects the IPAdapter weighting mode. The available values are supplied by the node implementation; choose the preset that matches the adapter checkpoint or the desired weight behavior. |
combine_embeds | COMBO | concat, add, subtract, average, norm average | Controls how multiple embeddings are combined when more than one source is present, such as a positive image, a negative image, and the FaceID/Kolors branches. |
start_at | FLOAT | 0, range 0 to 1, step 0.001 | Normalized start point in the sampling schedule where the adapter becomes active. 0 means the beginning of sampling. |
end_at | FLOAT | 1, range 0 to 1, step 0.001 | Normalized end point in the sampling schedule where the adapter stops being active. 1 means the end of sampling. |
embeds_scaling | COMBO | V only, K+V, K+V w/ C penalty, K+mean(V) w/ C penalty | Controls how the adapter scales key and value embeddings during attention. |
Optional Inputs
| Input | Type | Description |
|---|---|---|
image_negative | IMAGE | An optional negative reference image. Its embedding is used as a negative image condition for the adapter. |
attn_mask | MASK | An optional attention mask that limits where the adapter influence is applied. This is useful for regional or localized application. |
clip_vision | CLIP_VISION | An optional CLIP vision encoder override used when embedding image inputs. |
insightface | INSIGHTFACE | An optional InsightFace provider override used for face analysis and identity embedding extraction. |
combine_embeds Options
| Value | Behavior |
|---|---|
concat | Concatenates embeddings, keeping their information separate. This can preserve more detail but may increase token count and memory use. |
add | Adds embeddings element-wise. |
subtract | Subtracts one embedding from another, which can be used for directional or negative effects. |
average | Averages the embeddings element-wise. |
norm average | Averages the embeddings and then normalizes the result. |
embeds_scaling Options
| Value | Behavior |
|---|---|
V only | Scales only the value embeddings. |
K+V | Scales both key and value embeddings. |
K+V w/ C penalty | Scales key and value embeddings with an additional C penalty. |
K+mean(V) w/ C penalty | Scales key embeddings plus the mean of the value embeddings with an additional C penalty. |
Outputs
| Output | Type | Description |
|---|---|---|
MODEL | MODEL | The input model with the IPAdapter FaceID and Kolors conditioning patched in. Connect this to a sampler. |
IMAGE | IMAGE | An image output emitted alongside the patched model. It can be previewed or passed to downstream image processing nodes. |
Usage Notes
- Connect
model,ipadapter, andimagefirst. Theimageshould contain the face you want to use for identity conditioning. - Start with all weight values at
1. If the adapter dominates the result, lowerweight; to reduce face likeness specifically, lowerweight_faceidv2; to reduce the Kolors reference influence, lowerweight_kolors. - Negative weight values invert the adapter effect. Values above
1increase the influence but can overwhelm the base model if set too high. - Keep
start_atbelowend_at. The defaults of0and1apply the adapter across the full sampling schedule. Narrow the range to limit when the adapter is active. - Use
combine_embedswhen multiple image references are present.concatpreserves separate embeddings; the other modes merge them in different ways. - Use
image_negativeto provide a negative image reference, andattn_maskwhen the adapter should affect only part of the image area. clip_visionandinsightfaceare optional overrides. Connect them only when you need to replace the default vision encoder or face analysis provider used by the IPAdapter pipeline.- The
MODELoutput is the conditioned model for sampling. TheIMAGEoutput can be used for previewing or for downstream image workflows.
Comments
Sign in with GitHub to join the discussion.