Nodes/ComfyUI_EmAySee_CustomNodes/EmAySee Pose Option Selector
ComfyUI Node

EmAySee Pose Option Selector

A five-way string switch for picking the pose descriptor mid-workflow

By EmAySee·Created about a year ago·Updated 4 months ago· 2
EmAySee Pose Option Selector
    • SELECTED_STRING
    string_input_1Milder
    string_input_2Sexy
    string_input_3Sexy Flirtatious
    string_input_4Erotic
    string_input_5Standard
    select_index1

    Five text boxes in, one string out, chosen by an index slider. That's EmAySee Pose Option Selector in a nutshell: a 1-of-5 switch for strings, pre-wired with an adult-character intent in mind. The defaults tell the whole story - Milder, Sexy, Sexy Flirtatious, Erotic, Standard - so it was clearly built to pick a tone/pose descriptor for character generation on the fly. The "pose" in the name is the author's use case; mechanically it's just a string multiplexer that would happily switch between five prompts, five LoRA names, or five CFG presets.

    This is one of those nodes that exists because ComfyUI's native widgets are awkward at "choose one string from a list and use it elsewhere." A text box doesn't have an index. A dropdown on a prompt node means retyping the whole string when you want to batch through options. This node splits the difference: the five options are editable boxes, and the select_index slider is what changes between runs - which is the thing you'd actually automate or randomize.

    How it works

    Nothing hidden here. Each of the five string inputs is checked against select_index (1-5), and the matching one is returned as SELECTED_STRING. Out-of-range values return an empty string rather than crashing - a failsafe the source keeps for safety. You can drive select_index from any INT source: a random int node for variety between generations, a toggle chain, an integer-stepping node for a batch run. Feed the output into a CLIP Text Encode and your prompt changes with the slider.

    The inputs that matter

    • string_input_1string_input_5 - the five options, all editable. Set the defaults to whatever your five variants are.
    • select_index (INT, 1-5, default 1) - which option to output. Slider in the UI.

    Output is a single SELECTED_STRING, meant to wire into any STRING input - usually the prompt on a CLIP Text Encode or a text-combining node.

    Installing it

    One more node out of ComfyUI_EmAySee_CustomNodes. Install the pack via ComfyUI Manager (search "ComfyUI_EmAySee_CustomNodes") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/EmAySee/ComfyUI_EmAySee_CustomNodes
    

    Then restart. No dependencies, no model files - it's pure Python string plumbing.

    Honest notes

    If you're seeing this node, you're already inside the EmAySee pack, so there's no real reason to hunt for an alternative - but it's worth knowing that Impact Pack's Logic collection and most "switch" packs give you a similar string-switch with more positions. This one is fine for exactly five options. The default strings are NSFW-adjacent ("Erotic") and the author ships them as-is; if that's not your vibe, type over them - nothing about the node itself is locked to that content. One small gotcha: the index is 1-based, and plenty of other ComfyUI switches are 0-based, so if you're driving select_index from another node, double-check whether you're off by one before you wonder why option A is coming out.

    CategoryEmAySee_Utils

    Inputs (6)

    NameTypeDefaultDescription
    string_input_1STRINGMilder
    string_input_2STRINGSexy
    string_input_3STRINGSexy Flirtatious
    string_input_4STRINGErotic
    string_input_5STRINGStandard
    select_indexINT11–5

    Outputs (1)

    NameTypeDescription
    SELECTED_STRINGSTRING