Skip to main content

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.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
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

ParameterData TypeRequiredRangeDescription
clipCLIPYes-A CLIP model instance used for text tokenization and encoding, which is core to generating conditions.
bertSTRINGYes-Text input for encoding via the BERT tokenizer. Prefers phrases and keywords. Supports multiline and dynamic prompts.
mt5xlSTRINGYes-Text input for encoding via the mT5-XL tokenizer. Supports multiline and dynamic prompts (multilingual). Can use complete sentences and complex descriptions.

Outputs

Output NameData TypeDescription
CONDITIONINGCONDITIONINGThe encoded conditioning output, combining both BERT and mT5-XL tokenized text, used for further processing in generation tasks.

Source fingerprint (SHA-256): bde7c884f72829491090965bd9af34ad59ec326f96e88bb7cdb9ddc47592137e