Skip to main content

IPAdapter Weights

ipadapter/weights
IPAdapterWeights

Example

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

NameTypeStatusConstraintsDefault
weightsSTRINGrequired-"1.0, 0.0"
timingENUM
6 options
  • custom
  • linear
  • ease_in_out
  • ease_in
  • ease_out
  • random
required-"linear"
framesINTrequiredmin: 0, max: 9999, step: 10
start_frameINTrequiredmin: 0, max: 9999, step: 10
end_frameINTrequiredmin: 0, max: 9999, step: 19999
add_starting_framesINTrequiredmin: 0, max: 9999, step: 10
add_ending_framesINTrequiredmin: 0, max: 9999, step: 10
methodENUM
3 options
  • full batch
  • shift batches
  • alternate batches
required-"full batch"
imageIMAGEoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0weightsFLOATNo["{node_id}", 0]
1weights_invertFLOATNo["{node_id}", 1]
2total_framesINTNo["{node_id}", 2]
3image_1IMAGENo["{node_id}", 3]
4image_2IMAGENo["{node_id}", 4]
5weights_strategyWEIGHTS_STRATEGYNo["{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?