Civitai · Schema

Civitai Image

A community-shared image on Civitai.

Artificial IntelligenceImage-GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AI

Properties

Name Type Description
id integer
url string
hash string
width integer
height integer
nsfwLevel integer
nsfw boolean
createdAt string
postId integer
username string
stats object
meta object Generation metadata extracted from the image.
View JSON Schema on GitHub

JSON Schema

civitai-image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/civitai/main/json-schema/civitai-image-schema.json",
  "title": "Civitai Image",
  "description": "A community-shared image on Civitai.",
  "type": "object",
  "required": ["id", "url", "width", "height"],
  "properties": {
    "id": { "type": "integer" },
    "url": { "type": "string", "format": "uri" },
    "hash": { "type": "string" },
    "width": { "type": "integer" },
    "height": { "type": "integer" },
    "nsfwLevel": { "type": "integer", "minimum": 0 },
    "nsfw": { "type": "boolean" },
    "createdAt": { "type": "string", "format": "date-time" },
    "postId": { "type": "integer" },
    "username": { "type": "string" },
    "stats": {
      "type": "object",
      "properties": {
        "cryCount": { "type": "integer" },
        "laughCount": { "type": "integer" },
        "likeCount": { "type": "integer" },
        "dislikeCount": { "type": "integer" },
        "heartCount": { "type": "integer" },
        "commentCount": { "type": "integer" }
      }
    },
    "meta": {
      "type": "object",
      "description": "Generation metadata extracted from the image.",
      "properties": {
        "prompt": { "type": "string" },
        "negativePrompt": { "type": "string" },
        "seed": { "type": "integer" },
        "steps": { "type": "integer" },
        "cfgScale": { "type": "number" },
        "sampler": { "type": "string" },
        "Model": { "type": "string" },
        "Model hash": { "type": "string" },
        "resources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": { "type": "string" },
              "type": { "type": "string" },
              "hash": { "type": "string" }
            }
          }
        }
      },
      "additionalProperties": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/civitai-image"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.