talira

Stable Diffusion XL

Stability AI's open-weight text-to-image model, SDXL 1.0, with an optional refiner

source availableCreativeML Open RAIL++-M Licenseself-hostablefree

Stable Diffusion XL (SDXL 1.0) is a latent diffusion model from Stability AI that generates and modifies images from text prompts. The base model works on its own, or as the first stage of a two-stage pipeline whose refiner model finishes the last denoising steps; it uses two fixed text encoders, OpenCLIP-ViT/G and CLIP-ViT/L. The weights are on Hugging Face under the CreativeML Open RAIL++-M licence, which allows commercial use with restrictions on harmful uses, and it runs with Diffusers and in front ends such as Stable Diffusion web UI and ComfyUI. A large ecosystem of fine-tunes and LoRAs builds on it. Stability AI's newer model is Stable Diffusion 3.5.

Problems it solves

  • run an open image generation model on my own GPU
  • generate images locally without paying per image
  • fine-tune an open text-to-image model with LoRAs for my own style

Features

  • Text-to-image generation at 1024 pixels
  • Image-to-image modification from a prompt (SDEdit)
  • Optional refiner model for a two-stage pipeline
  • Runs locally with Diffusers
  • Large ecosystem of fine-tunes and LoRAs

Limitations

  • Doesn't achieve perfect photorealism12
  • Can't render legible text12
  • Struggles with compositional prompts such as one object on top of another12
  • Faces and people may not be generated properly12
  • The CreativeML Open RAIL++-M licence forbids the uses listed in its Attachment A, and you must pass those restrictions on to your users12

Alternatives

The same job

These do what Stable Diffusion XL does.

  1. Qwen-Image Alibaba's Qwen open-weight 20B image model for generation and editing, strong at rendering text
  2. HiDream-I1 HiDream.ai's open-source 17B text-to-image model, in Full, Dev and Fast versions
  3. FLUX.1 [dev] Black Forest Labs' 12-billion-parameter open-weights text-to-image model, free for non-commercial use
  4. FLUX.1 [schnell] Black Forest Labs' fast 12-billion-parameter text-to-image model, open weights under Apache-2.0
  5. Stable Diffusion 3.5 Stability AI's open-weights text-to-image models (Large, Large Turbo and Medium) that you can run yourself

Compare Stable Diffusion XL with the top 3