IPAdapter Combine Weights(IPAdapterCombineWeights)
IPAdapter Combine Weights node from ComfyUI-IPAdapter-plus.
IP Adapter Combine Weights
Description
The IPAdapter Combine Weights node is a utility for taking two individual IPAdapter weight values and combining them into a single weight output, along with an integer count of how many weights were combined. It does not apply an IPAdapter by itself. Instead, it prepares numeric weight values for downstream IPAdapter nodes that accept a weight list or batch.
This node is found under ipadapter/utils in the node menu.
Inputs
| Input | Type | Required | Default | Range | Step | Description |
|---|---|---|---|---|---|---|
weights_1 | FLOAT | Yes | 0 | 0 to 1 | 0.05 | The first IPAdapter weight value to include in the combined output. Lower values reduce the weight's influence; higher values increase it. |
weights_2 | FLOAT | Yes | 0 | 0 to 1 | 0.05 | The second IPAdapter weight value to include in the combined output. Lower values reduce the weight's influence; higher values increase it. |
Both weights are constrained to the 0 to 1 range and use a step of 0.05, which allows fine adjustments within the valid range. If both inputs are left at their defaults, the combined output contains two weights set to 0.
Outputs
| Output | Type | Description |
|---|---|---|
weights | FLOAT | The combined weight payload containing weights_1 and weights_2 in order. Connect this to a downstream IPAdapter node that accepts a weight list or batch. |
count | INT | The number of weights in the combined output. For this node, this is typically 2. |
The first output is typed as FLOAT but represents the combined set of weight values prepared by this node. The second output reports the size of that set, which can be useful for nodes or workflows that need to know how many weights are being passed along.
Usage Notes
- Use this node when a downstream IPAdapter node expects multiple weight values rather than a single weight.
- The node only combines numeric weight values. It does not load models, images, or IPAdapter embeddings.
- Keep both weights within the
0to1range. Values outside this range are not accepted by the widgets. - The
countoutput can be used to verify or drive logic based on the number of combined weights. - Because the default value for both inputs is
0, remember to set the desired weights before relying on the output in a workflow.
Comments
Sign in with GitHub to join the discussion.