ComfyUI-Just-Nodes
Utility nodes for ComfyUI: Prompt Stack, Picker, Search & Replace, and Labeled Index.
Nodes (20)
Run a batch, then step — the loop node for hands-off prompt rotation
Load images by index from any folder — for when the input dir is too small
An integer with a label — the tiny node that keeps big graphs sane
Load an image and get its caption back — the other half of the dataset pair
Put your LoRA in the prompt, tag-style — and never touch a loader again
The 'why won't this downloaded workflow run' node
Pick a prompt, any prompt — the switcher that grows as you connect it
A dozen prompt slots, one picker — max out the fixed-count family
Overkill-proof prompt selection
Three prompt slots, one picker — the A/B/C test node
Six prompt options on one node — enough to get loud
Nine prompt slots on one node — the batch-variation sweet spot
The preset engine — templates that fill in the blanks, per character, per seed
The five-second cleanup that keeps your prompts honest
Save an image with its caption attached — the dataset builder
Twelve search/replace pairs — the maximum-text-surgery node
Search & replace for your prompt text — yes, actually, that useful
Three search/replace pairs in one pipe — text surgery, minimal fuss
Six search/replace pairs — the prompt-cleaning workhorse
Nine search/replace pairs — when your prompt cleanup needs a pipeline
ComfyUI-Just-Nodes
Utility nodes for ComfyUI that solve common tasks without chaining multiple nodes.
Nodes
Prompt Stack
Multiline text input that strips empty lines and outputs clean text joined by newlines.
Picker
Connect multiple text inputs and select one by index or randomly. Inputs grow dynamically as you connect them.
- manual mode: select which connected input to use (
list) and which line within it (index) - random mode: uses
seedto pick a line (seed % num_lines)
Search & Replace
Takes text input and applies search/replace pairs sequentially. Pairs appear as you fill them in (up to 20). Replace widgets support "Convert to input" for dynamic values.
Labeled Index
Decorative labels alongside an integer passthrough. Write label names in the multiline field as visual reference — the output is the value integer unchanged.
Preset Manager
Loads presets from presets/presets.json and presets/lists.json. Resolves {VARIABLE} placeholders in templates using either manual values or random picks from lists. Supports synchronized pools and an LLM system prompt slot.
Outputs (6):
| Output | Source | Notes |
|---|---|---|
| prompt | input prompt_template > pool positive > preset _template | required path |
| extra_text | input extra_text_override > pool extra_text > preset _extra_text | optional |
| output_path | preset _output_path | for SaveImageWithText_JN |
| output_prefix | preset _output_prefix | for SaveImageWithText_JN |
| negative | input negative_template > pool negative > preset _negative | optional |
| system_prompt | input system_prompt_override > pool system_prompt > preset _system_prompt | for LLM nodes (e.g. QwenVL) |
Preset special fields: _template, _extra_text, _negative, _system_prompt, _pool, _output_path, _output_prefix.
Pool entries are dicts with keys positive, negative, extra_text, system_prompt. If _pool is defined, the seed selects seed % len(pool) and bypasses _template/_extra_text/_negative/_system_prompt.
Variable modes: "mode": "manual" (uses value) or "mode": "random" (picks from lists.json[VAR_NAME]).
Installation
ComfyUI Manager
Search for "Just Nodes" in the ComfyUI Manager.
Manual
Clone into your custom_nodes folder:
cd ComfyUI/custom_nodes
git clone https://github.com/Arroz-11/ComfyUI-Just-Nodes.git
Restart ComfyUI. Nodes appear under the Just Nodes category.
License
MIT