easy promptLine
Turn a list of prompts into a batch, one image per line
- STRING
- COMBO
If you came from Forge or A1111, you probably miss the "list of prompts" box - type a bunch of prompts, one per line, hit go, walk away, come back to a folder of images. ComfyUI doesn't do that out of the box, and it's one of the most-asked-about gaps for newcomers. easy promptLine is the answer. Paste a multiline block, and it splits it into a list of separate prompts - feed that into a sampler and you get one generation per line. When people on r/comfyui ask "how do I run multiple text prompts at once like Forge," this pack is the node they get pointed to.
How it works
The node takes your multi-line prompt text and emits it as a list of strings, split on line breaks. ComfyUI's list handling does the rest: when a sampler receives a list, it iterates, running once per item. So a 12-line block becomes 12 queued generations. It also gives you a COMBO output of the same lines, so downstream nodes can present them as a selectable menu. It's dead simple and it's exactly the batch-prompt behavior people expect - no wildcards, no randomness, just "run all of these."
The inputs and outputs that matter
prompt- your multiline text, one prompt per line. This is the whole input.start_index- skip the first N lines. Handy for resuming a big batch partway through, or ignoring a header line.max_rows- cap how many lines to process (default 1000). Lets you take just the first chunk of a long list.remove_empty_lines(default true) - drops blank lines so a stray return in the middle of your list doesn't fire off an empty prompt. Leave it on; this default was added deliberately because empty prompts in a batch are pure waste.
Outputs: STRING (the list of prompts - wire it into your text encode) and COMBO (the same lines as a dropdown-style list). The STRING list is the one you want for batch generation.
Installing it
Ships with the pack. Install ComfyUI-Easy-Use via ComfyUI Manager (search ComfyUI Easy Use, restart) or:
cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Use
Install requirements, restart. Nothing else needed.
Where it bites
The behavior that surprises people is that a list of prompts is a list of runs, not a batch tensor. ComfyUI executes the graph once per list item, so 50 lines is 50 sequential generations - great for "set it and forget it," but it's real time, and it's different from batch_size (which makes multiple images in one run off one prompt). If you wanted variations of one prompt, use batch size; if you want different prompts, that's this node.
Second, be deliberate about where the list flows. If you branch the STRING output into two encoders, or mix it with a non-list input that doesn't broadcast cleanly, the iteration can multiply or stall in confusing ways. Keep the list path clean - promptLine into your positive encode, straight through to the sampler - and it behaves. For actually walking away from a queue of distinct prompts, this is the node that finally makes ComfyUI do the thing Forge did.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | text | — |
| start_index | INT | 00–9999 | — |
| max_rows | INT | 10001–9999 | — |
| remove_empty_lines | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |
| COMBO | COMBO | — |