查询模型
GET
/v3/model模型信息查询端点,用于获取公共模型和私有模型。
请求参数
Header 参数
Authorization
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
array [oneOf]
可选
array[string]
可选
object
可选
id
integer
必需
name
string
必需
hash_sha256
string
必需
sd_name
string
必需
type
object
必需
categories
array[string]
必需
status
integer
必需
download_url
string
必需
tags
array[string]
必需
cover_url
string
必需
source
string
必需
base_model
string
必需
base_model_type
string
必需
download_url_ttl
integer
必需
sd_name_in_api
string
必需
object
可选
next_cursor
string
可选
示例
[
[
{
"id": 1316,
"name": "1.11 Safetensors",
"hash_sha256": "CA42A7A009",
"sd_name": "pfg_111Safetensors_385.safetensors",
"type": {
"name": "checkpoint",
"display_name": "Checkpoint"
},
"categories": [
""
],
"status": 1,
"download_url": "https://civitai.com/api/download/models/1316",
"tags": [
""
],
"cover_url": "https://next-app-static.s3.amazonaws.com/images-prod/xG1nkqKTMzGDvpLrqFT7WA/a1b244df-7189-43a8-03e5-c246db324b00/width=450/10821.jpeg",
"source": "civitai",
"base_model": "",
"base_model_type": "",
"download_url_ttl": 2592000,
"sd_name_in_api": "pfg_111Safetensors_385.safetensors"
},
{
"id": 1450,
"name": "v1.0",
"hash_sha256": "67ABD65708",
"sd_name": "elldrethsLucidMix_v10_51.safetensors",
"type": {
"name": "checkpoint",
"display_name": "Checkpoint"
},
"categories": [],
"status": 1,
"download_url": "https://civitai.com/api/download/models/1450",
"tags": [],
"cover_url": "https://next-app-static.s3.amazonaws.com/images-prod/xG1nkqKTMzGDvpLrqFT7WA/35f15f29-4410-4dcd-22fb-3cbf13af7d00/width=450/12584.jpeg",
"source": "civitai",
"base_model": "",
"base_model_type": "",
"download_url_ttl": 2592000,
"sd_name_in_api": "elldrethsLucidMix_v10_51.safetensors"
}
],
{
"next_cursor": "c_2"
}
]
最后修改时间: a year ago