SD XL
Stable Diffusion XL base model
About model
SD XL is Stability AI's Stable Diffusion XL 1.0 base model, an open latent diffusion model for text-to-image generation released in July 2023. It generates images at a native resolution of 1024x1024 and uses a UNet backbone three times larger than earlier Stable Diffusion versions, with two text encoders, OpenCLIP-ViT/G and CLIP-ViT/L. Stability AI trained it on multiple aspect ratios and reports that it creates detailed images from a few words, without quality keywords such as "masterpiece". The base model has 3.5 billion parameters and works on its own, without the separate refiner model that Stability AI also published. Available on Together AI.
3.5B
Size of the base model, as reported by Stability AI
1024px
1024x1024 base resolution, trained on multiple aspect ratios
2
OpenCLIP-ViT/G and CLIP-ViT/L
- Native 1024x1024 Output: Generates at 1024x1024 with better contrast, lighting and shadows than its predecessor, per Stability AI
- Short Prompts: Stability AI reports detailed images from a few words, with no need for quality keywords
- Wide Style Range: Photorealism and a broad range of art styles from the same model
- Production-Ready Infrastructure: 99.9% SLA, available on Together AI serverless infrastructure
API usage
Endpoint:
Model card
Architecture Overview:
• Latent diffusion model with a UNet backbone three times larger than previous Stable Diffusion versions
• Two fixed, pretrained text encoders: OpenCLIP-ViT/G and CLIP-ViT/L
• 3.5 billion parameter base model that can be used as a standalone module
• Native 1024x1024 resolution
Training Methodology:
• Trained on multiple aspect ratios with new conditioning schemes described in the SDXL paper
• Released by Stability AI with code and weights under the CreativeML Open RAIL++-M license
Performance Characteristics:
• The model card reports that users preferred the SDXL base model over Stable Diffusion 1.5 and 2.1 by a significant margin
• Stability AI describes vibrant and accurate colors with better contrast, lighting and shadows than its predecessorPrompting
Together AI API Access:
• Access SD XL via Together AI APIs using the endpoint stabilityai/stable-diffusion-xl-base-1.0
• Authenticate using your Together AI API key in request headers
• Send an image generation request with a text prompt
• Set width and height in the request. 1024x1024 is the model's native resolution
• Short prompts work. Stability AI notes that the model needs only a few words and no qualifier terms
• Available on Together AI serverless infrastructureApplications & use cases
General Image Generation:
• Create illustrations, concept art and photorealistic images from text
• Generate the same idea in several art styles
• Produce square and non-square images from one model
High-Volume and Low-Cost Workloads:
• Batch-generate images for catalogs, thumbnails and placeholders
• Run large prompt sweeps where cost per image matters
Product Features:
• Add text-to-image to an app with an open model that has published code and weights
• Offer a fast, low-cost tier next to newer image models
- Model providerStability AI
- TypeImage
- Main use casesImage Generation
- Deployment
- Price
$0.0019 / image
- Input modalitiesText
- Output modalitiesImage
- ReleasedJuly 25, 2023
- External link
- CategoryImage



