This tool is a custom node for ComfyUI designed to facilitate batch image processing by providing a simple counting mechanism. It allows users to reset the count when queuing prompts, making it particularly useful for managing image batches effectively.
- Utilizes a straightforward counting system that resets upon queuing prompts.
- Integrates seamlessly with other nodes like "Load Image Batch" from the WAS Node Suite.
- Located within the "utils" category of the node menu for easy access during batch operations.
Context
This tool, known as ComfyUI-SimpleCounter, serves as a custom node within the ComfyUI framework. Its primary function is to assist users in managing sequential image loading and processing by keeping track of the number of images being handled in a batch.
Key Features & Benefits
The SimpleCounter node offers a user-friendly counting mechanism that increments from a specified start value during batch execution. When the "Queue Prompt" button is pressed, it resets the count, allowing users to easily manage multiple image batches without losing track of their progress.
Advanced Functionalities
While the tool's core functionality is straightforward, it uses JavaScript for processing, with only the node definition in Python. This design choice allows for efficient handling of batch operations, although it lacks a method to detect when a batch starts.
Practical Benefits
By incorporating this tool into their workflow, users can enhance their control over batch image processing, streamline their operations, and reduce the potential for errors in counting images. This ultimately leads to improved efficiency and quality in their projects within ComfyUI.
Credits/Acknowledgments
The tool is open for distribution and modification, allowing users to adapt it to their needs. The original authors have provided this functionality without restrictions, promoting community collaboration and enhancement.




