ComfyUI Node

Subject Styler

Broad subject presets to anchor a prompt

By TripleHeadedMonkey·Created 3 years ago·Updated about a year ago· 66
Subject Styler
    • text_positive
    • text_negative
    text_positive
    text_negative
    subject
    log_prompttrue

    SubjectStyler is the broad-strokes framing node. Its dropdown is a set of subject categories - Animal, Art, Building, Child, Female, Food, Male, Nature, Technology, Vehicle - and picking one wraps your prompt in language tuned to that kind of subject. It's a coarse tool on purpose. You're not describing a specific thing here; you're telling the styler roughly what class of image you're making so it can frame the rest sensibly.

    Like everything in MileHighStyler, it works by template substitution. Each subject is a small text template with a {prompt} placeholder; your text drops in, and the framing words the style adds get automatically weighted up (around 2.0) so the subject framing pushes while your own words stay at normal strength. No model, no inference - just a curated snippet wrapped around your prompt.

    The inputs that matter

    • text_positive - your actual prompt.
    • text_negative - your negatives; the preset may append its own.
    • subject - the category dropdown. No option leaves your prompt alone.
    • log_prompt - on by default, echoes the finished prompt to the ComfyUI console.

    Outputs are two strings, text_positive and text_negative, that feed a CLIP Text Encode pair and then the sampler. On an SDXL graph with split text_g / text_l encoder inputs, reach for SubjectStylerAdvanced instead - this basic node is the one-pair version.

    Installing it

    Via ComfyUI Manager, search ComfyUI_MileHighStyler. Manager doesn't always carry this pack, so if the search is empty, clone it:

    cd ComfyUI/custom_nodes
    git clone https://github.com/TripleHeadedMonkey/ComfyUI_MileHighStyler
    

    Restart ComfyUI. No model downloads, no dependencies - the pack is JSON templates, so it's about as lightweight as a custom node gets.

    Common snags

    Because the categories are so broad, SubjectStyler is easy to over-trust. A category like Female or Nature nudges framing; it does not replace actually describing your subject in text_positive. If the render feels generic, that's usually the fix - write a real subject, and let the styler frame it. Turn on log_prompt if you want to see precisely what it added.

    One more overlap to watch: subject here covers ground that ThemeStyler's genres and PerfectionStyler's own subject field also touch, so stacking them can double up the same idea and eat into SDXL's 77-token budget. Pick one node to own the subject framing.

    And the standing caveat for the whole pack: this is CLIP-encoder tooling, most at home on the SDXL lineage (Illustrious, Pony, Juggernaut, RealVis). On a 2026 LLM-encoded checkpoint like Flux 2 or Z-Image, the weighted template is discarded and its negative does nothing at CFG 1, so the styling quietly does nothing. Those models read your prompt like an instruction - just say what the subject is in plain words and skip the node.

    Categoryali1234/stylers

    Inputs (4)

    NameTypeDefaultDescription
    text_positiveSTRING
    text_negativeSTRING
    subjectCOMBO11 options: No option, Animal, Art, Building, Child, Female, +5
    log_promptBOOLEANtrue

    Outputs (2)

    NameTypeDescription
    text_positiveSTRING
    text_negativeSTRING