🎨 Text to Image

stable-diffusion-xl-base-1.0

stabilityai/stable-diffusion-xl-base-1.0

Get AI Model →
1.8M
Downloads
�����
7.8K
Likes
�����
14
Tags
📦
diffusers
Library
Model Details
Full Model IDstabilityai/stable-diffusion-xl-base-1.0
Pipeline / Tasktext-to-image
Librarydiffusers
Downloads (all-time)1.8M
Likes7.8K
Last Modified10/30/2023
Author / Orgstabilityai
PrivateNo � public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("text-to-image", model="stabilityai/stable-diffusion-xl-base-1.0")

# Run inference
result = pipe("Your input here")
print(result)
����� Tags
diffusersonnxsafetensorstext-to-imagestable-diffusionarxiv:2307.01952arxiv:2211.01324arxiv:2108.01073arxiv:2112.10752license:openrail++endpoints_compatiblediffusers:StableDiffusionXLPipelinedeploy:azureregion:us
More Text to Image Models
See all →
stable-diffusion-v1-5

stable-diffusion-v1-5/stable-diffusion-v1-5

1.8M����� 1.1K
Get AI Model →
Z-Image-Turbo

Tongyi-MAI/Z-Image-Turbo

1.2M����� 4.7K
Get AI Model →
sdxl-turbo

stabilityai/sdxl-turbo

1.1M����� 2.6K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗�� Browse All Models
🎨 Task: Text to Image

This model is designed for the Text to Image task. Explore more models for this use case.

All Text to Image Models →
📊 Popularity
Downloads1.8M
����� Community Likes7.8K
🛠�� Requirements
  • Install: pip install diffusers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?