Nodes/ComfyUI_MileHighStyler/Preposition Styler
ComfyUI Node

Preposition Styler

The phrase-building helper nobody uses alone

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

    PrepositionStyler is the most "why is this a node" node in the pack, and it makes sense only once you see what it's for. Its dropdown is 66 prepositions - aboard, about, above, across, after, against, along, and so on. On its own, injecting the word "above" into a prompt does almost nothing. This is a grammar styler: it exists to be stacked with NounsStyler and VerbingStyler so you can assemble a relational phrase - noun, verb, preposition, noun - instead of hand-typing it.

    Think of the grammar trio as a little sentence machine. Pair "a cat" (noun) with "leaping" (verb) and "over" (preposition) and you get spatial relationships the model can actually place. Reached for by itself, a preposition is filler. Reached for as part of a composed phrase, it's the connective tissue. That's genuinely niche - most people will never touch this node - but if you're building templated, systematically-varied prompts, it's the piece that wires the others together.

    How it works

    Standard MileHighStyler substitution: the chosen preposition goes into a template with a {prompt} placeholder, your text drops in, and added words get automatically weighted up (around 2.0). The pack's offset feature on the combo nodes is what lets you place these words at exact positions, which is the whole reason a preposition styler is useful at all.

    The inputs that matter

    • text_positive - your prompt.
    • text_negative - your negatives.
    • preposition - the dropdown; none contributes nothing.
    • log_prompt - on by default, prints the finished prompt to the console.

    Outputs are text_positive and text_negative, into a CLIP Text Encode pair.

    Installing it

    ComfyUI Manager, search ComfyUI_MileHighStyler. If Manager doesn't list it, clone it:

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

    Restart ComfyUI. No models, no dependencies - JSON templates only.

    Common snags

    The main "issue" is expecting anything from it solo. It's a component, not a finished effect - if you drop just this node in and pick "beneath," you'll rightly wonder what happened. Use it alongside the other grammar stylers, keep log_prompt on to watch the phrase assemble, and it starts to make sense.

    And the pack-wide note: on a 2026 LLM-encoded model (Flux 2, Z-Image, Anima) the weighting is discarded and, frankly, those models parse relationships from plain word order far better than any bag of weighted tokens. Word order binds attributes on an LLM encoder, so "a cat leaping over a fence" written straight will beat this machinery. PrepositionStyler is an SDXL-era composition trick; keep it there.

    Categoryali1234/stylers

    Inputs (4)

    NameTypeDefaultDescription
    text_positiveSTRING
    text_negativeSTRING
    prepositionCOMBO66 options: none, aboard, about, above, across, after, +60
    log_promptBOOLEANtrue

    Outputs (2)

    NameTypeDescription
    text_positiveSTRING
    text_negativeSTRING