Civitai Site API
The Civitai site exposes a public REST API at https://civitai.com/api/v1/... for browsing models, model versions, images, creators, and tags. It's the same surface that powers third-party tools like Stable Diffusion downloaders and metadata lookup utilities.
This is not the Orchestration API. If you want to submit generation work, see the Orchestration docs.
Where to start
- Guide — authentication, pagination, error handling, and the AIR (AI Resource Identifier) format.
- Reference — per-resource documentation for every public endpoint (models, images, articles, collections, creators, tags, users), sourced directly from the current Next.js handlers.
- CLI — search and fetch these endpoints from the terminal with the
civitaiCLI read commands.
Quick example
bash
# Public — no auth required
curl "https://civitai.com/api/v1/models?limit=1&types=LORA"
# Authenticated — pass a Civitai API token
curl -H "Authorization: Bearer $CIVITAI_TOKEN" \
"https://civitai.com/api/v1/me"See Getting started for a full walkthrough.