Stable Diffusion XL

Popular
Stability AI
Image Generation

Stability AI's SDXL 1.0 with the optional refiner. The 3.5B base plus 6.6B ensemble UNet that became the default open image model before FLUX. Good for fine-tuning and LoRAs, broad community support.

Generate with Stable Diffusion XL
Describe what you want and pick a size — the image renders inline.
Sign in to try this model with €5 free credits.
Sign in
Result appears here
TL;DR·Last updated June 24, 2026

Stable Diffusion XL is image generation AI model from Stability AI, priced at €0.000 per 1M input tokens with a unknown context window.

Try Stable Diffusion XL
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate Stable Diffusion XL into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const images = await rw.run("sdxl-replicate", "A beautiful sunset over Tokyo");
console.log(images[0].url);

// Or use the image() method for full control
const res = await rw.image("sdxl-replicate", "A cat in space", {
  size: "1024x1024",
  n: 1,
});
console.log(res.data[0].url);
Specifications
Price
€1.00
Developer
Stability AI
Category
Image Generation
Supported Formats
image
Tags
replicate
sdxl
stability-ai
stable-diffusion
text-to-image
open-weights

Frequently asked questions

Start using Stable Diffusion XL today

Get started with free credits. No credit card required. Access Stable Diffusion XL and 100+ other models through a single API.