Text-to-Image
Diffusers
OpenVINO
StableDiffusionPipeline
modelslab.com
stable-diffusion-api
ultra-realistic
openvino-export
Instructions to use Aminfri/realistic-vision-v60-b1-openvino with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Aminfri/realistic-vision-v60-b1-openvino with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Aminfri/realistic-vision-v60-b1-openvino", dtype=torch.bfloat16, device_map="cuda") prompt = "a girl wandering through the forest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Aminfri/realistic-vision-v60-b1-openvino: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/Aminfri/realistic-vision-v60-b1-openvino/resolve/main/README.md
- Command line
-
hf download hf://Aminfri/realistic-vision-v60-b1-openvino/README.md
-
curl -L -o README.md https://huggingface.co/Aminfri/realistic-vision-v60-b1-openvino/resolve/main/README.md
1.04 kB
metadata
license: creativeml-openrail-m
tags:
- modelslab.com
- stable-diffusion-api
- text-to-image
- ultra-realistic
- openvino
- openvino-export
pinned: true
pipeline_tag: text-to-image
library_name: diffusers
widget:
- text: a girl wandering through the forest
output:
url: >-
https://cdn2.stablediffusionapi.com/generations/bf190b5a-fe19-437c-ba05-82f29cb1f7ad-0.png
base_model: stablediffusionapi/realistic-vision-v60-b1
This model was converted to OpenVINO from stablediffusionapi/realistic-vision-v60-b1 using optimum-intel
via the export space.
First make sure you have optimum-intel installed:
pip install optimum[openvino]
To load your model you can do as follows:
from optimum.intel import OVDiffusionPipeline
model_id = "Aminfri/realistic-vision-v60-b1-openvino"
model = OVDiffusionPipeline.from_pretrained(model_id)