Load Prompt
Five wildcard slots, stitched into one prompt
- prompt
This is the most old-school node in the whole pack, and honestly the easiest to understand at a glance: five slots, each one a dropdown of category text files, each one contributing a random line to the final prompt. It's a direct descendant of the AIrjen-style "one button" prompt generators the pack is named after - pure random combinatorics, no LLM involved.
If you've used ComfyUI for a while, you've probably already met this idea in a different costume. Impact Pack quietly owns {a|b|c}-style wildcard syntax for a large share of the ecosystem, letting you write inline alternatives that get randomly substituted. LoadPrompt does the same underlying job - pick one thing from a set of possibilities - except the "sets" are pre-curated text files that ship with this pack instead of alternatives you type yourself. Less flexible than free-form wildcard syntax, but zero setup: pick a file, get a line.
How it works
Each of the five txt_ slots points at one bundled .txt file, and each file is a plain list of lines belonging to one category - subjects, poses, lighting, styles, artists, accessories, and more. On each run, the node draws one random line from each selected file (seeded by seed) and concatenates all five into a single prompt string.
The inputs and outputs that matter
txt_1throughtxt_5- five independent dropdowns, each choosing from roughly two dozen bundled files: things likefemale-prompts.txt,male-prompts.txt,animals-prompts.txt,human_poses-prompts.txt,lightings-prompts.txt,building-prompts.txt,artists-prompts.txt,styles-prompts.txt,Women-accessories-prompts.txt, and more. Because the slots are independent, you decide what role each one plays - there's no enforced "subject goes here" structure.seed(optional) - controls which line gets drawn from each file.
Output is a single prompt STRING.
The practical trick with this node is being deliberate about which category goes in which slot. Set txt_1 to a subject file, txt_2 to poses, txt_3 to lighting, txt_4 to styles, txt_5 to artists, and you get a coherent, if blunt, combination every time you bump the seed. Leave slots pointed at overlapping or mismatched categories and you'll get odd pairings - two artist names with no subject at all, say.
How to install it
ComfyUI Manager: search "ComfyUI_OneButtonPrompt", install, restart. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/billwuhao/ComfyUI_OneButtonPrompt_Flux
Restart ComfyUI. No formal dependency list is given in the README for this node specifically - it's reading plain text files, so if it loads at all it should work without extra setup.
Common issues
Output reads like a word salad. That's the nature of the node - five lines from five files, glued together with no smoothing. It's meant as raw material, the same way OneButtonPromptFlux is: pair it with QwenLLMRun if you want the result turned into something more coherent before it hits your text encoder.
Adding your own category files and having them vanish later. The pack's README convention applies here too: name any custom file starting with nsfw or custom, or a future update to the pack can overwrite it without warning.
Getting the same combination repeatedly. Change seed - with it left blank or unchanged, you'll keep drawing the same line from each file.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| txt_1 | COMBO | 24 options: card_names.txt, others-prompts.txt, animals-prompts.txt, male-prompts.txt, female-prompts.txt, Women-accessories-prompts.txt, +18 | |
| txt_2 | COMBO | 25 options: card_names.txt, others-prompts.txt, animals-prompts.txt, male-prompts.txt, female-prompts.txt, Women-accessories-prompts.txt, +19 | |
| txt_3 | COMBO | 25 options: card_names.txt, others-prompts.txt, animals-prompts.txt, male-prompts.txt, female-prompts.txt, Women-accessories-prompts.txt, +19 | |
| txt_4 | COMBO | 25 options: card_names.txt, others-prompts.txt, animals-prompts.txt, male-prompts.txt, female-prompts.txt, Women-accessories-prompts.txt, +19 | |
| txt_5 | COMBO | 25 options: card_names.txt, others-prompts.txt, animals-prompts.txt, male-prompts.txt, female-prompts.txt, Women-accessories-prompts.txt, +19 | |
| seedopt | INT | 00–18446744073709550000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |