Stable Diffusion XL

Stability AI
Image Generation

Stability AI's SDXL model via Replicate. High-quality image generation with extensive customization.

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

Examples

See what Stable Diffusion XL can generate

A fierce warrior princess with flowing silver hair and golden armor, standing atop a cliff overlooking a vast battlefield, anime art style, dramatic wind effects, detailed cel shading

Anime Character

Prompt: "A fierce warrior princess with flowing silver hair and golden armor, standing atop a cliff overlooking a vast battlefield, anime art style, dramatic wind effects, detailed cel shading"

A hygge-inspired reading nook with floor-to-ceiling bookshelves, a plush velvet armchair, warm fairy lights, a sleeping cat, and rain visible through a large arched window, digital painting style

Cozy Interior

Prompt: "A hygge-inspired reading nook with floor-to-ceiling bookshelves, a plush velvet armchair, warm fairy lights, a sleeping cat, and rain visible through a large arched window, digital painting style"

Geometric crystalline formations emerging from a pool of liquid gold, refracting rainbow light prisms throughout the composition, ultra-detailed 3D render with volumetric lighting and caustics

Abstract Art

Prompt: "Geometric crystalline formations emerging from a pool of liquid gold, refracting rainbow light prisms throughout the composition, ultra-detailed 3D render with volumetric lighting and caustics"

Pricing

Price per Generation
Per generation€0.20

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("stable-diffusion-xl", "A beautiful sunset over Tokyo");
console.log(images[0].url);

// Or use the image() method for full control
const res = await rw.image("stable-diffusion-xl", "A cat in space", {
  size: "1024x1024",
  n: 1,
});
console.log(res.data[0].url);
Specifications
Price
€0.20
Avg. latency
8.0s
Est. duration
8s
Developer
Stability AI
Category
Image Generation
Supported Formats
webp
jpg
png
Tags
open-source
customizable

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.