ComfyUI > Nodes > ComfyUI-WanVideoWrapper > WanVideo Loop Args

ComfyUI Node: WanVideo Loop Args

Class Name

WanVideoLoopArgs

Category
WanVideoWrapper
Author
kijai (Account age: 2871days)
Extension
ComfyUI-WanVideoWrapper
Latest Updated
2026-05-05
Github Stars
6.41K

How to Install ComfyUI-WanVideoWrapper

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

WanVideo Loop Args Description

Facilitates seamless looping effects in video content by manipulating latent space for precise control over animations.

WanVideo Loop Args:

The WanVideoLoopArgs node is designed to facilitate the looping of latent shifts in video processing, as demonstrated in the Mobius project. This node is particularly useful for creating seamless looping effects in video content by manipulating the latent space of video frames. By adjusting the parameters of this node, you can control the start and end points of the looping effect, as well as the frequency of latent shifts, allowing for precise and creative control over video animations. This node is part of the WanVideoWrapper category, which provides a suite of tools for advanced video manipulation and enhancement.

WanVideo Loop Args Input Parameters:

shift_skip

The shift_skip parameter is an integer that determines the number of steps to skip during the latent shift process. This parameter allows you to control the frequency of the latent shifts, with a higher value resulting in less frequent shifts. The default value is 6, and it can be set to any non-negative integer, with a minimum value of 0. Adjusting this parameter can help in achieving the desired smoothness or abruptness in the looping effect.

start_percent

The start_percent parameter is a floating-point value that specifies the starting point of the looping effect as a percentage of the total video duration. This parameter allows you to define where the looping effect should begin, providing flexibility in timing the effect within the video. The value ranges from 0.0 to 1.0, with a default of 0.0, and can be adjusted in increments of 0.01. Setting this parameter appropriately ensures that the looping effect starts at the desired moment in the video.

end_percent

The end_percent parameter is a floating-point value that indicates the ending point of the looping effect as a percentage of the total video duration. Similar to start_percent, this parameter allows you to define where the looping effect should conclude. The value ranges from 0.0 to 1.0, with a default of 1.0, and can be adjusted in increments of 0.01. By configuring this parameter, you can control the duration of the looping effect and ensure it ends at the appropriate point in the video.

WanVideo Loop Args Output Parameters:

loop_args

The loop_args output parameter is a tuple that contains the processed arguments for the looping effect. This output is crucial as it encapsulates the configuration settings that have been applied to the video processing task. The loop_args can be used by other nodes or functions within the WanVideoWrapper framework to execute the desired looping effect, ensuring that the video is processed according to the specified parameters.

WanVideo Loop Args Usage Tips:

  • To create a smooth looping effect, experiment with different shift_skip values to find the optimal frequency of latent shifts that suits your video content.
  • Use the start_percent and end_percent parameters to precisely control the timing of the looping effect, ensuring it aligns with key moments in your video.

WanVideo 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 result in 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 cause an error.
  • Solution: Adjust the start_percent and end_percent values to be within the valid range, ensuring they are between 0.0 and 1.0.

WanVideo Loop Args Related Nodes

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

WanVideo Loop Args