labaispeak's picture
Update README.md
8865aa8 verified
---
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)