"Use in…": the workflows this take can go into, each with its inputs pre-filled
const url = 'http://localhost:8300/v1/studio/takes/example/uses';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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Take UUID (malformed = 404)
Responses
Section titled “Responses”The offers
object
One “Use in…” entry: label it <action> · <title>, or the title when action is absent
object
The template’s action (Animate, Edit, Extend, Retake a section, Audio to video); absent for a user workflow or a template without one
What a workflow’s takes are
The input that holds the take (<node id>.<param>)
As POST …/use answers (a clip action: the clip’s range); merge over the form
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
A span param’s value: a time range on the workflow’s one video media source, in that take’s own seconds (Retake: the stretch to regenerate)
object
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
One item of a rows value: field (the param’s item) → value
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
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
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
object
A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)
object
A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)
The placeholder’s length until the take fills it (the client’s estimate)
The new slot’s id; absent = studio makes one
object
Seconds, snapped by studio onto the frame grid (an audio track’s in/out: the sample grid)
The new slot’s id; absent = studio makes one
(Make shot): the place edit, the slot at exactly frames(at), not the nearest cut
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
object
Example generated
{ "detail": "example"}Not found
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}