Text Random Multiline
Cheap wildcard-style prompt randomizing
- lines
Paste a list of things - styles, subjects, wardrobe, camera angles, whatever - one per line, and this node shuffles the order and hands you back a random selection. It's a poor-man's wildcard system built into the art-venture pack, and for a lot of "give me variety without installing a whole wildcards extension" jobs it's exactly enough.
If you've ever wanted your prompts to vary run-to-run without hand-editing them, this is the small tool that does it.
Why you'd use it
Prompt variety is one of the easiest levers on output diversity. Instead of generating the same "portrait of a woman, studio lighting" fifty times, you keep a list of twenty lighting setups and twenty moods and let the workflow pick different ones each run. This node is the picker. It's the difference between a batch that's fifty near-identical images and one that's actually exploring the space.
It slots naturally in front of a text-combine or concatenation node: shuffle your options here, splice the results into a base prompt, feed the sampler. Seed-controlled, so when you land on something good you can reproduce it.
How it works
You give it a block of text (one item per line), an amount, and a seed. It randomizes the line order using the seed and returns amount lines as a list output. Because it's a list, ComfyUI will fan it out - downstream nodes that accept the list can iterate over the picks, which is how you get per-item variation across a batch. Same seed, same shuffle; change the seed, new draw.
The inputs and outputs
- text (multiline
STRING) - your options, one per line. - amount (
INT, default 1, up to 1024) - how many lines to pull. - seed (
INT) - controls the shuffle. Fix it for reproducibility, randomize it for variety per run. - lines (output,
STRINGlist) - the selected lines, as a list.
The list output is the part worth internalizing - it's what makes this feed a batch rather than a single prompt.
Installing it
ComfyUI Manager: search comfyui-art-venture, install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/sipherxyz/comfyui-art-venture
then restart. Pre-installed on comfy.icu.
Common issues
Red "missing" node in a downloaded workflow = the art-venture pack isn't installed. Manager → "Install Missing Custom Nodes" sorts it.
The conceptual thing that trips people is the list output. If a downstream node isn't list-aware, wiring a multi-item list into it can produce more executions than you expected - ComfyUI runs the graph once per list element. If you only ever want one line, set amount to 1 and it behaves like a single string. Also: because the seed drives the shuffle, a fixed seed means the "random" pick never changes between runs, which surprises people who left the seed on a constant and wondered why they kept getting the same line. Want fresh variety every queue? Let the seed randomize. Want to lock a good result? Freeze it. That's the whole trick.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| amount | INT | 11–1024 | — |
| seed | INT | 00–18446744073709550000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| lines | STRING | — |