ComfyUI > Nodes > ComfyUI-HY-Motion1 > HY-Motion Encode Text

ComfyUI Node: HY-Motion Encode Text

Class Name

HYMotionEncodeText

Category
HY-Motion/Conditioning
Author
jtydhr88 (Account age: 0days)
Extension
ComfyUI-HY-Motion1
Latest Updated
2026-03-20
Github Stars
0.26K

How to Install ComfyUI-HY-Motion1

Install this extension via the ComfyUI Manager by searching for ComfyUI-HY-Motion1
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HY-Motion1 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

HY-Motion Encode Text Description

Encodes text into vectors for motion diffusion models, enabling text-based motion generation.

HY-Motion Encode Text:

The HYMotionEncodeText node is designed to facilitate the encoding of textual data into a format that can be utilized by motion diffusion models. This node leverages advanced text encoding techniques to transform input text into vector representations, which are essential for generating motion data from textual descriptions. By encoding text into a structured format, this node enables seamless integration with motion generation pipelines, allowing for the creation of dynamic and expressive animations based on textual input. The primary goal of this node is to bridge the gap between textual descriptions and motion data, providing a robust tool for AI artists to explore creative possibilities in motion design.

HY-Motion Encode Text Input Parameters:

llm

The llm parameter represents the language model wrapper used for encoding the text. It is crucial for determining the specific language model that will process the input text. This parameter impacts the quality and characteristics of the encoded text, as different language models may have varying capabilities in understanding and representing textual data. There are no explicit minimum, maximum, or default values provided for this parameter, as it depends on the available language models within the system.

text

The text parameter is the actual string input that you wish to encode. This parameter is fundamental as it contains the content that will be transformed into a vector representation. The quality and relevance of the output are directly influenced by the input text, making it essential to provide clear and descriptive text that accurately represents the desired motion. There are no specific constraints on the length or content of the text, but it should be crafted to align with the intended motion output.

HY-Motion Encode Text Output Parameters:

text_vec_raw

The text_vec_raw output parameter provides the raw vector representation of the input text. This vector is a crucial component in the motion generation process, as it serves as the foundational data that informs the subsequent stages of motion synthesis. The vector encapsulates the semantic and syntactic information of the input text, enabling the motion model to interpret and generate corresponding animations.

text_ctxt_raw

The text_ctxt_raw output parameter delivers the contextual vector representation of the input text. This output is essential for capturing the broader context and nuances of the text, which are vital for generating more sophisticated and contextually aware motion data. The contextual vector enhances the model's ability to produce animations that are not only accurate but also contextually relevant.

text_ctxt_raw_length

The text_ctxt_raw_length output parameter indicates the length of the contextual vector representation. This parameter provides insight into the complexity and depth of the encoded text, offering a measure of how much information is encapsulated within the contextual vector. Understanding this length can help in optimizing and adjusting the input text for desired motion outcomes.

HY-Motion Encode Text Usage Tips:

  • Ensure that the input text is clear and descriptive to achieve the best motion generation results. The quality of the output is highly dependent on the clarity and relevance of the input text.
  • Experiment with different language models by adjusting the llm parameter to find the model that best captures the nuances of your text and aligns with your creative goals.

HY-Motion Encode Text Common Errors and Solutions:

Unknown pooling mode: <mode>

  • Explanation: This error occurs when an unsupported pooling mode is specified in the text encoding process.
  • Solution: Verify that the pooling mode specified is one of the supported options, such as pooler_output, mean, or last_token. Adjust the configuration to use a valid pooling mode.

AttributeError: ' HY-Motion Encode Text' object has no attribute 'text_encoder'

  • Explanation: This error indicates that the text encoder has not been properly initialized or loaded.
  • Solution: Ensure that the text encoder is correctly instantiated and assigned to the text_encoder attribute before attempting to encode text. Check the initialization process for any missing steps.

HY-Motion Encode Text Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HY-Motion1
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 Models, enabling artists to harness the latest AI tools to create incredible art.

HY-Motion Encode Text