Nodes/PromptGenerator 12-Columns/(Empty) Prompt Generator 12 Columns
ComfyUI Node

(Empty) Prompt Generator 12 Columns

(Empty) Prompt Generator 12 Columns, with nothing pre-loaded

By DemonNCoding·Created 9 months ago·Updated 9 months ago· 19
(Empty) Prompt Generator 12 Columns
    • prompt
    Column_1
    Column_2
    Column_3
    Column_4
    Column_5
    Column_6
    Column_7
    Column_8
    Column_9
    Column_10
    Column_11
    Column_12
    always_add
    use_commastrue
    include_alwaystrue

    (Empty) Prompt Generator 12 Columns is the same machine as its two pre-filled siblings in the DemonNCoding/PromptGenerator12Columns pack, with every list stripped out. Twelve blank text boxes, an empty always_add, and one job: pick a random line from each column you fill, join it into a prompt, and hand it to your sampler. That's the entire node - which is exactly why you might prefer it.

    Why you'd reach for the blank one

    The pre-filled versions are fun but opinionated. Empty is for when you have your own vocabulary - your curated subject list, the lighting phrases you've verified actually work, the two camera angles you genuinely like - and you want the roulette without the clown-car. It's also the natural home for a character-reference batch: one column of poses, one of settings, one of moods, then queue thirty images of the same character across every combination. That's the old A1111 wildcard trick ({a|b|c}), minus the curly-brace syntax and with everything out in the open.

    How it works

    Identical to the rest of the pack: each run generates a random seed, picks one line per non-empty column, skips empty columns and any line starting with #, and joins the results with commas or newlines. The always_add block is appended wholesale - every line of it, every run, not a random pick. There's no add_titles input here, which is the one real difference: the pre-filled nodes carry a column-titles toggle that labels each pick (Subject: ..., Lighting: ...), but Empty has no idea what your columns mean, so it doesn't bother.

    The inputs that matter

    The 12 Column_1Column_12 text boxes - fill as few as one, because empty columns are just skipped - plus:

    • always_add - your permanent quality/batch block, appended verbatim.
    • use_commas - comma-joined single line when on, one pick per line when off.
    • include_always - whether the always_add block gets appended at all.

    Output is prompt (STRING), which wires straight into the text input of a CLIP Text Encode node.

    Install

    ComfyUI Manager, search PromptGenerator 12-Columns, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DemonNCoding/PromptGenerator12Columns
    

    Then restart. No requirements.txt, no model downloads, pure Python stdlib - the whole pack is three small files that only import random.

    Gotchas

    No seed input, so the node re-rolls on every queue run and prints the internal seed to the console (DEBUG is on by default). The prompt isn't shown on the node - use a Show Text node or the console to see what it generated. And remember the # trick: comment entries out instead of deleting them, so you can bring them back later.

    CategoryRandom Prompt Generators

    Inputs (15)

    NameTypeDefaultDescription
    Column_1STRING
    Column_2STRING
    Column_3STRING
    Column_4STRING
    Column_5STRING
    Column_6STRING
    Column_7STRING
    Column_8STRING
    Column_9STRING
    Column_10STRING
    Column_11STRING
    Column_12STRING
    always_addSTRING
    use_commasoptBOOLEANtrue
    include_alwaysoptBOOLEANtrue

    Outputs (1)

    NameTypeDescription
    promptSTRING