Stable Diffusion XL
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"
Your generated image will appear here
Pricing
API Integration
Use our OpenAI-compatible API to integrate Stable Diffusion XL into your application.
npm install railwailimport 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);Free credits on sign-up
Related Models
View all Image GenerationFlux 1.1 Pro
Black Forest Labs' most capable image model. Photorealistic outputs with exceptional text rendering and prompt following.
Flux 1.1 Pro Ultra
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
Flux Dev
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Midjourney V7
The latest Midjourney model. Industry-leading aesthetic quality and prompt adherence for image generation.
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.