ComfyUI  >  Nodes  >  pythongosssss/ComfyUI-Custom-Scripts

ComfyUI Extension: pythongosssss/ComfyUI-Custom-Scripts

Repo Name

ComfyUI-Custom-Scripts

Author
pythongosssss (Account age: 538 days)
Nodes
View all nodes (13)
Latest Updated
8/16/2024
Github Stars
1.6K

How to Install pythongosssss/ComfyUI-Custom-Scripts

Install this extension via the ComfyUI Manager by searching for  pythongosssss/ComfyUI-Custom-Scripts
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter pythongosssss/ComfyUI-Custom-Scripts in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

pythongosssss/ComfyUI-Custom-Scripts Description

pythongosssss/ComfyUI-Custom-Scripts enhances ComfyUI with features like Auto Arrange Graph, Workflow SVG, Favicon Status, Image Feed, Latent Upscale, Lock Nodes & Groups, Lora Subfolders, Preset Text, Touch Support, and Workflow Management.

pythongosssss/ComfyUI-Custom-Scripts Introduction

ComfyUI-Custom-Scripts is an extension designed to enhance the functionality of ComfyUI, a user interface for AI art generation. This extension provides a variety of custom scripts and nodes that can help streamline your workflow, improve the organization of your projects, and add new features to your AI art creation process. Whether you're looking to automate repetitive tasks, manage your projects more efficiently, or add new capabilities to your AI art tools, ComfyUI-Custom-Scripts has something to offer.

How pythongosssss/ComfyUI-Custom-Scripts Works

ComfyUI-Custom-Scripts works by adding custom nodes and scripts to your ComfyUI environment. These nodes and scripts can be used to automate tasks, manage your workflow, and add new features to your projects. For example, you can use the autocomplete feature to quickly insert commonly used words or phrases, or use the auto arrange graph feature to organize your project graph in a logical order. The extension also includes tools for managing images, customizing the appearance of your nodes, and more.

pythongosssss/ComfyUI-Custom-Scripts Features

Autocomplete

The autocomplete feature provides embedding and custom word autocomplete. You can view embedding details by clicking on the info icon on the list. Define your list of custom words via the settings. You can quickly default to danbooru tags using the Load button, or load/manage other custom word lists.

Auto Arrange Graph

This feature adds a menu option to auto arrange the graph in order of execution, making very wide graphs more manageable.

Always Snap to Grid

Adds a setting to make moving nodes always snap to the grid, ensuring a neat and organized layout.

"Better" Loader Lists (Testing)

Adds custom Lora and Checkpoint loader nodes with the ability to show preview images. You can enable subfolders via the settings and add an "examples" widget to load sample prompts, trigger words, etc.

Checkpoint/LoRA/Embedding Info

Adds a "View Info" menu option to view details about the selected LoRA or Checkpoint. To view embedding details, click the info button when using embedding autocomplete.

Constrain Image

Adds a node for resizing an image to a max & min size, optionally cropping if required.

Custom Colors

Adds a custom color picker to nodes and groups, allowing you to personalize the appearance of your project.

Favicon Status

Adds a favicon and title to the window. The favicon changes color while generating, and the window title includes the number of prompts in the queue.

Favicon Status (https://user-images.githubusercontent.com/125205205/230171227-31f061a6-6324-4976-bed9-723a87500cf3.png)

Image Feed

Adds a panel showing images that have been generated in the current session. You can control the direction that images are added and the position of the panel via the ComfyUI settings screen.

KSampler (Advanced) Denoise Helper

Provides a simple method to set custom denoise on the advanced sampler.

Lock Nodes & Groups

Adds a lock option to nodes and groups that prevents you from moving them until unlocked.

Lock Nodes & Groups (https://user-images.githubusercontent.com/125205205/230172868-5c5a943c-ade1-4799-bf80-cc931da5d4b2.png)

Math Expression

Allows for evaluating complex expressions using values from the graph. You can input INT, FLOAT, IMAGE, and LATENT values.

Node Finder

Adds a menu item for following/jumping to the executing node and a menu to quickly go to a node of a specific type.

Preset Text

Adds a node that lets you save and use text presets, such as for your 'normal' negatives.

Preset Text (https://user-images.githubusercontent.com/125205205/230173939-08459efc-785b-46da-93d1-b02f0300c6f4.png)

Quick Nodes

Adds various menu items to some nodes for quickly setting up common parts of graphs.

Quick Nodes (https://user-images.githubusercontent.com/125205205/230174266-5232831a-a03b-4bf7-bc8b-c45466a0bc64.png)

Play Sound

Plays a sound when the node is executed, either after each prompt or only when the queue is empty for queuing multiple prompts. You can customize the sound by replacing the mp3 file.

System Notification

Sends a system notification via the browser when the node is executed, either after each prompt or only when the queue is empty for queuing multiple prompts.

Repeater (WIP)

Allows you to either create a list of N repeats of the input node or create N outputs from the input node. You can optionally decide if you want to reuse the input node or create a new instance each time.

Show Text

Takes input from a node that produces a string and displays it, useful for things like interrogator, prompt generators, etc.

Show Text (https://user-images.githubusercontent.com/125205205/230174888-c004fd48-da78-4de9-81c2-93a866fcfcd1.png)

Show Image on Menu

Shows the current generating image on the menu at the bottom. You can disable this via the settings menu.

String Function

Supports appending and replacing text. tidy_tags will add commas between parts when in append mode. replace mode supports regex replace by using /your regex here/ and you can reference capturing groups using \number.

Touch Support

Provides basic support for touch screen devices, making it easier to use ComfyUI on tablets and other touch-enabled devices.

Widget Defaults

Allows you to specify default values for widgets when adding new nodes. The values are configured via the settings menu.

Workflows

Adds options to the menu for saving and loading workflows, making it easier to manage and reuse your project setups.

Workflow Images

Adds menu options for importing/exporting the graph as SVG and PNG, showing a view of the nodes.

Allows you to control the rendering of the links between nodes, choosing between straight, linear, and spline.

Troubleshooting pythongosssss/ComfyUI-Custom-Scripts

Common Issues and Solutions

  1. Autocomplete Not Working: Ensure that your custom word list is properly defined in the settings. If using danbooru tags, make sure to load them using the Load button.
  2. Graph Not Arranging Properly: If the auto arrange graph feature is not working as expected, try manually arranging a few nodes and then using the auto arrange option again.
  3. Nodes Not Snapping to Grid: Check if the "Always Snap to Grid" setting is enabled. If not, enable it in the settings menu.
  4. Preview Images Not Showing: Ensure that the preview images are named correctly and placed next to the corresponding files. For example, sdxl.safetensors should have a preview image named sdxl.png.
  5. System Notifications Not Appearing: Make sure that your browser allows notifications from the ComfyUI site. You may need to enable notifications in your browser settings.

Frequently Asked Questions

  • How do I update ComfyUI-Custom-Scripts? Navigate to the cloned repository in your custom_nodes directory and run git pull to fetch the latest updates.

  • Can I customize the sound for the Play Sound node? Yes, you can replace the notify.mp3 file in the web/extensions/pysssss/CustomScripts/assets directory with your own sound file.

  • How do I save a generated image as a preview for a model? Right-click on the generated image in the node and select "Save as Preview," then choose the model to save the preview for.

Learn More about pythongosssss/ComfyUI-Custom-Scripts

For more information, tutorials, and community support, you can visit the following resources:

  • ComfyUI Community Forums
  • ComfyUI Documentation These resources provide detailed guides, troubleshooting tips, and a platform to ask questions and share your experiences with other AI artists.

pythongosssss/ComfyUI-Custom-Scripts Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.