EasyGlobalSeed(globalSeed)
EasyGlobalSeed is a seed-control node from the EasyUse/Seed category. It centralizes the seed used by a workflow and can update it automatically between runs.
global Seed
EasyGlobalSeed is a seed-control node from the EasyUse/Seed category. It centralizes the seed used by a workflow and can update it automatically between runs. The node has no output sockets, so it is not meant to be wired into other nodes; instead, it acts as a global seed controller that EasyUse nodes can share.
Description
EasyGlobalSeed lets you define one master seed value and choose how that value behaves every time the workflow runs. Because the node has no outputs, it can be placed anywhere in the graph without needing to be connected to anything. When it executes, it applies the selected action to the current seed, making the resulting value available as the global seed for the workflow.
This is useful when you want a single place to control reproducibility, step through seeds while testing, or randomize seeds without editing each node manually.
Inputs
All inputs are required.
| Input | Type | Default | Description |
|---|---|---|---|
value | INT | — | The base seed value. This is used directly by the fixed action and is the fallback starting point for increment/decrement actions when last_seed is empty. |
mode | BOOLEAN | true | Master switch for the node. When true, the selected action is applied. When false, the node is inactive and the global seed is left unchanged. |
action | COMBO | — | The seed operation to perform. |
last_seed | STRING | "" | The previous seed value, stored as text. Increment and decrement actions use this as the current value when calculating the next seed. Leave it empty on the first run or whenever you want to start from value. |
action options
fixed— Usevalueexactly as the global seed.increment— Increase the seed by1each time the node runs.decrement— Decrease the seed by1each time the node runs.randomize— Replace the current seed with a random value.increment for each node— Step the seed up by1for each node that consumes the global seed in the same run.decrement for each node— Step the seed down by1for each node that consumes the global seed in the same run.randomize for each node— Supply a different random seed to each node that consumes the global seed in the same run.
Outputs
None.
EasyGlobalSeed has no output nodes and does not return a seed value. It changes behavior through the shared global seed state, so you do not connect it to other nodes.
Usage Notes
- Place the node as a standalone control in the workflow. Since it has no outputs, it does not need to be linked into the main graph.
- Keep
modeenabled when you want the node to manage the seed. Ifmodeisfalse, the node is effectively disabled. - Use
fixedwhen you need a fully reproducible workflow. - Use
increment,decrement, orrandomizewhen you want each run to produce a different result. - The
* for each nodeactions are useful in workflows with multiple nodes consuming the same global seed: each consuming node can receive its own sequential or random seed value. last_seedis a string rather than an integer, which lets the previous seed be preserved in the saved workflow. Leave it empty if you want the node to start fromvalue.
Comments
Sign in with GitHub to join the discussion.