File size: 762 Bytes
664ce36
 
54528f1
 
 
 
664ce36
54528f1
3348744
 
54528f1
 
 
 
 
 
63449a5
54528f1
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
license: openrail++
tags:
  - stable-diffusion
  - text-to-image
  - openvino
---

NOTE: This is a slightly refactored fork of [echarlaix/stable-diffusion-2-1-openvino](https://huggingface.co/echarlaix/stable-diffusion-2-1-openvino)

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

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

model_id = "Siris/sd_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")
```