Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Every model and variant with its components, and its presence on every host (for everyone)

GET
/v1/studio/models
curl --request GET \
--url http://localhost:8300/v1/studio/models \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

Built from the registry <host>.<env>.models keys of every host with a present hosts key (fresh or offline) and studio’s model jobs; nothing in it is per user. hosts: those hosts by name, live = a fresh key. models: the union of their models by title then id; each variant’s descriptive fields from the freshest live key that publishes it (else the freshest key); hosts of a variant: every host whose models key lists the model, by name (a host with no env for the model is not listed). A variant host’s state: downloading while a download job of that (host, model, variant) is queued or running (job), else the key’s presence. Not paginated.

The models

Media typeapplication/json
object
hosts
required
Array<object>
object
host
required
string
/^[a-z0-9]{1,32}$/
live
required

Some hosts key of it is fresh (30 s); an offline host shows what it last published

boolean
envs
required

Its envs with a present hosts key, by name

Array<string>
models_root
required

The models root, from the freshest key’s models_disk; null when no key reports it

string | null
free_bytes
required

Free space on the models root’s volume, from the same key

integer | null
total_bytes
required
integer | null
hub_token

Admins only: a Hub token file is present on the host (needed for a gated source); never the token

boolean
licences
required

Every licence a listed variant names, each once (the text shown before a download)

Array<object>
object
id
required
string
title
required
string
url
required
string | null
text
required

The full text; its UTF-8 SHA-256 is what a download’s job records as accepted

string
models
required
Array<object>
object
id
required
string
family
required
string
title
required
string
media
required
Array<string>
Allowed values: image video audio
runtimes
required

Every runtime the pack has; only mlx or native = runs on Apple silicon only

Array<object>
object
runtime
required
string
env
required
string
devices

The devices it runs on (model.yaml runtimes.<r>.devices); absent = every device of that runtime

Array<string>
Allowed values: cuda mps cpu
variants
required
Array<object>
object
id
required
string
title
required
string
help

Its line under the title in the model chip’s menu (registry variant help, from the freshest key publishing it; LTX’s Distilled 8 steps, about 10× faster); absent = none

string
precisions
required

What it loads at (one only: whatever the model node asks, studio’s RunsAt). With its components’ stored a precision other than the stored dtype is made at load (bf16 · int8 at load) and a stored quantized dtype loads as it is (fp8 · stored quantized); without, first = as stored and the rest load-time quantizations

Array<string>
>= 1 items
Allowed values: bf16 fp16 int8 int4 fp8 fp32
devices

The only devices it runs on; absent = every device of the model’s runtimes

Array<string>
Allowed values: cuda mps cpu
dir
required

Its folder under each host’s models root

string | null
licence
required
One of:
object
id
required
string
must_accept
required
boolean
gated
required

The source needs a Hub token on the host

boolean
download_bytes
required

The expected size of its own files (source.bytes); null when unknown

integer | null
>= 1
components
required
Array<object>
object
component
required
string
from_variant
required

The variant whose folder holds it: itself, or the owner of a shared component

string
precisions
required
Array<string>
>= 1 items
Allowed values: bf16 fp16 int8 int4 fp8 fp32
stored

The dtype most of its weight bytes have on disk (registry component stored), from the freshest key that reports it; absent when no host does (its files on no disk, or a format that does not say: GGUF, packed 4-bit)

string
Allowed values: bf16 fp16 fp32 fp8 int8
bytes
required

On disk, from the freshest key where it is present; null when on no host

integer | null
hosts
required
Array<object>
object
host
required
string
state
required

Present: every file on disk, hashes as recorded; partial: some (resume with a download); missing: none of its own; downloading: a download job is queued or running (job); mismatch: files whose hash differs from the recorded one (mismatch; download again)

string
Allowed values: present partial missing downloading mismatch
bytes
required

Its own files on that host’s disk; null when missing

integer | null
mismatch

State mismatch: the files, relative to dir

Array<string>
separate
Array<string>
job
required
One of:
object
id
required
string format: uuid
state
required
string
Allowed values: queued running
done_bytes
required
integer
total_bytes
required

Null until the runner has listed the source

integer | null
addons
required

Its optional add-ons, the freshest key’s order; empty for most models

Array<object>

A part a few controls need, downloaded and deleted on its own (the Models screen’s “Optional add-ons”); every variant works without it. Descriptive fields from the freshest live key that publishes it, as a variant’s

object
component
required

What a NodeSchema’s addons names; a model job’s addon

string
title
required
string
short

The name in the greyed controls’ and Run on’s <short> not downloaded (registry add-on short; Qwen Image’s Text enhancer and Edit enhancer are both Enhancer). Absent = title

string
tag

The Models screen’s mono line beside the title (registry add-on tag). Absent = the component id

string
refs

The task whose runs need it: true = only a run with references (an edit), false = only one without (text to image). Absent = both

boolean
help
string
dir
required

Its folder under each host’s models root

string | null
variants

The variants whose runs need it; a run on another variant does not, and the form greys those variants’ rows instead of a control when the node always runs (Dev without the distilled LoRA). Absent = every variant

Array<string>
licence
required
One of:
object
id
required
string
must_accept
required
boolean
gated
required
boolean
download_bytes
required
integer | null
>= 1
hosts
required

Every host whose models key lists the model with this add-on, by name: its state as a variant’s (downloading while its download job is open)

Array<object>
object
host
required
string
state
required

Present: every file on disk, hashes as recorded; partial: some (resume with a download); missing: none of its own; downloading: a download job is queued or running (job); mismatch: files whose hash differs from the recorded one (mismatch; download again)

string
Allowed values: present partial missing downloading mismatch
bytes
required

Its own files on that host’s disk; null when missing

integer | null
mismatch

State mismatch: the files, relative to dir

Array<string>
separate
Array<string>
job
required
One of:
object
id
required
string format: uuid
state
required
string
Allowed values: queued running
done_bytes
required
integer
total_bytes
required

Null until the runner has listed the source

integer | null

Example

{
"licences": [
{
"id": "apache-2.0"
}
],
"models": [
{
"id": "qwen-image-2.1",
"family": "qwen-image",
"title": "Qwen Image 2.1",
"media": [
"image"
],
"runtimes": [
{
"devices": [
"cuda"
]
}
],
"variants": [
{
"id": "turbo",
"title": "Turbo",
"precisions": [
"bf16"
],
"devices": [
"cuda"
],
"components": [
{
"component": "text_encoder",
"precisions": [
"bf16"
],
"stored": "bf16"
}
],
"hosts": [
{
"state": "present",
"job": {
"state": "queued"
}
}
]
}
],
"addons": [
{
"component": "enhancer",
"title": "Enhancer",
"short": "Enhancer",
"tag": "PE-T2I",
"hosts": [
{
"state": "present",
"job": {
"state": "queued"
}
}
]
}
]
}
]
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}