Nodes/WAS Node Suite v3/Prompt Multiple Styles Selector
ComfyUI Node Runs on cloud

Prompt Multiple Styles Selector

Pull A1111 styles into ComfyUI

By WASasquatch·Created 3 years ago·Updated 5 days ago· 1,844
Prompt Multiple Styles Selector
    • positive_string
    • negative_string
    style1None
    style2None
    style3None
    style4None
    style5None
    style6None
    style7None
    style8None
    style9None
    style10None
    style11None
    style12None
    style13None
    style14None
    style15None
    style16None
    style17None
    style18None
    style19None
    style20None
    style21None
    style22None
    style23None
    style24None

    If you came over from Automatic1111 and miss your saved styles - those named prompt snippets you'd click to stamp "cinematic, dramatic lighting, 35mm" onto whatever you were typing - this node is how you bring them along. It reads your A1111 styles.csv and lets you pick styles from a dropdown, then spits out the prompt text they contain. The "Multiple" part is the upgrade: you can stack several styles at once and it concatenates them.

    The catch up front: you have to point it at your styles file

    This is the step everyone misses, so here it is first. The node doesn't invent styles - it reads the ones you already have in A1111. Per the README's "Import AUTOMATIC1111 WebUI Styles" section, the flow is:

    1. Run ComfyUI once so WAS generates its was_suite_config.json.
    2. Open that file and change webui_styles from None to the full path of your A1111 styles.csv (on Windows, use double backslashes).
    3. Restart ComfyUI.

    If your styles dropdown is empty, this is why - the config isn't pointed at a styles file yet. There's also a webui_styles_persistent_update flag you can set to true so it re-syncs from your WebUI styles on every launch.

    How it works and what it outputs

    Each A1111 style is a name plus a positive and a negative prompt fragment. You select the styles you want; the node assembles them and gives you two text outputs - a positive prompt and a negative prompt (the README notes the first output is positive, the second negative). You wire those straight into your CLIP Text Encode nodes. Select multiple styles and their fragments combine, which is the fast way to layer a base look plus a couple of modifiers without retyping.

    For beginners, this is a genuinely nice on-ramp: styles are reusable, named, and version-controlled in one CSV, so instead of copy-pasting the same quality-boost tail into every prompt you just pick it. Our prompt-engineering notes make the same point - the durable win is a small library of reusable fragments, not one perfect mega-prompt.

    Installing it

    Ships with WAS Node Suite. Install the pack via ComfyUI Manager (search was-node-suite-comfyui, install, restart) or clone it:

    cd ComfyUI/custom_nodes
    git clone https://github.com/WASasquatch/was-node-suite-comfyui
    

    install requirements.txt, restart. The only "setup" beyond that is the styles.csv path above - there are no model downloads.

    Troubleshooting

    Two separate things can go wrong. Empty dropdown / no styles: the webui_styles config path isn't set, or ComfyUI wasn't restarted after setting it. Whole pack won't load ("Import Failed"): that's the pack-wide issue - WAS has been unmaintained since December 2023, and a ComfyUI update can bump a pinned dependency (usually opencv) out from under it. Reinstall requirements.txt into the correct venv (activate it, or use install.bat) to reconcile. Get past those two and the node just works.

    CategoryWAS Suite/Text/Styles

    Inputs (24)

    NameTypeDefaultDescription
    style1COMBONoneFirst style to combine, or None to skip it; its prompts come first in both outputs. A style named here and missing from the library empties both outputs rather than dropping part of the prompt silently.
    style2COMBONoneSecond style, appended after style1. None skips it.
    style3COMBONoneThird style, appended after style2. None skips it.
    style4COMBONoneFourth style, appended last. None skips it.
    style5COMBONoneStyle 5, concatenated after the one before it. `None` is skipped.
    style6COMBONoneStyle 6, concatenated after the one before it. `None` is skipped.
    style7COMBONoneStyle 7, concatenated after the one before it. `None` is skipped.
    style8COMBONoneStyle 8, concatenated after the one before it. `None` is skipped.
    style9COMBONoneStyle 9, concatenated after the one before it. `None` is skipped.
    style10COMBONoneStyle 10, concatenated after the one before it. `None` is skipped.
    style11COMBONoneStyle 11, concatenated after the one before it. `None` is skipped.
    style12COMBONoneStyle 12, concatenated after the one before it. `None` is skipped.
    style13COMBONoneStyle 13, concatenated after the one before it. `None` is skipped.
    style14COMBONoneStyle 14, concatenated after the one before it. `None` is skipped.
    style15COMBONoneStyle 15, concatenated after the one before it. `None` is skipped.
    style16COMBONoneStyle 16, concatenated after the one before it. `None` is skipped.
    style17COMBONoneStyle 17, concatenated after the one before it. `None` is skipped.
    style18COMBONoneStyle 18, concatenated after the one before it. `None` is skipped.
    style19COMBONoneStyle 19, concatenated after the one before it. `None` is skipped.
    style20COMBONoneStyle 20, concatenated after the one before it. `None` is skipped.
    style21COMBONoneStyle 21, concatenated after the one before it. `None` is skipped.
    style22COMBONoneStyle 22, concatenated after the one before it. `None` is skipped.
    style23COMBONoneStyle 23, concatenated after the one before it. `None` is skipped.
    style24COMBONoneStyle 24, concatenated after the one before it. `None` is skipped.

    Outputs (2)

    NameTypeDescription
    positive_stringSTRINGThe chosen positive prompts joined with spaces, for a positive CLIP Text Encode. Empty when a named style is missing from the library.
    negative_stringSTRINGThe chosen negative prompts joined with spaces, for a negative CLIP Text Encode. Empty when a named style is missing from the library.