ipadapter/faceidgenerated

IPAdapter FaceID(IPAdapterFaceID)

IPAdapter FaceID node from ComfyUI-IPAdapter-plus.

IP Adapter Face ID

model
ipadapter
image
image_negative
attn_mask
clip_vision
insightface
MODEL
face_image
weight
1.00
weight_faceidv2
1.00
weight_type
COMBO
combine_embeds
COMBO
start_at
0.000
end_at
1.000
embeds_scaling
COMBO
IPAdapter plus

Description

IPAdapter FaceID (class IPAdapterFaceID) applies IP-Adapter FaceID conditioning to a diffusion model. It combines a base MODEL, an IPADAPTER, and a reference face IMAGE to produce a patched model and an image output. The node belongs to the ipadapter/faceid category in ComfyUI-IPAdapter-plus.

Use it when you want the identity or facial characteristics of a reference image to influence generation. The required inputs establish the model and adapter, while the float widgets tune strength and sampling range. The combo widgets control embedding combination and attention scaling. Optional inputs allow a negative reference image, an attention mask, a CLIP vision encoder, and an InsightFace provider.

Inputs

Required Inputs

InputTypeDefaultRange / OptionsDescription
modelMODELN/AN/AThe diffusion model that receives FaceID conditioning. The node returns a patched version of this model.
ipadapterIPADAPTERN/AN/AThe IP-Adapter configuration and weights used for FaceID conditioning.
imageIMAGEN/AN/AThe reference face image. This is the source image for the FaceID conditioning.
weightFLOAT1-1 to 3, step 0.05Overall strength of the FaceID conditioning. Higher values increase influence; 0 applies no influence. Negative values are allowed for inverted or reduced influence where supported.
weight_faceidv2FLOAT1-1 to 5, step 0.05Strength of the FaceID v2 contribution. Use this to tune FaceID v2 independently from the general weight.
weight_typeCOMBON/AChoices supplied by the installed IPAdapter implementationSelects the weighting type used when applying the adapter. The available options depend on the installed implementation.
combine_embedsCOMBON/Aconcat, add, subtract, average, norm averageControls how FaceID embeddings are combined. concat concatenates embeddings, add sums them, subtract subtracts one from another, average takes the arithmetic mean, and norm average uses a normalized average.
start_atFLOAT00 to 1, step 0.001Fraction of the sampling schedule where FaceID conditioning begins. 0 starts conditioning from the beginning.
end_atFLOAT10 to 1, step 0.001Fraction of the sampling schedule where FaceID conditioning ends. 1 keeps conditioning active through the end.
embeds_scalingCOMBON/AV only, K+V, K+V w/ C penalty, K+mean(V) w/ C penaltyControls how embeddings influence attention. V only scales only value embeddings; K+V scales keys and values; the two C penalty variants add a conditioning penalty and differ in whether values or the mean of values are used.

Optional Inputs

InputTypeDescription
image_negativeIMAGEAn optional negative reference image. Use it to steer generation away from unwanted facial characteristics.
attn_maskMASKAn optional attention mask that restricts where the FaceID adapter applies its influence.
clip_visionCLIP_VISIONAn optional CLIP vision model for extracting image features.
insightfaceINSIGHTFACEAn optional InsightFace model used for face embedding extraction.

Outputs

OutputTypeDescription
MODELMODELThe patched diffusion model with FaceID conditioning applied. Connect this to your sampler or downstream model nodes.
IMAGEIMAGEAn image output emitted alongside the patched model, making it convenient to reuse the reference image in subsequent nodes.

Usage Notes

  • Start with the default weights of 1 for both weight and weight_faceidv2. Lower them if the reference identity dominates the result, or raise them within the allowed ranges if the influence is too weak.
  • Use start_at and end_at to limit FaceID conditioning to a portion of the sampling schedule. For example, ending conditioning before the final steps can reduce over-constraint.
  • Choose combine_embeds based on how you want multiple face embeddings merged. concat and add preserve more information, while average and norm average produce a more balanced combined embedding.
  • Adjust embeds_scaling when you need finer control over attention behavior. The C penalty variants are useful when conditioning needs to be regularized.
  • Provide image_negative when you want to explicitly push away from certain facial features. Provide attn_mask when the adapter should affect only a masked region.
  • The optional clip_vision and insightface inputs let you supply dedicated feature extraction and face embedding models.
  • Because weight_type is implementation-defined, check the ComfyUI interface for the exact choices available in your installed IPAdapter build.

Comments

Sign in with GitHub to join the discussion.

Loading comments…