Summary
In this chapter, we introduced two solutions for conducting scheduled prompt image generation. The first solution, the Compel
package, is the easiest one to use. Simply install the package, and you can use its prompt blend feature to blend two or more concepts in one prompt.
The second solution is a customized pipeline that first parses the prompt string and prepares a prompt list for each denoising step. The custom pipeline loops through the prompt list to create an embedding list. Finally, a scheduler_call
function uses the prompt embedding from the embedding list to generate images with precise control.
If you successfully implement the custom scheduled pipeline, you can control generation in a more precise way. Speaking of controlling, in Chapter 13, we are going to explore another way to control image generation – ControlNet.