ComfyUI > Nodes > HunyuanVideo-1.5 nodes > HunyuanVideo 1.5 Leo Text Encoder Model Loader

ComfyUI Node: HunyuanVideo 1.5 Leo Text Encoder Model Loader

Class Name

HyVideo15TextEncoderLoader

Category
HunyuanVideoWrapper1.5
Author
yuanyuan-spec (Account age: 32days)
Extension
HunyuanVideo-1.5 nodes
Latest Updated
2025-12-02
Github Stars
0.02K

How to Install HunyuanVideo-1.5 nodes

Install this extension via the ComfyUI Manager by searching for HunyuanVideo-1.5 nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter HunyuanVideo-1.5 nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

HunyuanVideo 1.5 Leo Text Encoder Model Loader Description

Loads and configures text encoder for HunyuanVideo 1.5, converting text to embeddings for AI tasks.

HunyuanVideo 1.5 Leo Text Encoder Model Loader:

The HyVideo15TextEncoderLoader is a specialized node designed to load and configure the text encoder component of the HunyuanVideo 1.5 Leo model suite. This node is essential for processing textual data, enabling the conversion of text inputs into embeddings that can be used in video generation and other AI-driven tasks. By leveraging advanced language models, the HyVideo15TextEncoderLoader ensures that text inputs are accurately interpreted and transformed into a format that can be seamlessly integrated with other components of the HunyuanVideo system. This node is particularly beneficial for users looking to incorporate complex textual prompts into their video projects, as it provides a robust and efficient mechanism for text encoding.

HunyuanVideo 1.5 Leo Text Encoder Model Loader Input Parameters:

text_encoder

The text_encoder parameter specifies the primary text encoder model to be used. It is crucial for determining how text inputs are processed and converted into embeddings. This parameter impacts the quality and accuracy of the text-to-embedding conversion, influencing the overall performance of the video generation process. The default value is set to "HYVID15TEXTENCODER", which is optimized for the HunyuanVideo 1.5 framework.

text_encoder_2

The text_encoder_2 parameter allows for the specification of a secondary text encoder, which can be used to enhance or complement the primary text encoder's capabilities. This parameter is optional and can be left unset if a single text encoder suffices. When used, it provides additional flexibility and can improve the richness of the generated embeddings.

hyvid_cfg

The hyvid_cfg parameter is a configuration setting that influences the behavior of the text encoder. It is used to fine-tune the encoder's operation, ensuring that it aligns with the specific requirements of the HunyuanVideo 1.5 system. This parameter is essential for achieving optimal performance and should be configured according to the project's needs.

enable_offloading

The enable_offloading parameter is a boolean option that determines whether offloading is enabled for the text encoder. Offloading can help manage computational resources more efficiently by distributing the workload across available devices. The default value is True, which is recommended for most scenarios to ensure smooth operation without overloading a single device.

clip_skip

The clip_skip parameter is an integer that specifies the number of layers to be skipped from the CLIP model while computing prompt embeddings. This parameter allows users to control the depth of the model used for embedding generation, with a default value of 0. A value of 1 means that the output of the pre-final layer will be used, which can be useful for fine-tuning the embedding process.

HunyuanVideo 1.5 Leo Text Encoder Model Loader Output Parameters:

hyvid_embeds

The hyvid_embeds output parameter represents the embeddings generated by the text encoder. These embeddings are a crucial component of the video generation process, as they encapsulate the semantic meaning of the input text in a format that can be used by other nodes in the HunyuanVideo system. The quality and accuracy of these embeddings directly impact the final output, making this parameter essential for achieving high-quality results.

HunyuanVideo 1.5 Leo Text Encoder Model Loader Usage Tips:

  • Ensure that the text_encoder and hyvid_cfg parameters are correctly configured to match the specific requirements of your project, as this will significantly impact the quality of the generated embeddings.
  • Utilize the enable_offloading option to manage computational resources effectively, especially when working with large models or complex text inputs.
  • Experiment with the clip_skip parameter to find the optimal layer depth for your specific use case, as this can enhance the richness and relevance of the generated embeddings.

HunyuanVideo 1.5 Leo Text Encoder Model Loader Common Errors and Solutions:

"Text encoder model not found"

  • Explanation: This error occurs when the specified text encoder model cannot be located in the provided path.
  • Solution: Verify that the path to the text encoder model is correct and that the model files are present in the specified directory.

"Invalid configuration for hyvid_cfg"

  • Explanation: This error indicates that the configuration settings provided in hyvid_cfg are not compatible with the text encoder.
  • Solution: Review the configuration settings and ensure they align with the requirements of the HunyuanVideo 1.5 system. Adjust the settings as necessary to resolve compatibility issues.

"Offloading device not available"

  • Explanation: This error arises when the system cannot find a suitable device for offloading the text encoder workload.
  • Solution: Check the available devices on your system and ensure that they are properly configured for offloading. If necessary, adjust the enable_offloading setting to False to disable offloading.

HunyuanVideo 1.5 Leo Text Encoder Model Loader Related Nodes

Go back to the extension to check out more related nodes.
HunyuanVideo-1.5 nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.