Back to all APIs

Replicate

image-gen

“Get API key” opens Replicate’s console where you can sign in, claim free credits, and generate your key. “Documentation” shows how to set it up and call the API.

Run any open-source AI model via API. Covers image, video, audio, and language models.

$5 free credit on signup

Models

black-forest-labs/flux-schnellstability-ai/sdxlmeta/llama-2-70b-chat

Details

Auth: api_key
Uptime: 100% uptime · 7d
Avg latency: 404ms
Checked: 2h ago
Pricing: Per-second compute, ~$0.003 per image (Flux Schnell)
Rate limit: 600 req/min
Free credits: $5 free credit on signup
SDKs: pythonjavascript
Regions: global
Tags: sdxl, flux, multi-model

Code snippets

351ms avg
import replicate

output = replicate.run(
    "black-forest-labs/flux-schnell",
    input={"prompt": "a cat in space"}
)
print(output)

Status history (7 days)

06-10
06-11
06-12
06-13
06-14
06-15
06-21