Mindket

stable-diffusion-xl-base-1.0

Newversion 1 · updated

Overview

Stability AI's SDXL base model, which makes and edits images from text prompts through the diffusers library, alone or paired with a refiner.

stable-diffusion-xl-base-1.0 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python and pip
  • diffusers version 0.19.0 or newer
  • transformers, safetensors and accelerate, plus the invisible watermark package
  • A CUDA graphics card, since the snippet calls cuda
Runs in
  • Python with the diffusers library
  • Windows, macOS or Linux for the file download
  • A CUDA graphics card, as the card's snippet uses one
  • Clipdrop, which the card names as a free place to try SDXL
Start with
pip install diffusers --upgrade
pip install invisible_watermark transformers accelerate safetensors

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

stable-diffusion-xl-base-1.0 is the base model of SDXL from Stability AI. It makes and changes images from text prompts. It is a latent diffusion model with 2.6B parameters. Two frozen text encoders read your prompt: OpenCLIP-ViT/G and CLIP-ViT/L.

The base model works on its own. It can also hand its noisy latents to a refiner model that finishes the last denoising steps.

Who it suits

It suits developers, designers and researchers who can run Python code and want to generate images from a prompt on their own machine. The snippet in the card moves the model to a CUDA device.

IndustryWho uses itHow they use itExample
DesignVisual designersDraft images from a written promptA concept picture for a mood board
MarketingContent teamsMake illustrations for posts and pagesA header image from a one line brief
Games and mediaArtistsSketch scenes and characters before paintingA character study from a prompt
ResearchMachine learning researchersStudy and build on a diffusion modelComparing base and refined output

Skip it if you only want a hosted image tool with no code.

Where to use it

  • Python with the diffusers library
  • Windows, macOS or Linux for the file download
  • A CUDA graphics card, as the card's snippet uses one
  • Clipdrop, which the card names as a free place to try SDXL
Use caseWhoWhat they get back
Text to imageCreators and developersAn image made from a prompt
Base plus refinerPeople who want finer detailAn image refined in the last denoising steps
Image to image with SDEditDevelopersA high-resolution pass over latents from the base model

How to set it up

You need a few things in place first.

  • Python and pip
  • diffusers version 0.19.0 or newer
  • transformers, safetensors and accelerate, plus the invisible watermark package
  • A CUDA graphics card, since the snippet calls cuda
  • About 10.3 GB of disk for the F32 weights, from the record
  1. Upgrade diffusers to a version at or above 0.19.0.
  2. Install the extra packages the card lists.
  3. Run the Python snippet from the next section.
pip install diffusers --upgrade
pip install invisible_watermark transformers accelerate safetensors

To get the repository files onto your computer first, use Hugging Face's own steps.

pip install -U huggingface_hub
hf download stabilityai/stable-diffusion-xl-base-1.0

How to use it

You write a short Python script that loads the pipeline, sends it to the GPU and passes a prompt. The card also describes a two-stage run, where the base model makes latents and a refiner finishes them. With torch 2.0 or newer, wrapping the unet in torch.compile can speed up inference by 20 to 30 percent, per the card.

from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
pipe.to("cuda")

# if using torch < 2.0
# pipe.enable_xformers_memory_efficient_attention()

prompt = "An astronaut riding a green horse"

images = pipe(prompt=prompt).images[0]
ToolWhat it does
Base model aloneMakes the image in a single stage
Base plus refinerThe base makes noisy latents and the refiner finishes the denoising
SDEdit passA high-resolution model reworks the base latents with the same prompt, a little slower

Example

You run the script with the prompt "An astronaut riding a green horse". The pipeline returns an image, and the script keeps the first one in the images variable.

For newcomers and experts

Start with the base-only script. Install the packages, run it once with the astronaut prompt and look at the image it returns. Try the refiner only after that works.

SDXL splits the work between experts. The base model produces latents at the size you want, and a refiner specialized in the final denoising steps takes over, for example 40 steps with 80 percent on the base. In the card's preference chart, the base model beats SDXL 0.9 and the earlier Stable Diffusion releases, and adding the refiner scores best overall.

  1. Write a text prompt
  2. Base model makes latents
  3. Refiner finishes the denoising
  4. You get the final image

Good to know

  • License: CreativeML Open RAIL++-M
  • Cost to run: none named, but the snippet needs a CUDA graphics card
  • Data it reaches: it downloads model files from Hugging Face onto your computer

README and files

README

stable-diffusion-xl-base-1.0

Stability AI's SDXL base model, which makes and edits images from text prompts through the diffusers library, alone or paired with a refiner.

Made by stabilityai on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: stable-diffusion-xl-base-1.0 is the base model of SDXL from Stability AI. It makes and changes images from text prompts. It is a latent diffusion model with 2.6B parameters. Two frozen text encoders read your prompt: OpenCLIP-ViT/G and CLIP-ViT/L.

The base model works on its own. It can also hand its noisy latents to a refiner model that finishes the last denoising steps.

Who it suits: It suits developers, designers and researchers who can run Python code and want to generate images from a prompt on their own machine. The snippet in the card moves the model to a CUDA device.

Industry | Who uses it | How they use it | Example
Design | Visual designers | Draft images from a written prompt | A concept picture for a mood board
Marketing | Content teams | Make illustrations for posts and pages | A header image from a one line brief
Games and media | Artists | Sketch scenes and characters before painting | A character study from a prompt
Research | Machine learning researchers | Study and build on a diffusion model | Comparing base and refined output

Skip it if you only want a hosted image tool with no code.

Where to use it:

  • Python with the diffusers library
  • Windows, macOS or Linux for the file download
  • A CUDA graphics card, as the card's snippet uses one
  • Clipdrop, which the card names as a free place to try SDXL
Use case | Who | What they get back
Text to image | Creators and developers | An image made from a prompt
Base plus refiner | People who want finer detail | An image refined in the last denoising steps
Image to image with SDEdit | Developers | A high-resolution pass over latents from the base model

How to set it up: You need a few things in place first.

  • Python and pip
  • diffusers version 0.19.0 or newer
  • transformers, safetensors and accelerate, plus the invisible watermark package
  • A CUDA graphics card, since the snippet calls cuda
  • About 10.3 GB of disk for the F32 weights, from the record
  1. Upgrade diffusers to a version at or above 0.19.0.
  2. Install the extra packages the card lists.
  3. Run the Python snippet from the next section.
pip install diffusers --upgrade
pip install invisible_watermark transformers accelerate safetensors

To get the repository files onto your computer first, use Hugging Face's own steps.

pip install -U huggingface_hub
hf download stabilityai/stable-diffusion-xl-base-1.0

How to use it: You write a short Python script that loads the pipeline, sends it to the GPU and passes a prompt. The card also describes a two-stage run, where the base model makes latents and a refiner finishes them. With torch 2.0 or newer, wrapping the unet in torch.compile can speed up inference by 20 to 30 percent, per the card.

from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
pipe.to("cuda")

# if using torch < 2.0
# pipe.enable_xformers_memory_efficient_attention()

prompt = "An astronaut riding a green horse"

images = pipe(prompt=prompt).images[0]
Tool | What it does
Base model alone | Makes the image in a single stage
Base plus refiner | The base makes noisy latents and the refiner finishes the denoising
SDEdit pass | A high-resolution model reworks the base latents with the same prompt, a little slower

Example: You run the script with the prompt "An astronaut riding a green horse". The pipeline returns an image, and the script keeps the first one in the images variable.

For newcomers and experts: Start with the base-only script. Install the packages, run it once with the astronaut prompt and look at the image it returns. Try the refiner only after that works.

SDXL splits the work between experts. The base model produces latents at the size you want, and a refiner specialized in the final denoising steps takes over, for example 40 steps with 80 percent on the base. In the card's preference chart, the base model beats SDXL 0.9 and the earlier Stable Diffusion releases, and adding the refiner scores best overall.

Write a text prompt
Base model makes latents
Refiner finishes the denoising
You get the final image

Good to know:

  • License: CreativeML Open RAIL++-M
  • Cost to run: none named, but the snippet needs a CUDA graphics card
  • Data it reaches: it downloads model files from Hugging Face onto your computer

On Hugging Face, 13 November 2026

  • Task: text to image
  • Library: diffusers
  • Parameters: 2.6B
  • Weights: about 10.3 GB in F32; about 1.3 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 4,688,522
  • Likes: 8,466
  • License: openrail++
  • Quantized versions: 25
  • Fine-tunes: 1,236
  • Tags: diffusers, onnx, safetensors, text-to-image, stable-diffusion

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download stabilityai/stable-diffusion-xl-base-1.0

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
stable-diffusion-xl-base-1.0 This page4,688,5228,4662.6Bopenrail++
Animagine XL 4.0Shares stable-diffusion · text-to-image · diffusers1,026,8075822.6Bopenrail++
Stable Diffusion v1-5Shares stable-diffusion · text-to-image · diffusers1,012,9821,364860Mcreativeml-openrail-m
stable-diffusion-inpaintingShares stable-diffusion · text-to-image · diffusers248,486122—creativeml-openrail-m
Juggernaut XI v11Shares stable-diffusion · text-to-image · diffusers28,120169—cc-by-nc-nd-4.0
ControlNet v1.1 depth (SD 1.5)Shares stable-diffusion · diffusers · safetensors22,04170361Mopenrail
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k