Instructions to use stablediffusionapi/divinity-v2-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/divinity-v2-0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/divinity-v2-0", 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 text_encoder/model.fp16.safetensors from stablediffusionapi/divinity-v2-0: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/stablediffusionapi/divinity-v2-0/resolve/main/text_encoder/model.fp16.safetensors
- Command line
-
hf download hf://stablediffusionapi/divinity-v2-0/text_encoder/model.fp16.safetensors
-
curl -L -o model.fp16.safetensors https://huggingface.co/stablediffusionapi/divinity-v2-0/resolve/main/text_encoder/model.fp16.safetensors
246 MB
- Xet hash:
- 0838ac1c1018d22568212d8091f52c5665eea96bfc502cfe15afb2388ee68b1b
- Size of remote file:
- 246 MB
- SHA256:
- cbf5c3da683cf13ab07c276aaf7b86afdd428869a076d2184191360ea0591d38
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.