ComfyUI > Nodes > ComfyUI-HY-Motion1 > HY-Motion Rewrite Prompt

ComfyUI Node: HY-Motion Rewrite Prompt

Class Name

HYMotionRewritePrompt

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 Rewrite Prompt Description

Enhances text prompts by rewriting them and estimating motion duration for AI projects.

HY-Motion Rewrite Prompt:

The HYMotionRewritePrompt node is designed to enhance and refine text prompts by leveraging a language model to rewrite them and estimate the duration of the described motion. This node is particularly useful for AI artists and creators who work with motion-based projects, as it provides a streamlined way to generate more precise and contextually appropriate prompts. By utilizing this node, you can ensure that your text prompts are not only more engaging but also accurately reflect the intended motion duration, which is crucial for synchronizing animations or other time-sensitive media. The node's primary function is to take an initial text prompt, process it through a sophisticated language model, and return a rewritten version along with an estimated duration, thus offering a comprehensive solution for prompt optimization in motion-related projects.

HY-Motion Rewrite Prompt Input Parameters:

prompter

The prompter parameter is a reference to the HYMOTION_PROMPTER model, which is responsible for the actual rewriting and duration estimation process. This parameter is crucial as it determines the model used for processing the input text. The available options for this parameter include models that can be automatically downloaded or loaded locally, providing flexibility depending on your setup and preferences. The choice of model can significantly impact the quality and accuracy of the rewritten prompt and the estimated duration.

text

The text parameter is a string input that represents the initial text prompt you wish to rewrite. This parameter is essential as it serves as the basis for the node's processing. The default value is "A person is walking forward.", and it supports multiline input, allowing for more complex and detailed prompts. The content of this parameter directly influences the output, as the node will generate a rewritten version of this text and estimate the motion duration based on its content.

HY-Motion Rewrite Prompt Output Parameters:

rewritten_text

The rewritten_text output is a string that represents the refined version of the input text prompt. This output is crucial for ensuring that your prompts are more engaging and contextually appropriate, as it reflects the enhancements made by the language model. The rewritten text can be used directly in your projects to improve the quality and effectiveness of your motion-based content.

duration

The duration output is a float that indicates the estimated time, in seconds, for the motion described in the rewritten text. This output is particularly important for synchronizing animations or other time-sensitive media, as it provides a precise estimate of how long the described motion should take. Understanding this duration allows you to better plan and execute your projects, ensuring that all elements are aligned and cohesive.

HY-Motion Rewrite Prompt Usage Tips:

  • Ensure that the prompter model is correctly loaded and configured to achieve the best results in rewriting and duration estimation.
  • Experiment with different initial text prompts to see how the node refines them and to understand the impact on the estimated duration.

HY-Motion Rewrite Prompt Common Errors and Solutions:

Prompt rewriting failed: <error_message>

  • Explanation: This error occurs when the node encounters an issue during the prompt rewriting process, possibly due to an invalid input or a problem with the language model.
  • Solution: Verify that the prompter model is correctly loaded and that the input text is properly formatted. If the problem persists, check the model's configuration and ensure that all dependencies are correctly installed.

HY-Motion Rewrite Prompt 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.