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

studioGetLibraryItem

GET
/v1/studio/library/{item_id}
curl --request GET \
--url http://localhost:8300/v1/studio/library/example \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'
item_id
required
string

Library item UUID (malformed = 404)

The item

Media typeapplication/json

A library item: one record shape for elements and looks. one whose take was deleted is left out, so a stored item may show 0 images. fits / reason only when the list was asked with workflow.

object
id
required

Own: a UUID; starter look: <family>/<pack look id>

string
/^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[a-z0-9][a-z0-9_-]{0,63}/[a-z0-9][a-z0-9-]{0,63})$/
kind
required

Element (character, location, prop; used with @handle); look (film, camera, colour, lighting; chosen from the visual picker, sent as RunRequest.looks); chosen in the voice picker, sent as a voice param’s VoiceRef). Clients show an unknown kind as is

string
Allowed values: element look voice
group
required
string
Allowed values: character location prop film camera colour lighting preset cloned designed
name
required
string
>= 1 characters <= 80 characters
handle
required

What @ mentions; always set for an element, always null for a look

string | null
/^[a-z](?:[a-z0-9_-]{0,38}[a-z0-9])?$/
text
required

An element: appended where it is mentioned; a look: appended to the prompt when chosen; empty = none

string
<= 2000 characters
images
required

An element 1-4 when saved, a look 0-4; a starter look none (its picture is only thumb_url)

Array<object>
<= 4 items
object
take_id
required
string format: uuid
url
required

Signed, time-limited link; opaque

string
thumb_url
required

The take’s thumbnail (Take.thumb_url)

string
width
required
integer
>= 1
height
required
integer
>= 1
thumb_url
required
One of:

Signed, time-limited link; opaque

string
version
required

1 on create, +1 on every PUT; send it back in LibraryItemUpdate. A starter look or voice: the pack’s version

integer
>= 1
created_at
required

A starter look: the oldest published_at of the live hosts publishing it

string format: date-time
updated_at
required

A starter look: = created_at

string format: date-time
source

Mine: the caller’s own (id a UUID, editable); starter: a look or a voice shipped by a pack and published by a runner (id <family>/<pack id>, read-only, everyone sees it)

string
Allowed values: mine starter
family

A starter look: its pack’s family (where it comes from; whether it fits is fits); own items: null (any family)

string | null
/^[a-z0-9][a-z0-9_-]{0,63}$/
loras

A look’s LoRAs in order; always empty for an element

Array<object>
<= 4 items

One LoRA of a look, appended to the look stack at strength when the look is applied

object
lora
required
One of:

A Lora value (a rows item field of ref kind Lora): a LoRA the caller can use, by id; never a path, key or URL. Studio checks it when it creates the run.

object
lora_id
required
string
/^([0-9a-f]{64}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/
name
required

Own look: the LoRA’s name now (as recorded when it is gone); starter look: the file name without .safetensors

string
>= 1 characters <= 80 characters
strength
required
number
<= 2
needs

Computed, in the order text, images, lora: non-empty text, at least one image, at least one LoRA

Array<string>
<= 3 items unique items
Allowed values: text images lora
from_take_id

A look made with “Save as look”: the take; null for every other item)

string | null format: uuid
fits

Only with GET /library?workflow=: whether the item can be applied to that workflow now

boolean
reason

With fits: why not (this workflow has no LoRA stack, a voice: voice Ryan is for qwen3-tts); null when it fits

string | null
voice

Kind voice only (required then, absent otherwise)

object
source
required

Where a saved voice comes from (= its group): preset (a pack’s speaker, a starter voice), cloned, designed

string
Allowed values: preset cloned designed
family

Preset only: the family whose voice params take it

string
/^[a-z0-9][a-z0-9_-]{0,63}$/
speaker

Preset only: the model’s speaker id (ryan, uncle_fu)

string
/^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/
design

Designed only: the voice in words (“male, 17, tenor, nervous”)

string
>= 1 characters <= 2000 characters
language

A BCP 47 tag (en, en-US, zh, pt-BR); absent = none (the node’s own language param decides)

string
/^[a-z]{2,3}(-[A-Za-z0-9]{2,8}){0,3}$/
style

How it speaks, in words; absent = none

string
>= 1 characters <= 500 characters
clip

Cloned (required) or designed (optional): the part of a take it clones

object
take_id
required
string format: uuid
in
required
number
<= 86400
out
required
number
> 0 <= 86400
consent

With clip (required then): the owner ticked “I have the right to use this voice”

voice_id

An element only (always sent for one, absent otherwise): the voice its @handle speaks in a dialogue script, one of the caller’s voices or a starter voice; null = none (always null for a location or prop, and on read once that voice is deleted or no live host publishes it)

string | null
/^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[a-z0-9][a-z0-9_-]{0,63}/[a-z0-9][a-z0-9-]{0,63})$/

Example

{
"kind": "element",
"group": "character",
"images": [
{
"url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12",
"thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12"
}
],
"thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12",
"source": "mine",
"needs": [
"text"
],
"voice": {
"source": "preset",
"consent": true
}
}

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"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}