Prompt Each Pixaroma
Batching With Prompt Each Pixaroma
- prompt
- index
- total
Type five prompts, hit Run once, get five pictures. That's the entire pitch of Prompt Each Pixaroma, and it quietly deletes a chore you didn't realize you had. If you've ever sat there re-running the same workflow because you keep editing one line of the prompt box, this is the node that ends it. It lives in the 👑 Pixaroma → 💬 Prompt & Text menu as part of the Pixaroma suite, and it's the easiest way in that pack to turn one workflow into a batch of variants.
How it works
The trick is that the node's outputs are lists. Each row you type becomes one entry, and ComfyUI's engine expands the graph once per entry - so your whole downstream pipeline (CLIP encode, KSampler, VAE decode, preview) runs once per prompt, one after another, inside a single queue item. That "one at a time" part is the selling point on a small card: it uses no more VRAM than a single generation, so a list of fifty is fine on a 6GB GPU where a true 50-image batch would fall over.
The node you'll hear it compared to is Prompt Multi Pixaroma, its sibling in the same pack. Multi queues a separate entry per prompt in the queue panel, which means you can cancel any of them individually. Prompt Each is one entry that just keeps going - right for a list you intend to run start-to-finish and walk away from.
Inputs and outputs that matter
The rows are widgets on the node body, not sockets - each gets an ON/OFF switch (skip it without deleting), a delete cross, and a drag handle to reorder. A counter up top tells you exactly how many prompts will actually run before you press Run. Paste drops a whole clipboard in, one prompt per line - that's how a hundred prompts get from a spreadsheet in one go.
text(optional STRING input): prompts arriving on the wire run after your rows, added rather than replacing them. Wire Prompt Pixaroma in and your whole@taglibrary works here; or feed it from an AI Prompt node. Press Reset to run only what's wired.prompt→ wire into CLIP Text Encode. This is the one that matters; everything downstream rides on it.index→ wire into a Save node's filename if you want files numbered in the order you typed (counts from 1).total→ how many prompts this run will produce, the same number on every iteration.
The bracket superpowers
A row isn't limited to one prompt. a [red|blue] car becomes two prompts, and [red|blue] [car|van] becomes all four combinations - the counter shows you the real count before you spend a render. Curly braces are deliberately the opposite: {a|b} still picks one at random, so the two compose (fixed set of variations, with one random slot). Escape a literal bracket with \[. This is the old A1111 wildcard trick from the prompt-variety playbook, upgraded so the variations all land in the same batch instead of across separate runs.
Open the gear on the node for three settings that matter: split on blank lines instead of every line (for long, multi-line prompts), turn bracket expansion off entirely, and set how many prompts one Run is allowed to queue.
Install
Easiest via ComfyUI Manager - search for Pixaroma and install. Manual route:
cd ComfyUI/custom_nodes
git clone https://gitlab.com/pixaroma/comfyui-pixaroma.git
Then restart ComfyUI. Note the canonical home is GitLab (the GitHub link in the brief is a mirror). No model downloads and no extra Python packages for this node - the pack's dependency list is empty; PIL and torch come from ComfyUI itself.
Gotchas worth knowing
- No prompts, no silent failure. If the node has no rows and nothing wired, it raises a clear "no prompts to run" error instead of quietly skipping your whole graph.
- The cap bites before you notice. Default is 200 prompts per Run - paste 300 from a spreadsheet and it stops at 200 with a console note. Raise it in the gear if you meant to run more. There's a hard ceiling at 4096 regardless.
#lines are comments. A row starting with#is skipped - which means Save Text Pixaroma's# <date>header lines pass through for free. Escape with\#if you ever want a literal hash.- After updating the pack, hard-refresh the browser tab (Ctrl+Shift+R / Cmd+Shift+R). ComfyUI caches old node visuals, so an update can look like a broken node until you do.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| textopt | STRING | Extra prompts from another node, run after the rows on this one. Wire a Text, an AI Prompt, a Save Text buffer, or Prompt Pixaroma so its tag library feeds the list. One prompt per line. To run only these, press Reset so the node has no prompts of its own. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | Each prompt in turn. Wire this to CLIP Text Encode and the workflow runs once per prompt. |
| index | INT | Which prompt this run is, counting from 1. Wire into Save Image so the saved files keep the order you typed. |
| total | INT | How many prompts this Run will produce. The same number on every one. |