Skip to main content
POST
/
api
/
civitai
/
models
/civitai/models
curl --request POST \
  --url https://api.anysite.io/api/civitai/models \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "model": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "CivitaiModel",
    "name": "<string>",
    "description": "<string>",
    "model_type": "<string>",
    "is_nsfw": false,
    "nsfw_level": 123,
    "is_minor": false,
    "is_sfw_only": false,
    "is_poi": false,
    "availability": "<string>",
    "user_id": 123,
    "base_models": [],
    "supports_generation": false,
    "allow_no_credit": false,
    "allow_commercial_use": [],
    "allow_derivatives": false,
    "allow_different_license": false,
    "cosmetic": {},
    "download_count": 123,
    "thumbs_up_count": 123,
    "thumbs_down_count": 123,
    "comment_count": 123,
    "tipped_amount_count": 123,
    "creator": {
      "@type": "CivitaiCreator",
      "username": "<string>",
      "image": "<string>"
    },
    "tags": [],
    "model_versions": [],
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
model
string
required

Model id or model URL

Minimum string length: 1
Examples:

"257749"

"https://civitai.com/models/257749/pony-diffusion-v6-xl"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:CivitaiModel
name
string | null
description
string | null
model_type
string | null
is_nsfw
boolean
default:false
nsfw_level
integer | null
is_minor
boolean
default:false
is_sfw_only
boolean
default:false
is_poi
boolean
default:false
availability
string | null
user_id
integer | null
base_models
string[]
supports_generation
boolean
default:false
allow_no_credit
boolean
default:false
allow_commercial_use
string[]
allow_derivatives
boolean
default:false
allow_different_license
boolean
default:false
cosmetic
object | null
download_count
integer | null
thumbs_up_count
integer | null
thumbs_down_count
integer | null
comment_count
integer | null
tipped_amount_count
number | null
creator
object | null
tags
string[]
model_versions
object[]
url
string | null