OC Outfit Neckwear Part
The neckwear slot
- oc_part
- prompt_preview
- debug_text
OCOutfit Neckwear Part handles the collar-and-neck layer: 90 options under 领口, including a dedicated 围巾 (scarf) subgroup. The catalog spans the mundane to the very Danbooru: ascot, bead_necklace, bone_necklace, ankh_necklace, belt_collar, black_choker, scarf entries from argyle_scarf to arm_scarf to beige_scarf, and the state-of-dress tags like adjusting_scarf. Ninety options makes it one of the bigger part catalogs in the pack, and chokers + scarves + necklaces is a genuinely loaded design space for anime characters.
It feeds Character Outfit Block's neckwear_part input, landing late in the slot order - after handwear, before headwear - which is roughly where neck details belong in the assembled outfit phrase.
How it works
mode-unset(default, emits nothing),fixed, orrandomize. The pack's universal footgun: wire it in, never touch mode, and your character wears nothing around the neck, silently.option- static dropdown over all 90, formatted领口 / 围巾 | 调整围巾 -> adjusting_scarf.
group has three choices (__all_groups__, 领口, 领口 / 围巾) and the option dropdown is static - so the group/option mismatch fallback is live here. Pick a beige_scarf, switch group to the plain 领口 set, and execution falls back to the first non-scarf option with a note in debug_text. Same fix as everywhere: keep group on __all_groups__ unless you genuinely need to pin a subgroup.
randomize is deterministic (same seed, same neckwear), and color_role defaults to auto, mapping the neckwear slot to accent - the palette's small-emphasis role, which is exactly right for a choker or necklace against a primary-colored top. A connected palette turns "black_choker" into "gold black_choker" the way the accent color should work.
Outputs
oc_part (typed OC_PART_OUTFIT_NECKWEAR, wire into neckwear_part), prompt_preview (the resolved tag), debug_text (mode, color role, pool index, fallback notes).
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/Zhuozhuo-219/ComfyUI-OC-Generator
Restart ComfyUI, or ComfyUI Manager (search ComfyUI-OC-Generator). No extra dependencies, no model downloads - the catalog ships in-repo.
The realistic take: this is one of the better part nodes - 90 options, a real scarf subgroup, and the accent-color behavior works nicely. It's still a curated cut, so a very specific collar style goes in OC Generator's prefix_prompt. The pack is new and quiet; debug_text is the documentation, and mode-not-set is the first thing to check when the neck comes out bare.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| group | COMBO | __all_groups__ | Limit the part to one subgroup inside this slot. The option dropdown is still static in the UI. |
| mode | COMBO | unset | unset emits no prompt. fixed keeps the selected option. randomize samples within the current slot pool. |
| option | COMBO | 领口 / 围巾 | 调整围巾 -> adjusting_scarf | Static dropdown for all options in this part node. If the selected option is outside the current group, execution falls back to the first valid item in that group. |
| color_roleopt | COMBO | auto | How this part should consume the global palette. auto lets Character Outfit Block assign a role by slot. |
| seedopt | INT | 00–4294967295 | Seed used by randomize mode for reproducible part selection. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| oc_part | OC_PART_OUTFIT_NECKWEAR | Structured local part data for Character Outfit Block. |
| prompt_preview | STRING | The prompt fragment resolved by this part node. |
| debug_text | STRING | Execution details for slot filtering and random selection. |