IPAdapter Weights From Strategy
ipadapter/weights
IPAdapterWeightsFromStrategyExample
JSON Example
{
"class_type": "IPAdapterWeightsFromStrategy",
"inputs": {
"weights_strategy": [
"node_id",
0
]
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
weights_strategy | WEIGHTS_STRATEGY | required | - | - |
image | IMAGE | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | weights | FLOAT | No | ["{node_id}", 0] |
1 | weights_invert | FLOAT | No | ["{node_id}", 1] |
2 | total_frames | INT | No | ["{node_id}", 2] |
3 | image_1 | IMAGE | No | ["{node_id}", 3] |
4 | image_2 | IMAGE | No | ["{node_id}", 4] |
5 | weights_strategy | WEIGHTS_STRATEGY | No | ["{node_id}", 5] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this IPAdapterWeightsFromStrategy node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
weights (FLOAT):["5", 0]weights_invert (FLOAT):["5", 1]total_frames (INT):["5", 2]
Was this page helpful?