Nodes/ComfyUI Easy Use/EasyGlobalSeed
ComfyUI Node Runs on cloud

EasyGlobalSeed

Control every seed in your workflow from one node

By yolain·Created 3 years ago·Updated 8 days ago· 2,633
EasyGlobalSeed
      value0
      modetrue
      action
      last_seed

      Ever had a workflow with three samplers and had to remember to set "control after generate" to fixed on all three, and then forgot one, and got a surprise reroll? easy globalSeed fixes exactly that. Drop it once, and it drives the seed on every seed-carrying node in the graph. One place to lock, one place to randomize.

      This isn't yolain's own invention and the README is upfront about it - it's the Global Seed (Inspire) node from ltdrdata's ComfyUI-Inspire-Pack, re-exposed inside Easy-Use so you don't need a second pack just for this. Same behavior, same convenience.

      How it works

      The node hooks into ComfyUI's seed widgets and overrides them before the prompt runs. Instead of each KSampler managing its own seed independently, they all read from this one node. When you tell it to randomize, it randomizes them together; when you fix it, everything holds. It's a control node, not a data node - notice it has no output wires at all. It works by reaching into the graph, not by passing a value down a cable.

      The inputs and outputs that matter

      There are no outputs - this is an output/control node that acts on the whole workflow. The knobs that matter:

      • value - the seed itself. The number every node inherits.
      • action - what happens to the seed each run. fixed locks it (essential when you're tweaking a prompt and want to isolate the change), randomize rolls a new one every queue, increment / decrement step by one. There are also the for each node variants, which give each downstream node a different seed derived from the base - handy when you actually want variety across samplers instead of the same seed everywhere.
      • mode - the boolean that toggles whether the control is active.
      • last_seed - shows the seed that was actually used, so you can copy a good roll back into value and pin it.

      How to install it

      Via ComfyUI Manager: search ComfyUI-Easy-Use, install, restart. Manually:

      cd ComfyUI/custom_nodes
      git clone https://github.com/yolain/ComfyUI-Easy-Use
      

      then run install.bat or pip install -r requirements.txt, and restart. Nothing to download - this is a pure UI/logic node.

      Common issues & troubleshooting

      It doesn't seem to be controlling anything. globalSeed works by patching seed widgets at prompt time, and that's exactly the kind of behavior that breaks when the ComfyUI frontend changes. If you just did a big ComfyUI update and globalSeed went quiet, update Easy-Use too - the pack's changelog is full of "fix widget" entries chasing frontend versions, and running a stale copy against a fresh frontend is the usual cause. This is a general Easy-Use rule: update the two together.

      It fights with cg-use-everywhere. The pack has historically had to patch around real-time graph-updating extensions. If seeds go out of order and you run "Anything Everywhere," that combination has caused seed desync before - test with it disabled.

      You want variety, not a locked seed. Switch action to one of the for each node modes so each sampler gets its own derived seed instead of the identical value.

      CategoryEasyUse/Seed

      Inputs (4)

      NameTypeDefaultDescription
      valueINT00–1125899906842624
      modeBOOLEANtrue
      actionCOMBO7 options: fixed, increment, decrement, randomize, increment for each node, decrement for each node, +1
      last_seedSTRING

      Outputs (0)

      No outputs