Chaos Randomizer
Roll every parameter at once, aspect ratios included
- steps
- cfg_scale
- cfg_guidance
- height
- width
- seed
The Endless randomizer family exists because "everything random" is genuinely fun for exploration, and Randomizer_Chaos is the aspect-ratio-aware one. Feed it min/max ranges for steps, CFG, guidance, dimensions, and seed, and it rolls a full parameter set each run - steps, cfg, guidance, height, width, seed - ready to plug into a KSampler and an Empty Latent Image. The README calls Chaos the node that "randomly changes the aspect ratio on you," and that's its personality: it doesn't just randomize dimensions, it picks a real aspect ratio.
There are three parameter randomizers in the pack: Mayhem (random dims, optionally flipping portrait/landscape), Chaos (aspect-ratio aware), and Pandemonium (a black box with no inputs at all). This is the one to reach for when you want varied compositions, not just varied numbers.
Inputs and outputs
The inputs are all min/max pairs plus a couple of flags - every one has a sensible default, so you can run it untouched:
steps_min/steps_max,cfg_min/cfg_max- sampling ranges (CFG for SD-style models).guidance_min/guidance_max- the separate Flux guidance range, 0-6. That's thecfg_guidanceoutput.dimension_min/dimension_max- the size pool the aspect ratios are picked from.orientation-square,portrait,landscape, orrandom(default). Square keeps 1:1; the others draw from a baked-in list of ratios (4:3, 3:2, 16:9, 21:9, 2.39:1 anamorphic, and more, plus inverses). If no ratio fits, it reverts to square.divisible_by_64- off means dimensions snap to multiples of 16; on, multiples of 64.seed_min/seed_max/seed- the random range and the seed that reproduces a given roll.
Outputs: steps (INT), cfg_scale (FLOAT), cfg_guidance (FLOAT), height (INT), width (INT), seed (INT). Wire steps/cfg/seed to the KSampler, height/width to the latent node.
Where people get burned
The sanity checks are actually a feature: if you put steps_min=10, steps_max=3, the node silently flips them rather than crashing. The subtle trap is guidance vs. CFG - on a Flux workflow use the guidance output and ignore cfg_scale; on SD the reverse. And a fixed seed input reproduces the whole roll, which is what you want when you finally generate something good and need to rebuild it.
Installing it
Part of Endless πβ¨ Nodes by tusharbhutt:
cd ComfyUI/custom_nodes
git clone https://github.com/tusharbhutt/Endless-Nodes
# restart ComfyUI
Or ComfyUI Manager β search "Endless". No dependencies or model files.
Gotchas
Beyond the guidance/CFG confusion: dimensions respect your divisor, so don't expect arbitrary sizes; and the pack is a single-maintainer hobby project with a mid-2025 rewrite, so treat it as a well-tested personal tool, not a supported platform. For pure parameter randomization without aspect-ratio logic, the Mayhem node is the leaner alternative in the same menu.
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| steps_min | INT | 201β150 | β |
| steps_max | INT | 401β150 | β |
| cfg_min | FLOAT | 6.001β20 | β |
| cfg_max | FLOAT | 12.001β20 | β |
| guidance_min | FLOAT | 1.000β6 | β |
| guidance_max | FLOAT | 3.500β6 | β |
| dimension_min | INT | 512256β4096 | β |
| dimension_max | INT | 1024256β4096 | β |
| orientation | COMBO | random | 4 options: portrait, landscape, square, random |
| divisible_by_64 | BOOLEAN | false | β |
| seed_min | INT | 00β4294967295 | β |
| seed_max | INT | 86753090β4294967295 | β |
| seed | INT | 00β4294967295 | β |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| steps | INT | β |
| cfg_scale | FLOAT | β |
| cfg_guidance | FLOAT | β |
| height | INT | β |
| width | INT | β |
| seed | INT | β |