Civitai · Schema
Civitai Model
A model checkpoint, LoRA, embedding, or other artifact hosted on Civitai.
Artificial IntelligenceImage-GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AI
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Civitai numeric model ID. |
| name | string | |
| description | string | |
| type | string | |
| nsfw | boolean | |
| nsfwLevel | integer | |
| allowNoCredit | boolean | |
| allowCommercialUse | array | |
| allowDerivatives | boolean | |
| allowDifferentLicense | boolean | |
| tags | array | |
| creator | object | |
| modelVersions | array | |
| stats | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/civitai/main/json-schema/civitai-model-schema.json",
"title": "Civitai Model",
"description": "A model checkpoint, LoRA, embedding, or other artifact hosted on Civitai.",
"type": "object",
"required": ["id", "name", "type"],
"properties": {
"id": { "type": "integer", "description": "Civitai numeric model ID." },
"name": { "type": "string" },
"description": { "type": "string" },
"type": {
"type": "string",
"enum": ["Checkpoint", "TextualInversion", "Hypernetwork", "AestheticGradient", "LORA", "LoCon", "Controlnet", "Poses", "Wildcards", "Workflows", "Other"]
},
"nsfw": { "type": "boolean" },
"nsfwLevel": { "type": "integer", "minimum": 0 },
"allowNoCredit": { "type": "boolean" },
"allowCommercialUse": {
"type": "array",
"items": { "type": "string", "enum": ["None", "Image", "RentCivit", "Rent", "Sell"] }
},
"allowDerivatives": { "type": "boolean" },
"allowDifferentLicense": { "type": "boolean" },
"tags": { "type": "array", "items": { "type": "string" } },
"creator": {
"type": "object",
"properties": {
"username": { "type": "string" },
"image": { "type": "string", "format": "uri" }
}
},
"modelVersions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"baseModel": { "type": "string", "description": "e.g. SD 1.5, SDXL 1.0, Flux.1 D" },
"air": { "type": "string", "description": "AI Resource Identifier URN." },
"downloadUrl": { "type": "string", "format": "uri" },
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"sizeKB": { "type": "number" },
"format": { "type": "string", "enum": ["SafeTensor", "PickleTensor", "Other"] },
"hashes": {
"type": "object",
"properties": {
"AutoV1": { "type": "string" },
"AutoV2": { "type": "string" },
"SHA256": { "type": "string" },
"CRC32": { "type": "string" },
"Blake3": { "type": "string" }
}
}
}
}
}
}
}
},
"stats": {
"type": "object",
"properties": {
"downloadCount": { "type": "integer" },
"favoriteCount": { "type": "integer" },
"thumbsUpCount": { "type": "integer" },
"thumbsDownCount": { "type": "integer" },
"rating": { "type": "number" }
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/civitai-model"
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.