v0.1.1
- Add interactive hover & click support on the counter area to toggle between [ PAUSE ] and [ RESUME ] states. - Ensure the progress text (`x / y`) maintains a consistent bright blue color and standard font size independent of pause states. - Decouple client-side ticker from backend absolute elapsed time updates to completely prevent timer jumping/rebound issues during multi-image batch processing. - Synchronize frontend/backend reset flows when clicking the 7-segment digit display.
⏱️ ComfyUI Batch Image Timer
A custom node for ComfyUI that provides a real-time 7-segment LED display timer to accurately track execution duration and progress during image batching, dataset processing, and image-to-image loop workflows.
✨ Features
- 📺 7-Segment LED UI: Retro digital clock design rendered directly on the canvas node.
- 🎨 Interactive Palette: Click-to-change display color scheme (White, Blue, Green, Yellow, Pink).
- ⏱️ Accurate Batch Timing: Seamlessly measures time spent across multiple batch iterations without resetting prematurely.
- 📊 Live Progress Counter: Displays real-time progress
[ Current / Total ]and execution status ([ STARTING... ],[ CANCEL ],[ ERROR ]). - 🔗 Auto Batch Count Sync: Connect
total_imagesdirectly to batch loaders (e.g., Sequential Image Loader, ComfyUI-BatchFolderTools, ComfyUI Simple Batch) to automatically update image counts without manual input. - 🔄 Smart Auto-Reset: Resets automatically when starting a brand-new queue, but retains state across batch steps.

*Click the color swatches on the node to switch LED display themes*
📦 Installation
Note: This node uses native Python libraries and web standard components only. No external dependencies or
requirements.txtinstallation are required.
Method 1: Git Clone (Manual)
- Open your terminal or command prompt.
- Navigate to your ComfyUI
custom_nodesfolder:cd ComfyUI/custom_nodes - Clone this repository:
git clone https://github.com/hermankwan/ComfyUI-Batch-Image-Timer - Restart ComfyUI.
🚀 How to Use
- Double-click on the ComfyUI canvas or search for
Batch Image Timer. - Place the node in your batch generation workflow.
- Set the
total_imagesparameter to match the total count of images in your batch or loop execution. - Click Queue Prompt. The node will keep timing seamlessly across all iterations.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Languages
JavaScript
90.1%
Python
9.9%