easy promptList
Bundle several prompts into one list
- optional_prompt_list
- prompt_list
- prompt_strings
Type a handful of prompts into one node, get them back as a list you can iterate over. That's the job. It exists because generating from several prompts in a single run is a genuinely common need - a themed set, a batch of test prompts, one subject in five different scenes - and typing them one at a time across five separate runs is the slow way to do it.
Why you'd reach for it
The pattern is "many prompts, one workflow." You want to feed a series of prompts through the same generation pipeline and get one image (or a set) per prompt. easy promptList is the front of that: it collects your prompts into a LIST, and then either ComfyUI's list processing or an Easy-Use loop walks through them.
Two ways that list gets consumed downstream:
- List execution. ComfyUI can run a node once per item in a list automatically - feed the list-typed output into a compatible chain and it fans out over every prompt.
- Indexed iteration. Inside a for-loop, use the loop's
indexto pull one prompt at a time (via an index switch), so prompt N goes with iteration N.
Either way, you've turned "five prompts" into "one run that covers five prompts," which is exactly what a batch job wants.
The inputs and outputs
prompt_1… prompt_5` (multiline STRING) - up to five prompts, typed straight in. Leave the ones you don't need empty.optional_prompt_list(optional LIST) - another prompt list to chain onto the front. This is how you get past five: feed one promptList's output into the next one'soptional_prompt_listand stack them.prompt_list(LIST output) - all your prompts as a single list object.prompt_strings(STRING output, list) - the same prompts exposed as string outputs, for nodes that want the strings directly rather than a list type.
Installing it
ComfyUI Manager: search ComfyUI Easy Use, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Use
then install the requirements (install.bat on Windows, else pip install -r ComfyUI-Easy-Use/requirements.txt) and restart.
Common issues
- A list isn't a batch. The output is a list, which ComfyUI iterates over - that's different from a batched tensor. If a downstream node expects a single string and gets a list, it'll either fan out (run once per prompt, which is usually what you want) or error. Know which behavior you're relying on.
- Empty slots. Blank prompt fields generally get skipped, but if you see an unexpected empty generation, an empty prompt slot slipping into the list is the thing to check.
- Chaining beyond five. Don't try to cram everything into one node - use
optional_prompt_listto link a second promptList when you need more than five. It concatenates cleanly. - Pair it with something that consumes a list. promptList only produces the list. Nothing happens until a loop, an index switch, or list-execution actually walks it - that's the other half of the setup.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_1 | STRING | — | |
| prompt_2 | STRING | — | |
| prompt_3 | STRING | — | |
| prompt_4 | STRING | — | |
| prompt_5 | STRING | — | |
| optional_prompt_listopt | LIST | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompt_list | LIST | — |
| prompt_strings | STRING | — |