← See All Custom Node Packs

Inspire Pack

791
By Dr.Lt.Data
Updated 7 months ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

This extension provides various nodes to support Lora Block Weight, Regional Nodes, Backend Cache, Prompt Utils, List Utils and the Impact Pack.

Available Nodes

GlobalSeed //Inspire

Global Seed (Inspire) Node Documentation

Overview

The Global Seed (Inspire) node is a specialized tool within the ComfyUI-Inspire-Pack designed to facilitate the control and management of seeds within ComfyUI workflows. It provides a centralized mechanism to manage seed values used in the generation process, ensuring consistency and enabling variations. This node can operate without requiring explicit connection lines, thereby simplifying workflow setups.

Functionality

The Global Seed (Inspire) node allows users to control the seed values globally across all workflow elements that utilize seeds, such as random number generation or noise generation for stable diffusion tasks. This node is particularly useful for ensuring consistent outputs or exploring variations by modifying seed values strategically.

Inputs

The node requires the following inputs:

  1. value: Sets the initial seed value. It is an integer that determines the starting point for random number generation.

  2. mode: A boolean input that determines how the seed is controlled. Options include:

    • control_before_generate: Controls the seed before the generation process.
    • control_after_generate: Controls the seed after the generation process.
  3. action: Specifies the action to perform with the current seed value. Options include:

    • fixed: Keeps the seed value constant.
    • increment: Increases the seed value by one.
    • decrement: Decreases the seed value by one.
    • randomize: Assigns a new random seed value.
    • increment for each node: Increments the seed for each node separately.
    • decrement for each node: Decrements the seed for each node separately.
    • randomize for each node: Randomizes the seed for each node separately.
  4. last_seed: A string field to optionally store the last used seed value for reference or logging purposes.

Outputs

The Global Seed (Inspire) node does not directly produce outputs that connect to other workflow nodes. It functions as a control node that influences the seed values of connected processes indirectly.

Use in ComfyUI Workflows

In a ComfyUI workflow, the Global Seed (Inspire) node is used to manage and control seed values across various nodes that require randomization or consistent initialization. Here are some typical use cases:

  • Reproducibility: By fixing the seed value, users can ensure that the same workflow produces identical results every time it is run.
  • Variation: By incrementing, decrementing, or randomizing the seed, users can explore different variations of the same process to generate diverse outputs.
  • Batch Processing: The node can manage seed variations across batch processes, ensuring that each batch can produce a unique set of outputs.

Special Features and Considerations

  • No Separate Connections Needed: This node operates without needing direct connections to other nodes for controlling the seed values, easing the complexity of workflow configurations.
  • Batch Operations: Options like "increment for each node" and "randomize for each node" facilitate batch seed management, making it highly effective for generating unique batch outputs.
  • Backward Compatibility Warning: The readme notes a potential backward compatibility issue with specific versions of ComfyUI if the Global Seed node is not used, which might result in workflow seed values not being retained properly.

The Global Seed (Inspire) node is a valuable element in complex ComfyUI workflows, aiding both reproducibility and explorative generation processes by providing robust seed control mechanisms.