ComfyUI Node
Random/Select INT
Outputs an integer based on mode: • Select: fixed value from 'select' parameter • Increment: cycles through min to max range • Random: random value within min-max range • Range: cycles through comma-separated list (e.g. '1,2,5-8,12')
Random/Select INT
- index
◄minimum0►
◄maximum1►
◄modeRandom►
◄range1,2,5-8,12►
◄select1►
CategoryAUN Nodes/Utility
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| minimum | INT | 00–100000 | The minimum value for random number generation (inclusive). |
| maximum | INT | 11–100000 | The maximum value for random number generation (inclusive). |
| mode | COMBO | Random | Select mode: Select for fixed index, Increment for cycling through range, Random for random index within range, Range for selecting from a list of indices. |
| range | STRING | 1,2,5-8,12 | A comma-separated list of indices or ranges to select from in 'Range' mode (e.g. 1, 2, 5-8, 12). |
| select | INT | 11–100000 | The integer value to output when in 'Select' mode. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| index | INT | — |