Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json β€” we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > WhiteRabbit > πŸ‡ Prepare Loop Frames

ComfyUI Node: πŸ‡ Prepare Loop Frames

Class Name

PrepareLoopFrames

Category
video utils
Author
Artificial-Sweetener (Account age: 594days)
Extension
WhiteRabbit
Latest Updated
2026-07-28
Github Stars
0.08K

How to Install WhiteRabbit

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

πŸ‡ Prepare Loop Frames Description

Facilitates seamless video looping by preparing frames for interpolation, ensuring continuous loop transition.

πŸ‡ Prepare Loop Frames:

The PrepareLoopFrames node is designed to facilitate seamless video looping by preparing the necessary frames for interpolation. Its primary function is to create a smooth transition between the end and the beginning of a video clip, ensuring a continuous loop. This node achieves this by constructing a small batch of two frames, specifically the last and first frames of your video clip, which are crucial for creating a seamless wrap seam. Additionally, it passes the original clip through unchanged, allowing you to maintain the integrity of the original footage while preparing it for interpolation. This process is particularly beneficial for artists and creators looking to create looping animations or videos, as it simplifies the task of ensuring that the start and end of the clip blend seamlessly.

πŸ‡ Prepare Loop Frames Input Parameters:

images

The images parameter is the input for your video clip, provided as an IMAGE batch. This batch should be formatted as framesΓ—HΓ—WΓ—C, with pixel values ranging from 0 to 1. The purpose of this parameter is to supply the node with the necessary frames to prepare the loop seam. By providing the clip in this format, the node can effectively extract the last and first frames needed for the seam, while also retaining the original clip for further processing or playback.

πŸ‡ Prepare Loop Frames Output Parameters:

interp_batch

The interp_batch output provides the two-frame batch consisting of the last and first frames of your video clip. This batch is essential for creating a seamless transition between the end and the beginning of the clip, facilitating smooth interpolation. By using this output, you can ensure that your video loops without noticeable jumps or disruptions.

original_images

The original_images output returns the original video clip unchanged. This output is important for maintaining the integrity of your original footage, allowing you to use it as a reference or for further processing. It ensures that while the node prepares the necessary frames for looping, the original clip remains intact and available for use.

πŸ‡ Prepare Loop Frames Usage Tips:

  • Ensure your input video clip is formatted correctly as an IMAGE batch with values between 0 and 1 to avoid processing errors.
  • Use the interp_batch output to create seamless transitions in your video loops, especially when working with interpolators.
  • Keep the original_images output handy for reference or additional editing, as it retains the original clip without modifications.

πŸ‡ Prepare Loop Frames Common Errors and Solutions:

Input format error

  • Explanation: This error occurs when the input video clip is not formatted as an IMAGE batch with the correct dimensions or value range.
  • Solution: Verify that your input clip is structured as framesΓ—HΓ—WΓ—C and that pixel values are normalized between 0 and 1.

Missing frames in interp_batch

  • Explanation: This issue arises when the node fails to extract the last and first frames for the interp_batch.
  • Solution: Ensure that your input clip contains at least two frames and is correctly formatted to allow the node to access the necessary frames for the seam.

πŸ‡ Prepare Loop Frames Related Nodes

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

πŸ‡ Prepare Loop Frames