> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SDXL image generation model (stability/sdxl): where to run it

> SDXL is a image generation model from Stability AI. Run it with ComfyUI locally and Comfy Cloud; templates, files, nodes, and pricing.

Model ID: stability/sdxl
Provider: stability
Product: local, cloud, workflows
Input: text, image
Output: image
License: open-weights

SDXL is a image generation model from Stability AI. It takes text and image as input and produces image. It has open weights, so you can download the files and run it locally in ComfyUI.

## Where you can run it

| Where | Page | Use it when |
| - | - | - |
| ComfyUI (local or Comfy Cloud) | [Batch Generation in ComfyUI](https://docs.comfy.org/tutorials/basic/batch-generation.md) | You follow a step-by-step workflow tutorial |
| Comfy Cloud | [Open `image_sdxl_simple` on Comfy Cloud](https://cloud.comfy.org/?template=image_sdxl_simple) | You want to run a ready-made workflow without installing anything |

## Model files for running it locally

Put each file in the matching folder under `ComfyUI/models/`. These come from the workflow templates below (workflow\_templates at `3c2199b9`).

| File | Folder | Download |
| - | - | - |
| `sd_xl_base_1.0.safetensors` | `models/checkpoints/` | [Download](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors?download=true) |
| `sd_xl_refiner_1.0.safetensors` | `models/checkpoints/` | [Download](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors?download=true) |
| `sd_xl_turbo_1.0_fp16.safetensors` | `models/checkpoints/` | [Download](https://huggingface.co/stabilityai/sdxl-turbo/resolve/main/sd_xl_turbo_1.0_fp16.safetensors) |
| `clip_vision_g.safetensors` | `models/clip_vision/` | [Download](https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors?download=true) |

## Workflow templates

| Template | Title | Added |
| - | - | - |
| `sdxl_simple_example` | SDXL Simple | 2025-03-01 |
| `sdxlturbo_example` | SDXL Turbo | 2025-03-01 |
| `sdxl_refiner_prompt_example` | SDXL Refiner Prompt | 2025-03-01 |
| `sdxl_revision_text_prompts` | SDXL Revision Text Prompts | 2025-03-01 |
| `image_sdxl_simple` | SDXL1.0: Text to Image (Simple) | 2024-02-22 |
| `templates_hellorob_facegen_skindetail_upscale` | Skin Enhancer + Upscaler | 2026-03-09 |
| `txt_to_image_to_video` | SVD Text to Image to Video | 2025-03-01 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.