Model card
Stable Diffusion XL (SDXL) is a significant architectural leap in latent diffusion, utilizing a dual-encoder system to deliver higher resolution outputs and improved prompt adherence compared to its predecessors. With 3.5B parameters, it effectively handles complex compositions and photorealistic textures without requiring the heavy prompt engineering typically needed for smaller models. For developers, SDXL is highly versatile; its open-weights nature allows for local deployment, fine-tuning via LoRA, and seamless integration into existing pipelines via Diffusers or ComfyUI. It is particularly suited for production-grade asset generation, conceptual art, and applications requiring precise control over image geometry and style.
Model files and versions
Download this model
We recommend using the ModelScope CLI or SDK. Install ModelScope first, then choose a full snapshot, single file, SDK or Git LFS workflow.
stabilityai/stable-diffusion-xl-base-1.0Install the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model stabilityai/stable-diffusion-xl-base-1.0README.md is used as an example; replace it with another repository file when needed.
modelscope download --model stabilityai/stable-diffusion-xl-base-1.0 README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('stabilityai/stable-diffusion-xl-base-1.0')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/stabilityai/stable-diffusion-xl-base-1.0.gitFetch the repository structure first, then pull large files when needed.
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/stabilityai/stable-diffusion-xl-base-1.0.gitHow to use
- 01Step 1
Read the model card and source information.
- 02Step 2
Start with a small, non-sensitive evaluation.
- 03Step 3
Review quality, licensing and usage limits.
- 04Step 4
Adopt it only after validation.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page