2.4 · Style references: --sref & --sw

Level 2 · Intermediate: parameters & image references

2.4Style references: --sref & --sw

Goal: Reproduce a consistent visual signature across varied subjects with --sref, setting its strength and reusing a style code.
Estimated time: 12 min · self-paced reading · If you only have 5 min: read “The essentials in 30s” + the diagram.

The essentials in 30 seconds

  • --sref shows the style: palette, texture, light conveyed to other subjects — ten visuals, the same hand.
  • --sw doses the strength: low = subtle, high = marked — adjust for the wanted resemblance.
  • Log to reproduce: reference or code + frozen parameters — no trace, no series.

Running mini-case — Sonia signs the whole café menu

The Algiers café wants ten matching visuals (poster, menu, social): describing the style in words drifts every time. Sonia chooses ONE reference image whose aesthetics please the client, applies the same --sref to different subjects with constant --sw, and logs the reference and parameters. Two different subjects, one shared aesthetics — the basis of her future style guide (section 5.1). In 2.5 she will also freeze the model version to lock the series.

Sequel to thread 2.3: Sonia's base becomes a reusable signature — and continues in 2.5.

1. The style reference (--sref)

The style reference (--sref followed by an image URL) conveys the aesthetic signature of an image — palette, texture, light, medium — to other generations, whatever their subject. It is the heart of 'showing' rather than 'describing': ten different subjects can look from the same hand. You can provide several references (mix of signatures) and, on some versions, reuse a style code to recover exactly the same signature.

2. Dosing (--sw) and scaling up

The --sw (style weight) parameter sets the strength of the reference: low = subtle influence, high = very marked style — Sonia adjusts it for the wanted resemblance. It is the key tool of the consistent series and the brand visual identity (section 5.1): a shared reference + frozen parameters guarantee unity. It differs from --cref (character reference, section 3.5): same style versus same face. Functions and ranges change with versions — check the up-to-date documentation.

3. Series discipline

A real series combines: ONE shared --sref (or a reusable code), constant --sw, frozen parameters (same version, same --stylize, same --ar), a shared prompt formula (medium, light) where only the subject varies — then selection among several tries. Sonia documents everything (reference, version, parameters): without this traceability, impossible to reproduce the series later. And she avoids imitating the identifiable signature of a living artist (rights and ethics, section 0.4).

Common misinterpretation: '--sref keeps the same character, and one parameter is enough for the series.' No. --sref conveys a STYLE (aesthetics); the same CHARACTER is --cref (section 3.5). And consistency comes from a combined discipline — shared reference, constant --sw, frozen parameters, stable formula, selection — not a magic parameter. Sonia's rule: 'same style' → --sref; 'same face' → --cref.
One signature, all subjects Show once, apply everywhere, dose the strength --sref (URL) Conveyspalette, texture, light--sw (strength) Low = subtle,high = marked styleStyle code Reuse exactlythe same signature
Show once, apply everywhere, dose the strength
Text version of the diagram (SEO / screen readers / translation): 1) Sonia SHOWS: a --sref reference image whose aesthetics please the café, applied to different subjects (poster, menu, post). 2) She DOSES: constant --sw, low for a light influence, high for a marked style. 3) She LOCKS: frozen parameters (version, --stylize, --ar), shared formula, reference or code logged to reproduce. Lesson: consistency comes from combined discipline, and --sref (style) does not replace --cref (character, 3.5).

🔎 Concrete example — 🔎 Worked example — One signature on varied subjects

Ten café visuals, the same hand, with Sonia's reference:

café poster, steaming cup --sref [reference URL] --sw 100 --ar 4:5
café menu, pastries --sref [same URL] --sw 100 --ar 4:5
→ two different subjects, one shared aesthetics.
(lower --sw for a lighter influence)

Reading: a consistent visual signature across varied subjects.

Lesson: log the reference (or style code) to reproduce the series.

Section vocabulary

--sref
Image (via URL) provided to convey its aesthetic signature — palette, texture, light, medium — to other generations.

Simple example: Sonia applies the same --sref to the café poster and menu.

What it is not: an input image that imposes content and composition (--iw).

Reflex: same look = same --sref.

--sw
Strength of the style reference: low = subtle influence, high = very marked style.

Simple example: Sonia lowers --sw when the reference crushes the subject.

What it is not: a format or randomness setting.

Reflex: wanted resemblance = adjusted --sw.

Style code
Reusable identifier (on some versions) to recover exactly the same style signature.

Simple example: Sonia logs the code of the signature approved by the café.

What it is not: a literary description of style in the prompt.

Reflex: lasting series = noted code.

--sref vs --cref
--sref conveys a STYLE (aesthetics); --cref keeps a CHARACTER (same face), see section 3.5.

Simple example: Sonia chooses --sref for the menu, --cref for the café mascot.

What it is not: two names for the same function.

Reflex: style = --sref; face = --cref.

In practice — Hands on — Conveying a style with --sref

  1. Choose an image whose aesthetics you like (whose rights you hold) and get its URL.
  2. Generate two DIFFERENT subjects with the same --sref and note the shared signature (palette, texture, light).
  3. Vary --sw (low then high) to dose the strength of the applied style.
  4. Log the reference (or style code if available) and parameters, to reproduce the series later.
You reproduce a consistent visual signature across varied subjects with --sref, setting its strength and reusing a style code.

Ready-to-use script — selling the consistent series to the client (30s)

'For your ten visuals, I no longer describe the style every time — I show it: one --sref reference, same --sw strength, same settings everywhere, only the subject changes. Poster, menu, social: they look from the same hand. And everything is logged — reference, version, parameters — so we reproduce the series whenever you want.'

Say while showing two different subjects with a shared signature, then the traceability sheet.

Copy-paste template — series with a shared signature

[subject A], [context A], [shared light] --sref [reference URL] --sw 100 --ar 4:5
[subject B], [context B], [same light] --sref [same URL] --sw 100 --ar 4:5
[lighter variant] same base low --sw → subtle influence
[traceability] log: reference (or code) + version + --stylize + --ar + --seed

Full café menu

Poster, menu, posts: Sonia applies the same --sref at constant --sw for unity.

Soft variation

One visual must breathe: Sonia lowers --sw for a light influence of the signature.

Reference mix

Two references provided: Sonia tests the signature mix before freezing the choice.

Café mascot

The same waiter from one image to another: Sonia switches to --cref (section 3.5), not --sref.

Caution: Do not imitate the identifiable signature of a living artist or protected elements (brands, artworks) via --sref, especially for commercial use — and start from reference images whose rights you hold (0.4).

✓ Best practices

  • Use --sref to show a style rather than describing it at length.
  • Set --sw for the wanted degree of resemblance.
  • Document the reference (or style code) + parameters to reproduce the series.

✗ Common pitfalls

  • Confusing --sref (style) with --cref (character, 3.5).
  • Imitating the identifiable signature of a living artist (rights/ethics, 0.4).
  • Forgetting to log the reference: impossible to reproduce the series afterwards.

Key takeaways

  • --sref conveys an aesthetic signature (palette, texture, light) to varied subjects: the 'showing'.
  • --sw sets the style STRENGTH (low = subtle, high = marked); you can combine several references.
  • A style code (on some versions) recovers exactly the same signature — useful for a series.
  • Key tool of the consistent series and brand identity (5.1); --cref is for character (3.5). Changes with versions.

48h challenge — apply tomorrow

Choose an aesthetics reference (rights OK): generate 2 different subjects with the same --sref, try low then high --sw, and log reference + parameters to reproduce.

Section exit checklist
  • I can apply the same --sref to varied subjects.
  • I can dose --sw for the wanted resemblance.
  • I document reference and parameters to reproduce.
Self-rating 1-5: do I show the style instead of describing it?do I distinguish --sref from --cref?

Frequently asked questions

How do I get a truly consistent series with --sref, and how far is it reliable?

Fix ONE shared --sref (or a code), constant --sw, frozen parameters (version, --stylize, --ar), a shared prompt formula where only the subject varies — then select among several tries. Strong likeness without pixel identity: for the same face, use --cref (3.5).

What is the difference between --sref and --cref, and when to use which?

--sref = same STYLE (identity, illustration series, 5.1); --cref = same CHARACTER (mascot, illustrated story, 3.5). You can combine them: the same character in a shared style.

Check your understanding

What does the --sref parameter convey?

Additional resources (optional, to go further)

Level 2 examFresh, harder questions to test what you've learned