Prompt weighting
It is often useful to adjust the importance of parts of the prompt. For example, you may want to make an object more or less prominent, or you may want to draw the AI's attention to instructions it may have missed.
To do this, you can use the following simple syntax:
-
Append
+
to a word to increase its importance,-
to decrease it:photo of a pizza with pepperoni and cheese+
photo of a pizza with pepperoni and cheese-
-
You can add as many
+
or-
as you like to make the word even more or less important:photo of a pizza with pepperoni and cheese+++
photo of a pizza with pepperoni and cheese---
-
To apply weight to multiple words at once, enclose them in
()
:photo of a pizza with (pepperoni and cheese)+
photo of a pizza with (pepperoni and cheese)-
-
Instead of
+
or-
, you can also use numbers between0
and2
(1
being the default weight), there are two possible syntaxes:photo of a pizza with (pepperoni and cheese:0.8)
ORphoto of a pizza with (pepperoni and cheese)0.8
photo of a pizza with (pepperoni and cheese:1.2)
ORphoto of a pizza with (pepperoni and cheese)1.2
Adjusting the pepperoni / cheese ratio: