dAIly Prompt & Token Utils
Smart real-time token counter for CLIP-L, T5-XXL (Flux), Qwen + seed-controlled prompt mixer from custom CSV wildcards. Supports field overrides, flat/paragraph modes, thread-safe caching.
Nodes (3)
ComfyUI-dAIly
Update 05-07-2026
Prompt Mixer dAIly v2
Added a new dynamic CSV prompt mixer node while keeping the original v1 node available.
New
- New node:
Prompt Mixer dAIly v2 (Dynamic CSV). - CSV headers are used directly as prompt placeholders:
{HeaderName}. - CSV file picker copies selected CSV files into the local
csv/folder. - Refresh button reloads the current
csv_pathwithout copying. - Dynamic attribute inputs and outputs based on CSV headers.
- Empty CSV columns are allowed, so attributes can be provided from upstream nodes.
PROMPTremains the first output.- Toggle to show/hide attribute outputs.
- Template autocomplete for
{...}placeholders from CSV headers. - Preserves manual node size on reload.
Two handy custom nodes for ComfyUI to help with prompt crafting and token management:
-
Token Info Display (CLIP / T5 / Qwen)
Real-time token counter for CLIP-L, T5-XXL (Flux), and Qwen models. Shows token counts + character count, and dynamically updates the node title for quick glance. -
Prompt Mixer Daily (CSV Wildcards)
Generate varied, seed-controlled prompts from your own CSV files. Supports placeholders like{Skin},{Hairstyle},{Pose}, etc. Choose between flat single-line output or preserved paragraphs/line-breaks.
Features
- Token counter works even without connected models (falls back to public tokenizers)
- Prompt mixer is fully reproducible with seed
- CSV loading supports multiple encodings (UTF-8-SIG preferred)
- Optional manual override for any field
- Thread-safe CSV caching
- Clean output JSON with used values + seed
Installation
Via ComfyUI Manager (recommended)
- Open ComfyUI Manager
- Search for "dAIly Prompt & Token Utils" (or just "dAIly")
- Install <img width="880" height="793" alt="Capture d'écran 2026-03-03 101342" src="https://github.com/user-attachments/assets/e50b3bfa-72b0-464c-bc93-a54d148e692f" />
Manual install
cd ComfyUI/custom_nodes git clone https://github.com/DailyMok/ComfyUI-dAIly.git
Restart ComfyUI. Usage Token Info Display
Input: your prompt text (STRING, multiline) Optional: connect CLIP or T5 models for more accurate counting Output: formatted string with token counts + characters The node title auto-updates (e.g. Tokens | C75 T312 Q189 | 420ch)
Prompt Mixer Daily
Put the path to your CSV file in csv_path (absolute or relative to ComfyUI root) Use a template with placeholders like {Skin} {Hairstyle} {Eyes} ... Set flat_mode: ON → single line prompt (classic ComfyUI style) OFF → preserves paragraphs and line breaks
Override any field manually (takes priority over CSV)