Runflow
Stability AI

SDXL API

The industry-standard open-weight model with the largest LoRA ecosystem, mature ControlNet support, and sub-second Lightning variants — proven in millions of production workflows.

sdxl3.5B paramsUNet-based latent diffusion with dual CLIP text encoders
Updated March 2026·Early access
Price
~$0.003/image
Usage-based, per compute second
Latency
~2–4s
25 steps; <1s with Lightning
Cold Start
5–10s
Not billed · handled by Runflow
Category
Image Generation
text-to-image

SDXL family by Stability AI

Explore all variants in the SDXL family available on Runflow.

SDXL

Standard

Standard 3.5B model — largest LoRA and ControlNet ecosystem

SDXL Lightning

Fast

1–4 step generation, sub-second latency

SDXL Inpainting

Inpainting

Mask-based inpainting variant

SDXL Image-to-Image

Image-to-Image

Image-guided generation variant

SDXL ControlNet Union

ControlNet

10+ ControlNet types in one model

SDXL Fooocus

Enhanced

Enhanced quality with automated prompt optimization

Benchmarked for your use case

Every model on Runflow is scored per vertical — not generic leaderboard numbers. Scores come from domain-expert evaluation on real production prompts.

Use CaseAssessmentNotes
PortraitPendingPortrait quality
FashionPendingFashion quality
ProductPendingProduct quality
CreativePendingCreative quality

API Parameters

Full parameter reference for the sdxl model endpoint.

ParameterTypeDescription
promptstringText description of the image. SDXL works well with both natural language and keyword-style prompts. Dual CLIP encoders handle complex compositional descriptions.
negative_promptstringHighly effective on SDXL — describe what to exclude. Common: 'blurry, low resolution, deformed hands, watermark'.
image_sizeobject | stringOutput dimensions. Presets: square_hd, square, landscape_4_3, landscape_16_9, portrait_4_3, portrait_16_9. Or custom {width, height}.
num_imagesintegerNumber of images to generate per request. Range: 1–8.
num_inference_stepsintegerDenoising steps. 20–25 for standard quality, 30–50 for maximum fidelity. Lightning variant uses 1–4 steps. Default: 25.
guidance_scalenumberClassifier Free Guidance. 7–9 recommended for SDXL. Higher values (10–15) increase prompt adherence. Default: 7.5.
seedintegerReproducibility seed. Same seed + same parameters = identical output.
lorasarray[object]Array of LoRA weights to apply. Each object includes a URL to the weights and a scale (0–4). Stack multiple LoRAs for combined effects.
embeddingsarray[object]Textual inversion embeddings to apply during generation.
expand_promptbooleanIf true, the prompt is expanded with additional detail via an LLM for improved results.
formatstringOutput image format. Options: "jpeg", "png". Default: "jpeg".
enable_safety_checkerbooleanEnable content safety filter.
sync_modebooleanIf true, returns the image as a data URI.

Technical Specifications

ArchitectureUNet-based latent diffusion (3.5B base UNet, dual CLIP text encoders)
Parameters3.5B (base); ~6.6B with refiner
Text Encoders2 (CLIP ViT-L/14, OpenCLIP ViT-bigG/14)
Max Resolution1024 × 1024 native
VRAM7–8 GB (FP16)
Output FormatJPEG, PNG
LoRA SupportYes — 50,000+ community LoRAs on Civitai
ControlNetYes — 10+ types via Union model
LicenseCreativeML Open RAIL++-M (no revenue restrictions)

Why run SDXL on the Runflow API

Flux AI models are available on many platforms. Here's what makes the Runflow image generation API different.

Largest LoRA ecosystem

Access 50,000+ community LoRA models from Civitai and Hugging Face — styles, characters, concepts, and domain-specific adaptations. No other model comes close.

Mature ControlNet support

10+ ControlNet types via the Union model: canny, depth, pose, scribble, lineart, softedge, tile, inpainting, and more.

Lightning-fast variants

SDXL Lightning generates 1024×1024 images in 1–4 steps — under 1 second on modern GPUs. Full quality at a fraction of the cost and latency.

Effective negative prompts

Unlike newer models (SD 3.5, FLUX), SDXL's negative prompt system is highly responsive — giving precise control over what to exclude from outputs.

Battle-tested in production

Released July 2023, SDXL has been deployed in millions of production workflows. Tooling, documentation, and community support are unmatched.

Low VRAM, easy to self-host

Runs inference at just 7–8 GB VRAM (FP16) — deployable on consumer GPUs like RTX 3060. Open weights with no revenue restrictions.

Explore other models

Same API, different strengths. Switch models with one parameter change.

Frequently asked questions

Resources

Start generating images with SDXL

Get API access in minutes. No GPU setup, no infrastructure to manage. Pair with Sentinel to control the quality of every AI-generated image you ship.