ComfyUI > Nodes > ComfyUI-HunyuanVideoWrapper > HunyuanVideo Prompt Mix Sampler

ComfyUI Node: HunyuanVideo Prompt Mix Sampler

Class Name

HyVideoPromptMixSampler

Category
HunyuanVideoWrapper
Author
kijai (Account age: 2506days)
Extension
ComfyUI-HunyuanVideoWrapper
Latest Updated
2025-05-12
Github Stars
2.4K

How to Install ComfyUI-HunyuanVideoWrapper

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

Enhance video processing with prompt mixing for creative AI-driven video generation.

HunyuanVideo Prompt Mix Sampler:

The HyVideoPromptMixSampler is a specialized node designed to enhance video processing by integrating multiple prompts into a cohesive output. This node is particularly useful for AI artists who wish to blend different textual prompts to influence the visual style or content of a video. By leveraging the capabilities of prompt mixing, it allows for a more dynamic and creative approach to video generation, enabling users to experiment with various prompt combinations to achieve unique artistic effects. The primary goal of this node is to provide a flexible and intuitive way to manipulate video content through the use of textual prompts, making it an essential tool for those looking to push the boundaries of video art.

HunyuanVideo Prompt Mix Sampler Input Parameters:

prompt_1

This parameter represents the first textual prompt that will be used in the mixing process. It serves as one of the foundational elements that influence the video's style or content. The impact of this prompt on the final output depends on its content and how it interacts with other prompts. There are no strict minimum or maximum values, but the prompt should be a coherent and meaningful text to achieve the desired effect.

prompt_2

Similar to prompt_1, this parameter is the second textual prompt used in the mixing process. It works in conjunction with prompt_1 to create a blended effect in the video. The interaction between the two prompts can lead to a variety of artistic outcomes, depending on their content and the context in which they are used. As with prompt_1, there are no strict limits, but clarity and relevance are key for effective results.

mix_ratio

This parameter determines the proportion in which the two prompts are mixed. It is a numerical value that typically ranges from 0 to 1, where 0 means only prompt_1 is used, and 1 means only prompt_2 is used. A value of 0.5 would result in an equal blend of both prompts. Adjusting this ratio allows for fine-tuning the influence of each prompt on the final video output.

HunyuanVideo Prompt Mix Sampler Output Parameters:

mixed_video

The mixed_video output is the resulting video after the prompt mixing process. It reflects the combined influence of the input prompts as determined by the mix_ratio. This output is crucial for evaluating the effectiveness of the prompt mixing and serves as the final product that can be further refined or used as is. The quality and characteristics of this video depend on the input prompts and the specified mix ratio.

HunyuanVideo Prompt Mix Sampler Usage Tips:

  • Experiment with different combinations of prompts to discover unique artistic effects. The interaction between prompts can lead to unexpected and creative results.
  • Adjust the mix_ratio incrementally to observe subtle changes in the video output. This can help in fine-tuning the balance between the influences of the two prompts.
  • Use clear and descriptive prompts to ensure that the mixing process yields meaningful and visually appealing results.

HunyuanVideo Prompt Mix Sampler Common Errors and Solutions:

InvalidPromptError

  • Explanation: This error occurs when one or both of the input prompts are not valid or are empty.
  • Solution: Ensure that both prompt_1 and prompt_2 are non-empty and contain meaningful text.

MixRatioOutOfRangeError

  • Explanation: This error is triggered when the mix_ratio is set outside the acceptable range of 0 to 1.
  • Solution: Adjust the mix_ratio to be within the range of 0 to 1 to ensure proper mixing of the prompts.

HunyuanVideo Prompt Mix Sampler Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HunyuanVideoWrapper
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.