ComfyUI-EreNodes
A collection of prompt managent nodes with advanced tag parsing. Prompt tag cloud, mutiselect, toggle list, randomizer, filter, autocompete.
Nodes (11)
Your whole tag list at a glance, toggled by eye
The Prompt Composer turns a messy chain of prompt nodes into one organized panel
Drag in an old PNG, get your prompt back as editable tags
A spellchecker for booru-tag prompts
Finally, a way to *see* your LoRAs while you prompt
LoRAs you toggle like tags, not wire like nodes
Name:0.8> text into a real LORA_STACK
The plain-looking text box that powers the whole pack
Pick tags without letting the full list take over your canvas
Roll a fresh prompt combination on every generation
A checkbox list that writes your prompt for you
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/banner-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/banner-light.webp"><img src="docs/images/banner-dark.webp" alt="EreNodes"></picture>
Tag-based prompting for ComfyUI. Build prompts from pills you can toggle, drag and reuse, with a built-in prompt library, tag autocomplete, a booru browser and a prompt-aware LoRA loader.
Features • Installation • Settings • Changelog
</div>Features
Prompt nodes
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/prompt-nodes-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/prompt-nodes-light.webp"><img src="docs/images/prompt-nodes-dark.webp" alt="Prompt nodes" width="100%"></picture>
Cloud, Toggle, MultiSelect, Gallery, Randomizer and Multiline: one tag list, drawn the way you want it. Convert between them any time; chain them through prefix.
Prompt Composer
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/prompt-composer-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/prompt-composer-light.webp"><img src="docs/images/prompt-composer-dark.webp" alt="Prompt Composer" width="100%"></picture>
One Node to rule them all. Character, outfit, background - or whatever else you can think of as collapsible, bypassable categories in a single node, each with customizable layout.
Tag pills
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/tag-pills-drag-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/tag-pills-drag-light.webp"><img src="docs/images/tag-pills-drag-dark.webp" alt="Select, drag, drop" width="100%"></picture>
Select them, drag them, drop them. Reorder, move or copy between nodes, replace with Shift, multi-select with Ctrl. Tags, text, LoRAs, embeddings and tag groups all as the same pills.
Tag groups
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/tag-groups-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/tag-groups-light.webp"><img src="docs/images/tag-groups-dark.webp" alt="Tag groups" width="100%"></picture>
Save them, reuse them. Characters, styles and presets as files with cover images, used as one pill or unpacked into tags.
Autocomplete
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/autocomplete-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/autocomplete-light.webp"><img src="docs/images/autocomplete-dark.webp" alt="Autocomplete" width="100%"></picture>
Danbooru and e621 tags in every textarea, with aliases, category filters (artist:, char:, @) and colours, plus lora:, embedding: and group: with previews.
Sidebar
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/sidebar-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/sidebar-light.webp"><img src="docs/images/sidebar-dark.webp" alt="Sidebar" width="100%"></picture>
Your tag groups, LoRAs and embeddings in a native sidebar tab. Hover for tags, drag onto nodes, search the tags inside every group, bookmark the ones you use daily.
Booru browser
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/booru-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/booru-light.webp"><img src="docs/images/booru-dark.webp" alt="Booru browser" width="100%"></picture>
Search Safebooru, Gelbooru or e621 from the sidebar. Hover a post for its tags, click one to search it, drag them into your prompt or save them as a tag group.
LoRA loader
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/lora-loader-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/lora-loader-light.webp"><img src="docs/images/lora-loader-dark.webp" alt="Prompt Lora Loader" width="100%"></picture>
The Prompt Lora Loader applies its own LoRAs and every <lora:...> in the incoming prompt, keeps the selected trigger words, and remaps older Anima LoRAs automatically.
Prompt Extractor
<picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/prompt-extractor-dark.webp"><source media="(prefers-color-scheme: light)" srcset="docs/images/prompt-extractor-light.webp"><img src="docs/images/prompt-extractor-dark.webp" alt="Prompt Extractor" width="100%"></picture>
Drop a generated image, get its positive prompt back as pills, including tags that were switched off.
Nodes
| Node | |
|------|---|
| Prompt Cloud, Toggle, MultiSelect, Gallery | Tag lists in four layouts |
| Prompt Randomizer | Seeded choice of which tags are on |
| Prompt Multiline | Textarea with autocomplete and tag drop |
| Prompt Composer | Categories in one node |
| Prompt Extractor | Prompt from an image |
| Prompt Lora Loader | LoRAs from pills and prompt |
| Prompt to LoRA Stack | LORA_STACK for other loaders |
| Prompt Filter | Keep only known tags |
All nodes work in the classic canvas and in Nodes 2.0, and inside subgraphs.
Installation
ComfyUI Manager: search for "EreNodes", install, restart ComfyUI.
Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/erehr/ComfyUI-EreNodes.git
Then restart ComfyUI. The sidebar tab appears in the left bar, and all options are under Settings → EreNodes (reference).
Contributing
Contributions are welcome. Report a bug, request a feature or join the discussions.
Acknowledgments
- ComfyUI community, for feedback and support
- ComfyUI-PromptPalette: initial inspiration and foundational code
- ComfyUI-EZ-AF-Nodes: Prompt Gallery inspiration
- DraconicDragon: tag lists and data
- ToxesFoxes: scrollable tag area
- shin131002: Anima LoRA remapper
Licensed under the MIT License.