File size: 635 Bytes
19d1a2c
 
61cc8a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19d1a2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
license: creativeml-openrail-m
tags:
  - stable-diffusion
  - text-to-image
  - openvino
---

# Stable Diffusion v1-4 Model for OpenVINO
A fork of  [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4) exported to OpenVINO using [Optimum Intel](https://github.com/huggingface/optimum-intel) 🤗

```python
from optimum.intel.openvino import OVStableDiffusionPipeline

model_id = "echarlaix/stable-diffusion-v1-4-openvino"
pipe = OVStableDiffusionPipeline.from_pretrained(model_id)
prompt = "sailing ship in storm by Rembrandt"
image = pipe(prompt).images[0]

image.save("sailing_ship.png")
```
---