Sign In

Anatomy of a style: why each tag is there

2

Anatomy of a style: why each tag is there

A style in my packs is usually one or two tags long. That looks like too little to be worth a file, so this guide opens a few of them up and explains why each part is there. If you write your own styles, the same rules will save you a lot of testing.

The examples come from the packs on my profile.

The four parts

name:      CLOTHES_Trench_Coat
prompt:    (trench coat:1.4)
negative:  down jacket
description: Long belted double-breasted coat. Combos: ACCESSORY_Umbrella; SHOES_Boots_Knee.

The name says which layer the style belongs to. The prompt carries one idea. The negative blocks the nearest wrong answer. The description tells you what you'll get and what goes well with it.

One idea per style

The trench coat style doesn't mention rain, a street or a pose. Those are other layers, and they have their own styles. Because each style only does its own job, you can add them one at a time and see what each one changes:

stack-layers.jpg

Same seed throughout. From left: character only, plus the coat, plus the rainy street, plus neon lighting.

A style that sets the coat, the weather and the light in one go would look fine in its own preview. It would also be useless with any other scene.

The lead tag and its weight

Most styles lead with one tag in brackets with a weight, like (trench coat:1.4) or (rim light:1.3). The weight is there because a style has to survive in a prompt with several other styles around it. A tag that works alone at normal strength often gets lost in a full stack.

The tags are ones the models were trained on. Where a booru tag exists for the idea, the style uses it. A made-up phrase that sounds right is usually ignored, or worse, read literally.

Why the negative is so short

The negative of a style answers one question: what does the model draw when it gets this wrong?

  • CLOTHES_Trench_Coat blocks down jacket.

  • CLOTHES_Jeans blocks shorts, cutoffs, cropped legs, because leg length is what separates jeans from denim shorts.

  • SHOES_Boots_Knee blocks thigh boots along with barefoot, sandals, sneakers.

  • CAMERA_Full_Body blocks close-up, out of frame.

What you won't find in a style's negative is anything from another layer. A hat style doesn't block hand poses, and a hair style doesn't block weather. I learned this the hard way: a negative that reaches into another category quietly switches off styles from that category. One hair style had steam in its negative, and it took a while to work out why the sauna scene had none.

Quality and anatomy negatives live in one place, the BASE_…_Quality style for your model. No other style repeats them.

Families

Related styles share a name stem: SHOES_Boots_Ankle, SHOES_Boots_Knee, SHOES_Boots_Thigh. Each one blocks its neighbours in the negative, so you get the shaft length you asked for.

The shared stem also makes wildcard slices easy. {sg:shoes:Boots_*} picks from the whole boot family.

Two styles that look like one

Some pairs exist because the model treats them differently even though people use the words loosely. LIGHTING_Backlit_Silhouette makes the subject dark against a bright background. LIGHTING_Rim_Light keeps the subject lit and adds a thin bright edge. The descriptions point at each other so you can pick the right one.

lighting.jpg

Four lighting styles on the same character. Second from the left is LIGHTING_Rim_Light.

Names can leak into the image

A word in a prompt can be drawn literally. During testing, bookworm produced an actual worm and punk produced the word PUNK written on the wall. That's why some styles describe the look with other tags and leave the obvious word out.

The same thing happens with quality tags. year 2024 in the NoobAI base sometimes shows up as text in the frame. It doesn't happen often.

What the description is for

The description is the only part the model never sees. It says in plain words what the style does and how it differs from its neighbours. Combos: lists styles that pair well and becomes clickable chips in Style Grid. Conflicts: names the styles that fight with this one.

How a style gets into a pack

Every candidate is rendered on fixed seeds next to a control without it, in a framing where the thing being tested is fully visible. If the two sets look the same, the style does nothing and it's cut. If it only works by breaking something else, it goes back for another attempt. The method is described in my guide on comparing styles.

If you write your own

  • One idea per style.

  • Lead with a real tag and weight it enough to survive a stack.

  • Put the nearest wrong answers in the negative, and nothing from other layers.

  • Keep quality tags in one base style.

  • Name families with a shared stem.

  • Test against a control on fixed seeds.

More guides are on my profile.

2

Comments