Text-to-Image
Diffusers
Safetensors
StableDiffusionXLPipeline
modelslab.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/omnigenxl-nsfw-sfw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/omnigenxl-nsfw-sfw 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/omnigenxl-nsfw-sfw", 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
API, not free. With explanation on how to use for free without api.
#4
by mrgfy - opened
I just chatted with the staff for that "free" API to use this model. The API is not free.
but to use the model for free just comment out the model in app.py and replace it with "stablediffusionapi/omnigenxl-nsfw-sfw". restart the app python3.11 app.py and this model will begin to download.
mrgfy changed discussion title from API, not free to API, not free. With explanation on how to use for free without api.
mrgfy changed discussion status to closed