Skip to main content

IPAdapter Style & Composition SDXL

ipadapter/style_composition
IPAdapterStyleComposition

Example

JSON Example
{
  "class_type": "IPAdapterStyleComposition",
  "inputs": {
    "model": [
      "node_id",
      0
    ],
    "ipadapter": [
      "node_id",
      0
    ],
    "image_style": [
      "node_id",
      0
    ],
    "image_composition": [
      "node_id",
      0
    ],
    "weight_style": 1,
    "weight_composition": 1,
    "expand_style": false,
    "combine_embeds": "average",
    "start_at": 0,
    "end_at": 1,
    "embeds_scaling": "V only"
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
modelMODELrequired--
ipadapterIPADAPTERrequired--
image_styleIMAGErequired--
image_compositionIMAGErequired--
weight_styleFLOATrequiredmin: -1, max: 5, step: 0.051
weight_compositionFLOATrequiredmin: -1, max: 5, step: 0.051
expand_styleBOOLEANrequired-false
combine_embedsENUM
5 options
  • concat
  • add
  • subtract
  • average
  • norm average
required-"average"
start_atFLOATrequiredmin: 0, max: 1, step: 0.0010
end_atFLOATrequiredmin: 0, max: 1, step: 0.0011
embeds_scalingENUM
4 options
  • V only
  • K+V
  • K+V w/ C penalty
  • K+mean(V) w/ C penalty
required--
image_negativeIMAGEoptional--
attn_maskMASKoptional--
clip_visionCLIP_VISIONoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0MODELMODELNo["{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 IPAdapterStyleComposition 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?