Text-to-Image
Diffusers
StableDiffusionPipeline
stablediffusionapi.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/portrait-realfantasy-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/portrait-realfantasy-v2 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-realfantasy-v2", 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
- Xet hash:
- 336a8379e081c4e66a253b0e71ede1f8a79baf343a6ec4b09f38e7b9b80aeaf1
- Size of remote file:
- 246 MB
- SHA256:
- 94405581d21f8b94387cf4b90f9949b05d71a79cbc8e0b2b84fdb3d3747f23f9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.