IPAdapter
ipadapter
IPAdapterExample
JSON Example
{
"class_type": "IPAdapter",
"inputs": {
"model": [
"node_id",
0
],
"ipadapter": [
"node_id",
0
],
"image": [
"node_id",
0
],
"weight": 1,
"start_at": 0,
"end_at": 1,
"weight_type": "standard"
}
}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 |
|---|---|---|---|---|
model | MODEL | required | - | - |
ipadapter | IPADAPTER | required | - | - |
image | IMAGE | required | - | - |
weight | FLOAT | required | min: -1, max: 3, step: 0.05 | 1 |
start_at | FLOAT | required | min: 0, max: 1, step: 0.001 | 0 |
end_at | FLOAT | required | min: 0, max: 1, step: 0.001 | 1 |
weight_type | ENUM3 options
| required | - | - |
attn_mask | MASK | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MODEL | MODEL | No | ["{node_id}", 0] |
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 IPAdapter node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MODEL (MODEL):["5", 0]
Was this page helpful?