Image ToolsIntermediate

How to Lock a Visual Style Across Images with Midjourney --sref

Use a style reference image or a style code to give an entire batch of images one cohesive look.

8 minIntermediate

When you are making a set of images for a brand, a deck, or a game, they need to look like they belong together. The style reference parameter --sref tells Midjourney to copy the aesthetic of a reference image or a saved style code, while leaving you free to change the subject of every shot.

What you need

  • A reference image whose style you like, or a known style code
  • An active subscription on the v6 model or later
  • A list of the subjects you need rendered in that style

Step 1: Pick a style source

You can point --sref at an image URL or at a numeric style code that Midjourney generates. Image references are intuitive: find an illustration with the palette and texture you want and use its URL.

Step 2: Add --sref to your prompts

Describe each subject normally, then append --sref and the URL. The subject changes from prompt to prompt while the style holds steady.

style-locked prompts
/imagine prompt: a friendly robot waving --sref https://cdn.discordapp.com/.../style.png --ar 1:1
/imagine prompt: a delivery drone landing --sref https://cdn.discordapp.com/.../style.png --ar 1:1
/imagine prompt: a smart speaker on a desk --sref https://cdn.discordapp.com/.../style.png --ar 1:1

Step 3: Tune style strength with --sw

The --sw parameter sets style weight from 0 to 1000, defaulting around 100. Higher values push harder toward the reference look. Lower values let the subject breathe if the style is overwhelming the content.

Discord - style weight
--sw 50 subject clear, style faint
--sw 100 balanced (default)
--sw 400 strong stylization, subject simplified
--sw 1000 maximum style takeover
Same subject, three style weights compared.

Step 4: Capture a reusable style code

When you find a look you love, you can pin it. Use the random style helper, then copy the numeric code it reports so you can reuse the exact same style later without the original image.

Midjourney - style code
$/imagine prompt: a coffee cup --sref random
Generated with style code 1234567890
Reuse it directly across any future prompt
$/imagine prompt: a teapot --sref 1234567890
$
Mix multiple style references
You can pass two URLs to --sref to average their styles, and add ::weight after each to bias the blend, for example --sref url1::2 url2::1 to favor the first.

Result: a complete icon set or illustration series that shares one palette, line weight, and texture, which makes the whole batch feel professionally art-directed.

Watch related tutorials

Tags
#midjourney#sref#style#branding