ComfyUI Node

Pandemonium Randomizer

A Black Box That Randomizes Everything for You

By tusharbhuttΒ·Created 3 years agoΒ·Updated about a year agoΒ· 68
Pandemonium Randomizer
    • steps
    • cfg_scale
    • cfg_guidance
    • height
    • width
    • seed
    β—„divisible_by_64falseβ–Ί
    β—„seed0β–Ί

    Pandemonium Randomizer is the pack's surrender-to-the-machine node. Its sibling Mayhem lets you set min/max ranges for everything; this one takes away even that. You get two inputs - divisible_by_64 and seed - and it rolls steps, CFG, guidance, dimensions, aspect ratio, and seed for you, invisibly, inside fixed internal bounds. The author's own description is the honest one: "Is it silly? Sure. Does it make your image creation more random? Absolutely."

    How it works

    The internal envelope is hard-coded in the source: dimensions between 512 and 1536, snapped to a 16-multiple (or 64, if you flip the one boolean), then combined with one of a big menu of aspect ratios - square, 4:3, 3:2, 16:9, 21:9 ultrawide, 2.39:1 anamorphic, plus the portrait inverses of all of them. It picks a valid width/height pair that fits the ratio inside those bounds, rolls steps in 5–60, CFG anywhere from 0 to 15, guidance 1–4, and derives the output seed from your input seed.

    That last bit matters for reproducibility: the same seed in always reproduces the same "pandemonium," because the output seed is computed from it. It's random-looking but replayable, which is the right design - you can land on a genuinely weird-but-great combo and keep it.

    Inputs and outputs

    • divisible_by_64 (BOOLEAN) - 16-multiple rounding (off) vs 64-multiple (on).
    • seed (INT) - master seed; same value, same roll.

    Outputs are the same six every randomizer in this pack gives you: steps (INT), cfg_scale (FLOAT), cfg_guidance (FLOAT), height (INT), width (INT), seed (INT) - wired respectively into your KSampler's steps, CFG, guidance, your Empty Latent Image's dimensions, and the sampler seed.

    Where it's actually fun (and where it isn't)

    The honest use case is creative roulette: you're stuck in a rut, or you want a stack of "what if" variants, or you just want the machine to surprise you. Pair it with a fast model and an instant-run button and you can burn through a lot of ideas a lot faster than a human picking six numbers.

    But understand the trade before you let it loose. With CFG rolling 0–15, the majority of outputs will be unusable - too low and the prompt is ignored, too high and the image burns (the KB's CFG guidance is clear that outside the sweet spot you're just wasting VRAM). Aspect ratios and resolutions swinging wildly every run means your batch can't share a consistent composition, and big jumps cost memory. Pandemonium is a dice roller, not a tuner. Use it to discover a seed and composition you like, then hand the winner to Mayhem or a fixed workflow.

    Installing

    ComfyUI Manager (search Endless Nodes) or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/tusharbhutt/Endless-Nodes
    

    Restart, find it under Endless 🌊✨ β†’ Randomizers. Single-author hobby pack, GPL v3, no maintenance promises - and a node this silly is exactly the kind you should expect to break in an update, so don't hinge a production workflow on it.

    CategoryEndless 🌊✨/Randomizers

    Inputs (2)

    NameTypeDefaultDescription
    divisible_by_64BOOLEANfalseβ€”
    seedINT00–4294967295β€”

    Outputs (6)

    NameTypeDescription
    stepsINTβ€”
    cfg_scaleFLOATβ€”
    cfg_guidanceFLOATβ€”
    heightINTβ€”
    widthINTβ€”
    seedINTβ€”