Nodes/Bjornulf_custom_nodes/โ™ป๐Ÿ‘š List Looper (Text Generator Outfits Male)
ComfyUI Node

โ™ป๐Ÿ‘š List Looper (Text Generator Outfits Male)

Run every wardrobe option in one batch

By justUmenยทCreated 2 years agoยทUpdated about a year agoยท 545
โ™ป๐Ÿ‘š List Looper (Text Generator Outfits Male)
    • *
    โ—„SELECTIONโ–พโ–บ
    โ—„topโ–พโ–บ
    โ—„bottomโ–พโ–บ
    โ—„footwearโ–พโ–บ
    โ—„head_itemโ–พโ–บ
    โ—„eye_itemโ–พโ–บ
    โ—„mouth_itemโ–พโ–บ
    โ—„accessoriesโ–พโ–บ
    โ—„armorsโ–พโ–บ
    โ—„uniformsโ–พโ–บ
    โ—„materialโ–พโ–บ
    โ—„patternโ–พโ–บ
    โ—„style_detailsโ–พโ–บ
    โ—„styleโ–พโ–บ
    โ—„cosplayโ–พโ–บ
    โ—„colorsโ–พโ–บ

    The male sibling of Bjornulf's outfit dropdown pile has the same problem: pick one top, one pair of shoes, one accessory, and you're locked into a single look per run. This node flips that around. Instead of choosing a value from one of the male outfit categories, you tell it which category to iterate, and ComfyUI runs your workflow once for every entry in that list - automatically, no manual re-queuing.

    It's one of six near-identical "List Looper" nodes in the pack (male outfits, female outfits, scenes, styles, poses, characters). The author's own note on the family: they "all have the same logic," so once this one clicks, the rest are free.

    How it works

    SELECTION picks which of the 15 male outfit categories becomes the loop - top, bottom, footwear, head_item, eye_item, mouth_item, accessories, armors, uniforms, material, pattern, style_details, style, cosplay, colors. (Male skips dress and full_body, which exist on the female version - the two lists aren't mirror images.) Once you've picked the category, set that specific dropdown to its ALL (N) entry - every category has one - while the other 14 stay on a fixed value. The node reads whichever field SELECTION points at and outputs the entire list for it.

    This runs on ComfyUI's built-in list execution: the output is a wildcard list, and everything downstream fires once per entry, in order. It's genuinely "all in one," which is the point - and it means it's the wrong tool if what you actually want is a manual increment through options one queue-run at a time. For that, the author says explicitly: skip this node, right-click the widget on the real Outfit Male generator and set it to increment.

    The inputs and outputs that matter

    • SELECTION - the category to loop. This is the only thing you're really deciding.
    • The 14 other category dropdowns - leave fixed, except the one matching SELECTION, which you set to ALL.
    • One wildcard list output - connect it to the matching input on the Outfit Male generator so the loop actually reaches your character prompt.

    Category sizes range from accessories (8 real options) up to uniforms (123). Looping armors or uniforms is a real batch job - plan your GPU budget before you queue it.

    How to install it

    ComfyUI Manager โ†’ search Bjornulf_custom_nodes โ†’ install โ†’ restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/justUmen/Bjornulf_custom_nodes
    pip install -r Bjornulf_custom_nodes/requirements.txt
    

    The node itself is plain list logic with zero special dependencies, but it ships inside the shared pack, so requirements.txt pulls in the full tail (ollama, opencv-python, ffmpeg-python, fal_client, and more) used by the pack's other 150-odd nodes. Install the whole thing; there's no partial install.

    Common issues & troubleshooting

    Only one image came out. The category dropdown matching your SELECTION needs to be set to ALL (N) - if it's still on a specific value, you've just picked one garment, and there's nothing to loop.

    The loop ran but the outfit barely changes. Confirm the loop's output is actually wired into the input that varies in your graph - a stray unlooped dropdown elsewhere can quietly override what you think is changing.

    Results look generic or ignore the garment detail. This is a checkpoint limitation shared across the whole Text Generator subsystem - it was built with Flux in mind, and the author is upfront that SD1.5 and SDXL follow specific clothing and material language less reliably. If looping ALL (117) armors gives you visually similar output on an older checkpoint, that's model comprehension, not a broken loop.

    I want two categories looping at once. SELECTION only picks one. Chain two List Loopers if you want the cross-product, but the run count multiplies - N tops by M colors means Nร—M renders, so check the math before you queue.

    CategoryBjornulf

    Inputs (16)

    NameTypeDefaultDescription
    SELECTIONCOMBO15 options: top, bottom, footwear, head_item, eye_item, mouth_item, +9
    topCOMBO32 options: ALL (31), t-shirt, button-up shirt, sweater, hoodie, tank top, +26
    bottomCOMBO23 options: ALL (22), jeans, slacks, trousers, cargo pants, dress pants, +17
    footwearCOMBO21 options: ALL (20), sneakers, oxford shoes, loafers, dress shoes, chelsea boots, +15
    head_itemCOMBO31 options: ALL (30), fedora, beanie, baseball cap, bucket hat, cowboy hat, +25
    eye_itemCOMBO11 options: ALL (10), sunglass, aviator, wayfarer, retro sunglass, polarized sunglass, +5
    mouth_itemCOMBO11 options: ALL (10), bandana, scarf, neck gaiter, face shield, welding mask, +5
    accessoriesCOMBO9 options: ALL (8), watch, tie, bow tie, hat, cap, +3
    armorsCOMBO118 options: ALL (117), Bone Armor, Wooden Plate Armor, Reed Armor, Stone-Studded Armor, Animal Hide Armor, +112
    uniformsCOMBO124 options: ALL (123), Hunter-Gatherer Outfit, Shaman Ritual Uniform, Tribal War Paint Uniform, Ceremonial Animal Skin Robe, Roman Legionary Uniform, +118
    materialCOMBO20 options: ALL (19), cotton, wool, silk, linen, cashmere, +14
    patternCOMBO29 options: ALL (28), solid, striped, plaid, checkered, polka dot, +23
    style_detailsCOMBO21 options: ALL (20), fitted, loose, oversized, skin-tight, baggy, +15
    styleCOMBO24 options: ALL (23), casual, formal, business, streetwear, athletic, +18
    cosplayCOMBO11 options: ALL (10), Naruto Uzumaki, Geralt of Rivia, Cloud Strife, Goku, Link, +5
    colorsCOMBO30 options: ALL (29), black, white, grey, red, crimson, +24

    Outputs (1)

    NameTypeDescription
    **โ€”