What is --sref?

Style Reference Explained

The --sref (style reference) parameter lets you apply a specific visual style to your generations using either an image URL or a numeric code.

Think of it as telling Midjourney: "Make whatever I describe, but make it look like THIS."

/imagine prompt: a cozy cabin in the woods --sref 1234567890
Fun Fact!

Midjourney has over 4 billion unique style codes. That's why StyleForger exists – to help you discover the best ones!

Three Ways to Use --sref

--sref Parameters

Style Weight (--sw)

Control how strongly the style reference affects your image with --sw (0-1000, default 100).

ValueEffectBest For
--sw 0No style influenceTesting base prompt
--sw 100Balanced (default)Most use cases
--sw 500Strong influenceDistinct style transfer
--sw 1000Maximum influenceFull style takeover
Note!

Style weight (--sw) is NOT compatible with moodboards. It only works with --sref.

Style Version (--sv)

Switch between different style reference algorithms with --sv.

VersionDescription
--sv 6Current default – most accurate style matching
--sv 4Legacy algorithm – use for old sref codes
--sv 1-3Earlier iterations – more "vibey" interpretations
Using Old Codes?

If you have sref codes from before June 2025, add --sv 4 to get the same results!

Multiple Style References

Combine multiple styles and weight them with :: notation:

/imagine prompt: fantasy castle --sref 1234567890::3 9876543210::1

↑ First code has 3x more influence than the second

Moodboards (--p)

What are Moodboards?

Moodboards are personalized style profiles you create by uploading a collection of images. Unlike --sref which uses a single reference, moodboards learn from multiple images to understand your broader aesthetic preferences.

Perfect For

Brand consistency, project-specific aesthetics, and complex style combinations.

Creating & Using Moodboards

  1. Visit midjourney.com/personalize
  2. Click "Create Moodboard" and upload your images
  3. Name it and copy the generated code
  4. Add it to your prompt with --p
/imagine prompt: portrait of a warrior --p ymzqaj9

You can also combine moodboards with --sref for maximum control:

/imagine prompt: a cute cat --p ymzqaj9 --sref 1344854894

--sref vs --p: When to Use Each

--sref (Style Reference)

Single image or code as reference
Supports style weight (--sw)
Works with --sref random
Can weight multiple refs with ::
More specific, targeted style transfer

--p (Moodboards)

Collection of images defines the style
Learns broader aesthetic preferences
Great for brand/project consistency
Can set as default for all prompts
Better for complex aesthetics

Quick Check!

You want to apply a style you found on StyleForger. Which should you use?

--sref with the numeric code from StyleForger
--p with the numeric code
--sw to set the style weight

Pro Tips & Best Practices

Keep Prompts Simple

Let the style reference do the heavy lifting. Avoid style words that might conflict.

Save Your Favorites

When you find a great style, save the code! Use StyleForger's collection feature.

Experiment with --sw

Try values between 100-500 for balanced results. Go higher for style dominance.

Embrace Random

Use --sref random regularly to discover styles you'd never search for!

Mix & Match

Combine a moodboard for overall aesthetic with --sref for specific influences.

Mind the Version

Old sref codes (pre-June 2025) need --sv 4 to work as expected.

Parameter Builder

Build Your Prompt

Customize your parameters and copy the ready-to-use snippet!

Your Prompt
--sref Code
Popular styles – click multiple to combine
Style 2323506015
2323506015
Style 3058900861
3058900861
Style 1896520527
1896520527
Style 4291031844
4291031844
Style 553296431
553296431
Style 2137845635
2137845635
Style 404576309
404576309
Style 3931723706
3931723706
Style 3548933307
3548933307
Style 2890688024
2890688024
--sw (Weight)
100
--sv (Version)
--p (Moodboard)
Your moodboards – click multiple to combine
lm1w9tl
lm1w9tl
lyqr5bz
lyqr5bz
sbfvgtk
sbfvgtk
nzj778f
nzj778f
sx66tq2
sx66tq2
otqvsi2
otqvsi2
tyu4w1j
tyu4w1j
7654u64
7654u64
7peo7un
7peo7un
ido1nul
ido1nul
Your Command
/imagine prompt: a cozy cabin in the woods