Nodes/Comfyroll Studio/🌟 CR SDXL Style Text
ComfyUI Node Runs on cloud

🌟 CR SDXL Style Text

Two boxes in, labeled for the L slot, nothing more

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
🌟 CR SDXL Style Text
    • positive_prompt_text_l
    • negative_prompt_text_l
    • show_help
    β—„positive_stylePOS_STYLEβ–Ί
    β—„negative_styleNEG_STYLEβ–Ί

    This is the simplest node in Comfyroll's SDXL group, and it does exactly one thing: you type your style text into two boxes, and it hands the same text back out with output names that mark it as "L-slot" text. No transformation, no mixing logic, no presets. It exists purely to be a clearly-labeled hop in a bigger SDXL prompt pipeline.

    Why this is worth a node at all

    SDXL's L encoder (CLIP ViT-L, the same family SD 1.5 used) tends to be where people put shorter, tag-like style language - "cinematic lighting, film grain, 35mm" - as opposed to the longer descriptive prose that goes to the G encoder. In a graph with several text boxes floating around, one labeled generically "Text" is easy to lose track of. CR SDXL Style Text exists so that when you're wiring a style prompt into something like CR SDXL Base Prompt Encoder's pos_l/neg_l inputs, the node itself tells you and anyone reading your graph later exactly what that text is for.

    How it works

    There's genuinely nothing under the hood. positive_style goes in, positive_prompt_text_l comes out unchanged; negative_style goes in, negative_prompt_text_l comes out unchanged. It's a passthrough with better labels than a bare text box - the same philosophy as CR Prompt Text, applied to the SDXL-L-slot use case specifically.

    The inputs and outputs that matter

    • positive_style - your positive style text. This is the whole input on the positive side.
    • negative_style - the negative counterpart.

    Outputs: positive_prompt_text_l and negative_prompt_text_l - same text, renamed to signal "this is L-slot content," ready to feed into a base prompt encoder's pos_l/neg_l inputs or into the style_positive/style_negative fields of a prompt-mixing node. Plus the standard show_help link.

    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

    Wondering why you'd use this over a plain text box. You wouldn't, functionally - the value is entirely readability. If your graph only has one or two text nodes, skip it; it earns its keep once you've got several text fields feeding different SDXL slots and need to tell them apart at a glance.

    Expected it to do something to the text. It doesn't split, reformat, or truncate anything - whatever you type is exactly what comes out. If you need actual text manipulation (splitting, concatenation, replacement), those are separate Comfyroll utility nodes (CR Text Concatenate, CR Split String, CR Text Replace), not this one.

    Comfyroll nodes missing entirely. If none of the pack's nodes show up after installing, check your ComfyUI startup log for Comfyroll Studio: Failed to load Graphics nodes and a trailing NameError: name 'CR_HalftoneGrid' is not defined. That's a downstream symptom of an earlier import error taking the whole pack down, commonly an incompatible Pillow version pulled in by another custom node. Reinstall Pillow (pip install --upgrade --force-reinstall pillow) or do a clean reinstall of the folder, then restart.

    Category🧩 Comfyroll Studio/✨ Essential/🌟 SDXL

    Inputs (2)

    NameTypeDefaultDescription
    positive_styleSTRINGPOS_STYLEβ€”
    negative_styleSTRINGNEG_STYLEβ€”

    Outputs (3)

    NameTypeDescription
    positive_prompt_text_lSTRINGβ€”
    negative_prompt_text_lSTRINGβ€”
    show_helpSTRINGβ€”