CLIPTextEncodeSDXL
advanced/conditioning
CLIPTextEncodeSDXLExample
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
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
clip | CLIP | required | - | - |
width | INT | required | min: 0, max: 16384 | 1024 |
height | INT | required | min: 0, max: 16384 | 1024 |
crop_w | INT | required | min: 0, max: 16384 | 0 |
crop_h | INT | required | min: 0, max: 16384 | 0 |
target_width | INT | required | min: 0, max: 16384 | 1024 |
target_height | INT | required | min: 0, max: 16384 | 1024 |
text_g | STRING | required | - | - |
text_l | STRING | required | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | CONDITIONING | CONDITIONING | No | ["{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?