Visit ComfyUI Online for ready-to-use ComfyUI environment
Retrieve batch of frames from history for AI artists to reuse past image data, enhancing workflow efficiency.
The Get Batch From History (mtb) node is designed to retrieve a batch of frames from the history of previously processed images. This node is particularly useful for AI artists who need to access and reuse past image data for further processing or analysis. By fetching historical data, you can maintain consistency across different stages of your project, compare results, or apply additional transformations to previously generated images. The node provides a convenient way to access this data without manually saving and loading images, streamlining your workflow and enhancing productivity.
This parameter determines whether the node should actively fetch data from the history. When set to True
, the node will attempt to retrieve the specified batch of frames. If set to False
, the node will either return a passthrough image if provided or an empty tensor. This parameter is essential for controlling the node's behavior and ensuring it only operates when needed. The default value is True
.
This parameter specifies the number of frames to retrieve from the history. It directly impacts the amount of data fetched and processed by the node. Setting this value to 0
will disable the fetching process, and the node will return an empty tensor or the passthrough image. The default value is 0
.
This parameter defines the starting point in the history from which frames should be fetched. It allows you to skip a certain number of frames and start retrieving data from a specific position. This is useful for accessing different segments of your historical data. The default value is 0
.
This is an internal parameter used to invalidate the node. It is not intended for direct manipulation by users but plays a role in the node's internal logic to ensure proper functioning and data integrity.
This optional parameter allows you to provide an image that will be returned if the fetching process is disabled (i.e., enable
is False
or count
is 0
). This ensures that the node can still output a meaningful result even when it is not actively fetching data from the history.
The primary output of this node is a tensor containing the batch of frames retrieved from the history. If the fetching process is disabled or no data is found, the output will be an empty tensor or the provided passthrough image. This output is crucial for further processing and analysis in your workflow, allowing you to leverage historical data effectively.
enable
parameter is set to True
and the count
parameter is greater than 0
to actively fetch data from the history.offset
parameter to access different segments of your historical data, which can be useful for comparing different stages of your project.passthrough_image
to ensure the node outputs a meaningful result even when the fetching process is disabled.enable
parameter is set to False
or the count
parameter is 0
.enable
parameter is set to True
and the count
parameter is greater than 0
.offset
and count
parameters to match the available data range.© Copyright 2024 RunComfy. All Rights Reserved.