File size: 1,683 Bytes
efb149d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
945f6de
 
 
4a16f3e
5e25949
f838180
8865aa8
945f6de
5e25949
 
8865aa8
945f6de
5e25949
a5314c5
5e25949
8865aa8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
tags:
- text-to-image
- stable-diffusion
- openvino
- optimization
license: creativeml-openrail-m
base_model: runwayml/stable-diffusion-v1-5
widget:
- text: "portrait of a renaissance prince with golden armor, intricate details, oil painting"
  example_title: "Renaissance Portrait"
---

# πŸš€ Stable Diffusion 1.5 - OpenVINO Optimized

**Hardware-optimized version of [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5)**  
*Accelerated with Intel OpenVINO toolkit*

## πŸ”§ Quick Start

### Basic Inference
```python
from optimum.intel import OVStableDiffusionPipeline
import torch

pipe = OVStableDiffusionPipeline.from_pretrained(
    "labaispeak/stable-diffusion-v1-5-openvino",
    device="auto"  # Auto-detects GPU/CPU
)

prompt = "a mystical forest with glowing mushrooms, digital art"
image = pipe(prompt, num_inference_steps=25, guidance_scale=7.5).images[0]
image.save("fantasy_forest.png")


```
## βš–οΈ Legal Notice

This model inherits the [CreativeML Open RAIL-M License](https://huggingface.co/spaces/CompVis/stable-diffusion-license) from the base model. Key points:

βœ… **Allowed**: Commercial use with restrictions  
⚠️ **Prohibited**: Harmful/hateful content generation  
πŸ“œ **Full License**: [View Here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)

## πŸ“š Resources
- [Original Model Card](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5)
- [OpenVINO Optimization Guide](https://docs.openvino.ai/2023.0/openvino_docs_model_optimization_guide.html)
- [Safety Checker Usage](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_safe)