Skill · Prompt Architects — Midjourney --sref Explained (2026)
Ship Consistent Brand Visuals 100x Faster With Midjourney Style Codes
Photo: Steve A Johnson on Unsplash
Use Midjourney's --sref style reference codes combined with style weight (--sw) to enforce visual consistency across 100+ generated images without reshooting or redesigning. Capture your brand's aesthetic once, then reuse that style code across all campaign assets, product photos, and marketing content.
Midjourney V6 and V7 include a powerful feature called style references (--sref) that lets you encode your brand's visual "fingerprint" into a numeric code. Instead of describing your style in every prompt ("warm golden lighting, soft focus, vintage film grain"), you capture that aesthetic once as a reusable code, then apply it to unlimited new images.
Here's how it works in practice: Generate or upload a reference image that embodies your brand's visual mood-say, a lifestyle photo with your brand's preferred color palette, lighting, and texture. Midjourney assigns this a numeric style code (like --sref 3847291). Copy that code into any new prompt: "A woman holding your product --sref 3847291 --sw 150". The --sw (style weight) parameter controls how strongly the style is applied: 100 is balanced (reference style visible but prompt still honored), 250-500 creates strong inheritance, and 1000 near-identical styling.
For an e-commerce brand running a campaign: Generate 50 product lifestyle photos-different models, settings, products-all with the same --sref code and --sw 150. Every image maintains consistent color temperature, lighting mood, and compositional feel, as if shot by the same photographer. Compare this to either redesigning each photo manually in Photoshop or bribing a photographer to reshoot 50 variations.
Critical best practice: keep your text prompt simple and avoid contradicting the reference style. If your reference is a soft watercolor illustration and your prompt says "hyperrealistic 8k render," you'll get muddled results. Let the style code do the heavy lifting; use your prompt only to specify what changes (the subject, composition, or context).
Sources & credits
Original source: Prompt Architects — Midjourney --sref Explained (2026)