This repository contains a collection of experimental custom nodes for ComfyUI.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Please be aware:
- These nodes are experimental and provided AS IS.
- They may contain bugs, instabilities, or change significantly without notice.
- NO SUPPORT IS PROVIDED for these nodes. Use them at your own risk.
- Compatibility with future versions of ComfyUI is not guaranteed.
- Clone this repository into your
ComfyUI/custom_nodes/
directory. - Install required dependencies by running the following command in your ComfyUI's Python environment:
pip install -r requirements.txt
- Restart ComfyUI.
Here is a list of the custom nodes included in this package:
- Benchmark Loader (Holaf)
- Function: Loads selected SD checkpoints or FLUX UNets and outputs information for the Benchmark Runner.
- Benchmark Runner (Holaf)
- Function: Runs KSampler benchmarks on selected SD models across different resolutions. Outputs results as a CSV string. (FLUX benchmarking is currently unsupported).
- Dependencies:
psutil
(optional, for detailed system info).
- Benchmark Plotter (Holaf)
- Function: Reads benchmark CSV data (from Benchmark Runner) and generates plots showing Pixels/Second vs. Resolution.
- Dependencies:
pandas
,matplotlib
.
- Instagram Resize (Holaf)
- Function: Resizes an image to the closest standard Instagram aspect ratio (1:1, 4:5, 16:9) by adding colored bars (padding) instead of cropping.
- Overlay (Holaf)
- Function: Overlays an 'overlay_image' onto a 'background_image' with controls for size, position, opacity, and masking.
- Upscale (Holaf)
- Function: Upscales an input image to a target megapixel count using a specified upscaling model.
- Dependencies:
spandrel
.
- Mask to Boolean (Holaf)
- Function: Checks if a mask is empty (all black) and outputs a boolean value. Ideal for creating conditional bypass logic in workflows.
- KSampler (Holaf)
- Function: A KSampler implementation with added support for direct image input (auto-encoding), VRAM clearing, and a conditional bypass.
- Tiled KSampler (Holaf)
- Function: Implements the KSampler algorithm specifically designed to work on image tiles, useful for high-resolution generation.
- Tile Calculator (Holaf)
- Function: Calculates parameters needed for processing images in tiles (e.g., dimensions, overlap).
- Slice Calculator (Holaf)
- Function: Similar to the Tile Calculator, calculates parameters for slicing images.
- LUT Generator (Holaf)
- Function: Analyzes the color profile of a reference image and generates a 3D Look-Up Table (LUT).
- LUT Applier (Holaf)
- Function: Applies a 3D LUT to a source image to perform a complex color grade, with control over the intensity.
- LUT Loader (Holaf)
- Function: Loads a
.cube
LUT file from theComfyUI/models/luts
directory.
- Function: Loads a
- LUT Saver (Holaf)
- Function: Saves a generated LUT to a
.cube
file.
- Function: Saves a generated LUT to a
- Resolution Preset (Holaf)
- Function: Helps select optimal image dimensions (width, height) based on a target model (SD1.5, SDXL, FLUX) and a desired aspect ratio.
- Save Image (Holaf)
- Function: Provides advanced options for saving images, with separate
.json
and.txt
files for the workflow and prompt.
- Function: Provides advanced options for saving images, with separate