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

"Use in…": the workflows this take can go into, each with its inputs pre-filled

GET
/v1/studio/takes/{take_id}/uses
curl --request GET \
--url http://localhost:8300/v1/studio/takes/example/uses \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

The templates a live host could run now (published, model variant present, ltx/distill‘s LoRA on the host) and the caller’s own non-text workflows, in GET /v1/studio/workflows order, that have exactly one input this take fits (an image take: an image param or an Image rows param; a video or audio take: a media param whose accepts, grid, max_s, min_s and max_frames it passes), each with inputs as POST …/use answers them. block: every input), not on an optional node, and not a rows param excluded by a wired not_with input (MiniMax H3: an image goes to Image to video’s first frame and References, not Text to video). rows param with exactly one media field counts too, by the take’s own kind only (a video into videos, an audio take into audios; a video’s sound never into audio rows by offer), with the take as item 1 (in 0, out = min(duration, the field’s max_s, the rows’ max_total_s) on trim): an audio take offers MiniMax H3 References, whose run still needs an image or video reference. Empty when none fits. 404 for a take that is unknown, another user’s, deleted or a pending upload.

take_id
required
string

Take UUID (malformed = 404)

The offers

Media typeapplication/json
object
uses
required
Array<object>
<= 100 items

One “Use in…” entry: label it <action> · <title>, or the title when action is absent

object
workflow_id
required
string
title
required
string
action

The template’s action (Animate, Edit, Extend, Retake a section, Audio to video); absent for a user workflow or a template without one

string
family
required
string
media
required

What a workflow’s takes are

string
Allowed values: image video audio
param
required

The input that holds the take (<node id>.<param>)

string
inputs
required

As POST …/use answers (a clip action: the clip’s range); merge over the form

object
key
additional properties
Any of:

Null only for a seed (random) or an image, media, span or voice param left empty

string | number | boolean | null
slot
One of:
object
clip
required

A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)

string
/^[a-z0-9]{1,16}$/

Example

{
"uses": [
{
"media": "image",
"param": "source.source",
"inputs": {
"prompt.text": "a red fox",
"echo.steps": 20
},
"slot": {
"exact": 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"
}