ComfyUI Node

Clothing 4

Winter wardrobe slot — and the real reason the pack has four of these

By itom0717·Created 6 months ago·Updated 6 months ago· 0
Clothing 4
    • text
    • id
    clothing4
    clothing4_custom

    Clothing 4 closes out the pack's four-slot wardrobe (winter, per the README), and it shares the family trait: ships empty, only custom_input in the dropdown until you create files. I'd normally call a node that does nothing out of the box a shrug, but here it's the honest price of the pack's design - your prompt library is your data, and the pack is the filing cabinet, not the content.

    The reason there are four of these and not one: the author splits clothing by season so you get four short, scannable dropdowns instead of one long one. That's a real usability win once you're storing more than a handful of outfits, and it points at the deeper thing this pack is really about - the id number on every selector. Four dropdowns, each with id 1..n, means your graph can switch seasons and outfits numerically without you ever touching a text box mid-run.

    How it works

    Lists .txt files in ComfyUI/custom_nodes/ComfyUI-Prompt-String-Selector/data/clothing4/ (folder auto-created on first run). Filename minus extension = dropdown label; the leading number = id output; // and /* */ comments stripped from file contents before output. Files sort by their numeric prefix, so name them 01_, 02_, … to control order.

    Inputs and outputs

    • clothing4 - dropdown of your winter outfits.
    • clothing4_custom - multiline override; custom_input uses this box and sets id to 0.

    Outputs: text (STRING, comma-terminated so it chains into the Aggregator) and id (INT). Wire text into the positive prompt; wire id anywhere you need the numeric handle.

    Install

    ComfyUI Manager, search "Prompt String Selector", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/itom0717/ComfyUI-Prompt-String-Selector.git
    

    Restart. No dependencies at all - pure Python standard library, no models. The riskiest part of this install is misremembering the pack name.

    Gotchas

    New files need a restart to show up. And since you're starting from zero files, don't do one-file-per-restart; write your whole winter list, then restart once.

    One honest note: if a seasonal wardrobe isn't your workflow, four near-identical clothing nodes is over-engineering. You could do all of it in one. The pack lets you pick which folders to actually fill - nobody's making you use all four.

    CategoryPrompt String Selector

    Inputs (2)

    NameTypeDefaultDescription
    clothing4COMBO1 options: custom_input
    clothing4_customSTRING

    Outputs (2)

    NameTypeDescription
    textSTRING
    idINT