Clothing 3
Same trick, different folder
- text
- id
This is the third of four near-identical clothing selectors, so let me be direct: if you're not already on the "prompts as files" train, Clothing 3 will not convert you. It's a folder of text files - data/clothing3/ - surfaced as a dropdown, and out of the box that folder is empty except for the custom_input fallback. The value only exists once you fill it, and the only reason there are four of these instead of one is that the author organized wardrobes by season (this one = autumn).
Which is honestly the right call for one specific use case: character galleries where you want the same subject in seasonal outfits. Clothing 3 is where your trench coat, knit sweater, scarf blocks live, kept apart from the summer list so the dropdown doesn't turn into a 40-item wall.
How it works
Same mechanism as every selector in the pack: the node lists .txt files in its data folder, filename minus extension is the label, the leading two-digit number becomes the id output, and // or /* ... */ comments in the file are stripped before the text reaches your prompt. The folder gets created the first time ComfyUI runs the node.
Inputs and outputs
- clothing3 - the dropdown. Only
custom_inputuntil you add files. - clothing3_custom - multiline override for one-off outfits; selecting
custom_inputuses this box instead and outputsid0.
Outputs: text (STRING, comma-terminated) and id (INT). text feeds your CLIP encode or an Aggregator; id feeds the numeric logic (Prompt Switch, etc.).
Install
ComfyUI Manager → search "Prompt String Selector", or:
cd ComfyUI/custom_nodes
git clone https://github.com/itom0717/ComfyUI-Prompt-String-Selector.git
Restart. Zero dependencies - no requirements.txt, no pip step, nothing to download. Install is a non-event.
Gotchas
Dropdown refresh happens only at startup, and since this node starts empty you'll hit the add-file-restart loop at least once. Batch your outfit files and restart once. And if the seasonal split is wrong for how you work, ignore it - nothing in the code cares that this folder is "autumn." The category names are decoration; the file format is the contract.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| clothing3 | COMBO | 1 options: custom_input | |
| clothing3_custom | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| id | INT | — |