API v2 DocumentationModel
Get a model version
Reads one model version by its version ID, the ID that generation endpoints take. Use it to look up a LoRA's trigger words and base model before generating.
Authorization
bearerAuth AuthorizationBearer <token>
In all requests that require authentication
In: header
Path Parameters
id*string
The model version ID.
Response Body
application/json
application/json
curl -X GET "https://api.pixai.art/v2/generation-model-version/string"{
"id": "string",
"modelId": "string",
"modelTitle": "string",
"name": "string",
"modelType": "string",
"loraBaseModelType": "string",
"loraBaseModelId": "string",
"status": "string",
"extra": {
"triggerWords": "string"
},
"mediaId": "string"
}{
"code": "string",
"status": 0,
"message": "string",
"data": {},
"defined": true
}