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

InputTypeDefault / RangeDescription
modelMODELNoneThe diffusion model to patch with IPAdapter conditioning.
ipadapterIPADAPTERNoneThe IPAdapter weights and configuration used to build the conditioning.
imageIMAGENoneThe reference image used for face and image embeddings. For FaceID use, this should contain a clear face.
weightFLOAT1, range -1 to 3, step 0.05Overall adapter strength. Negative values invert the adapter effect; values above 1 amplify it.
weight_faceidv2FLOAT1, range -1 to 5, step 0.05Strength applied to the FaceID v2 embedding path. Use this to emphasize or reduce face identity likeness independently of the Kolors path.
weight_kolorsFLOAT1, range -1 to 5, step 0.05Strength applied to the Kolors embedding path. Use this to balance the Kolors reference influence against the face identity influence.
weight_typeCOMBONoneSelects 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_embedsCOMBOconcat, add, subtract, average, norm averageControls 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_atFLOAT0, range 0 to 1, step 0.001Normalized start point in the sampling schedule where the adapter becomes active. 0 means the beginning of sampling.
end_atFLOAT1, range 0 to 1, step 0.001Normalized end point in the sampling schedule where the adapter stops being active. 1 means the end of sampling.
embeds_scalingCOMBOV only, K+V, K+V w/ C penalty, K+mean(V) w/ C penaltyControls how the adapter scales key and value embeddings during attention.

Optional Inputs

InputTypeDescription
image_negativeIMAGEAn optional negative reference image. Its embedding is used as a negative image condition for the adapter.
attn_maskMASKAn optional attention mask that limits where the adapter influence is applied. This is useful for regional or localized application.
clip_visionCLIP_VISIONAn optional CLIP vision encoder override used when embedding image inputs.
insightfaceINSIGHTFACEAn optional InsightFace provider override used for face analysis and identity embedding extraction.

combine_embeds Options

ValueBehavior
concatConcatenates embeddings, keeping their information separate. This can preserve more detail but may increase token count and memory use.
addAdds embeddings element-wise.
subtractSubtracts one embedding from another, which can be used for directional or negative effects.
averageAverages the embeddings element-wise.
norm averageAverages the embeddings and then normalizes the result.

embeds_scaling Options

ValueBehavior
V onlyScales only the value embeddings.
K+VScales both key and value embeddings.
K+V w/ C penaltyScales key and value embeddings with an additional C penalty.
K+mean(V) w/ C penaltyScales key embeddings plus the mean of the value embeddings with an additional C penalty.

Outputs

OutputTypeDescription
MODELMODELThe input model with the IPAdapter FaceID and Kolors conditioning patched in. Connect this to a sampler.
IMAGEIMAGEAn image output emitted alongside the patched model. It can be previewed or passed to downstream image processing nodes.

Usage Notes

  • Connect model, ipadapter, and image first. The image should contain the face you want to use for identity conditioning.
  • Start with all weight values at 1. If the adapter dominates the result, lower weight; to reduce face likeness specifically, lower weight_faceidv2; to reduce the Kolors reference influence, lower weight_kolors.
  • Negative weight values invert the adapter effect. Values above 1 increase the influence but can overwhelm the base model if set too high.
  • Keep start_at below end_at. The defaults of 0 and 1 apply the adapter across the full sampling schedule. Narrow the range to limit when the adapter is active.
  • Use combine_embeds when multiple image references are present. concat preserves separate embeddings; the other modes merge them in different ways.
  • Use image_negative to provide a negative image reference, and attn_mask when the adapter should affect only part of the image area.
  • clip_vision and insightface are optional overrides. Connect them only when you need to replace the default vision encoder or face analysis provider used by the IPAdapter pipeline.
  • The MODEL output is the conditioned model for sampling. The IMAGE output can be used for previewing or for downstream image workflows.

Comments

Sign in with GitHub to join the discussion.

Loading comments…