Image Prompting Weighted Terms
Some models (Stable Diffusion, Midjourney, etc.) allow you to weight terms in a prompt. This can be used to emphasize certain words or phrases in the generated image. It can also be used to de-emphasize certain words or phrases in the generated image. Let’s consider a simple example:
Example
Here are a few mountains generated by Stable Diffusion, with the prompt mountain
.
![Image Prompting Weighted Terms](https://chatgptprompt.cc/wp-content/uploads/2023/06/mountains-dee053e7fc748cec7157cfb62c9ccb72.png)
However, if we want mountains without trees, we can use the prompt mountain | tree:-10
. Since we weighted tree very negatively, they do not appear in the generated image.
![Image Prompting Weighted Terms](https://chatgptprompt.cc/wp-content/uploads/2023/06/mountains_no_trees-bda4b8e8fb866ad9f1b14f1b4c1cd13f.png)
Weighted terms can be combined into more complicated prompts, like A planet in space:10 | bursting with color red, blue, and purple:4 | aliens:-10 | 4K, high quality
![Image Prompting Weighted Terms](https://chatgptprompt.cc/wp-content/uploads/2023/06/planets-4363b6ea6533a737170b8e4adbe8ec3a.png)
Notes
Read more about weighting in some of the resources at the end of this chapter.