ComfyUI-acgc99-pack
A ComfyUI extension with 4 custom nodes.
Nodes (4)
Escape the input/ folder jail — load images from anywhere on disk
Run your whole workflow once per image, without loading the folder into RAM
The stock Load Image node, plus the filename you wanted all along
Point at a folder with a real OS dialog, and hand the path to the graph
ComfyUI-acgc99-pack
A collection of ComfyUI custom nodes and utilities by acgc99.
Utilities
Global Node Shape
Adds Settings → Appearance → Nodes → Global node shape, with Default, Box, Round, and Card choices. The selected shape is applied to existing, loaded, and newly created nodes. This is only a visual preference, workflows are not modified.
Nodes
Load Image
Behaves like ComfyUI's built-in Load Image node and additionally returns the selected file's name, containing folder, and caption from a .txt file beside the image. The caption file uses the same name with only the final image extension replaced, so image.png uses image.txt.
Select Folder
Opens a folder dialog and outputs the selected path as a string. I found this useful in combination with Load Image For Loop from ComfyUI-Easy-Use. However, my preferred option is Load Image Serially (from Folder) from this package.
Load Image (from Folder)
ComfyUI built-in Load Image (from Folder) node only works on input folder, which is understandable by security but annoying if you know what you are doing. This node does not have restriction. Loads PNG, JPG, JPEG, and WEBP images located immediately inside any folder and returns the images as an IMAGE list plus a STRING list of captions in the same order. The main issue is that all images are in memory but processed serially, this is not optimal if the folder contains many images. See Load Image Serially (from Folder) for a memory-efficient alternative.
Load Image Serially (from Folder)
Unlike Load Image (from Folder), this node loads one image at a time, keeping only the current image in memory. Select a directory and click Queue Folder. The node creates a separate ComfyUI prompt for every supported image, so the complete workflow runs once per file.
The Queue Folder button is required because ComfyUI's regular Queue Prompt button submits the workflow with the same inputs each time; it does not automatically move to the next image. Queue Folder assigns a different image to each prompt before adding it to ComfyUI's normal queue. The node also returns the caption for the image assigned to the current prompt. Files are not sorted or loaded recursively.
All caption-aware nodes read UTF-8 text and trim surrounding whitespace. If the corresponding lowercase .txt file is missing, the caption output is an empty string. Other file-reading errors are reported normally.
Installation
cd ComfyUI/custom_nodes
git clone https://github.com/acgc99/ComfyUI-acgc99-pack.git
Alternatively, install it with ComfyUI Manager. After ComfyUI restarts, do a full browser-tab reload.
Note
As my ComfyUI development skills are limited and I do not have the time/interest to learn them (I have more important things to do), most part of this package is vibe coded.