Visit ComfyUI Online for ready-to-use ComfyUI environment
Interrupt node halts generation based on conditions, optimizing workflow efficiency.
The Interrupt node is designed to immediately halt the generation process if certain conditions are met. This node is particularly useful when you need to stop the execution based on specific criteria, ensuring that unnecessary processing is avoided. By integrating this node into your workflow, you can efficiently manage and control the execution flow, saving time and computational resources. The primary function of the Interrupt node is to check a condition and, if met, trigger an interruption in the processing, providing a seamless way to handle conditional stops in your generation tasks.
This parameter accepts any type of input data. It serves as a placeholder for the data that is being processed and passed through the node. The type of data can vary, making this parameter highly flexible and adaptable to different use cases.
This is an optional boolean parameter that determines whether the generation process should be interrupted. If set to True
, the node will halt the execution immediately. If set to False
, the process will continue as usual. The default value is False
. The parameter also includes labels for better user understanding: "interrupt" when True
and "continue" when False
.
The output parameter mirrors the input parameter any_in
. It returns the same data that was passed into the node, allowing for continuity in the data flow even if the interruption condition is not met. This ensures that the data remains unchanged and can be used in subsequent nodes if the process is not interrupted.
stop
parameter to create conditional logic in your workflow, allowing you to halt the process based on specific criteria.stop
parameter was set to True
.stop
parameter is set to False
if you do not want the process to be interrupted. Check the conditions under which the stop
parameter is being set to True
and adjust them as necessary.© Copyright 2024 RunComfy. All Rights Reserved.