ComfyUI-Custom-Scripts
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
Available Nodes
Documentation
ComfyUI-Custom-Scripts
Overview
The ComfyUI-Custom-Scripts repository is a collection of custom nodes and extensions designed to enhance the functionality and user experience of ComfyUI. This repository provides a variety of nodes and features that assist users in managing and customizing their ComfyUI workflows more efficiently.
Installation
To install the ComfyUI-Custom-Scripts, follow these steps:
-
Clone the Repository:
Execute the following command to clone the repository into your ComfyUIcustom_nodesdirectory:git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts.gitThis will automatically install all custom scripts and nodes, utilizing symlinks and junctions to prevent redundant file copies and ensure updates are easily managed.
-
Uninstallation:
- Delete the cloned repository from
custom_nodes. - Ensure that
web/extensions/pysssss/CustomScriptshas also been removed.
- Delete the cloned repository from
-
Update:
Navigate to the cloned repository directory, e.g.,custom_nodes/ComfyUI-Custom-Scripts, and run:git pull
Features
Autocomplete
Provides embedding and custom word autocomplete functionalities, allowing users to define and manage custom word lists easily.
Auto Arrange Graph
Adds a menu option to automatically arrange the graph based on the order of execution, optimizing workflow views.
Always Snap to Grid
Enables a setting that ensures nodes always snap to the grid when moved, maintaining a tidy user interface.
[Testing] "Better" Loader Lists
Custom Lora and Checkpoint loader nodes that display preview images when a PNG or JPG is placed next to the file, enhancing model selection.
Checkpoint/LoRA/Embedding Info
Allows users to view detailed information about selected LoRA or Checkpoint items.
Constrain Image
Provides a node for resizing images to specified maximum and minimum dimensions, optionally cropping if needed.
Custom Colors
Introduces a custom color picker for nodes and groups, allowing users to personalize their interface.
Favicon Status
Adds a dynamic favicon and window title that reflects the status of generation processes and queue lengths.
Image Feed
Displays a panel showing images generated in the current session, with customizable panel size and layout direction.
KSampler (Advanced) Denoise Helper
Aids in setting custom denoise parameters on the advanced sampler node.
Math Expression
Allows evaluation of complex expressions using values from the graph, supporting various numerical and arithmetic operations.
Node Finder
Facilitates quick navigation to executing nodes or to nodes of a specific type within the workflow.
Preset Text
Enables saving and usage of text presets within workflows for streamlined text management.
Quick Nodes
Provides menu items for quickly setting up common parts of graphs to enhance workflow efficiency.
Play Sound
Plays a sound when the node is executed, customizable by replacing the provided MP3 file.
System Notification
Sends browser-based system notifications when node execution is complete, useful for monitoring multiple prompt queues.
[WIP] Repeater
Creates a list of repeated nodes or outputs, with options for reusing or creating new node instances.
Show Text
Displays the output of string-producing nodes, useful for interrogators or prompt generators.
Show Image on Menu
Shows the currently generating image on the menu, with options to enable or disable this feature.
String Function
Supports appending and replacing text with advanced options like regex support.
Touch Support
Offers basic touch screen support, enhancing accessibility on touch-enabled devices.
Widget Defaults
Allows the specification of default widget values when adding new nodes, configurable via the settings menu.
Workflows
Adds options for saving and loading workflows, enhancing efficiency in recurring tasks.
Workflow Images
Supports importing and exporting the graph as SVG and PNG, useful for documentation and sharing.
(Testing) Reroute Primitive
Provides a node for rerouting primitives, with options to collapse the node for easier management.
Node Mappings
The repository includes a variety of nodes, each serving specific functions. Key nodes provided include:
- LoraLoader|pysssss: Implements loader with image previews.
- CheckpointLoader|pysssss: Similar functionality for checkpoints.
- ConstrainImage|pysssss: Image resizing node.
- MathExpression|pysssss: Node for evaluating complex math expressions.
- PlaySound|pysssss: Execution-triggered sound notifications.
- Repeater|pysssss: Node for creating repeated instances of inputs.
- SystemNotification|pysssss: Sends execution notifications to the system.
- ShowText|pysssss: Node for displaying string outputs.
- StringFunction|pysssss: Supports text operations like appending and regex-based replacements.
Utility in ComfyUI Workflows
ComfyUI-Custom-Scripts significantly enhances workflow management and efficiency within ComfyUI by providing specialized nodes and features. This allows users to customize and optimize their graph layouts, automate repetitive tasks, and streamline operations through advanced and user-friendly functionalities. Whether for image resizing, prompt management, or system notifications, these custom nodes and scripts offer comprehensive solutions to diverse user needs.