LCM Dreamshaper v7 latent-consistency text-to-image model, a build of SimianLuo/LCM_Dreamshaper_v7 converted to OpenVINO™ IR with FP16 weights. It generates an image from a text prompt in a few denoising steps. Model weights are hosted in the source repository OpenVINO/LCM_Dreamshaper_v7-fp16-ov.
How to Use
- Install required packages:
pip install optimum[openvino]
- Run model inference:
from optimum.intel.openvino import OVDiffusionPipeline
model_id = "OpenVINO/LCM_Dreamshaper_v7-fp16-ov"
pipeline = OVDiffusionPipeline.from_pretrained(model_id)
prompt = "sailing ship in storm by Rembrandt"
images = pipeline(prompt, num_inference_steps=4).images
Legal information
The original model is distributed under the MIT license. More details can be found in SimianLuo/LCM_Dreamshaper_v7.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support