Skip to main content

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

OK

Schema

    exists booleanrequired

    model

    object

    required

    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

    required

    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
Loading...