e prompt for you. We strongly recommend it instead of preparing the embeddings yourself.
Let’s look at a simple example. Imagine you want to generate an image of "a red cat playing with a ball" as
follows:


	Copied
from diffusers import StableDiffusionPipeline, UniPCMultistepScheduler

pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)

pro