Skip to content
ModelVerifiedExternal
Browse files

SDXL Turbo

sai-nc-community

KindOtherBase modelStable DiffusionVersionRevision 95c927bPublisher@Nextcloud-AIUnratedgrade

Model source

Kind
Other
File size
1,018 KB–12.9 GB
Base model
Stable Diffusion
Version
vRevision 95c927b
Updated
Oct 24, 2026
Publisher
@Nextcloud-AI
Downloads
4.7K
Tasks
Image to image, Text to image
Source
Hugging Face

Source description

SDXL-Turbo Model Card

row01 SDXL-Turbo is a fast generative text-to-image model that can synthesize photorealistic images from a text prompt in a single network evaluation. A real-time demo is available here: http://clipdrop.co/stable-diffusion-turbo

Please note: For commercial use, please refer to https://stability.ai/license.

Model Details

Model Description

SDXL-Turbo is a distilled version of SDXL 1.0, trained for real-time synthesis. SDXL-Turbo is based on a novel training method called Adversarial Diffusion Distillation (ADD) (see the technical report), which allows sampling large-scale foundational image diffusion models in 1 to 4 steps at high image quality. This approach uses score distillation to leverage large-scale off-the-shelf image diffusion models as a teacher signal and combines this with an adversarial loss to ensure high image fidelity even in the low-step regime of one or two sampling steps.

  • Developed by: Stability AI
  • Funded by: Stability AI
  • Model type: Generative text-to-image model
  • Finetuned from model: SDXL 1.0 Base

Model Sources

For research purposes, we recommend our generative-models Github repository (https://github.com/Stability-AI/generative-models), which implements the most popular diffusion frameworks (both training and inference).

Evaluation

comparison1 comparison2 The charts above evaluate user preference for SDXL-Turbo over other single- and multi-step models. SDXL-Turbo evaluated at a single step is preferred by human voters in terms of image quality and prompt following over LCM-XL evaluated at four (or fewer) steps. In addition, we see that using four steps for SDXL-Turbo further improves performance. For details on the user study, we refer to the research paper.

Uses

Direct Use

The model is intended for both non-commercial and commercial usage. You can use this model for non-commercial or research purposes under this license. Possible research areas and tasks include

  • Research on generative models.
  • Research on real-time applications of generative models.
  • Research on the impact of real-time generative models.
  • Safe deployment of models which have the potential to generate harmful content.
  • Probing and understanding the limitations and biases of generative models.
  • Generation of artworks and use in design and other artistic processes.
  • Applications in educational or creative tools.

For commercial use, please refer to https://stability.ai/membership.

Excluded uses are described below.

Diffusers

pip install diffusers transformers accelerate --upgrade
  • Text-to-image:

SDXL-Turbo does not make use of guidance_scale or negative_prompt, we disable it with guidance_scale=0.0. Preferably, the model generates images of size 512x512 but higher image sizes work as well. A single step is enough to generate high quality images.

from diffusers import AutoPipelineForText2Image
import torch

pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
pipe.to("cuda")

prompt = "A cinematic shot of a baby racoon wearing an intricate italian priest robe."

image = pipe(prompt=prompt, num_inference_steps=1, guidance_scale=0.0).images[0]
  • Image-to-image:

When using SDXL-Turbo for image-to-image generation, make sure that num_inference_steps * strength is larger or equal to 1. The image-to-image pipeline will run for int(num_inference_steps * strength) steps, e.g. 0.5 * 2.0 = 1 step in our example below.

from diffusers import AutoPipelineForImage2Image
from diffusers.utils import load_image
import torch

pipe = AutoPipelineForImage2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
pipe.to("cuda")

init_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png").resize((512, 512))

prompt = "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k"

image = pipe(prompt, image=init_image, num_inference_steps=2, strength=0.5, guidance_scale=0.0).images[0]

Out-of-Scope Use

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model. The model should not be used in any way that violates Stability AI's Acceptable Use Policy.

Limitations and Bias

Limitations

  • The generated images are of a fixed resolution (512x512 pix), and the model does not achieve perfect photorealism.
  • The model cannot render legible text.
  • Faces and people in general may not be generated properly.
  • The autoencoding part of the model is lossy.

Recommendations

The model is intended for both non-commercial and commercial usage.

How to Get Started with the Model

Check out https://github.com/Stability-AI/generative-models

Requirements

Models

2

Sources

1 source
Hugging FacePrimaryVersion 95c927b8d3a1d7ebee5c188694b5be9c900976e4
huggingface.co/Nextcloud-AI/sdxl-turbo/tree/95c927b8d3a1d7ebee5c188694b5be9c900976e4

Verified Oct 24

Download files

Model artifacts

15 artifacts

sd_xl_turbo_1.0_fp16.safetensors

safetensors · 6.46 GB · SHA-256 e869ac7d6942…da26 · Hugging Face

Download file

sd_xl_turbo_1.0.safetensors

safetensors · 12.9 GB · SHA-256 2e58e3704b4c…1050 · Hugging Face

Download file

text_encoder_2/model.fp16.safetensors

safetensors · 1.29 GB · SHA-256 ec310df2af79…b1f4 · Hugging Face

Download file

text_encoder_2/model.onnx

onnx · 1,018 KB · SHA-256 03856bf14b5d…ff34 · Hugging Face

Download file

text_encoder_2/model.safetensors

safetensors · 2.59 GB · SHA-256 fa5b2e6f4c2e…0ef4 · Hugging Face

Download file

text_encoder/model.fp16.safetensors

safetensors · FP16 (tensor header) · 235 MB · SHA-256 660c6f5b1aba…6cdd · Hugging Face

Download file

text_encoder/model.onnx

onnx · 470 MB · SHA-256 5522ae5f760e…383c · Hugging Face

Download file

text_encoder/model.safetensors

safetensors · 469 MB · SHA-256 778d02eb9e70…47c3 · Hugging Face

Download file

unet/diffusion_pytorch_model.fp16.safetensors

safetensors · 4.78 GB · SHA-256 48fa46161a74…1bdb · Hugging Face

Download file

unet/diffusion_pytorch_model.safetensors

safetensors · 9.56 GB · SHA-256 1968fc61aa84…e582 · Hugging Face

Download file

unet/model.onnx

onnx · 6.95 MB · SHA-256 3771e8ac1315…3a6d · Hugging Face

Download file

vae_decoder/model.onnx

onnx · 189 MB · SHA-256 558225daaa98…e159 · Hugging Face

Download file

vae_encoder/model.onnx

onnx · 130 MB · SHA-256 6be23fdf564e…d0bb · Hugging Face

Download file

vae/diffusion_pytorch_model.fp16.safetensors

safetensors · 160 MB · SHA-256 02ee4bd18e5d…4f06 · Hugging Face

Download file

vae/diffusion_pytorch_model.safetensors

safetensors · 319 MB · SHA-256 716971093e34…e071 · Hugging Face

Download file

Source excerpts

3 excerpts

--- pipeline_tag: text-to-image inference: false license: other license_name: sai-nc-community license_link: https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.md --- # SDXL-Turbo Model Card <!-- Provide a quick summary of what the model is/does. --> ![row01](output_tile.jpg) SDXL-Turbo is a fast generative text-to-image model that can synthesize photorealistic images from a text prompt in a single network evaluation. A real-time demo is available here: http://clipdrop.co/stable-diffusion-turbo Please note: For commercial use, please refer to https://stability.ai/license. ## Model Details ### Model Description SDXL-Turbo is a distilled version of [SDXL 1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0), trained for real-time synthesis. SDXL-Turbo is based on a novel training method called Adversarial Diffusion Distillation (ADD) (see the [technical report](https://stability.ai/research/adversarial-diffusion-distillation)), which allows sampling large-scale foundational image diffusion models in 1 to 4 steps at high image quality. This approach uses score distillation to leverage large-scale off-the-shelf image diffusion models as a teacher signal and combines this with an adversarial loss to ensure high image fidelity even in the low-step regime of one or two sampling steps. - **Developed by:** Stability AI - **Funded by:** Stability AI - **Model type:** Generative text-to-image model - **Finetuned from model:** [SDXL 1.0 Base](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) ### Model Sources For research purposes, we recommend our `generative-models` Github repository (https://github.com/Stability-AI/generative-models), which implements the most popular diffusion frameworks (both training and inference). - **Repository:** https://github.com/Stability-AI/generative-models - **Paper:** https://stability.ai/research/adversarial-diffusion-distillation - **Demo:** http://clipdrop.co/stable-diffusion-turbo ## Evaluation ![comparison1](image_quality_one_step.png) ![comparison2](prompt_alignment_one_step.png) The charts above evaluate user preference for SDXL-Turbo over other single- and multi-step models. SDXL-Turbo evaluated at a single step is preferred by human voters in terms of image quality and prompt following over LCM-XL evaluated at four (or fewer) steps. In addition, we see that using four ste...

Source context: 4720 downloads · 1 likes · Pipeline text-to-image · Library diffusers · Repo Nextcloud-AI/sdxl-turbo

Source context: 11734 downloads · 1 likes · Pipeline text-to-image · Library diffusers · Repo Nextcloud-AI/sdxl-turbo