> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# CLIPTextEncodeHunyuanDiT - ComfyUI Built-in Node Documentation

> Complete documentation for the CLIPTextEncodeHunyuanDiT node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/CLIPTextEncodeHunyuanDiT/en.md)

The `CLIPTextEncodeHunyuanDiT` node converts text descriptions into a format that the HunyuanDiT model can understand. It is an advanced conditioning node designed for the dual text encoder architecture of HunyuanDiT, processing two separate text inputs through different tokenizers.

## Inputs

| Parameter | Data Type | Required | Range | Description                                                                                                                                                   |
| --------- | --------- | -------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clip`    | CLIP      | Yes      | -     | A CLIP model instance used for text tokenization and encoding, which is core to generating conditions.                                                        |
| `bert`    | STRING    | Yes      | -     | Text input for encoding via the BERT tokenizer. Prefers phrases and keywords. Supports multiline and dynamic prompts.                                         |
| `mt5xl`   | STRING    | Yes      | -     | Text input for encoding via the mT5-XL tokenizer. Supports multiline and dynamic prompts (multilingual). Can use complete sentences and complex descriptions. |

## Outputs

| Output Name    | Data Type    | Description                                                                                                                      |
| -------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| `CONDITIONING` | CONDITIONING | The encoded conditioning output, combining both BERT and mT5-XL tokenized text, used for further processing in generation tasks. |

***

**Source fingerprint (SHA-256):** `bde7c884f72829491090965bd9af34ad59ec326f96e88bb7cdb9ddc47592137e`
