Nodes/ComfyUI-OC-Generator/OC Outfit Neckwear Part
ComfyUI Node

OC Outfit Neckwear Part

The neckwear slot

By Zhuozhuo-219·Created 3 months ago·Updated 2 months ago· 0
OC Outfit Neckwear Part
    • oc_part
    • prompt_preview
    • debug_text
    group__all_groups__
    modeunset
    option领口 / 围巾 | 调整围巾 -> adjusting_scarf
    color_roleauto
    seed0

    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, or randomize. 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.

    CategoryOC Generator/Parts

    Inputs (5)

    NameTypeDefaultDescription
    groupCOMBO__all_groups__Limit the part to one subgroup inside this slot. The option dropdown is still static in the UI.
    modeCOMBOunsetunset emits no prompt. fixed keeps the selected option. randomize samples within the current slot pool.
    optionCOMBO领口 / 围巾 | 调整围巾 -> adjusting_scarfStatic 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_roleoptCOMBOautoHow this part should consume the global palette. auto lets Character Outfit Block assign a role by slot.
    seedoptINT00–4294967295Seed used by randomize mode for reproducible part selection.

    Outputs (3)

    NameTypeDescription
    oc_partOC_PART_OUTFIT_NECKWEARStructured local part data for Character Outfit Block.
    prompt_previewSTRINGThe prompt fragment resolved by this part node.
    debug_textSTRINGExecution details for slot filtering and random selection.