Parameters

Weighting Syntax
Stable Diffusion supports both parentheses and numerical weights for emphasis:
Emphasis:
(keyword)increases emphasis slightly.((keyword))increases it more significantly.(((keyword)))or additional parentheses for even stronger emphasis.
De-emphasis:
[keyword]reduces the importance of the keyword.
Numerical Weights:
Use
keyword:weightto directly set the weight.Example:
a cat:1.5, a dog:0.5gives more prominence to "cat" than "dog."Typical weights range from
0.0(ignore) to2.0(high emphasis).
In MidJourney, weighting syntax allows users to emphasize or de-emphasize certain elements in their image prompts. This can guide the AI on which parts of the prompt are more important or should have a greater influence on the final output.
Weighting
Double Colons (::):
Place
::followed by a numerical weight after a specific term or phrase.Add a space after the numerical weight.
Example:
a golden retriever::2 sitting in a field of flowers::0.5The golden retriever is emphasized with weight 2 (more influence).
The field of flowers is de-emphasized with weight 0.5 (less influence).
Weighting allows you to emphasize or de-emphasize specific parts of your prompt by assigning a numerical weight to them. This helps you guide the AI to prioritize certain elements over others in the image composition.
Weights are specified using a :: followed by a number. The number determines how much influence the preceding word or phrase has on the output.
Default Weight: If no weight is specified, it defaults to 1.
Higher Weight: A number greater than 1 (e.g., ::2, ::3) increases influence.
Lower Weight: A number less than 1 (e.g., ::0.5) decreases influence.
Zero Weight: A weight of ::0 effectively ignores that term.
Avoid assigning very high weights (e.g.,
::10) unless you want the image to focus exclusively on that element.MidJourney automatically normalizes the overall influence of weighted terms in a prompt. If one term is heavily weighted, other terms with default or lower weights may be downplayed.
Examples Prompts
All elements have equal influence.
The dragon is the primary focus, the knight is de-emphasized.
The sunset dominates, while the beach and palm trees are secondary.
You can use --no with weights to exclude or downplay certain elements. For instance:
This tells MidJourney to focus on the city and car but avoid including skyscrapers.
Combining Image Input with Text Weights
When combining image references and text prompts, the --iw (image weight) parameter adjusts the influence of the uploaded image(s) compared to the text. By default, --iw is 1.
The text elements are emphasized more than the image input due to the reduced --iw value.
Focus Control: Highlight specific objects, styles, or themes.
Example:
a giant robot::2 city skyline::0.5
Detail Reduction: Downplay less critical aspects of a scene.
Example:
a dense forest::2 a small lake::0.2
Experimentation: Test different weights to fine-tune output.
© 2024 by SopakcoSauce. Except as otherwise noted, the content of this page is licensed under CC BY-NC-SA 4.0
Last updated