Load Preset
Your reusable prompt blocks, picked from a dropdown
- STRING
If you keep retyping the same style block - the lighting keywords, the quality tags, the artist list - Load Preset is the node that turns that block into a dropdown. You type your base prompt into one box, pick a saved preset from a menu, and out comes the two joined into a single STRING. It's prompt reuse without copy-paste.
Here's the mechanism, and the part that surprises everyone on the first day. The node has two inputs: string (your base prompt, multi-line) and preset (the dropdown). On execution it trims both - this pack's standard whitespace-and-comma cleanup - and joins them as "base, preset", always with a comma-space. So your base "a woman reading a book" plus a preset "golden hour, cinematic lighting" becomes one clean prompt string.
The presets themselves live in plain text files inside the pack's folder:
ComfyUI/custom_nodes/ComfyUI-Prompt-Helper/presets/
Two formats are supported. CSV, with a name and prompt column, where each row becomes one dropdown entry named filename: row-name. Or YAML, where each key becomes an entry - including nested dicts and lists if you want to organize presets into groups. Here's a minimal YAML example:
golden hour: golden hour, warm sunlight, long shadows
cinematic: cinematic lighting, depth of field, film grain
One detail worth knowing: the pack ships no presets - the folder starts empty (it's even gitignored in the repo). You create the files yourself. The dropdown is built when ComfyUI loads, so after you add or edit a preset file, hit ComfyUI's refresh button (top-right); the pack hooks its own /prompt_helper/refresh endpoint to that button, so one click reloads everything.
The inputs
string- your base prompt (or leave it empty to output just the preset)preset- the dropdown, populated from your preset files
One output: STRING, ready for a CLIP Text Encode.
Installing it
No extra dependencies, no models to download - this pack only uses what ComfyUI already installs. ComfyUI Manager → search ComfyUI-Prompt-Helper, or:
cd ComfyUI/custom_nodes
git clone https://github.com/elypha/ComfyUI-Prompt-Helper
Restart, then create your presets/ folder and drop in CSV or YAML files.
Honest assessment: it's a solid quality-of-life node for people who hoard style blocks, and the plain-file format means your presets are easy to version-control or share. The main friction is that nothing is pre-filled, so the payoff arrives only after you put in the initial work of saving your blocks.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | — | |
| preset | COMBO | 0 options: |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |