pipeline.scheduler = LMSDiscreteScheduler.from_config(pipeline.scheduler.config)
image = pipeline(prompt, generator=generator).images[0]
image
```  
</hfoption>
<hfoption id="EulerDiscreteScheduler">  
[`EulerDiscreteScheduler`] can generate higher quality images in just 30 steps.  
```py
from diffusers import EulerDiscreteScheduler