Text-to-Image
Diffusers
StableDiffusionXLPipeline
stablediffusionapi.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/portrait-realistic-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/portrait-realistic-sdxl 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/portrait-realistic-sdxl", 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
- Draw Things
- DiffusionBee
File size: 134 Bytes
ae25108 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2b05a7b43e56dde3e122a18d158b8db13ff854936ead8e5b15e543cd96b46d0d
size 246185562
|