Parameters
Stable Diffusion
Weighting Syntax
Stable Diffusion supports both parentheses and numerical weights for emphasis:
Parentheses for Emphasis:
(keyword)
increases emphasis slightly.((keyword))
increases it more significantly.(((keyword)))
or additional parentheses for even stronger emphasis.
Brackets for De-emphasis:
[keyword]
reduces the importance of the keyword.
Numerical Weights:
Use
keyword:weight
to directly set the weight.Example:
a cat:1.5, a dog:0.5
gives more prominence to "cat" than "dog."Typical weights range from
0.0
(ignore) to2.0
(high emphasis).
MidJourney
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.Example:
a golden retriever::2 sitting in a field of flowers::0.5
The golden retriever is emphasized with weight 2 (more influence).
The field of flowers is de-emphasized with weight 0.5 (less influence).
Examples Prompts
All elements have equal influence.
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
.
Last updated