Visit ComfyUI Online for ready-to-use ComfyUI environment
Automatically adjusts CFG scale for precise AI art generation control.
The Pre CFG automatic scale node is designed to dynamically adjust the Classifier-Free Guidance (CFG) scale during the denoising process in AI art generation. This node helps in fine-tuning the balance between the conditional and unconditional outputs, ensuring that the generated images adhere closely to the desired artistic style while maintaining a high level of detail and coherence. By automatically scaling the CFG, this node enhances the overall quality of the generated images, making it a valuable tool for AI artists looking to achieve precise control over their creative outputs.
This parameter specifies the model to be used for the automatic scaling process. It is essential as it defines the framework within which the scaling adjustments will be applied.
This parameter sets the upper limit for the CFG scale. It determines the maximum intensity of guidance that can be applied during the denoising process. The default value is 80, with a minimum of 0.0 and a maximum of 1000.0. Adjusting this value can significantly impact the adherence to the conditional input.
This parameter sets the lower limit for the CFG scale. It defines the minimum level of guidance to be applied. The default value is 4.5, with a minimum of 0.0 and a maximum of 10.0. Lower values can result in more creative freedom but may reduce adherence to the conditional input.
This parameter controls the intensity of the scaling effect. The default value is 0.5, with a range from 0.0 to 10.0. Higher values increase the impact of the automatic scaling adjustments, while lower values reduce it.
This parameter specifies the sigma value at which the scaling adjustments should stop. The default value is 0.28, with a range from 0.0 to 1000.0. This helps in controlling the point at which the guidance scaling ceases, ensuring a smooth transition in the denoising process.
This boolean parameter determines whether the scales should converge during the process. The default value is True. When enabled, it ensures that the conditional and unconditional outputs gradually align, enhancing the coherence of the final image.
This boolean parameter allows for the inversion of the input mask. The default value is False. When enabled, it inverts the areas affected by the scaling, providing an alternative approach to modifying the image.
This parameter accepts a mask input that defines the areas of the image to be modified by the node. The mask helps in selectively applying the CFG scale adjustments, allowing for targeted enhancements.
This parameter accepts a latent input that sets the maximum scale allowed for seeking similarity. It helps in defining the scope of the scaling adjustments, ensuring that the modifications stay within the desired range.
The output model is the modified version of the input model with the applied automatic CFG scaling adjustments. This model incorporates the dynamic scaling changes, resulting in improved image quality and adherence to the desired artistic style.
© Copyright 2024 RunComfy. All Rights Reserved.