ipadapter/devgenerated

IPAdapter ClipVision Enhancer(IPAdapterClipVisionEnhancer)

IPAdapter ClipVision Enhancer node from ComfyUI-IPAdapter-plus.

IP Adapter Clip Vision Enhancer

model
ipadapter
image
image_negative
attn_mask
clip_vision
weight
1.00
weight_type
COMBO
combine_embeds
COMBO
start_at
0.000
end_at
1.000
embeds_scaling
COMBO
enhance_tiles
2
enhance_ratio
1.00
IPAdapter plus

Description

The IPAdapter ClipVision Enhancer node (class IPAdapterClipVisionEnhancer) is an experimental IPAdapter node in the ipadapter/dev category. It applies IPAdapter conditioning using a reference image while exposing additional CLIP Vision enhancement controls for tile-based processing and enhancement blending.

The node combines the standard advanced IPAdapter controls (weight, weight_type, combine_embeds, start_at, end_at, embeds_scaling) with two enhancement-specific inputs: enhance_tiles and enhance_ratio. It also supports optional negative image conditioning, an attention mask, and an optional CLIP Vision encoder override.

The current source declares no output sockets. The node does not return a MODEL, IPADAPTER, IMAGE, or conditioning value through its output schema.

Inputs

Required Inputs

InputTypeDefault / RangeDescription
modelMODELRequiredThe diffusion model used by the IPAdapter application.
ipadapterIPADAPTERRequiredThe IPAdapter model or configuration that provides the projection and attention behavior.
imageIMAGERequiredThe primary reference image whose CLIP Vision embedding drives the IPAdapter conditioning.
weightFLOATDefault 1; min -1; max 5; step 0.05Overall strength of the IPAdapter effect. Negative values can reverse the influence; values above 1 intensify it.
weight_typeCOMBORequiredSelects the weighting curve or application mode for the IPAdapter influence. The available choices depend on the installed IPAdapter implementation.
combine_embedsCOMBORequired; one of concat, add, subtract, average, norm averageControls how multiple image embeddings are combined. concat concatenates embeddings, add sums them, subtract subtracts them, average computes the arithmetic mean, and norm average averages normalized embeddings.
start_atFLOATDefault 0; min 0; max 1; step 0.001Normalized start point of the active IPAdapter interval. 0 starts at the beginning of sampling.
end_atFLOATDefault 1; min 0; max 1; step 0.001Normalized end point of the active IPAdapter interval. 1 runs through the end of sampling. Keep start_at below end_at for a non-empty active range.
embeds_scalingCOMBORequired; one of V only, K+V, K+V w/ C penalty, K+mean(V) w/ C penaltyControls how image embeddings are scaled and injected into attention. V only targets the value projection; K+V targets key and value projections; the penalty variants add the named C penalty behavior.
enhance_tilesINTDefault 2; min 1; max 16Number of tiles used by the CLIP Vision enhancement. 1 uses a single tile; higher values split the image into more tiles for additional detail at higher compute cost.
enhance_ratioFLOATDefault 1; min 0; max 1; step 0.05Strength or blend amount of the CLIP Vision enhancement. 0 removes the enhancement contribution; 1 uses the full configured enhancement.

Optional Inputs

InputTypeDescription
image_negativeIMAGEOptional negative reference image. When connected, it provides content for the IPAdapter to steer away from.
attn_maskMASKOptional spatial mask that limits where IPAdapter attention is applied.
clip_visionCLIP_VISIONOptional CLIP Vision encoder used to process the image inputs. If omitted, the IPAdapter pipeline uses its default or configured CLIP Vision model.

Outputs

This node declares no outputs. It does not expose a returned MODEL, IPADAPTER, IMAGE, or conditioning socket. Any effect must occur through in-place modification or side effects within the package, and downstream wiring should follow the package's intended workflow.

Usage Notes

  • Start with the defaults: weight at 1, start_at at 0, end_at at 1, enhance_tiles at 2, and enhance_ratio at 1.
  • Use weight_type and embeds_scaling only when you need to tune how strongly or where the IPAdapter influence is applied across attention layers.
  • Increase enhance_tiles to add more CLIP Vision tiling detail, but expect higher compute and memory use. Decrease it or set it to 1 for a simpler, cheaper pass.
  • Lower enhance_ratio toward 0 to compare the base IPAdapter result against the enhanced result. Use values near 1 for full enhancement.
  • Connect image_negative when you want negative-image guidance, and connect attn_mask when the effect should be restricted spatially.
  • Connect clip_vision to override the default CLIP Vision encoder; leave it disconnected to use the IPAdapter pipeline's configured encoder.
  • Because this node is in the ipadapter/dev category and declares no output sockets, treat it as an experimental or workflow-specific node and check the package example workflows for the expected wiring.

Comments

Sign in with GitHub to join the discussion.

Loading comments…