1. Commercial use
“You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications”
Allowed, including as a hosted service, if your terms bind users to the license's banned-use list; the model card itself calls the model research-only.
huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/LICENSE.md2. On your machine
Rough: the weights at 4-bit; generating images, video or audio needs more memory on top.
huggingface.co/stabilityai/stable-diffusion-xl-base-1.03. Through an API
Hugging Face Inference Providers that serve it live.
huggingface.co/stabilityai/stable-diffusion-xl-base-1.04. Momentum
Likes and the trending score are Hugging Face's own figures; attention, not quality.
huggingface.co/stabilityai/stable-diffusion-xl-base-1.0Checked against its official pages on Nov 23, 2026. Tap a verdict to see its source.How we checkedReport an error
What Stable Diffusion XL base 1.0 does
Stable Diffusion XL base 1.0 is an open image model by Stability AI that makes and changes pictures from a text description. The model files are on Hugging Face with no sign-in. The CreativeML Open RAIL++-M license allows use, sharing and paid services, but bans a list of harmful uses that you must pass on to your users.
What people use it for
Artwork and design drafts
Make pictures for art and design work from a short prompt, on your own graphics card.
Sharper results with the refiner
Run the base model first and then the separate refiner model for the last steps; the maker reports the pair gives the best results.
Run it without PyTorch
Load the model through Optimum to run it with the ONNX or OpenVINO tools instead of the usual PyTorch setup.
Picture tools for teaching and creativity
Build an educational or creative app where people type a prompt and get a picture, with the license rules passed on to them.
Smaller graphics cards
If your graphics card runs out of memory, the model card shows a one-line switch that moves parts of the model to the main processor while it waits.
Stable Diffusion XL base 1.0 popularity
As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none.
Where to run Stable Diffusion XL base 1.0
Through an API
- fal-ai (Hugging Face Inference Providers)
On your machine
2.6B
about 1.5 GB, weights only
Rough: generating images, video or audio needs more on top.
Stable Diffusion XL base 1.0 license
You may use, share and even host it as a paid service under the CreativeML Open RAIL++-M license. You must not use it for the banned uses listed in the license, and your own terms must pass those bans on to your users.
Allowed, including as a hosted service, if your terms bind users to the license's banned-use list; the model card itself calls the model research-only.
“You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications” source
Give recipients a copy of the license, mark changed files and keep the notices.
“You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License” source
A model trained on SDXL outputs to behave like it counts as a derivative, so it must carry the same use restrictions.
“methods based on the generation of synthetic data by the Model for training the other model.” source
Licensor claims no rights in your outputs, but no use of them may break the license's restrictions.
“Except as set forth herein, Licensor claims no rights in the Output You generate using the Model.” source
Alternatives
Stable Diffusion XL base 1.0 This page
black-forest-labs · text-to-image
CompVis · text-to-image
black-forest-labs · text-to-image
Tongyi-MAI · text-to-image
Get started
Tell your AI assistant
“Write a Python script that loads stabilityai/stable-diffusion-xl-base-1.0 with diffusers DiffusionPipeline (float16, variant fp16, use_safetensors=True), uses enable_model_cpu_offload if GPU memory is short, and saves one PNG per line of prompts.txt.”
Install a recent diffusers (0.19.0 or newer).
pip install diffusers --upgradeFrom huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/README.md
Install the other libraries the model card lists, including the invisible watermark package.
pip install invisible_watermark transformers accelerate safetensorsFrom huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/README.md
Load the base model in float16 and make a picture from a prompt (see the first recipe).
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")From huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/README.md
Mistakes to avoid
The model card requires diffusers 0.19.0 or newer.
The model card lists these packages as needed next to diffusers.
The model card gives this switch for limited graphics memory.
The model card says it cannot render legible text.
The license makes this a condition of sharing or hosting the model.
Questions
Can I use SDXL in a paid app?
The license lets you host it as a service and share copies, if your terms pass on its list of banned uses. The model card still describes the intended use as research.
Who owns the pictures I make?
Stability AI claims no rights in them, but you are responsible for how you use them.
Do I need the refiner model?
No, the base model works alone. The refiner is a second model for the final steps that the maker reports gives the best results.
Can it write words on a sign or poster?
Not reliably; the model card says it cannot render legible text.