Skip to content

Reference

All endpoints below live under https://civitai.com/api/v1/.

ResourceEndpoints
ModelsGET /models, GET /models/{id}
Model versionsGET /model-versions/{id}, GET /model-versions/by-hash/{hash}
ImagesGET /images
CreatorsGET /creators
TagsGET /tags
UsersGET /me
EnumsGET /enums

Conventions used on this page

  • Base URL: https://civitai.com/api/v1
  • Content type: All responses are application/json; charset=utf-8.
  • Auth class (shown on each endpoint):
    • Public — no token required.
    • Mixed — works without a token, but some parameters or response fields require one.
    • Authenticated — 401 without a valid token.
  • Caching: Public endpoints set Cache-Control: public, s-maxage=300, stale-while-revalidate=150; authenticated calls skip the cache.
  • Region gating: Responses may be filtered to SFW-only content regardless of the nsfw param when the request comes from a restricted region or Civitai's "green" domain. This is silent — you just see fewer results.

See the Guide for cross-cutting topics (authentication, pagination, errors, AIR identifiers).

Civitai Developer Documentation