STABLE DIFFUSION API
Access SDXL, FLUX.1 Dev, FLUX.1 Schnell, and more image generation models through a single API. Send a prompt, receive a high-quality image. OpenAI-compatible images endpoint with configurable resolution, steps, and style parameters.

QUICK START
from openai import OpenAI
client = OpenAI(
base_url="https://api.runcrate.ai/v1",
api_key="rc_live_YOUR_API_KEY",
)
response = client.images.generate(
model="stabilityai/stable-diffusion-xl-base-1.0",
prompt="A serene mountain lake at sunset, photorealistic",
size="1024x1024",
)
print(response.data[0].url)AVAILABLE MODELS
| Model | Provider | Price | Detail |
|---|---|---|---|
| stabilityai/stable-diffusion-xl-base-1.0 | Stability AI | Per-image | 1024x1024, high quality |
| black-forest-labs/FLUX.1-dev | Black Forest Labs | Per-image | 12B params, photorealistic |
| black-forest-labs/FLUX.1-schnell | Black Forest Labs | Per-image | 4-step generation, fastest |
WHY RUNCRATE
SDXL for proven reliability, FLUX for cutting-edge photorealism. Pick the right model for your quality and speed requirements.
Control resolution, aspect ratio, inference steps, and guidance scale to fine-tune the output for your specific needs.
Skip the PyTorch, diffusers, and CUDA setup. One API call generates an image. Scale from one image to thousands without infrastructure changes.
FLUX.1 Schnell generates images in 4 steps for near-instant results. SDXL and FLUX.1 Dev offer higher quality with more steps.
FAQ