Authentication
All consumer endpoints require Authorization: Bearer <token> on every request.
Getting an API key
Generate, copy and revoke API keys from your account at civitai.com. Treat them like passwords: never commit them, and rotate one if you suspect exposure.
Using the token
Authorization: Bearer <your-token>All requests go to https://orchestration.civitai.com.
Try It in the docs
Paste your token via Token in the navbar (top right) to use the Run widgets under examples. It's stored only in your browser's localStorage and sent only in the Authorization header of requests you run from this site's widgets, to the URL shown in that request. A Run widget can preview cost (whatif=true, per-currency Buzz breakdown) or submit (wait=90, then polls GetWorkflow until terminal) and renders generated images and videos inline.
Reference operation pages have their own OpenAPI playground with a separate auth field, which also persists across reloads.