ComfyUI Node
Gated Increment (CCN)
Integer that increments or randomizes every N runs. Counter persists across ComfyUI restarts.
Gated Increment (CCN)
- INT
◄value0►
◄rate5►
◄mode▾►
◄timing▾►
◄step1►
◄reset_counterfalse►
◄debugfalse►
CategoryCCN/utils
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | 0-9007199254740991–9007199254740991 | — |
| rate | INT | 51–1000000 | Number of runs between each value change. |
| mode | COMBO | 2 options: increment, random | |
| timing | COMBO | 2 options: before, after | |
| step | INT | 11–1000000 | Amount to add in increment mode. |
| reset_counter | BOOLEAN | false | Reset the run counter to 0. Toggle on, run once, toggle off. |
| debug | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |