generated

IPAdapter Weights From Strategy(IPAdapterWeightsFromStrategy)

IPAdapter Weights From Strategy node from ComfyUI-IPAdapter-plus.

IP Adapter Weights From Strategy

weights_strategy
image
IPAdapter plus

Description

IPAdapterWeightsFromStrategy takes an existing WEIGHTS_STRATEGY object and makes it available inside a workflow, optionally paired with an image. It is the counterpart to the strategy-building nodes in the ComfyUI-IPAdapter-plus package: instead of configuring a weighting schedule from scratch with widgets on this node, you build or select the strategy elsewhere, connect it here, and supply the image (or image batch) that the strategy should apply to.

Because the node declares no outputs, it acts as a terminal consumer in the graph. It is useful when you want to reuse a single strategy definition across several parts of a workflow, or when you want to keep strategy configuration isolated from the image it is applied to.

Inputs

InputTypeRequiredDescription
weights_strategyWEIGHTS_STRATEGYYesThe pre-built weighting strategy to use. This is normally produced by another node in the package and carries the per-step or per-frame weighting information that drives the IPAdapter application.
imageIMAGENoThe image or image batch the strategy is paired with. Leave it unconnected when the strategy is being staged or reused without an associated image.

weights_strategy

The only required input. Whatever schedule, curve, or distribution the upstream strategy defines is passed through unchanged; this node does not modify or re-interpret the values. Connect it to the output of a strategy node rather than trying to construct the value manually.

image

Optional. When connected, the image is associated with the strategy so the two can be consumed together downstream. When omitted, the node still accepts the strategy on its own, which is handy for wiring a strategy once and sharing it.

Outputs

This node defines no outputs. It cannot be used as a source for other nodes and serves purely as an endpoint that consumes a strategy and an optional image.

Usage Notes

  • Build the strategy first: create or select a WEIGHTS_STRATEGY with the appropriate strategy node, then connect it to weights_strategy here.
  • If you only need the weighting information and not a specific image, leave image unconnected. The input is optional, so the node will still execute.
  • Because there is no output, this node will not appear as a valid connection source. If a downstream node needs the strategy, connect it directly to the original strategy node instead of routing it through this one.
  • Keeping strategy configuration in a separate node makes it easy to swap schedules without rewiring the image path.

Comments

Sign in with GitHub to join the discussion.

Loading comments…