China Attire
Cheongsam without the Halloween-costume energy
- prompt
Ask a base model for a qipao and you often get a satin party dress with a slit and a dragon printed on it. The China Attire node from ComfyUI Globetrotter Nodes is here to make sure the prompt actually names the real garment and describes it properly - the collar, the side slit, the cut - so the model has a fighting chance of rendering it right. It's a prompt-generator node: pick your options, get a finished prose prompt out the other end, wire it into your positive prompt.
What it is
One of the country nodes in manifestations/comfyui-globetrotter, built the same way as the rest: a factory generates the node class at load time from JSON files in data/, and every option you see in the dropdowns comes from data rather than Python code. The honest framing: China is one of the thinner entries in the pack. There's no regional appearance data (region is none/random/Unspecified only), no country-specific poses, and no landmark settings - the setting list is the generic shared one. What it does have is a solid core of authentic upper-body garments, and that's what you're here for.
How it works
On run, the node assembles a natural-language prompt in a fixed order: subject β appearance β emotion β attire descriptions β pose β setting β atmosphere β composition β quality keywords. Attire items are gender-filtered and each carries a full descriptive sentence, which is the whole trick - the garment name plus what it looks like. Pick Upper_Body: Qipao (Cheongsam) and the output doesn't say "qipao," it says the dress with its Mandarin collar and slit, described in enough words for the model to build on.
The inputs that matter
- gender and age set the subject; attire options filter around them.
- Upper_Body is the headline dropdown:
Qipao (Cheongsam),Hanfu,Tangzhuang (Tang Suit). - Head:
Phoenix Crown (Fengguan),Mianfu Crown,Guan- the crown options are the genuinely fun part if you want a ceremonial look. - Legs:
Ruqun,Kun,Lotus Shoes. Waist:Yudai. - randomization (off/light/moderate/full) and seed control reproducibility; the author's tooltip is unambiguous: same seed + same settings = consistent outputs. Full randomization deliberately ignores the seed.
- lora_trigger, custom_prompt, and experimental_llm_rewrite round it out. The last one needs
transformersinstalled and downloadsdistilgpt2on first use - skip it unless you specifically want that.
Output
One prompt STRING. Feed it to a CLIP Text Encode (Prompt) node's text input as the positive prompt, then to KSampler.
Install
cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/manifestations/comfyui-globetrotter
cd comfyui-globetrotter
pip install -r requirements.txt # optional
Restart ComfyUI (you'll see "Globetrotter: Loaded N node classes." in the console), or use ComfyUI Manager β search "Globetrotter." No model files to download for the node itself.
Troubleshooting
- Garment choice has no visible effect: check you picked an actual option rather than leaving it on "none" - every dropdown defaults to none/random and "none" means "skip this entirely."
- Fewer attire options than a neighboring country: expected. China's data is thinner than India's or Indonesia's; this is a difference in the pack's data coverage, not something you broke.
- experimental_llm_rewrite does nothing:
transformersisn't present, and the node quietly skips instead of erroring. - Small pack, no community write-ups to lean on - when in doubt, read the "Could not load β¦" warnings in the ComfyUI console.
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| age | COMBO | young adult | 11 options: none, random, Young Adult, Adult, Teenager, Middle Aged, +5 |
| gender | COMBO | Female | 6 options: none, random, Female, Male, Non-Binary, Unspecified |
| region | COMBO | none | 3 options: none, random, Unspecified |
| hair_style | COMBO | none | 53 options: none, random, long braid, bun, double bun, messy bun, +47 |
| emotion | COMBO | confident | 14 options: none, random, Confident, Serene, Elegant, Sophisticated, +8 |
| pose | COMBO | none | 2 options: none, random |
| cultural_element | COMBO | none | 2 options: none, random |
| setting | COMBO | none | 10 options: none, random, Elegant Garden, Serene Lakeside, Sophisticated Urban Setting, Refined Interior, +4 |
| atmosphere | COMBO | golden hour | 21 options: none, random, Golden Hour, Soft Natural Light, Warm Ambient Light, Elegant Lighting, +15 |
| detail_level | COMBO | masterpiece | 8 options: none, random, Masterpiece, Cinematic, Photorealistic, Artistic, +2 |
| composition | COMBO | rule of thirds | 9 options: none, random, Rule Of Thirds, Portrait, Close-Up, Full Body, +3 |
| prompt_optimization | COMBO | premium | 7 options: none, random, Premium, Artistic, Professional, Creative, +1 |
| Head | COMBO | none | 5 options: none, random, Guan, Phoenix Crown (Fengguan), Mianfu Crown |
| Legs | COMBO | none | 5 options: none, random, Kun, Lotus Shoes, Ruqun |
| Upper_Body | COMBO | none | 5 options: none, random, Tangzhuang (Tang Suit), Qipao (Cheongsam), Hanfu |
| Waist | COMBO | none | 3 options: none, random, Yudai |
| randomization | COMBO | moderate | Controls how much randomization is applied: off=no randomization, light=minimal variation, moderate=balanced randomization, full=maximum creativity |
| seed | INT | 00β4294967295 | Random seed for reproducible results. Use same seed to get consistent outputs |
| lora_trigger | STRING | Character name or trigger word for LoRA models | |
| custom_prompt | STRING | Additional custom text to include in the prompt | |
| experimental_llm_rewrite | COMBO | off | Experimental: Use AI to rewrite and enhance the prompt (requires transformers library) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | β |