ipadapter/paramsgenerated
IPAdapter Regional Conditioning(IPAdapterRegionalConditioning)
IPAdapter Regional Conditioning node from ComfyUI-IPAdapter-plus.
IP Adapter Regional Conditioning
image
mask
positive
negative
IPADAPTER_PARAMS
POSITIVE
NEGATIVE
image_weight
1.00
prompt_weight
1.00
weight_type
COMBO
start_at
0.000
end_at
1.000
IPAdapter plus
Description
IPAdapter Regional Conditioning (class IPAdapterRegionalConditioning) is a helper node in the ipadapter/params category. It gathers an IPAdapter reference image, separate image and prompt weighting controls, a weight type, an active range, and an optional mask, then produces an IPADAPTER_PARAMS package together with two conditioning outputs.
Use this node when an IPAdapter image prompt should be applied regionally, weighted independently from the text prompt, or limited to part of the sampling range. The node does not generate an image by itself; it prepares parameters and conditioning for downstream IPAdapter and sampler nodes.
Inputs
Required Inputs
| Input | Type | Default / Range | Description |
|---|---|---|---|
image | IMAGE | Required | The reference image used by IPAdapter. This is the image whose visual information is injected into the generation. |
image_weight | FLOAT | Default: 1; min: -1; max: 3; step: 0.05 | Strength applied to the image prompt. Higher values increase the influence of the reference image. Negative values are allowed and can be used for subtractive or inverse image influence depending on the selected weight_type and downstream IPAdapter behavior. |
prompt_weight | FLOAT | Default: 1; min: 0; max: 10; step: 0.05 | Strength applied to the prompt side of the conditioning. This lets the text prompt be balanced independently from the image prompt. |
weight_type | COMBO | Required | Selects the weighting mode used to combine or interpret the image and prompt weights. The available choices are provided by the node and package version. |
start_at | FLOAT | Default: 0; min: 0; max: 1; step: 0.001 | Normalized start point of the active range. The default 0 starts the effect at the beginning of the range. |
end_at | FLOAT | Default: 1; min: 0; max: 1; step: 0.001 | Normalized end point of the active range. The default 1 continues the effect through the end of the range. |
Optional Inputs
| Input | Type | Description |
|---|---|---|
mask | MASK | Optional spatial mask for regional application. When connected, the image prompt influence can be limited to the masked area. Leave disconnected to apply the conditioning without a mask restriction. |
positive | CONDITIONING | Optional positive conditioning to include in the regional setup and pass through the corresponding conditioning output. |
negative | CONDITIONING | Optional negative conditioning to include in the regional setup and pass through the corresponding conditioning output. |
Outputs
| Output | Type | Description |
|---|---|---|
IPADAPTER_PARAMS | IPADAPTER_PARAMS | The IPAdapter parameter package built from the image, weights, weight type, active range, and mask. Connect this to the IPAdapter node or parameter input that consumes IPAdapter settings. |
CONDITIONING | CONDITIONING | Conditioning output for the positive side of the regional setup. It should be connected to the sampler's positive conditioning input. |
CONDITIONING | CONDITIONING | Conditioning output for the negative side of the regional setup. It should be connected to the sampler's negative conditioning input. |
Usage Notes
- Connect a reference image to
imageand route theIPADAPTER_PARAMSoutput to the downstream IPAdapter node that applies the image prompt. - Use
maskwhen the image prompt should affect only part of the image. Without a mask, the conditioning is not spatially restricted by this node. - Keep
start_atat0andend_atat1to use the full active range. Narrow the range to limit when the regional conditioning takes effect. - Adjust
image_weightandprompt_weightindependently to balance visual reference strength against prompt strength. - The
weight_typecontrol changes how the weights are interpreted. Use the option that matches the intended IPAdapter weighting behavior for the workflow. - The
positiveandnegativeconditioning inputs are optional, so the node can be used in workflows where only one side of the conditioning pair is available or where the conditioning is handled elsewhere. - This node is intended as part of an IPAdapter workflow. It prepares parameters and conditioning, but the actual image prompt application happens in the connected IPAdapter node.
Comments
Sign in with GitHub to join the discussion.