Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate data duplication for AI art generation with flexible output options for consistent replication and streamlined workflow.
The Repeater| Repeater 🐍 node is designed to facilitate the duplication of input data within your AI art generation workflow. This node is particularly useful when you need to repeat a specific input multiple times, either by reusing the same input node or by creating new nodes dynamically. It offers flexibility in how the repeated data is output, allowing you to choose between a single consolidated output or multiple individual outputs. This can be especially beneficial for tasks that require consistent replication of data, such as generating multiple variations of an image or text based on a single source. By automating the repetition process, the Repeater| Repeater 🐍 node helps streamline your workflow and ensures uniformity across repeated elements.
The source
parameter represents the initial input data that you want to repeat. This can be any type of data, such as an image, text, or other media. The source
acts as the base element that will be duplicated according to the specified number of repeats.
The repeats
parameter determines the number of times the source
input will be repeated. It accepts an integer value with a minimum of 0 and a maximum of 5000, with a default value of 2. Adjusting this parameter allows you to control the extent of repetition, enabling you to generate the desired number of duplicates.
The output
parameter specifies how the repeated data will be structured in the output. It offers two options: "single" and "multi". Choosing "single" will consolidate all repeated elements into a single output, while selecting "multi" will generate multiple individual outputs for each repeated element. This flexibility allows you to tailor the output format to your specific needs.
The node_mode
parameter defines the method of repetition. It provides two options: "reuse" and "create". When set to "reuse", the node will use a single input node and repeat it the specified number of times. When set to "create", new nodes will be dynamically added during the graph serialization process, each containing the repeated data. This parameter allows you to choose between reusing existing nodes or creating new ones for each repetition.
The output parameter is a wildcard type, represented by *
, which indicates that the output can be of any type, depending on the input source
. The output will contain the repeated elements as specified by the repeats
, output
, and node_mode
parameters. This flexibility ensures that the node can handle various types of data and output formats, making it adaptable to different use cases.
repeats
parameter to the desired number of variations and choose the "multi" option for the output
parameter.node_mode
parameter to "reuse" to avoid creating additional nodes and keep your workflow streamlined.node_mode
parameter to "create" to ensure that each repetition is handled by a new node, which can be useful for complex workflows requiring distinct processing for each repeated element.source
parameter received an input type that is not supported by the node.source
input is of a valid type, such as an image, text, or other media that the node can process.repeats
parameter value is outside the allowed range of 0 to 5000.repeats
parameter to a value within the specified range to ensure proper node execution.output
parameter received an option that is not recognized by the node.output
parameter is set to either "single" or "multi" to ensure correct output formatting.node_mode
parameter received an option that is not recognized by the node.node_mode
parameter is set to either "reuse" or "create" to define the repetition method correctly.© Copyright 2024 RunComfy. All Rights Reserved.