Text-to-Image
Diffusers
StableDiffusionXLPipeline
modelslab.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/realvis-xl-v40-li with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/realvis-xl-v40-li 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/realvis-xl-v40-li", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/pytorch_model.bin from stablediffusionapi/realvis-xl-v40-li: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/stablediffusionapi/realvis-xl-v40-li/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://stablediffusionapi/realvis-xl-v40-li/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/stablediffusionapi/realvis-xl-v40-li/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- 93c79c5b5be7eb228637f342249112cd02083b694e85a2d4e7f013842bf27a43
- Size of remote file:
- 246 MB
- SHA256:
- 3a49c4fe285f52806db8d6d0b5139f9baee4bef2a8bd93d6b535676880b3e694
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.