Nodes/Comfyui FOCUS nodes/⚜️ Global Seed Controller
ComfyUI Node

⚜️ Global Seed Controller

One fixed/random switch for every sampler in your graph

By DJ-Tribefull·Created 2 years ago·Updated 2 years ago· 7
⚜️ Global Seed Controller
      value123456789
      seed_modefalse
      last_seed
      randomizefalse

      Managing seeds across a multi-stage workflow gets old fast: copy a value from one KSampler to another, remember whether you're supposed to be on fixed or random this run, lose track of what actually produced the good image three generations ago. This node is FOCUS's answer, and per the README it's explicitly modeled on Inspire Pack's own Global Seed node - trimmed to the two modes the author decided an average user actually needs.

      The thing that trips people up first

      This node has no wire outputs at all. Don't go looking for an INT socket to drag into your KSampler's seed - there isn't one. Like the Inspire Pack node it's built from, it works as a control panel rather than a normal graph node: it's meant to keep the seed state on your samplers in sync behind the scenes, not hand you a value to route by hand. If you're expecting standard noodle-and-socket behavior, this is the node that breaks the pattern.

      Inputs that matter

      • value - the actual seed number, default 123456789.
      • seed_mode - the fixed/randomize toggle. Per the README, this is deliberately just an on/off rather than the usual four-or-five-option seed control ("fixed / increment / decrement / randomize") you see elsewhere - "the only two modes the average user needs."
      • randomize - the second toggle, and the more interesting one: it switches between full randomization (every affected sampler in your graph rolls its own independent seed each run) and a truly shared global seed (every sampler uses the exact same number).
      • last_seed - where the seed actually used on the previous run gets recorded. This is your way back: run in random mode, land on an image you like, read the value off last_seed, and paste it into value to lock it in.

      How it's meant to be used

      This pairs directly with the pack's own Wildcard Processor. The README spells out the intended loop: freeze your wildcards once you've landed on a prompt combination you like, then let this node keep exploring variation through the noise seed on your KSampler instead of re-rolling the whole prompt from scratch. It's the pack's version of the standard seed-farming discipline - cheap exploration, then lock in the winner - just automated across however many samplers your workflow has instead of one.

      Installing it

      Via ComfyUI Manager: search Comfyui FOCUS nodes, install, restart. Or:

      cd ComfyUI/custom_nodes
      git clone https://github.com/DJ-Tribefull/Comfyui_FOCUS_nodes
      

      Restart ComfyUI.

      Common issues & troubleshooting

      You can't drag a wire out of it. That's correct, not broken - this node genuinely has zero outputs. Its job happens through how it interacts with other nodes' widgets, not through the data graph.

      Seeds don't seem to actually sync across your samplers. This kind of cross-widget control depends on the pack's frontend code being loaded correctly. Make sure ComfyUI itself and the pack are both current, and if it's still not behaving, fall back to setting seeds manually on each sampler - it's more tedious but always works.

      You only have one KSampler in your workflow. This node doesn't add much over that KSampler's own seed widget in that case - its value is specifically in keeping multiple samplers (like this pack's two-stage SDXL setup) agreeing on fixed-vs-random and shared-vs-independent without hand-syncing them yourself.

      Category⚜️ Focus Nodes/Utility

      Inputs (4)

      NameTypeDefaultDescription
      valueINT1234567890–18446744073709550000
      seed_modeBOOLEANfalse
      last_seedSTRING
      randomizeBOOLEANfalse

      Outputs (0)

      No outputs