IPAdapter Weights
ipadapter/weights
IPAdapterWeightsExample
JSON Example
{
"class_type": "IPAdapterWeights",
"inputs": {
"weights": "1.0, 0.0",
"timing": "linear",
"frames": 0,
"start_frame": 0,
"end_frame": 9999,
"add_starting_frames": 0,
"add_ending_frames": 0,
"method": "full batch"
}
}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 | STRING | required | - | "1.0, 0.0" |
timing | ENUM6 options
| required | - | "linear" |
frames | INT | required | min: 0, max: 9999, step: 1 | 0 |
start_frame | INT | required | min: 0, max: 9999, step: 1 | 0 |
end_frame | INT | required | min: 0, max: 9999, step: 1 | 9999 |
add_starting_frames | INT | required | min: 0, max: 9999, step: 1 | 0 |
add_ending_frames | INT | required | min: 0, max: 9999, step: 1 | 0 |
method | ENUM3 options
| required | - | "full batch" |
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 IPAdapterWeights 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?