Clothing Toggles (Top/Bottom/Shoes)
Checkboxes that write your outfit prompt for you
- prompt
This is the everyday driver of the pack. Where its sibling node hands you named outfit presets, QwenClothingToggles is the granular one: check a box for each clothing category you want changed, pick a target style, and it assembles a Qwen-Image-Edit prompt that swaps exactly those items - top, bottom, shoes, accessories - while identity guards keep the face, hair and skin tone locked down.
Same shape as the rest of the pack: pure text, no model inside. You set booleans and enums, it returns a STRING that feeds TextEncodeQwenImageEditPlus. The reason to reach for toggles over presets is control. The preset dropdown is opinionated - "Formal Evening" describes a whole look. The toggles let you say "keep the top, change the bottom, make the whole thing streetwear," which is a far more natural request for a real wardrobe edit.
The inputs that matter. Three required booleans: change_top, change_bottom, change_shoes. Top and bottom default to on, shoes off - the right instinct, since most outfit edits are a top/bottom swap. One optional boolean, change_accessories, off by default; it covers jewelry, glasses, watch, bag, and it's a category the model will happily "improve" if you don't tell it not to, so leave it off unless you mean it. Then target_style (Casual, Formal, Business, Sports, Vintage, Streetwear, Beach) and skin_quality (Ultra Realistic / Realistic / Fast), both defaulting to the middle option.
Worth knowing how the checkboxes read: in ComfyUI each one shows "CHANGE TOP" when on and "keep top" when off, so the node is readable at a glance even if you built the graph weeks ago.
How it composes the prompt. The node builds "Replace the following with {style}: top, bottom…" - listing exactly the categories you checked - wrapped in the same editorial_edit: prefix and CRITICAL IDENTITY PRESERVATION block every node in this pack emits. There's one genuinely nice degenerate case: turn every change toggle off and it doesn't error or go blank, it degrades to "Enhance the image quality without changing clothing." Handy safety net when you're testing what each toggle actually does.
On skin_quality: Realistic adds a "natural texture, no airbrushing" line, Ultra Realistic goes further with pores and subsurface scattering, and Fast adds nothing at all. That's a deliberate trade - Fast keeps the prompt lean when your skin is already fine or you're iterating.
Output is a single prompt STRING into TextEncodeQwenImageEditPlus.
Installing
ComfyUI Manager users can search "QwenClothingSelector" and install, then restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/xxchinenxx/ComfyUI-QwenClothingSelector.git
Restart ComfyUI. No Python dependencies, no model downloads - Qwen-Image-Edit itself you bring separately.
Troubleshooting
- Toggles changed but the style didn't land? Toggles only control what the prompt asks for; the model decides how far it goes. Pair with a body mask (RMBG body minus face) like the README recommends.
- All three required toggles off means enhancement mode, not a no-op - check you haven't left the graph in "just polish it" state mid-test.
- Encoder errors like
split_with_sizes expects split_sizes have only non-negative entriespoint at your Qwen installation, not this node - its prompt strings are well-formed by construction.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| change_top | BOOLEAN | true | — |
| change_bottom | BOOLEAN | true | — |
| change_shoes | BOOLEAN | false | — |
| change_accessoriesopt | BOOLEAN | false | — |
| target_styleopt | COMBO | Casual | 7 options: Casual, Formal, Business, Sports, Vintage, Streetwear, +1 |
| skin_qualityopt | COMBO | Realistic | 3 options: Ultra Realistic, Realistic, Fast |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |