New shot: a run whose take fills a slot
const url = 'http://localhost:8300/v1/studio/timelines/example/shots';const options = { method: 'POST', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"slot":{"clip":"example"},"run":{"workflow_id":"example","inputs":{"prompt.text":"a red fox","echo.steps":20},"looks":["qwen-image/window-light"],"host":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8300/v1/studio/timelines/example/shots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "slot": { "clip": "example" }, "run": { "workflow_id": "example", "inputs": { "prompt.text": "a red fox", "echo.steps": 20 }, "looks": [ "qwen-image/window-light" ], "host": "example" } }'run is checked and created exactly as POST /v1/studio/sessions/{session_id}/runs (same 422 texts, same 409 at 100 runs) in the sequence’s session; the slot gets shot {run_id} as revision + 1, applied to the current revision. The run’s first take fills the slot. 409 clip <id> already has a shot running (slot {clip}); 422 unknown clip <id>, clip <id> is not on V1, length is required to insert a slot. the place edit instead of insert: the slot starts at exactly frames(at) on V1 (past V1’s end after an empty gap; inside an empty slot by splitting it; inside a take’s clip at the nearest cut, as insert); run is the action’s Audio to video run.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Sequence UUID (malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”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
As the docked composer sends it: the sequence’s defaults, and the first/last keyframe rows bound to frame takes (POST /v1/studio/takes/{take_id}/frame) when those options are on
object
Missing = {}
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
The chosen looks, every group together, in the order the composer’s tiles list them (tile order, then pick order); missing = []. Resolved with the mentions
(Create’s Run on): run it on this host only, attempt 2 included; absent = automatic. A host that cannot take it now is a 422 at create
Responses
Section titled “Responses”The sequence with the placeholder, and the run (queued, or failed at once)
object
object
The session its shots run in (follow it with GET …/sessions/{session_id}/events); null after that session was deleted (the next shot makes a new one)
1 on create, +1 on every stored change of the document
object
Look ids, in order; a repeated id counts once (its first place)
Every take the document names that is not offline
object
A take the document names (a clip’s or an alternative), signed for the editor and the preview
object
Create: an output of a Create run; upload: a file the user uploaded; pipeline: an output of a batch run; import: an item of the old helmstudio gallery, brought in by helm import (legacy); export: a sequence’s export (export); frame: a video take’s first or last frame (frame_of); tool: made by a plugin tool from takes of yours
Signed, time-limited link; opaque
The take’s thumbnail (Take.thumb_url)
url / thumb_url of the take stay the MP4 and the poster’s thumbnail; poster_url is the full-size poster.
object
Frames / fps
The MP4 has an audio track (LTX: AAC 48 kHz stereo)
Signed, time-limited link; opaque
Kind audio only: its length, rate and a dialogue’s cues (ticks on the clip)
object
An upload: as the client declared it
Absent for an upload (studio does not decode it)
A dialogue’s take only: one per line, in order; the stage draws them as line markers, the Timeline as ticks on the clip (sequence time = clip at + cue − clip in)
One dialogue line in its take (defs cue): line from 1, [start_s, end_s) in the take’s own seconds, the speaker’s voice id (a deleted voice’s id stays), the text as spoken
object
made_with.seed; null without one
made_with.workflow_id; null for an upload, import, frame or export (no “from this clip”, no re-render)
made_with.render_s (the clip inspector’s “⏱ 3:12”; the sequence’s total sums its clips’ takes that have one); absent without one
Who wrote name, as a session’s title
The model that wrote the name while title_source is model; null otherwise
frames in seconds
The sequence’s length: V1’s end (no V1 clip: the last sound’s)
The sequence’s geometry and rates; the codec is the export’s (H.264 + AAC in MP4)
object
One of the rate table (exact rates 24000/1001, 30000/1001, 60000/1001 for the NTSC ones)
object
Answers only (ignored in a write): V1, then A2…A9 by position (A1 is V1’s own sound, drawn under it)
A slot: a take, or an empty slot (take_id null, hold): black and silence; on an audio track only a New line’s placeholder
object
A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)
A video take: the source time it starts at (default 0)
A video take: the source time it ends at (default its length)
An image take or an empty slot: its length in seconds
An audio track: where it starts on the sequence (required there); V1: computed, ignored in a write
V1: the clip’s own sound is off
object
Centred on the cut: half before it, half after
The takes made for this slot, oldest first; the current take_id is among them (studio adds it). Replace picks one
A generation filling this slot (made by studio only; a write keeps it or drops it): a New shot’s run, or a Re-render batch’s step. In answers it adds status and, failed, error
object
The re-render pipeline’s step for this clip
Answers only: the run’s, or the batch step’s (a cancelled or succeeded one is gone from the document)
Answers only, failed: the run’s error
A generation filling this slot (made by studio only; a write keeps it or drops it): a New shot’s run, or a Re-render batch’s step. In answers it adds status and, failed, error
object
The re-render pipeline’s step for this clip
Answers only: the run’s, or the batch step’s (a cancelled or succeeded one is gone from the document)
Answers only, failed: the run’s error
V1 only: the shot number (“Shot 4”), given by studio when the clip is added (the highest so far + 1) and kept when it moves; a write cannot change a stored clip’s.
Answers only, true when the take is deleted or gone: the clip keeps its place and length, plays as offline and blocks an export
An audio-track clip only: the V1 clip it is linked to
At most 200 (too_many_markers); absent = none; answers sort them by time, then id, and leave the list out when empty
A named point on the sequence (snapped to frames; drawn on the ruler, a snap target)
object
Unique among the markers
Sequence seconds; with V1 clips never past the end (marker_past_end)
A marker’s colour, drawn with the theme’s own shade
object
As requested
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
The node id that is stepping
What the node is doing (loading transformer, sampling, decoding)
The id of one of the node’s NodeSchema phases it is in; only from a node with phases
Estimated seconds until the run finishes
Set when failed
By index; outputs whose take was deleted are left out
object
Object key, u/<owner_id>/runs/<run_id>/
Width and height null)
The image, or the MP4 of a video (served with Range)
Kind video only (absent for an image)
object
Frames / fps
The MP4 has an audio track (LTX: AAC 48 kHz stereo)
Signed, time-limited link; opaque
Kind audio only: its length and sample rate
object
An upload: as the client declared it
Absent for an upload (studio does not decode it)
A dialogue’s take only: one per line, in order; the stage draws them as line markers, the Timeline as ticks on the clip (sequence time = clip at + cue − clip in)
One dialogue line in its take (defs cue): line from 1, [start_s, end_s) in the take’s own seconds, the speaker’s voice id (a deleted voice’s id stays), the text as spoken
object
The seed it was made with; absent when the workflow has none
The take this output became (every output is a take)
Its take’s thumb_url (Take.thumb_url); absent without a take (or once it is deleted): use url
The host it was sent to (its current attempt’s); while queued, the host it is lined up for (the one the dispatcher would choose now, may change); null when none was eligible
The host attempt 1 was sent to, when that host stopped responding and the run was queued again; absent or null otherwise
Interactive (Create, POST …/runs) is dispatched before batch
1; 2 after its runner was lost once and it was queued again
Only while queued: 1 + the number of queued runs (anyone’s) the dispatcher would release on host before it, recomputed on every read; absent otherwise
Values the runner chose (a random seed, an auto length), sent with succeeded
object
<node>.<param> → the value the runner chose for a param set to "auto" (duration.frames: the predicted length); absent when none
object
<node>.<output> → a Text output the runner made that the user did not write (an enhancer’s prompt); absent when none
object
The runner reported running
The batch it runs a row of (lane batch); absent or null for a Create run
The batch row number; with batch_id
A user workflow: the version it ran (its graph is the run’s snapshot); absent or null for a template
The looks it was asked with (RunRequest.looks; a batch run: its row’s or step’s), as requested; absent or empty = none
A run of a text (ask) workflow (lane batch: a judge, write or decide call): its answer, stored on the run, never a take (outputs stays empty). Sent once it succeeded, and when it failed on the schema
object
The last try
Name = the hidden run that names its session (local namer, lane batch); only GET /v1/studio/queue lists one. Absent or null otherwise
Only while queued (computed on every read, like position): the pinned components the host memory admission would unload, as its last-resort victims, if the run were admitted on host now; they are loaded again, and pinned again, when next used. Absent when none
object
Its resident size: what reloading it costs
Example
{ "timeline": { "target": { "fps": 23.976, "sample_rate": 44100 }, "tracks": [ { "kind": "video", "gain_db": 0, "mute": false, "clips": [ { "gain_db": 0, "mute": false, "transition_in": { "type": "dissolve" }, "shot": { "status": "queued" } } ] } ], "markers": [ { "color": "red" } ] }, "run": { "inputs": { "prompt.text": "a red fox", "echo.steps": 20 }, "status": "queued", "outputs": [ { "kind": "image", "url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12", "video": { "duration_s": 2.0416666666666665, "fps": 24, "frames": 49, "poster_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" } ], "lane": "interactive", "resolved": { "params": { "duration.frames": 89 }, "texts": { "enhance.text": "A ginger cat asleep on a green velvet sofa, soft window light" } }, "looks": [ "qwen-image/window-light" ], "purpose": "name" }}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"}The resource’s state forbids this
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}