Skip to main content
Midjourney AI

Midjourney Style Codes Guide

Style Codes let you discover, test, save, and reuse visual styles. Apply them with --sref, control influence with --sw, and choose Style Reference version with --sv. Style Codes are not Moodboards, and they are not Personalization Profiles.

Several scenes sharing one consistent visual identity as if the same style was reused

Quick Answer

A Style Code is a reusable style identifier. You apply it through Style Reference syntax. Style Explorer helps you discover existing styles. Saving a code does not permanently modify your account.

  • Use --sref to apply a Style Code.
  • --sw controls Style Reference influence strength.
  • --sv controls Style Reference version.
  • Style Creator creates codes; Style Explorer helps you find them.

What Are Style Codes?

Style Codes are compact identifiers for a visual style. Once you have a code, you can apply it to new prompts instead of starting the look from scratch. They are related to Style Reference, but a Style Code is not the same thing as a style reference image.

A consistent aesthetic repeated across related compositions

Using --sref

Style Codes are applied through Style Reference syntax. In Discord-style workflows, add --sref followed by the code. On the web, assign the style in the creation flow. --sref is the application method for both Style Codes and style reference images.

              foggy cedar forest, quiet trail --sref STYLE_CODE
            

Style Reference Codes vs Image Style References

Style Reference Code

A reusable identifier created or discovered as a Style Code.

Style Explorer

Style Explorer is the discovery surface for browsing existing styles. Use it to find looks you did not create, then test them on your own prompts. Style Explorer is not a standalone route in this cluster.

Many distinct visual looks arranged as a style discovery concept, not a software screenshot

Random Style Codes

You can try a random Style Code when you want an unexpected visual direction. Treat random results as tests. Save the code only if the look is worth reusing.

              still life with glass and citrus --sref random
            

Search & Discover Styles

Search and browse to find styles that match a mood, medium, or aesthetic direction. Discovery is a Style Codes workflow. It is not the same as organizing images into a Moodboard.

Save Favorite Styles

Save Style Codes you want to reuse. Saving a favorite makes the code easier to find later. It does not permanently modify your account aesthetic, and it is not a Personalization Profile.

Using Style Codes in Prompts

Write the scene in the prompt, then apply the Style Code. The prompt still needs a subject. The code supplies visual identity. Results can differ by Midjourney version.

              small bakery storefront at blue hour --sref STYLE_CODE --sw 140
            

Style Weight --sw

--sw controls Style Reference influence strength. The current documented range is 0–1000, with a default of 100. Treat this as current documentation rather than a timeless rule. --sw belongs to Style Reference workflows, not Moodboards.

              portrait in window light, quiet expression --sref STYLE_CODE --sw 200
            

Style Reference Version --sv

--sv controls which Style Reference version is used to interpret a style. Available version values can change as Midjourney updates the Style Reference system. Use current parameter documentation instead of assuming every historical --sv value still behaves the same way.

              desert chapel at dusk, wide frame --sref STYLE_CODE --sv 4 --sw 150
            

If a --sv value is unavailable in your current version, omit it or use the currently documented option.

Combining Style Codes

You can apply more than one Style Code so multiple looks contribute. Combining codes is not the same as combining Moodboards or Personalization Profiles.

              editorial interior with plants and stone --sref STYLE_CODE_A STYLE_CODE_B
            

Style Codes vs Style Creator

Style Codes

Discover, test, save, and reuse existing style identifiers, including codes you created.

Style Codes vs Moodboards

Style Codes

Reusable style identifiers applied with --sref.

Common Mistakes

  1. 1

    Treating every Style Code as a style reference image

    A code is an identifier. An image Style Reference is a picture. Both can use --sref, but they are not identical.

  2. 2

    Using --sw with Moodboards

    --sw belongs to Style Reference. Moodboards are a different system.

    Moodboards Guide
  3. 3

    Assuming saved styles rewrite your account

    Saving a Style Code does not permanently modify your personalization or replace your profile.

  4. 4

    Forgetting that versions can differ

    Style Creator previews use V7. Current default generation is V8.2. --sv also changes how a style is interpreted.

Frequently Asked Questions

What is a Midjourney Style Code?+
A Style Code is a reusable identifier for a visual style. You can discover, test, save, and apply it to new prompts through Style Reference syntax.
How do I use --sref in Midjourney?+
Add --sref followed by a Style Code or a style reference image in Discord-style workflows, for example: your prompt --sref STYLE_CODE. On the web, assign the style in the creation flow.
What does --sw do?+
--sw is Style Weight. It controls how strongly a Style Reference, including a Style Code, influences the new image. The current documented range is 0–1000, with a default of 100.
What is Style Explorer in Midjourney?+
Style Explorer is the discovery surface for browsing and trying existing styles. It helps you find Style Codes you did not create. It is part of the Style Codes workflow, not a separate SEO page here.
Can I save and reuse Style Codes?+
Yes. Save favorite Style Codes and apply them later with --sref. Saving a code does not permanently modify your account, and results can still vary by prompt and version.

Ready to Create Your Own Images?

Try Midjourney and reuse visual styles with Style Codes, --sref, and Style Explorer.