Skip to main content

IPAdapter Weights From Strategy

ipadapter/weights
IPAdapterWeightsFromStrategy

Example

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

NameTypeStatusConstraintsDefault
weights_strategyWEIGHTS_STRATEGYrequired--
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 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?