The caller's library items and the starter looks of the live hosts (not paginated); the `@` menu searches it with `q`, the visual picker asks with `workflow`
const url = 'http://localhost:8300/v1/studio/library?kind=element&group=character&source=mine&limit=1000';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8300/v1/studio/library?kind=element&group=character&source=mine&limit=1000' \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'The caller’s own items (at most 200) plus every starter look a live host publishes. Filters combine with AND. q (trimmed, a leading @ dropped, lower-cased; blank = no filter) matches an item whose handle starts with it or whose name, lower-cased, starts with it. source keeps one source; family keeps the items whose family is null or equal to it. Order: with q, the item whose handle equals it first, then by handle (code points; null handles last), then name; without q, own items newest updated_at first, then starter looks by name (code points), then id. limit cuts the list (the @ menu asks for 8). Images of deleted takes are left out of every item. workflow (a template slug or one of the caller’s workflow UUIDs; 422 unknown workflow <id>) filters nothing: it adds fits and reason to every item, against that workflow’s graph and the caller’s LoRAs now; the picker greys the items that do not fit with the reason. items); kind=voice keeps only voices. With workflow, a voice’s fits / reason is the voice fit (this workflow takes no voice, this workflow cannot use a designed voice, this workflow cannot use a preset voice, this workflow cannot clone a voice, voice <name> is for <family>), and in a workflow whose media is audio every look answers looks do not apply to speech and every element mentions are not read aloud; use a dialogue script.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”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
Prefix of a handle or a name
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)
Items for this family: family null or equal
Annotate every item with fits / reason for this workflow
Responses
Section titled “Responses”Items
object
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
Own: a UUID; starter look: <family>/<pack look id>
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
What @ mentions; always set for an element, always null for a look
An element: appended where it is mentioned; a look: appended to the prompt when chosen; empty = none
An element 1-4 when saved, a look 0-4; a starter look none (its picture is only thumb_url)
object
Signed, time-limited link; opaque
The take’s thumbnail (Take.thumb_url)
1 on create, +1 on every PUT; send it back in LibraryItemUpdate. A starter look or voice: the pack’s version
A starter look: the oldest published_at of the live hosts publishing it
A starter look: = created_at
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)
A starter look: its pack’s family (where it comes from; whether it fits is fits); own items: null (any family)
A look’s LoRAs in order; always empty for an element
One LoRA of a look, appended to the look stack at strength when the look is applied
object
Own look: the LoRA’s name now (as recorded when it is gone); starter look: the file name without .safetensors
Computed, in the order text, images, lora: non-empty text, at least one image, at least one LoRA
A look made with “Save as look”: the take; null for every other item)
Only with GET /library?workflow=: whether the item can be applied to that workflow now
With fits: why not (this workflow has no LoRA stack, a voice: voice Ryan is for qwen3-tts); null when it fits
Kind voice only (required then, absent otherwise)
object
Where a saved voice comes from (= its group): preset (a pack’s speaker, a starter voice), cloned, designed
Preset only: the family whose voice params take it
Preset only: the model’s speaker id (ryan, uncle_fu)
Designed only: the voice in words (“male, 17, tenor, nervous”)
A BCP 47 tag (en, en-US, zh, pt-BR); absent = none (the node’s own language param decides)
How it speaks, in words; absent = none
Cloned (required) or designed (optional): the part of a take it clones
object
With clip (required then): the owner ticked “I have the right to use this voice”
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)
Example
{ "items": [ { "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
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}