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 boolean

    model

    object

    assets

    object

    property name* string
    bits integer
    description string
    extension string
    flavour string
    full_name string
    id string
    max_bits integer
    max_ram number
    mirrors string[]
    name string
    parameters string
    platformId string
    prompt_template string
    quality string
    quant_comment 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
    persistentPaths string[]

    Paths in the container to persist.

    port integer

    Port is the internal port of the Container

    default

    object

    envars string[]

    Envars passed to the container. eg. 'DEVICES=all'

    image string
    persistentPaths string[]

    Paths in the container to persist.

    port integer

    Port is the internal port of the Container

    id string
    name string
    version integer
Loading...