Extensions/Slimy_CueTimer
ComfyUI Extension

Slimy_CueTimer

Queue progress monitor accessory for ComfyUI that displays rendering progress, processing speed, history, and KSampler preview in a single node. (Description by CC)

By Slimy-Comfy·Created 5 months ago·Updated 2 days ago· 5
Slimy-Comfy/Slimy_CueTimer
Nodes1
On cloudLocal install
CategorySlimy/Utils
Stars5
Updated2 days ago
Readme

Slimy_CueTimer

Slimy_CueTimer

日本語版 README

A progress monitor node for ComfyUI.

Track elapsed time, progress, render history and live previews of your queue from a single node, and get notified when it finishes.


Features

  • The timer starts automatically when the queue runs and measures the time until it finishes.
  • PeepPreview displays live previews even when the KSampler is running inside a subgraph.
  • No node connections are required, so the node can be placed anywhere in your workflow.
  • The ■ STOP button stops the queue without restarting ComfyUI, even during work that the standard cancel button can't interrupt.

Installation

1. Install the node

Put this repository in ComfyUI/custom_nodes/ and restart ComfyUI.

cd ComfyUI/custom_nodes
git clone https://github.com/Slimy-Comfy/Slimy_CueTimer.git

The node is Slimy_CueTimer in the Slimy/Utils category.

2. Install the Tiny VAE (recommended for MiniMax H3)

With it, PeepPreview shows the actual frames instead of blurry color blobs.

  1. Download madebyollin's taeh3.safetensors (about 22.7 MB)
  2. Put it in ComfyUI/models/vae_approx/
  3. In ComfyUI's settings, set the live preview method to TAESD

Note: Kijai's taeh3.safetensors (about 9.8 MB) has the same file name but does not work. If you have it, rename or remove it (see "High-quality preview for MiniMax H3" below).

CueTimer works without it (with the simple preview). No extra Python packages are needed.


Main Functions

Progress Display

  • Steps progress bar
  • Total progress bar
  • Processing speed (it/s)
  • Completion percentage (%)
  • Elapsed time
  • Estimated remaining time

Note: The Total progress bar estimates overall progress and remaining time based on recent rendering history.

History

  • Shows the latest five runs (up to 100 are kept)
  • Scroll one entry at a time with the ▲▼ buttons
  • Records time, frame count, step count, resolution and date
  • History is kept after rendering finishes (saved with the workflow)

PeepPreview

Displays the KSampler's internal preview in real time. It can be shown or hidden at any time.

For video generation, several frames are shown as a loop, and the window slides along the video's timeline as the steps progress.

High-quality preview for MiniMax H3 (Tiny VAE)

With MiniMax H3, PeepPreview can show real decoded frames from a Tiny VAE. See Installation for setup.

If the file is missing or the preview method isn't TAESD, PeepPreview falls back to the simple latent2rgb preview. Generation is never interrupted.

Note: Kijai's taeh3.safetensors (2D version, about 9.8 MB) has the same file name but cannot be loaded by ComfyUI core. If a copy remains in any folder registered as vae_approx (including paths added in extra_model_paths.yaml), it can be picked up first and the preview stays low quality. Rename or remove it. You are in this state when the console shows WARNING: No VAE weights detected followed by a [Slimy_CueTimer] line saying it continues with latent2rgb.

  • No node connection is needed, and KJNodes' Model Preview Override is not required.
  • Frame size, window length and update interval can be tuned with the constants at the top of video_preview_patch.py (TAE_FRAME_MAX_SIDE / TAE_PREVIEW_GROUPS / TAE_EVERY_N_STEPS).

Final Video

When generation finishes, the output video plays in the preview area (with seek bar and fullscreen). The button next to the file name opens the folder the video was saved in.

Force Stop (■ STOP)

The ■ STOP button at the right end of the checkbox row stops the running queue. It works without restarting ComfyUI, even during work that the standard cancel button can't interrupt: very long single steps in video generation, VAE decoding, model loading, and custom nodes that never check the interrupt flag.

  • It first sends a normal interrupt. If the job hasn't stopped after 1 second, it injects an interrupt exception into the running job to force it to stop (change the wait with FORCE_STOP_GRACE_SEC in web/Slimy_CueTimer.js).
  • After a forced stop, all models are unloaded to free VRAM (they are reloaded on the next run).
  • During a single heavy GPU operation, it stops as soon as that operation finishes.
  • If it doesn't stop, press it again.

Checkboxes

| Option | Description | |---|---| | systemNotify | Shows a system notification when rendering finishes | | peepSound | Plays a sound when rendering finishes | | Timer | Shows / hides the timer, history and progress bars | | Peep | Shows / hides the preview area | | VRAM Clear | Unloads models to free VRAM when a run ends (finished, error or stopped) | | AutoPlay | Plays the final video automatically |


Desktop Widget (optional, Windows)

DesktopApp/CueTimerDesktop.exe launches the Windows desktop widget. Keep CueTimerDesktop.exe and files/CueTimerDesktop.ps1 in the same relative locations.

  • Mirrors CueTimer's progress, preview and final video
  • Jumps to an already open ComfyUI browser tab
  • ■ STOP button (bottom right) performs the same force stop as the node (hidden in mini mode)
  • Shows up to three recent runs (time, frames, steps, resolution, date); hidden while Timer is off
  • Switching between mini and normal size keeps the widget's current position: on the right half of the screen the top-right corner stays fixed, on the left half the top-left corner does

Create DesktopApp/files/CueTimerDesktop.ini to change settings:

url          = http://127.0.0.1:8188/slimy/cuetimer/desktop
history_rows = 5
  • url: ComfyUI's address (e.g. if you use a different port)
  • history_rows: number of history rows (0 hides it, max 10)

Typical Uses

  • Monitoring long rendering jobs
  • Tracking batch processing progress
  • Watching generated images in real time
  • Estimating render completion time

Requirements

  • ComfyUI (no other custom nodes are required)
  • (Recommended for MiniMax H3) Tiny VAE taeh3.safetensors (step 2 of "Installation")
  • (Optional) Frame count / resolution in the history: OpenCV (cv2) or ffprobe. Without either, those fields are simply not shown
  • (Optional) Desktop Widget: Windows

Force stop and the preview rely on ComfyUI internals, so a ComfyUI update may break them. Even then, the timer and CueTimer's other functions keep working.


Changelog

v1.1

  • ■ STOP (force stop) in the node and the Desktop Widget
  • Final video playback and AutoPlay
  • VRAM Clear
  • High-quality MiniMax H3 preview (Tiny VAE)
  • Multi-frame sliding PeepPreview for video
  • Frame count, step count and resolution in the history
  • Desktop Widget

v1.0

  • Steps and Total progress bars
  • Five-entry render history
  • History scroll buttons
  • PeepPreview
  • Preview show/hide toggle
  • SystemNotify
  • PeepSound
  • Elapsed time, remaining time, and processing speed display