<hfoptions id="lcm-text2img">
<hfoption id="LCM">  
To use LCMs, you need to load the LCM checkpoint for your supported model into [`UNet2DConditionModel`] and replace the scheduler with the [`LCMScheduler`]. Then you can use the pipeline as usual, and pass a text prompt to generate an image in just 4 steps.  
A couple of notes to keep in mind when using LCMs are: