Skip to main content

CLIPTextEncodeSDXL

advanced/conditioning
CLIPTextEncodeSDXL

Example

JSON Example
{
  "class_type": "CLIPTextEncodeSDXL",
  "inputs": {
    "clip": [
      "node_id",
      0
    ],
    "width": 1024,
    "height": 1024,
    "crop_w": 0,
    "crop_h": 0,
    "target_width": 1024,
    "target_height": 1024,
    "text_g": "example text",
    "text_l": "example text"
  }
}

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

Inputs

NameTypeStatusConstraintsDefault
clipCLIPrequired--
widthINTrequiredmin: 0, max: 163841024
heightINTrequiredmin: 0, max: 163841024
crop_wINTrequiredmin: 0, max: 163840
crop_hINTrequiredmin: 0, max: 163840
target_widthINTrequiredmin: 0, max: 163841024
target_heightINTrequiredmin: 0, max: 163841024
text_gSTRINGrequired--
text_lSTRINGrequired--

Outputs

IndexNameTypeIs ListConnection Reference
0CONDITIONINGCONDITIONINGNo["{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 CLIPTextEncodeSDXL node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • CONDITIONING (CONDITIONING): ["5", 0]
Was this page helpful?