Ova Animations

What is --sref in Midjourney?

A clear guide to Midjourney style reference (--sref) codes, style weights, version flags, and how Sref Library organizes them.

Get Sref Library on Google Play

How Style Reference Codes Work

In Midjourney, --sref stands for Style Reference. Instead of writing long lists of art movements, lighting terms, and medium keywords, you append a numeric code—such as --sref 142710498—to the end of your prompt.

Midjourney transfers the aesthetic qualities of that code (color harmony, contrast, line work, and surface texture) onto whatever subject you describe in the main prompt.

Key Parameters Used With --sref

ParameterExampleWhat It Controls
--sref--sref 142710498Selects one or more numeric style reference codes (or random).
--sw--sw 250Sets style weight (how strongly the style overrides your base prompt).
--sv--sv 4Specifies the style reference algorithm version used for that recipe.

Combining Multiple --sref Codes

You can blend styles by placing two or more codes after a single --sref flag, separated by spaces. In Sref Library, recipes that combine multiple codes are indexed together so you can copy the exact multi-code string in one tap.

  • Single style: a quiet ramen shop at night --sref 142710498
  • Blended styles: a quiet ramen shop at night --sref 142710498 389102441

Frequently Asked Questions

What does --sref do in Midjourney?
The --sref parameter applies a consistent visual style—such as color palette, lighting, brushwork, or texture—to your Midjourney prompt without forcing the exact subject of the reference.
Can I use multiple --sref codes in one prompt?
Yes. You can list multiple numeric codes separated by spaces after --sref, for example --sref 142710498 389102441, to blend two styles together.
What is the difference between --sref and --sw?
--sref chooses the style reference code, while --sw (style weight) controls how strongly that style influences your generated image.
What does --sv mean in Sref Library?
--sv indicates the style reference version associated with a code when a creator shared it, helping you match the behavior of that recipe.

More Sref Library Guides

Back to Sref Library overview

Sref Library by Ova Animations. Independent app; not affiliated with or endorsed by Midjourney, Inc.

All artwork belongs to its creators. Contact: ova.anim@gmail.com

Privacy Policy