Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI model conditioning flexibility by swapping outputs before CFG application for dynamic behavior adjustment.
The Pre CFG flip flop node is designed to enhance the flexibility and control of your AI model's conditioning process. This node allows you to swap the conditional and unconditional outputs of your model before the classifier-free guidance (CFG) is applied. This can be particularly useful in scenarios where you want to experiment with different conditioning strategies or need to ensure that certain conditions are met before proceeding with further processing. By enabling this node, you can dynamically alter the behavior of your model based on the presence of unconditional outputs, providing a powerful tool for fine-tuning and optimizing your AI-generated art.
This parameter represents the AI model that you are working with. It is a required input and ensures that the node has the necessary model to apply the flip flop operation. The model parameter does not have specific minimum or maximum values as it is a reference to the model object itself.
This is a boolean parameter that determines whether the flip flop operation should be applied. When set to True
, the node will perform the swap of conditional and unconditional outputs if an unconditional output is detected. The default value is True
, meaning the flip flop operation is enabled by default. This parameter allows you to easily toggle the functionality on or off without removing the node from your workflow.
The output of this node is the modified model with the flip flop operation applied. This output model will have its conditional and unconditional outputs swapped if the conditions are met and the operation is enabled. This allows for further processing or generation steps to utilize the altered conditioning, potentially leading to different and interesting results in your AI-generated art.
enabled
parameter to quickly test the impact of the flip flop operation on your model's output without needing to reconfigure your entire workflow.{len(conds_out[1][b])}
CHANNELS"model
input parameter. This is necessary for the node to perform the flip flop operation.© Copyright 2024 RunComfy. All Rights Reserved.