Skip to content

Latest commit

ย 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—๏ธ Construct Prompt

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.

โœจ Features

  • โšก 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

๐Ÿ“ฆ Installation

  1. Open the ComfyUI/custom_nodes/ folder
  2. Run: git clone https://github.com/vaulthunt3r/ComfyUI-ConstructPrompt.git
  3. Restart ComfyUI
  4. Create a tags/ folder inside the downloaded folder and add your tags .txt files

๐ŸŽ›๏ธ Operating Modes

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)

๐Ÿ” Multiline Mode โ€” How it Works

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

About

๐Ÿ—๏ธ Load & inject tags from files in ComfyUI. Modes: Random/Manual/Preview. Cached, zero lag, UTF-8 safe.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages