Stable Diffusion XL

Replicate
Image Generation

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

Examples

See what Stable Diffusion XL can generate

Sample output

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"

Sample output

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"

Sample output

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"

Try Stable Diffusion XL

Your generated image will appear here

Sign up free to start generating
Get Started

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
Avg. latency
8.0s
Est. duration
8s
Provider
Replicate
Category
Image Generation
Supported Formats
webp
jpg
png
Tags
open-source
customizable
Try this model

Free credits on sign-up

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.