Best for · AI tools

Midjourney --ref parameter: there is no --ref, here is the reference you actually want

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • There is no --ref parameter in Midjourney.

Compared here

  • 01--sref Style Reference
  • 02--edit Edit Model
  • 03--oref Omni Reference
  • 04--cref Character Reference
  • 05Image prompts and --iw

Short answer

There is no --ref parameter in Midjourney. Its official Parameter List, updated 1 September 2026, has no --ref entry; "ref" is shorthand people use for the reference family. Pick by what you want to copy. The look of an image (colours, medium, lighting): --sref with an image URL or a style code, strength set by --sw from 0 to 1000, default 100. A person, character or object in a new scene on the current V8.2: --edit with up to 4 reference images, which Midjourney says replaces Omni Reference and Character Reference.

On V7 you can still use --oref (Omni Reference) with --ow from 1 to 1,000, default 100, at "2x more GPU time." On V6 the older --cref (Character Reference) works, with --cw defaulting to 100, the maximum. And a plain image URL at the start of a prompt is an image prompt, weighted with --iw. If you typed --ref and got an error, that is why: swap in one of these.

Midjourney plans (official)

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From Midjourney's Parameter List, Style Reference, Edit Model, Omni Reference, Legacy Features and Version help articles, read 4 December 2026.
You want to copy...ParameterWorks onWeightNotes from the docs
The look, palette, medium, lighting--sref URL or codeV6 and later, including V8.2--sw 0 to 1000, default 100Captures "the visual vibe"; not specific objects or people
A character, person or object, current model--edit URL(s)V8.1 and V8.2Not statedUp to 4 reference images; replaces --oref and --cref
A character or object, V7--oref URLV7 only--ow 1 to 1,000, default 100One image only; 2x GPU time
A character's face and outfit, V6--cref URLMidjourney and Niji version 6--cw, default 100 (the maximum)Legacy feature
Composition and content of an imageImage URL at the start of the promptMost versions--iwAn image prompt, not a style lock
Your own taste--pV7 profile works in V8.2--stylize 0 to 1000Personalization profiles and moodboards

Quick one, then the details. If you typed --ref into Midjourney and it complained, you are not doing it wrong; the parameter just does not exist. Midjourney has a whole family of reference tools, each copying something different, and the right one depends on two questions: what do you want to copy, and which version are you on?

How we checked: we read Midjourney's own help articles (Parameter List, Style Reference, Edit Model, Omni Reference, Legacy Features and Version) on 4 December 2026 through its help center's public data feed, after the normal pages blocked our reader. Everything is quoted from those. We did not run a scored image test. Midjourney may pay referrals; that changed nothing here.

Is there a --ref parameter?

No. Midjourney's Parameter List, last edited 1 September 2026, lists every parameter from --aspect to --edit. There is no --ref. There is --sref (Style Reference), --oref (Omni Reference), --iw (Image Weight), --sw (Style Weight), --sv (Style Reference version) and --edit (Edit Model). --cref lives in the Legacy Features article.

So "--ref" is shorthand. Here is how to pick.

Two questions that pick the right one

What do you want to copy?

  • The look: colours, medium, brushwork, lighting. Use --sref.
  • A specific character, person or object. Use --edit on V8.2, --oref on V7, --cref on V6.
  • The composition and content of an image. Use an image prompt with --iw.
  • Your own taste across everything. Use personalization, --p.

Which version are you on? V8.2 is the default since 24 July 2026, per the Version article. If you did not change it, assume V8.2, and that means --edit, not --oref or --cref.

--sref: copy a style

From the Style Reference article: "A Style Reference is a way to capture the visual vibe of an existing image and apply it to your new Midjourney creations." It transfers colours, medium, textures and lighting, "not specific objects or people."

How to use it:

  • Discord: add --sref at the end of the prompt and paste an image URL. The image must already be online.
  • Web: "start by clicking on the image icon in the Imagine bar," select images, and use them as style references. A lock icon pins them for reuse.
  • Style codes: "Each numerical code produces a unique visual style." Add --sref <code>, or --sref random for a random one.

Strength: --sw from 0 to 1000, default 100. Lower lets your prompt lead; higher pushes the reference style harder.

Versions: compatible with "versions 6 and later," and supported in V8.2. --sv picks the style reference version: V7 has six, with --sv 6 the default; V6 has four, with --sv 4 the default. Codes and --sref random work only with --sv 4 and --sv 6.

Several references: you can use multiple images, and weight them on Discord: --sref URL1::2 URL2::1 URL3::1.

Example: a lighthouse on a cliff at night --sref 2708276657 --sw 200

--edit: characters and objects on V8.2

The Edit model is the new way to keep a character or product consistent. The Version article says it "replaces Omni Reference, Character Reference, and the Retexture tool," and the Edit Model article says it "is compatible with Midjourney versions 8.1 and 8.2."

It does three things:

  1. Edits an image from written instructions.
  2. Generates new images from "up to 4 reference images."
  3. Makes targeted inpainting and outpainting changes in the Editor.

How to use it:

  • Web: attach up to four images in the Imagine bar's "Attach to prompt" section, or use Quick Edit or Open Editor on an image.
  • Discord: add --edit at the end of the prompt, then the image URLs separated by spaces.

Limits: not compatible with --tile; edit results do not work with Remix; it "will automatically try to match the aspect ratio of the first image you upload," so put the image with the shape you want first.

Midjourney's own examples read like instructions to a person: "make this silver knight ride the horse of fire holding the sword of flowers," or "let's see this image from behind." And you can mix it with style: "hand drawn pencil sketch of this image --sref 2708276657."

--oref: Omni Reference on V7

If you stay on V7, Omni Reference still works. From its article: it can "put characters, objects, vehicles, or non-human creatures from a reference image" into your images.

  • Syntax: --oref plus one publicly accessible image URL. "Only one image is allowed."
  • Weight: --ow, "any value between 1 and 1,000, with the default being --ow 100." Midjourney suggests staying below 400 unless you use a very high stylize value.
  • Version: "Omni Reference can only be used with Midjourney version 7."
  • Cost: "Using Omni Reference will cost 2x more GPU time compared to regular V7 images."
  • Limits: not compatible with inpainting or outpainting, Vary Region, Pan or Zoom Out on its results, or --q 4.
  • V8: "When using V8.X, use the Edit Model instead."

--cref: Character Reference on V6

The oldest of the family, now in Legacy Features: "Character Reference is a feature compatible with Midjourney and Niji version 6." For --cw, "The default value is 100 (the maximum)," and you can "lower the value to narrow the details to just the face of your character." Our --cw guide covers the weight in depth. Use it only if you deliberately work on V6.

Image prompts and --iw

An image URL at the start of a prompt is an image prompt. It steers content and composition, not just style. --iw (Image Weight) "Controls the impact of image prompts." Image prompts and image weight are supported on V7 and on V8.1 and V8.2, per the Version chart. Note that reference types do not carry over to video: the Video article says Edit Model, Style Reference and Image Prompts do not work with video generations.

Which one should you use?

  • Same art style across a series: --sref with one locked image or a code.
  • Same character in new scenes on V8.2: --edit with 1 to 4 images of the character.
  • Product shots in new settings: --edit with clean product photos.
  • Same character on V7: --oref, one image, --ow around 100 to start.
  • Similar layout to a photo you like: image prompt plus --iw.
  • Everything to look "like you": --p, with --stylize setting strength.

Common mistakes

  • Typing --ref. Not a parameter; pick from the list above.
  • Using --oref on V8.2. Not supported; use --edit.
  • Expecting --sref to copy a face. It copies style, not people.
  • Too many references. They average out. Start with one or two.
  • Local files on Discord. References must be online; upload to Discord first.
  • Other people's faces. Only use likenesses you have the right to use.

More on the current version in how to use Midjourney 8.2. On detail and resolution, see the Midjourney quality parameter. On taste, see Midjourney stylize. Shopping around? See Midjourney alternatives.

Questions people ask

What is the --ref parameter in Midjourney?

It does not exist as a parameter. Midjourney's Parameter List has no --ref entry. People use ref as shorthand for the reference parameters: --sref for style, --oref for Omni Reference on V7, --cref for Character Reference on V6, and --edit for reference images on V8.1 and V8.2. Use the one that matches what you want to copy.

What replaced --cref and --oref in Midjourney V8?

The Edit model. Midjourney's Version article says the Edit Model replaces Omni Reference, Character Reference and the Retexture tool, and the Omni Reference article says to use the Edit Model when using V8.X. On the web you attach up to 4 images in the Imagine bar; on Discord you add --edit and the image URLs.

How do I use --sref in Midjourney?

Add --sref at the end of your prompt, followed by an image URL or a numeric style code. On the web, click the image icon in the Imagine bar and use the image as a style reference. Control strength with --sw from 0 to 1000, default 100. Midjourney says it works on version 6 and later, including V8.2.

What is the difference between --sref and an image prompt?

A style reference copies the visual vibe of an image: colours, medium, textures, lighting, not its objects or people. An image prompt, a URL at the start of your prompt, steers what is in the picture and its composition, with --iw setting how much. Use --sref for a consistent look, image prompts for similar content.

Can I use more than one reference image?

Yes. Style references accept several images, and on Discord you can weight each one, for example --sref URL1::2 URL2::1. The Edit model takes up to 4 reference images. Omni Reference allows only one image. Mixing many references tends to average them out, so start with one or two.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. Midjourney docs: Parameter list, checked 4 Dec 2026
  2. Midjourney docs: Style Reference, checked 4 Dec 2026
  3. Midjourney docs: Edit Model, checked 4 Dec 2026
  4. Midjourney docs: Omni Reference, checked 4 Dec 2026
  5. Midjourney docs: Legacy features (Character Reference), checked 4 Dec 2026
  6. Midjourney docs: Version, checked 4 Dec 2026