Stable Diffusion v2-1 Model for OpenVINO
A fork of stabilityai/stable-diffusion-2-1 exported to OpenVINO using Optimum Intel 🤗
from optimum.intel.openvino import OVStableDiffusionPipeline
model_id = "echarlaix/stable-diffusion-2-1-openvino"
pipe = OVStableDiffusionPipeline.from_pretrained(model_id)
prompt = "sailing ship in storm by Rembrandt"
image = pipe(prompt).images[0]
image.save("sailing_ship.png")