ComfyUI > Nodes > ComfyUI-HunyuanVideoWrapper > HyVideo Loop Args

ComfyUI Node: HyVideo Loop Args

Class Name

HyVideoLoopArgs

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

HyVideo Loop Args Description

Facilitates video looping with precise control over start/end percentages and latent shift skipping for seamless transitions.

HyVideo Loop Args:

The HyVideoLoopArgs node is designed to facilitate the looping effect in video processing by managing the latent shift parameters. This node is part of the HunyuanVideoWrapper suite, which is aimed at enhancing video creation and manipulation through advanced AI techniques. The primary function of this node is to control the looping effect by specifying the start and end percentages of the effect, as well as the step size for skipping latent shifts. This allows for smooth transitions and seamless loops in video sequences, making it an essential tool for artists looking to create dynamic and engaging video content. By leveraging the capabilities of this node, you can achieve precise control over the looping process, ensuring that your videos maintain a consistent and professional appearance.

HyVideo Loop Args Input Parameters:

shift_skip

The shift_skip parameter is an integer that determines the step size for skipping latent shifts during the looping process. It allows you to control how frequently the latent shift is applied, which can affect the smoothness and speed of the looping effect. The default value is 6, with a minimum value of 0. A higher value means fewer shifts are applied, resulting in a slower loop, while a lower value increases the frequency of shifts, creating a faster loop.

start_percent

The start_percent parameter is a float that specifies the starting point of the looping effect as a percentage of the total video duration. It defines when the looping effect should begin, allowing you to control the timing of the loop. The default value is 0.0, with a range from 0.0 to 1.0, and a step size of 0.01. This parameter is crucial for synchronizing the loop with specific moments in the video.

end_percent

The end_percent parameter is a float that indicates the ending point of the looping effect as a percentage of the total video duration. It determines when the looping effect should conclude, providing control over the duration of the loop. The default value is 1.0, with a range from 0.0 to 1.0, and a step size of 0.01. This parameter helps ensure that the loop ends at the desired moment, maintaining the flow and coherence of the video.

HyVideo Loop Args Output Parameters:

loop_args

The loop_args output parameter is a tuple that contains the processed input parameters. It serves as a configuration set for the looping effect, encapsulating the details of the shift skip, start percent, and end percent. This output is essential for passing the configured parameters to other nodes or processes that require the looping effect settings, ensuring consistency and accuracy in the video processing workflow.

HyVideo Loop Args Usage Tips:

  • Adjust the shift_skip parameter to control the speed of the loop. A smaller value will create a faster loop, while a larger value will slow it down.
  • Use the start_percent and end_percent parameters to precisely time the loop within your video. This is particularly useful for synchronizing the loop with specific scenes or actions.

HyVideo Loop Args Common Errors and Solutions:

Invalid shift_skip value

  • Explanation: The shift_skip parameter must be a non-negative integer. If a negative value is provided, it will cause an error.
  • Solution: Ensure that the shift_skip value is set to 0 or a positive integer.

start_percent or end_percent out of range

  • Explanation: The start_percent and end_percent parameters must be within the range of 0.0 to 1.0. Values outside this range will result in an error.
  • Solution: Verify that both start_percent and end_percent are set within the valid range, and adjust them accordingly.

HyVideo Loop Args 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.