Nodes/ComfyUI-Just-Nodes/Picker x1 πŸ’Ž Just Nodes
ComfyUI Node

Picker x1 πŸ’Ž Just Nodes

Overkill-proof prompt selection

By Arroz-11Β·Created 7 months agoΒ·Updated 3 days agoΒ· 0
Picker x1 πŸ’Ž Just Nodes
    • STRING
    β—„select0β–Ί
    β—„modeβ–Ύβ–Ί
    β—„line0β–Ί
    β—„seed0β–Ί
    β—„text_1β€”β–Ί

    Picker x1 is the smallest member of the Just Nodes Picker family, and it answers a question you may not have asked: what if you want the line-picking behavior without any slot selection at all?

    The dynamic Picker lets you choose between up to twenty connected inputs and then pick a line inside the chosen one. Picker x1 collapses that first step - there's a single text_1 input and nothing to choose between. What's left is the genuinely useful half: paste a list of prompt variants, one per line, and this node hands you back one line at a time.

    In manual mode, the line input picks which line (indexed from 0). In random mode, the seed decides via seed % num_lines, so the same seed reproduces the same pick - important when a random variant turns out to be the keeper. Blank lines are stripped before counting, so a stray empty line doesn't quietly steal a line number.

    select exists on the node (0–0, always 0) because all Picker variants share the same code path, but there's nothing to select. mode, line, and seed are the three inputs that matter, and the single output is a STRING - straight into a CLIP Text Encode.

    Honestly, if you're only picking between alternatives within one text block, this is the tidy choice. If you later realize you need to switch between several sources, don't swap nodes - just use the dynamic Picker.

    Installing it

    Same as every Just Nodes node: ComfyUI Manager β†’ search "Just Nodes" β†’ install β†’ restart, or cd ComfyUI/custom_nodes && git clone https://github.com/Arroz-11/ComfyUI-Just-Nodes.git. No dependencies, no model downloads, MIT licensed.

    Gotchas

    • line is zero-based. Line 0 is the first line. Most people trip on this once.
    • Random mode picks from the single input's lines, not from anything else - if you want random across multiple sources, use the dynamic Picker or wire a random select into a larger variant.
    CategoryπŸ’Ž Just Nodes

    Inputs (5)

    NameTypeDefaultDescription
    selectINT00–0β€”
    modeCOMBO2 options: manual, random
    lineINT0β€”
    seedINT00–18446744073709550000β€”
    text_1optSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    STRINGSTRINGβ€”