ComfyUI Nodes
Playbook Seed
A node that generates either a fixed or random seed.
Overview
The Playbook Seed node provides a way to generate a numerical seed that can either be fixed or randomly generated. This is useful for controlling randomness in workflows where reproducibility is important.
🛠️ Node Configuration
Inputs
Name | Type | Required | Default | Description |
---|---|---|---|---|
id | STRING | ✅ | “Node ID” | Unique identifier for the node. |
label | STRING | ✅ | “Node Label” | Label for the node. |
default_value | INT | ✅ | 0 | Default seed value. |
setting | ENUM | ✅ | "Fixed" | Determines if the seed should be "Fixed" or "Random" . |
Outputs
Name | Type | Description |
---|---|---|
seed | INT | The generated seed value. |
⚙️ Functionality
- If “Fixed” is selected, the node will output the provided
default_value
. - If “Random” is selected, the node will generate a random seed with up to 15 digits.
- Uses
random.randint()
to ensure randomness in seed selection.