ComfyUI  >  Nodes  >  MTB Nodes >  Batch Time Wrap (mtb)

ComfyUI Node: Batch Time Wrap (mtb)

Class Name

Batch Time Wrap (mtb)

melMass (Account age: 3754 days)
MTB Nodes
Latest Updated
Github Stars

How to Install MTB Nodes

Install this extension via the ComfyUI Manager by searching for  MTB Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MTB 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Batch Time Wrap (mtb) Description

Remap image batch with time curve for smooth transitions and animations, ideal for AI artists.

Batch Time Wrap (mtb):

The Batch Time Wrap (mtb) node is designed to remap a batch of images using a time curve, which is a sequence of floating-point values. This node is particularly useful for AI artists who want to create smooth transitions or animations by interpolating between different frames based on a specified curve. By leveraging this node, you can achieve more dynamic and visually appealing results in your projects. The primary goal of this node is to provide a flexible and intuitive way to manipulate image sequences, making it easier to create complex visual effects without requiring extensive technical knowledge.

Batch Time Wrap (mtb) Input Parameters:


The target_count parameter specifies the number of target frames you want to generate. It determines how many frames will be interpolated based on the provided time curve. The default value is 25, with a minimum value of 2. Adjusting this parameter allows you to control the granularity of the interpolation, with higher values resulting in smoother transitions.


The frames parameter is an input that accepts a sequence of images. These images represent the original frames that will be remapped according to the time curve. This parameter is essential as it provides the visual data that will be manipulated by the node.


The curve parameter is a sequence of floating-point values that define the time curve used for remapping the frames. This curve dictates how the frames are interpolated over time, allowing for customized transitions and effects. The values in the curve should be carefully chosen to achieve the desired visual outcome.

Batch Time Wrap (mtb) Output Parameters:


The image output parameter provides the resulting sequence of images after the remapping process. These images are the interpolated frames generated based on the input frames and the specified time curve. This output is crucial for visualizing the final effect of the time wrap.


The interpolated_floats output parameter contains the interpolated floating-point values used during the remapping process. These values represent the intermediate steps of the time curve and can be useful for further analysis or adjustments.

Batch Time Wrap (mtb) Usage Tips:

  • To achieve smoother transitions, increase the target_count parameter to generate more interpolated frames.
  • Experiment with different time curves to create unique visual effects. Simple linear curves can produce straightforward transitions, while more complex curves can add interesting dynamics to your animations.
  • Ensure that the input frames are of high quality and consistent in resolution to avoid artifacts in the interpolated images.

Batch Time Wrap (mtb) Common Errors and Solutions:

"Invalid target_count value"

  • Explanation: The target_count parameter is set to a value less than the minimum allowed (2).
  • Solution: Adjust the target_count parameter to be at least 2 or higher.

"Empty frames input"

  • Explanation: The frames parameter does not contain any images.
  • Solution: Provide a valid sequence of images as input for the frames parameter.

"Invalid curve values"

  • Explanation: The curve parameter contains invalid or non-floating-point values.
  • Solution: Ensure that the curve parameter is a sequence of valid floating-point numbers.

Batch Time Wrap (mtb) Related Nodes

Go back to the extension to check out more related nodes.
MTB Nodes

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.