v1/models/:model_id
GET/v1/models/:modelId
cancel job
Request
Path Parameters
modelId uint64required
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
model object
id uint64
name string
description string
baseModel string
modelType - TEXTUAL_INVERSION: DEPRECATED
- DUMMY: 普通文件
- COLLECTION: 图集 (string)
Possible values: [DEFAULT
, CHECKPOINT
, TEXTUAL_INVERSION
, HYPERNETWORK
, AESTHETIC_GRADIENT
, LORA
, LOCON
, CONTROLNET
, POSES
, WILDCARDS
, OTHER
, LYCORIS
, EMBEDDING
, VAE
, SVD
, MOTION_LORA
, DUMMY
, COLLECTION
, DORA
]
Default value: DEFAULT
showcaseImageUrls string[]
projectName string
triggerWords string
{
"model": {
"id": "string",
"name": "string",
"description": "string",
"baseModel": "string",
"modelType": "DEFAULT",
"showcaseImageUrls": [
"string"
],
"projectName": "string",
"triggerWords": "string"
}
}
Not Found: model not found
- application/json
- Schema
Schema
- any
Default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...