ComfyUI > Nodes > HunyuanVideo-1.5 nodes > HunyuanVideo CFG

ComfyUI Node: HunyuanVideo CFG

Class Name

HyVideo15CFG

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 CFG Description

HyVideo15CFG configures video generation parameters for customized artistic outputs.

HunyuanVideo CFG:

The HyVideo15CFG node, known as "HunyuanVideo CFG," is a crucial component in the HunyuanVideo 1.5 plugin, designed to facilitate the configuration of video generation processes. This node is primarily used to set up and manage the parameters that guide the video creation workflow, ensuring that the generated content aligns with the user's creative vision. By providing a structured approach to configuring prompts, negative prompts, guidance scales, and the number of videos per prompt, HyVideo15CFG allows for a high degree of customization and control over the video output. This node is essential for users who wish to fine-tune their video generation settings to achieve specific artistic goals, making it a valuable tool for AI artists looking to explore the full potential of the HunyuanVideo 1.5 framework.

HunyuanVideo CFG Input Parameters:

prompt

The prompt parameter is a textual input that serves as the primary directive for the video generation process. It defines the theme, style, or content that the generated video should reflect. This parameter is crucial as it directly influences the creative direction of the output, allowing you to specify the desired narrative or visual elements. There are no strict minimum or maximum values for this parameter, as it is a free-form text input, but it should be clear and descriptive to effectively guide the video generation.

negative_prompt

The negative_prompt parameter is used to specify elements or themes that should be avoided in the video generation process. By providing a list of undesired attributes or concepts, this parameter helps refine the output by steering the model away from certain styles or content. Like the prompt parameter, it is a free-form text input without strict limits, but it should be concise and specific to effectively influence the video generation.

guidance_scale

The guidance_scale parameter determines the strength of the influence that the prompt and negative_prompt have on the video generation process. A higher value increases the adherence to the specified prompts, resulting in outputs that closely match the user's vision. Conversely, a lower value allows for more creative freedom and variability in the output. This parameter typically ranges from a minimum of 0 to a maximum of 20, with a default value often set around 7 to balance creativity and adherence to the prompts.

num_videos_per_prompt

The num_videos_per_prompt parameter specifies the number of video outputs to generate for each prompt. This allows you to explore multiple variations of the same theme or concept, providing a broader range of creative possibilities. The minimum value is 1, and there is no strict maximum, but practical limits may be imposed by computational resources. The default value is usually set to 1, ensuring a single output per prompt unless otherwise specified.

HunyuanVideo CFG Output Parameters:

video_tensor

The video_tensor output parameter represents the generated video content in a tensor format, which is a multi-dimensional array used to store the video data. This format is essential for further processing or analysis, as it allows for efficient manipulation and transformation of the video frames. The video_tensor provides a structured representation of the video, making it easy to integrate with other components in the HunyuanVideo 1.5 framework or external tools for additional editing or enhancement.

HunyuanVideo CFG Usage Tips:

  • Experiment with different guidance_scale values to find the right balance between creativity and adherence to your prompts. A higher scale will produce outputs that closely match your input, while a lower scale allows for more artistic freedom.
  • Use the num_videos_per_prompt parameter to generate multiple variations of a video concept, which can be useful for exploring different interpretations of the same theme or for selecting the best version from several options.

HunyuanVideo CFG Common Errors and Solutions:

"Invalid prompt input"

  • Explanation: This error occurs when the prompt parameter is empty or contains unsupported characters.
  • Solution: Ensure that the prompt is a well-defined text string with clear and descriptive content. Avoid using special characters that may not be supported.

"Guidance scale out of range"

  • Explanation: This error indicates that the guidance_scale value is set outside the acceptable range.
  • Solution: Adjust the guidance_scale to be within the typical range of 0 to 20. If unsure, start with the default value and make incremental adjustments.

"Excessive number of videos requested"

  • Explanation: This error arises when the num_videos_per_prompt is set too high, exceeding computational limits.
  • Solution: Reduce the num_videos_per_prompt to a more manageable number, considering the available computational resources and desired output quality.

HunyuanVideo CFG 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.