ComfyUI Node
CLIP Text Image Encode
Encode text and optional images through VLM to produce conditioning for Z-Image.
CLIP Text Image Encode
- vl_model
- image1
- image1_mask
- image2
- image2_mask
- image3
- image3_mask
- positive
- negative
◄text—►
Categoryconditioning
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| vl_model | ZIMAGE_VL_MODEL | Output from Load CLIP with Visual | |
| text | STRING | Text prompt | |
| image1opt | IMAGE | Reference image 1 (optional). If not provided, text-only encoding is used. | |
| image1_maskopt | MASK | Mask for reference image 1 (optional). Masked-out regions (value 0) are zeroed before VLM encoding. | |
| image2opt | IMAGE | Reference image 2 (optional). | |
| image2_maskopt | MASK | Mask for reference image 2 (optional). | |
| image3opt | IMAGE | Reference image 3 (optional). | |
| image3_maskopt | MASK | Mask for reference image 3 (optional). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| positive | CONDITIONING | Positive conditioning with VLM embeddings |
| negative | CONDITIONING | Negative conditioning (empty text, text-only VLM encode) |