Nodes/Comfyui FOCUS nodes/⚜️ Style Injector
ComfyUI Node

⚜️ Style Injector

Push a prompt toward a photography style, nothing else

By DJ-Tribefull·Created 2 years ago·Updated 2 years ago· 7
⚜️ Style Injector
    • positive
    • negative
    positive_in
    negative_in
    Main Style
    Lighting
    Camera

    The standalone version of style application. Where SDXL All-In-One bakes style into its own internal CLIP encoding, Style Injector works purely on text: it takes your positive and negative strings, folds in your Main Style, Lighting, and Camera picks, and hands back plain STRING outputs for whatever CLIP Text Encode node you're already using. It doesn't touch resolution, the latent, or the CLIP model itself - just your words.

    Inputs that matter

    • positive_in / negative_in - your base prompt text, before style gets applied.
    • Main Style - 6 choices: Inactive, FOCUS Photography, FOCUS Portraits, FOCUS Macros, FOCUS Landscapes, FOCUS Fine Art. Per the README, the built-in options are "tailored for photography and portraits" - this pack's whole reason for existing.
    • Lighting - 9 choices: Inactive, Warm, Cold, Nightclub, Natural, Low Key, High Key, Flashlight, Studio.
    • Camera - 22 real camera-and-lens pairings, from an "Old Polaroid" to a Hasselblad X1D II with its 65mm f/2.8, plus a drone and an action cam in the mix. This is worth taking seriously rather than treating as flavor text: naming a specific piece of photography equipment is, by current community consensus on 2026 photoreal prompting, the single highest-leverage phrase for knocking a model out of default "beauty mode" composition. This pack built that habit into a dropdown well before most of the community had articulated why it works.

    Outputs: positive and negative, both STRING - feed each straight into its matching CLIP Text Encode node.

    The mechanical constraint the README is honest about

    Style effectiveness "will vary depending on what checkpoint and LORAs you're using, and how complex/long your base prompt is. Simpler/shorter prompts leave more 'token space' for the style words to shine through." That's not just advice, it's a real limit on how SDXL works: it runs on CLIP's 77-token attention window, so a long, cluttered base prompt genuinely competes with the injected style keywords for the model's attention - this isn't a taste-based dilution, it's the tokenizer running out of room to give the style words weight.

    Installing it

    Via ComfyUI Manager: search Comfyui FOCUS nodes, install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DJ-Tribefull/Comfyui_FOCUS_nodes
    

    Restart ComfyUI. The style categories live in the pack's bundled focus_style.csv - nothing to download, and the README explicitly invites you to extend it: "follow the formatting in the focus_style.csv and you can add any categories you like" if the six built-in Main Style presets don't cover what you're after.

    Common issues & troubleshooting

    Style seems to do nothing. Check none of the three dropdowns is still on Inactive - all three default there, and it's an easy thing to forget after wiring the node in.

    Style is doing something, but weakly. Trim your base prompt before touching anything else. Per the mechanism above, that's the actual lever most of the time, not the style category you picked.

    You expected this to also handle resolution or wildcards. It won't - this node only touches text. Pair it with Prompt Box and a standalone Wildcard Processor if you want the rest of that pipeline, or switch to SDXL All-In-One if you'd rather have all of it automated in one node.

    Category⚜️ Focus Nodes/Style

    Inputs (5)

    NameTypeDefaultDescription
    positive_inSTRING
    negative_inSTRING
    Main StyleCOMBO6 options: Inactive, FOCUS Photography, FOCUS Portraits, FOCUS Macros, FOCUS Landscapes, FOCUS Fine Art
    LightingCOMBO9 options: Inactive, Warm, Cold, Nightclub, Natural, Low Key, +3
    CameraCOMBO22 options: Inactive, Old Polaroid, Point and shoot, Canon EOS 5D Mark IV with Canon EF 24-70mm f/2.8L II, Canon PowerShot G5 X Mark II with Built-in 8.8-44mm f/1.8-2.8, DJI Mavic Air 2 with Built-in 24mm f/2.8 (drone camera), +16

    Outputs (2)

    NameTypeDescription
    positiveSTRING
    negativeSTRING