Get a Model
GET/model-svc/model/:modelId
Retrieves the details of a model by its ID.
the Requires model.view
permission.
Request
Path Parameters
modelId stringrequired
Model ID
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
exists boolean
model
object
assets
object
property name* string
bits integer
description string
extension string
flavour string
fullName string
id string
maxBits integer
maxRam number
mirrors string[]
name string
parameters string
platformId string
promptTemplate string
quality string
quantComment string
size number
tags string[]
uncensored boolean
version string
platform
object
architectures
object
cuda
object
envars string[]
Envars passed to the container. eg. 'DEVICES=all'
image string
keeps string[]
Keeps are paths in the container that should be persisted across restarts.
port integer
Port is the internal port of the Container
default
object
envars string[]
Envars passed to the container. eg. 'DEVICES=all'
image string
keeps string[]
Keeps are paths in the container that should be persisted across restarts.
port integer
Port is the internal port of the Container
id string
name string
version integer
{
"exists": true,
"model": {
"assets": {},
"bits": 0,
"description": "string",
"extension": "string",
"flavour": "string",
"fullName": "string",
"id": "string",
"maxBits": 0,
"maxRam": 0,
"mirrors": [
"string"
],
"name": "string",
"parameters": "string",
"platformId": "string",
"promptTemplate": "string",
"quality": "string",
"quantComment": "string",
"size": 0,
"tags": [
"string"
],
"uncensored": true,
"version": "string"
},
"platform": {
"architectures": {
"cuda": {
"envars": [
"string"
],
"image": "string",
"keeps": [
"string"
],
"port": 0
},
"default": {
"envars": [
"string"
],
"image": "string",
"keeps": [
"string"
],
"port": 0
}
},
"id": "string",
"name": "string",
"version": 0
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...