Nodes/InstaSD nodes for ComfyUI/InstaSD - Multiple Style Selctor
ComfyUI Node

InstaSD - Multiple Style Selctor

Stack four saved styles into one prompt with InstaSD's multi selector

By WaddingtonHoldings·Created 2 years ago·Updated 10 months ago· 4
InstaSD - Multiple Style Selctor
    • positive_string
    • negative_string
    style1
    style2
    style3
    style4

    InstaPromptMultipleStyleSelector is the sibling of InstaPromptStyleSelector with one useful upgrade: instead of one style, it gives you four dropdowns (style1 through style4) and concatenates the results into a single positive and negative string. Pick "cinematic" and "golden hour" and "portrait" and you get one combined prompt instead of three nodes fighting over the same CLIP encoder.

    Outputs are positive_string and negative_string, built by joining each selected style's prompt (and negative prompt) with a space. Wire them into a CLIP Text Encode and the combined text drives your generation. The styles themselves come from the same source as the single selector: on startup the pack imports an A1111 styles.csv into styles.json, which these dropdowns read.

    The catch: same path trap, plus a silent fail

    The import path is hardcoded to /ComfyUI/styles/styles.csv - an absolute path that exists on InstaSD's cloud workers but almost never on a local install. No file, no import, dropdown shows only None. To make it work locally you must place the file at exactly that path (C:\ComfyUI\styles\styles.csv on Windows, /ComfyUI/styles/styles.csv on Linux) and restart.

    The second gotcha is more insidious. If any of the four selected styles isn't in the loaded styles file, the node prints a message to the console and returns empty strings for both outputs. Not a warning, not an error - the whole thing silently collapses to an empty prompt. Since you're concatenating four styles, the odds of one name being misspelled or missing climb fast. If your output suddenly looks like an unprompted image, check all four names against the styles file.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/WaddingtonHoldings/ComfyUI-InstaSD
    

    Restart ComfyUI, or use ComfyUI Manager (search "InstaSD"). Dependencies: boto3, Pillow, requests, numpy. No models or credentials.

    Gotchas

    • Four styles concatenated is a lot of prompt text. Styles are usually written to stand alone, so stacking them can produce muddled, overloaded prompts - start with two and see.
    • It's categorized under "WAS Suite/Text" like its sibling, so look for it there, not under InstaSD.
    • One bad style name nukes both outputs. Verify all four exist before relying on the node.
    CategoryWAS Suite/Text

    Inputs (4)

    NameTypeDefaultDescription
    style1COMBO1 options: None
    style2COMBO1 options: None
    style3COMBO1 options: None
    style4COMBO1 options: None

    Outputs (2)

    NameTypeDescription
    positive_stringSTRING
    negative_stringSTRING