pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config(pipeline.scheduler.config)
image = pipeline(prompt, generator=generator).images[0]
image
```  
</hfoption>
<hfoption id="DPMSolverMultistepScheduler">  
[`DPMSolverMultistepScheduler`] provides a balance between speed and quality and can generate higher quality images in just 20 steps.  
```py
from diffusers import DPMSolverMultistepScheduler