ComfyUI > Nodes > ComfyUI-LexTools > StepCfgIncrementNode

ComfyUI Node: StepCfgIncrementNode

Class Name

StepCfgIncrementNode

Category
LexTools/ImageProcessing/Increment
Author
SOELexicon (Account age: 4757days)
Extension
ComfyUI-LexTools
Latest Updated
2025-03-28
Github Stars
0.03K

How to Install ComfyUI-LexTools

Install this extension via the ComfyUI Manager by searching for ComfyUI-LexTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LexTools in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

StepCfgIncrementNode Description

Adjusts configuration and step values dynamically per cycle using a seed for iterative image processing.

StepCfgIncrementNode:

The StepCfgIncrementNode is designed to dynamically adjust configuration and step values based on a given seed, allowing for a more controlled and iterative image processing workflow. This node is particularly useful in scenarios where you need to incrementally adjust parameters over a series of image processing cycles, ensuring that each cycle builds upon the previous one in a predictable manner. By leveraging the seed value, the node calculates the number of complete cycles and determines the appropriate configuration and step values for the current cycle. This functionality is essential for tasks that require gradual adjustments and fine-tuning, providing a systematic approach to parameter management in image processing pipelines.

StepCfgIncrementNode Input Parameters:

seed

The seed parameter is an integer that serves as the basis for determining the number of complete cycles and the current step within a cycle. It influences how the configuration and steps are incremented over time. The default value is 0, and it can range up to 0xffffffffffffffff, allowing for a wide range of possible cycle calculations.

cfg_start

The cfg_start parameter is an integer that sets the initial configuration value. This value is incremented by the number of complete cycles calculated from the seed. The default value is 7, and it provides a starting point for configuration adjustments as the cycles progress.

steps_start

The steps_start parameter is an integer that defines the initial step value. It is incremented by the number of steps within the current cycle, as determined by the seed. The default value is 10, and it establishes the baseline for step adjustments throughout the cycles.

image_steps

The image_steps parameter is an integer that specifies the number of steps per image cycle. It plays a crucial role in determining the step increment within each cycle. The default value is 100, which sets the granularity of step adjustments for each image processing cycle.

max_steps

The max_steps parameter is an integer that indicates the maximum number of steps allowed. It defines the upper limit for step increments within a cycle, ensuring that the step value does not exceed this threshold. The default value is 12, providing a cap on the step adjustments to maintain control over the processing workflow.

StepCfgIncrementNode Output Parameters:

INT

The first output parameter is an integer representing the updated configuration value (cfg). This value is calculated by adding the number of complete cycles to the initial configuration value (cfg_start). It reflects the cumulative adjustments made to the configuration over multiple cycles, providing insight into the current configuration state.

INT

The second output parameter is an integer representing the updated step value (steps). This value is determined by adding the number of steps within the current cycle to the initial step value (steps_start). It indicates the current step position within the cycle, offering a clear understanding of the progression through the image processing workflow.

StepCfgIncrementNode Usage Tips:

  • To effectively use the StepCfgIncrementNode, start with a seed value that aligns with your desired cycle count and step progression. This will ensure that the configuration and step values are incremented in a manner that suits your processing needs.
  • Adjust the cfg_start and steps_start parameters to set appropriate starting points for your configuration and step values. This can help tailor the node's behavior to specific image processing tasks, allowing for more precise control over parameter adjustments.

StepCfgIncrementNode Common Errors and Solutions:

Invalid seed value

  • Explanation: The seed value provided is outside the acceptable range or is not an integer.
  • Solution: Ensure that the seed value is an integer within the range of 0 to 0xffffffffffffffff.

Exceeding max_steps

  • Explanation: The calculated step value exceeds the max_steps limit.
  • Solution: Adjust the max_steps parameter to accommodate the desired step increments or reduce the image_steps value to prevent exceeding the limit.

StepCfgIncrementNode Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LexTools
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

StepCfgIncrementNode