Skip to content
Node packVerifiedExternal
Open source

WWAA-CustomNodes

WWAA Custom Nodes for ComfyUI

Maintainer@hgabhaCgrade

Package profile

Status
Verified
Publisher
@hgabha
Source
GitHub
Stars
38

README

WWAA-CustomNodes

Custom Nodes for ComfyUI made by the team at WeirdWonderfulAI.Art These are developed based on the needs where there was a gap to make our workflows better. You are welcome to use it as you see fit.

logo

List of Custom Nodes

Line Count

Custom node that takes a string list as input and will output text lines found within as Integer. It will remove blank lines from the final count. wwaa-Line-count

Join String

Custom node that can take a string value and add pre & post text in one go to produce a full joined string. I created this to allow me to dynamically cycle through many LoRA and create different images. JoinString node

Dithering Node

Taking some of the Dithering Algorithms and made a node that allows you generate the cool effects with bunch of options to tweak. dithering node

Image Batch Loader

A custom node for ComfyUI that enables sequential loading of images from a directory with advanced sorting and control options. The node maintains its state between executions, allowing for automatic incremental loading of images in a controlled manner.

Features

  • Sequential Image Loading: Automatically increment through images in a directory
  • Multiple File Type Support: Filter images by extension (PNG, JPG, JPEG, or ALL)
  • Advanced Sorting Options:
    • Numerical (natural sort for numbered filenames)
    • Alphabetical
    • Creation time
    • Modification time
  • GPU/CUDA Support: Automatic GPU acceleration when available
  • Directory Reload Control: Option to force directory rescanning
  • Index Control: Reset capability and automatic wraparound
  • State Management: Maintains state between executions for true sequential processing

Node Inputs

InputTypeDescription
directory_pathSTRINGPath to the directory containing images
file_extension["PNG", "JPG", "JPEG", "ALL"]Filter for specific file types
reset_indexBOOLEANWhen True, resets the counter to 0
sort_method["alphabetical", "numerical", "creation_time", "modification_time"]Method to sort the images
reload_directoryBOOLEANWhen True, forces directory rescan and index reset

Node Outputs

OutputTypeDescription
imageTENSORThe loaded image as a GPU tensor
current_indexINTCurrent position in the sequence
total_imagesINTTotal number of images in directory
filenameSTRINGName of the current image file

Sorting Behavior

Numerical Sort (Default)

  • Handles numbered filenames intelligently
  • Example: ["img1.png", "img2.png", "img10.png"]
  • Instead of: ["img1.png", "img10.png", "img2.png"]

Alphabetical Sort

  • Standard alphabetical ordering
  • Case-insensitive

Time-based Sorting

  • Creation time: Orders by file creation timestamp
  • Modification time: Orders by last modified timestamp

LLM Prompt To Text File

Overview

The LLM Prompt To Text File Node is able to take input of text prompts and write them into a single file where each prompt is one line in the output file. It trims and removes undesired characters. Combine this with the Image Batch Loader you can process images from a folder feed them to LLM for prompt generation and write it out to an input file. I created this node because I needed lots of prompts that I feed into Flux o

Nodes in this pack

32 nodes
  • WWAA_AdvancedGridLayoutNode
  • WWAA_AdvancedTextFileReader
  • WWAA_AdvancedTextReader
  • WWAA_BasicMathNode
  • WWAA_BeforeAfterSlider
  • WWAA_BuildString
  • WWAA_CameraAngleBuilder
  • WWAA_DisplayAny
  • WWAA_DitherNode
  • WWAA_GaussianDenoiseFilter
  • WWAA_GBCamera
  • WWAA_GridLayoutNode
  • WWAA_ImageDimensionCalculator
  • WWAA_ImageDimensionSize
  • WWAA_ImageLoader
  • WWAA_ImageSwitcher
  • WWAA_ImageToTextFile
  • WWAA_IndexGridLayoutNode
  • WWAA_JPEGPreview
  • WWAA_JSONPromptBuilder
  • WWAA_LineCount
  • WWAA_MetadataSaver
  • WWAA_NestedLoopCounter
  • WWAA_NumberRangeAsString
  • WWAA_PromptWriter
  • WWAA_SaveJPEG
  • WWAA_SearchReplaceMulti
  • WWAA_SearchReplaceText
  • WWAA_SlicedArt
  • WWAA_Switch_Int
  • WWAA_TextFileBrowser
  • WWAA_VideoResolution

Related resources

1 connection

Sources

3 sources
GitHubSource
github.com/hgabha/WWAA-CustomNodes

Verified Oct 4

GitHubSourceVersion ced3173e822d237e6499efb55c6d29685b140ddc
github.com/hgabha/WWAA-CustomNodes

Verified Oct 5

Source excerpts

1 excerpt

Source context: Repo hgabha/WWAA-CustomNodes