A lightweight tag loader for ComfyUI. Inspired by Eclipse Smart Prompt, but without the browser overhead and lag. Works instantly even on low-end PCs.
- โก Zero lag โ tags are read only when you press Queue, no preloading into memory
- ๐ Simple structure โ everything is stored in the
tags/folder next to the node - ๐ฒ 4 modes: None, Random, Manual, Show tags (multiline)
- ๐ Seed control โ stable randomness with a fixed seed
- ๐ UTF-8 safe โ works correctly with Cyrillic and emoji
- Open the
ComfyUI/custom_nodes/folder - Run:
git clone https://github.com/vaulthunt3r/ComfyUI-ConstructPrompt.git - Restart ComfyUI
- Create a
tags/folder inside the downloaded folder and add your tags.txtfiles
| Mode | Description |
|---|---|
| ๐ซNone | Empty string |
| ๐ฒRandom | One random tag from the file |
| โ๏ธManual | Text from the tag_text field |
| ๐Show tags for the selected file (multiline) | All file contents line by line (as is, without comments) |
Outputs the file line by line, preserving the structure:
File example.txt:
# This is a comment โ will not be included in the output
masterpiece, best quality
1girl, detailed face
cinematic lighting