Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates continuation of Cycle loop, passing data to subsequent prompts for iterative processing.
The CycleContinue
node is designed to facilitate the continuation of a Cycle, a type of loop that iterates each time a prompt is executed. This node allows you to send information forward into subsequent prompts, enabling workflows that process data iteratively. By connecting the Data and Aux outputs of this node to a Cycle End
node's Data and Aux inputs, you can continue the loop after processing the data. The Index output specifies the current value of the loop counter before the Step is applied. This node is particularly useful for propagating data into subsequent prompt executions, allowing for iterative data processing by queuing multiple prompts at a time or setting the execution to Instant, which queues up prompts automatically. Execution can be interrupted via the HaltExecution
node once your Cycle has finished or for any other reason.
The CYCLE
input parameter is a dictionary that holds the state of the current cycle, including the loop index and any auxiliary data. This parameter is essential for maintaining the continuity of the loop and ensuring that the data is correctly propagated to subsequent iterations. There are no specific minimum, maximum, or default values for this parameter as it is dynamically managed by the cycle's state.
The index_override
input parameter allows you to manually set the current value of the loop counter. This can be useful if you need to jump to a specific iteration within the loop. If not provided, the loop will continue with the current index value. This parameter is optional and does not have predefined minimum, maximum, or default values.
The data
input parameter is used to pass any data that needs to be processed in the current iteration of the loop. This data will be propagated to the next iteration via the Cycle End
node. There are no specific constraints on the type or format of the data, making it flexible for various use cases.
The aux
input parameter is used to pass auxiliary data that may be needed for processing in the current iteration of the loop. Similar to the data
parameter, this auxiliary data will be propagated to the next iteration. There are no specific constraints on the type or format of the auxiliary data.
The index
output parameter specifies the current value of the loop counter before the Step is applied. This value is crucial for tracking the progress of the loop and can be used to make decisions based on the current iteration.
The next
output parameter contains the data that will be passed to the next iteration of the loop. This allows for the iterative processing of data, enabling complex workflows that require multiple steps of data transformation.
The aux
output parameter contains the auxiliary data that will be passed to the next iteration of the loop. This is useful for carrying additional information that may be needed for processing in subsequent iterations.
CYCLE
input is correctly connected to maintain the continuity of the loop and avoid errors.index_override
parameter to jump to specific iterations if needed, which can be useful for debugging or specific workflow requirements.data
and aux
inputs to relevant nodes to propagate necessary information into subsequent iterations, enabling complex data processing workflows.CYCLE
input is not properly connected, disrupting the continuity of the loop.CYCLE
input is correctly connected to the corresponding Cycle
or Cycle End
node to maintain the loop's state.Cycle
node's parameters are correctly set to transition out of the 'DRY RUN' state.auto_reset
parameter in the Cycle
node is set to False.© Copyright 2024 RunComfy. All Rights Reserved.