← 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

CacheBackendDataNumberKey //Inspire

Cache Backend Data [NumberKey] (Inspire) Node Documentation

Overview

The Cache Backend Data [NumberKey] (Inspire) node is a part of the ComfyUI-Inspire-Pack, designed to facilitate the storage of backend data using a numerical key. This node is particularly useful in scenarios where data needs to be shared across multiple workflows in the ComfyUI environment. Unlike the standard Cache Backend Data node, which uses string keys, this node utilizes integer keys, making it convenient for automated processes that can handle numerical identifiers.

Functionality

The primary function of the Cache Backend Data [NumberKey] (Inspire) node is to store any type of data in a backend cache that can be accessed later using the same numerical key. This is ideal for workflows requiring persistent data storage across different instances or executions of the UI.

Inputs

This node accepts the following inputs:

  1. Key: An integer value serving as the unique identifier for the data. The key must be a non-negative integer within the range of 0 to 0xFFFFFFFFFFFFFFFF.

  2. Tag: A short string description or label for the cached data. This is used for easy reference and organizational purposes.

  3. Data: Any type of data that needs to be stored in the cache. This can include models, images, configuration settings, or other pertinent information relevant to a workflow.

Outputs

The node produces a single output:

  1. Data Opt: This output returns the same data that was input, confirming that the data has been successfully cached.

Usage in ComfyUI Workflows

The Cache Backend Data [NumberKey] (Inspire) node is particularly suitable for workflows where:

  • Data needs to be retained across different workflow executions.
  • Consistent, repeatable identification of cache entries is required, which is facilitated by numerical keys.
  • Automation processes that rely on integer-based indexing for organizing and accessing cached elements.

Users might employ this node in scenarios such as storing interim data that should persist between workflow runs, or when setting up a complex pipeline where data reuse is necessary.

Special Features and Considerations

  • Numerical Keys: The use of integer keys allows for streamlined automation and indexing, which is ideal in programmatic contexts.
  • Tagging System: Provides a tagging mechanism to enhance the organization and retrieval of cached data.
  • Flexibility: Able to handle any type of data, making it highly versatile for various applications within ComfyUI.

This node, along with the broader set of caching nodes available in the Inspire Pack, enhances the efficiency and effectiveness of workflow management in environments that utilize ComfyUI, offering robust solutions for data persistence and sharing.