Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
modelslab.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/serenity-v21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/serenity-v21 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/serenity-v21", dtype=torch.bfloat16, device_map="cuda") prompt = "a girl wandering through the forest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
File size: 134 Bytes
7e335be | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9d42bf9133ec0210588bc59bb868eaa913871d96007cbb21f00deafb766361f6
size 492265168
|