Check out the new marketplace!
Midjourney

Ultimate Midjourney Parameter Guide

September 1, 2023

By Prompt Onyx
Prompt Onyx's picture

Aspect Ratios

Aspect ratios play a crucial role in determining the shape and composition of images generated in Midjourney. An aspect ratio refers to the width-to-height ratio of an image, typically expressed as two numbers separated by a colon, such as 7:4 or 4:3. A square image, for example, has equal width and height, resulting in a 1:1 aspect ratio.

The default aspect ratio in Midjourney is 1:1. To use different aspect ratios, you must use whole numbers. For example, use 139:100 instead of 1.39:1. It's important to note that some aspect ratios may be slightly altered during the upscaling process.

Maximum Aspect Ratios for Midjourney Models

Different Midjourney Version Models have varying maximum aspect ratios:

  • Version 5: Any*
  • Version 4c (default): 1:2 to 2:1
  • Version 4a or 4b: Only: 1:1, 2:3, or 3:2
  • Version 3: 5:2 to 2:5
  • Test / Testp: 3:2 to 2:3
  • Niji: 1:2 to 2:1

*Aspect ratios greater than 2:1 are experimental and may produce unpredictable results.

The --ar parameter accepts any aspect ratio from 1:1 (square) up to the maximum aspect ratio for each model. However, the final outputs may be slightly modified during image generation or upscaling. For example, prompts using --ar 16:9 (1.78) may create images with a 7:4 (1.75) aspect ratio.

Common Midjourney Aspect Ratios

  • --aspect 1:1: Default aspect ratio
  • --aspect 5:4: Common frame and print ratio
  • --aspect 3:2: Common in print photography
  • --aspect 7:4: Close to HD TV screens and smartphone screens

Changing the Aspect Ratio

To change the aspect ratio in Midjourney, simply add the aspect ratio parameter to your prompt:

  1. Use Aspect Ratio Parameters: Add --aspect <value>:<value> or --ar <value>:<value> to the end of your prompt.

Example prompt:

imagine/ prompt vibrant california poppies --ar 5:4

By understanding and adjusting aspect ratios in Midjourney, you can customize your AI-generated images to fit your desired dimensions and compositions, enhancing your creative output.

Quality Parameter

The quality parameter, which can be set using the --quality or --q flag, influences the time spent on generating an image and the level of detail in the output. Keep in mind that higher quality settings require longer processing times and consume more GPU minutes per job. The quality setting does not affect the resolution of the generated image.

The default quality value is set to 1. Higher values will increase the usage of your subscription's GPU minutes. The accepted values for the default model are .25, .5, and 1. Any larger values will be rounded down to 1. The quality parameter only affects the initial image generation and is compatible with Model Versions 1, 2, 3, 4, 5,and niji.

Selecting the Right Quality Setting

Higher quality settings don't always yield better results. Depending on the type of image you're trying to create, lower quality settings might be more suitable. For instance, a gestural abstract look may benefit from lower quality settings, while architectural images that require intricate details might look better with higher quality values. Experiment with different settings to find the one that best matches your creative vision.

Example Prompt:

To generate an image with a specific quality setting, simply include the quality parameter in your prompt. For example:

/imagine prompt woodcut birch forest --q .25

Using the Quality Parameter

There are two ways to utilize the quality parameter in Midjourney:

  1. Add the Quality Parameter to Your Prompt:To use the quality parameter in your prompt, simply add --quality <value> or --q <value> at the end of the prompt.
  2. Use the Settings Command:Type /settings in the chat and choose your preferred quality value from the menu that appears.