What makes a good prompt?
Some say using Stable Diffusion is like being a magician, where tiny tricks and alterations make a huge difference. Writing good prompts for Stable Diffusion is essential for getting the most out of this powerful text-to-image AI model. Let me introduce some best practices that will make your prompts more effective.
In the long run, AI models will understand natural language better and better, but for now, let’s put in a bit of extra effort to make our prompts work better.
In the code files associated with this chapter, you will find that Stable Diffusion v1.5 is much more sensitive to prompts, as different prompts will significantly impact the outcome’s image quality. Meanwhile, Stable Diffusion XL is much improved and is not so sensitive to prompts. In other words, a short prompt description for Stable Diffusion XL will generate relatively stable-quality images.
You can also find the code that generates all images in the code repository...