Nodes/pants/CLIPTextEncodeAIO
ComfyUI Node

CLIPTextEncodeAIO

A StylePile-style prompt builder for CLIP checkpoints

By pants007·Created 3 years ago·Updated 2 years ago· 2
CLIPTextEncodeAIO
  • clip
  • CONDITIONING
  • CONDITIONING
positive_prompt
opt_prompt
concept
strength_concept1.30
type
strength_type1.30
artist
strength_artist1.30
movement
strength_movement1.30
color
strength_color1.30
mood
strength_mood1.30
direction
strength_direction1.30
negative_prompt

If you've used A1111 you probably know StylePile - the extension that lets you build a prompt out of dropdowns instead of typing "in the style of Alena Aenami, cinematic, 80s art, cel shaded" from memory every time. CLIPTextEncodeAIO is one node's attempt to bring that workflow into ComfyUI. It's a single conditioning node that replaces a whole cluster of CLIPTextEncode + concat/combine nodes: type your scene, pick a handful of style dropdowns, get back both your positive and negative conditioning in one shot. The author's own words in the README are refreshingly honest about it: "Tried to hack StylePile-like behavior into a ClipTextEncode node, but I'm not sure I'm even doing it right." Take that as the right amount of confidence to bring to it yourself - useful, a bit rough around the edges, not gospel.

How it works

Under the hood this is still a CLIP text encoder - your main prompt goes in, gets combined with whatever style dropdowns you've picked, and comes out as conditioning. The seven style axes (concept, type, artist, movement, color, mood, direction) each pair with their own strength_* slider, defaulting to 1.3. That number isn't arbitrary: it's the same scale as the classic (keyword:1.3) attention-weight syntax from the CLIP/A1111 era, where wrapping a word in parens and a multiplier tells the encoder to lean on it harder. This node is almost certainly doing the same thing under the hood, per axis, so picking an artist and cranking strength_artist to 2.0 is roughly the same move as writing (Alena Aenami:2.0) by hand - except you get it from a dropdown of 300 artist names instead of having to remember the spelling.

That mechanism is also the important caveat: attention weighting is CLIP-era tech. It works on SD 1.5, SDXL, Illustrious, NoobAI, Pony - anything still using a CLIP text encoder. It does nothing on the newer LLM-encoded checkpoints (Z-Image, Flux 2, Anima and friends), where ComfyUI's own prompt weighting is disabled outright at the encoder level. If you wire this into one of those and the style sliders don't seem to change anything, that's not a bug in the node - it's the wrong tool for that checkpoint. Save it for your CLIP-based models.

Inputs and outputs that matter

  • clip - your CLIP model, same as any text encode node.
  • positive_prompt - the multiline box for your actual scene description.
  • opt_prompt - a second, single-line, optional field for a quick addition without editing your main prompt block.
  • negative_prompt - multiline, same idea as any negative prompt box (only does anything at CFG above 1 - a real CFG value, not a distilled-model CFG-1 setup).
  • The seven style dropdowns - concept (83 options, things like Acclaimed, Cinematic, Award Winning), type (photo, painting, 3d-rendering, digital-artwork, drawing, vector-art), artist (301 names), movement (129 art movements), color (45 color/film-stock treatments), mood (26 options), direction (17 rendering styles like Cel shaded, Masterpiece, Rough sketch) - each with its own strength_* float, default 1.3, range 0–10. Leave any of them on None to skip it.

Two outputs, both CONDITIONING - wire the first into your KSampler's positive slot, the second into negative. One node, both conditioning inputs handled.

How to install it

Through ComfyUI Manager: search "pants" or "comfy-pants" and install. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/pants007/comfy-pants.git
cd comfy-pants
pip install -r requirements.txt

(The README itself says cd comfy_pants with an underscore - that's a typo, the actual folder git creates is comfy-pants with a hyphen. Go with what's really there.) Restart ComfyUI after.

Common issues

The single biggest trap is using strong style weights on the wrong kind of model and wondering why nothing looks different - see the CLIP-only caveat above. If you're on a 2026-era LLM-encoded checkpoint, drop the whole node for a plain prompt and skip the dropdowns entirely.

Past that, this is a tiny, single-author pack with essentially no public track record - there's no forum thread of people comparing notes on it, so there's no long list of known gotchas to hand you. Two things worth watching for on general principle: with seven strength sliders defaulting to 1.3 each, it's easy to stack more emphasis than you meant to and get an oversaturated, over-styled result - if a generation looks fried, dial a few of those back toward 1.0 before blaming your sampler settings. And because install runs pip install -r requirements.txt straight into your existing environment, a version clash with another custom node's dependencies is the most likely install-time failure - check pip list before and after if something else in your setup breaks right after adding this pack.

Categoryconditioning

Inputs (18)

NameTypeDefaultDescription
clipCLIP
positive_promptSTRING
opt_promptSTRING
conceptCOMBO83 options: None, Acclaimed, Alternative, Amateur, Artificial, Award Winning, +77
strength_conceptFLOAT1.300–10
typeCOMBO7 options: None, 3d-rendering, digital-artwork, drawing, painting, photo, +1
strength_typeFLOAT1.300–10
artistCOMBO301 options: None, Adam Hughes, Adi Granov, Adolf Kosarek, Adolph Von Menzel, Akihiko Yoshida, +295
strength_artistFLOAT1.300–10
movementCOMBO129 options: None, 50s Art, 60s Art, 70s Art, 80s Art, Abstract Art, +123
strength_movementFLOAT1.300–10
colorCOMBO45 options: None, Agfacolor, BW, Blue hue, CMYK Colors, Cathode tube, +39
strength_colorFLOAT1.300–10
moodCOMBO26 options: None, Amusing, Angry, Cosy, Depressing, Disgusting, +20
strength_moodFLOAT1.300–10
directionCOMBO17 options: None, Cel shaded, Cel shading, Detailed illustration, Graphic novel, Illustration, +11
strength_directionFLOAT1.300–10
negative_promptSTRING

Outputs (2)

NameTypeDescription
CONDITIONINGCONDITIONING
CONDITIONINGCONDITIONING