Run ComfyUI Easily with InstaSD

Skip the complex setup and run ComfyUI online. 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

Documentation

cg-use-everywhere

A comprehensive guide to the cg-use-everywhere repository, essential for enhancing the functionality of ComfyUI through custom nodes designed to improve workflow efficiency and flexibility.

Table of Contents

Installation

To install the cg-use-everywhere repository, it is recommended to use Comfy Manager. However, if you prefer a manual installation, you can do so by cloning the repository directly into your custom_nodes directory.

git clone https://github.com/chrisgoringe/cg-use-everywhere <path_to_custom_nodes_directory>

Purpose

The cg-use-everywhere repository is designed to provide an array of custom nodes for ComfyUI. These nodes are intended to enhance the workflow automation capabilities of ComfyUI by providing universal connection capabilities across various nodes and workflows. This results in more streamlined and efficient designs without the need for repetitive input connections or manual adjustments.

Provided Nodes

The repository includes multiple custom nodes, each with specific functions to integrate and streamline workflows within ComfyUI:

  • Seed Everywhere: Connects to any unconnected integer input with the word "seed" in the input name. It includes a feature known as control_after_generate to synchronize seed values across workflows.

  • Anything Everywhere: This node is adaptable to any input type, initially starting with a single generic input and changing its label based on the type of input connected.

  • Anything Everywhere?: Utilizes regex rules to control input matching, allowing conditional sending of inputs across nodes by matching specific criteria.

  • Anything Everywhere3: Packages three Anything Everywhere nodes together, making it suitable for outputs from a Checkpoint Loader.

  • Prompts Everywhere: Has two inputs intended for positive and negative prompts or conditionings, using regex matching rules to ensure correct connectivity.

Special Features and Capabilities

Update for ComfyUI Front End 1.16 and Above

  • Adaptation to changes in the ComfyUI front end, specifically regarding widget conversion and input mechanisms.
  • Enhanced visualization options for connectable widgets in the UI.

Visualization and Debugging

  • Offers visualization of virtual UE links with customizable animation settings to help identify and debug connections within workflows.
  • Provides a detailed JavaScript console for logging and debugging with adjustable logging levels.

Third Party Integration

  • Allows third-party nodes to access UE-generated prompts by exposing specific methods attached to the app object.

Convert to Real Links

  • Enables conversion of virtual UE links to real links for workflow sharing or API utilization, thereby making workflows more portable and independent of UE nodes.

Restrictions and Prioritization

  • Offers group and color restrictions for nodes, ensuring that UE nodes can target specific parts of a workflow.
  • Provides a priority system for broadcasting nodes to resolve any ambiguous matches efficiently.

Utility in ComfyUI Workflows

The cg-use-everywhere repository is invaluable for ComfyUI users who seek to optimize their workflow designs. By using these custom nodes, users can significantly reduce the complexity of their workflows, automate data flow, and ensure consistency across multiple nodes and parameters. These nodes address common challenges in integrating disparate elements and improve overall workflow efficiency by eliminating the need for redundant manual configurations.

Whether you're working with prompts, seeds, or highly customized node connections, the cg-use-everywhere repository provides the tools to make your workflows in ComfyUI both more dynamic and manageable.

Want to try cg-use-everywhere without installing anything? Run ComfyUI online on InstaSD's cloud GPUs — no setup required.