Nodes/Comfyroll Studio/CR SDXL Prompt Mixer (Legacy)
ComfyUI Node Runs on cloud

CR SDXL Prompt Mixer (Legacy)

The old base+style-to-G/L/R mixer (legacy)

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,291
CR SDXL Prompt Mixer (Legacy)
    • pos_g
    • pos_l
    • pos_r
    • neg_g
    • neg_l
    • neg_r
    β—„prompt_positiveBASE_POSITIVEβ–Ί
    β—„prompt_negativeBASE_NEGATIVEβ–Ί
    β—„style_positiveREFINER_POSTIVEβ–Ί
    β—„style_negativeREFINER_NEGATIVEβ–Ί
    β—„presetβ–Ύβ–Ί

    Comfyroll's own README says it plainly: CR SDXL Prompt Mixer, replaced by CR SDXL Prompt Mix Presets. This node still ships and still works, but it's the previous generation of the same idea, and the display name in ComfyUI tags it "(Legacy)" so you know at a glance. If you're starting a new SDXL workflow, go straight to CR SDXL Prompt Mix Presets instead - same job, clearer presets, actively the recommended node.

    What it was for

    SDXL's prompt encoding wants text split across three destinations: the G encoder, the L encoder, and - if your workflow runs a refiner pass - a third slot for the refiner's own conditioning. This node takes two prompt pairs, a "base" pair (prompt_positive/prompt_negative) and a "style" pair (style_positive/style_negative), and mixes them into all three slots according to whichever preset you pick, so you don't have to hand-copy text into six separate boxes yourself.

    How it works

    You write your main subject prompt into prompt_positive/prompt_negative, and a separate style or refiner-oriented prompt into style_positive/style_negative. The preset dropdown (five options, unlabeled here beyond "preset 1" through "preset 5") controls how those two pairs get distributed across the G, L, and R outputs - some presets keep the style text isolated to the refiner slot, others blend it further in. The exact recipe behind each numbered preset isn't documented anywhere public, so the practical approach is to try a couple of them side by side and keep whichever one's output reads right for your workflow - which is a good part of why the pack replaced this node with one that names its presets by what they actually do.

    The inputs and outputs that matter

    • prompt_positive / prompt_negative - your base subject prompt, defaults literally read BASE_POSITIVE/BASE_NEGATIVE as a hint.
    • style_positive / style_negative - the secondary style/refiner-leaning text, defaulting to REFINER_POSTIVE/REFINER_NEGATIVE (yes, that typo is in the node itself).
    • preset - which of the five mixing recipes to apply.

    Outputs are six plain STRING fields: pos_g, pos_l, pos_r, neg_g, neg_l, neg_r - no show_help on this one. Wire pos_g/pos_l/neg_g/neg_l into your base-pass prompt encoder (like CR SDXL Base Prompt Encoder) and pos_r/neg_r into your refiner's encoder if your workflow has one.

    How to install it

    Comfyroll Studio (Suzie1 and RockOfFire), no models or heavy dependencies.

    • ComfyUI Manager - search "Comfyroll Studio," install, restart.
    • Manual - cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.

    Common issues & troubleshooting

    Should you even use this node? Take the "(Legacy)" seriously. CR SDXL Prompt Mix Presets does the same six-output G/L/R split with named presets ("default with no style text," "style boost 1," "style text to refiner," and so on) that tell you what you're actually choosing instead of a bare number. There's no reason to reach for this one in a new build - it's here for graphs that already have it wired in.

    You don't have a refiner pass. If your workflow is base-only, the pos_r/neg_r outputs just go unused - that's fine, leave them unconnected. Worth knowing the SDXL realism community largely stopped bothering with the refiner stage once fine-tuned checkpoints matured, so skipping it entirely is a normal, common setup, not a mistake.

    Not sure which preset does what. There's no authoritative public breakdown of the five presets' internals - the honest approach is A/B: run the same base+style prompt through a couple of presets and compare the rendered result, then commit to the one that reads right.

    Comfyroll nodes missing entirely. A pack-wide load failure shows up as Comfyroll Studio: Failed to load Graphics nodes and a trailing NameError: name 'CR_HalftoneGrid' is not defined in your log - a symptom of an earlier import failure, often a Pillow conflict from another node pack. Force-reinstall Pillow or do a clean reinstall of the folder, then restart.

    Category🧩 Comfyroll Studio/✨ Essential/πŸ’€ Legacy

    Inputs (5)

    NameTypeDefaultDescription
    prompt_positiveoptSTRINGBASE_POSITIVEβ€”
    prompt_negativeoptSTRINGBASE_NEGATIVEβ€”
    style_positiveoptSTRINGREFINER_POSTIVEβ€”
    style_negativeoptSTRINGREFINER_NEGATIVEβ€”
    presetoptCOMBO5 options: preset 1, preset 2, preset 3, preset 4, preset 5

    Outputs (6)

    NameTypeDescription
    pos_gSTRINGβ€”
    pos_lSTRINGβ€”
    pos_rSTRINGβ€”
    neg_gSTRINGβ€”
    neg_lSTRINGβ€”
    neg_rSTRINGβ€”