Save a workflow of the caller's own, from a whole document or as a copy of another
const url = 'http://localhost:8300/v1/studio/workflows';const options = { method: 'POST', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"title":"example","family":"example","env":"example","nodes":{"additionalProperty":{"kind":"example","params":{"additionalProperty":{"take_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}},"in":{"additionalProperty":"example"},"bypass":true,"optional":true,"position":{"x":1,"y":1},"only":{"additionalProperty":["example"]}}},"studio":{"composer":["sample.steps"],"quick":["sample.steps"],"inspector":[{"title":"Quality","items":["sample.steps"],"help":"example","choices":[{"label":"Recipe","options":[{"name":"Two-stage","set":{"upscale.bypass":false,"sample2.bypass":false}},{"name":"One-stage","set":{"upscale.bypass":true,"sample2.bypass":true}}]}]}],"keyframes":{"first":"first.image","last":"last.image"},"labels":{"additionalProperty":"example"},"presets":{"Draft":{"model.variant":"turbo","model.precision":"int8"}},"preset_help":[{"text":"example","when":"example"}],"preset_order":["Fast","Quality","Low memory"]}}'};
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/workflows \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "title": "example", "family": "example", "env": "example", "nodes": { "additionalProperty": { "kind": "example", "params": { "additionalProperty": { "take_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } }, "in": { "additionalProperty": "example" }, "bypass": true, "optional": true, "position": { "x": 1, "y": 1 }, "only": { "additionalProperty": [ "example" ] } } }, "studio": { "composer": [ "sample.steps" ], "quick": [ "sample.steps" ], "inspector": [ { "title": "Quality", "items": [ "sample.steps" ], "help": "example", "choices": [ { "label": "Recipe", "options": [ { "name": "Two-stage", "set": { "upscale.bypass": false, "sample2.bypass": false } }, { "name": "One-stage", "set": { "upscale.bypass": true, "sample2.bypass": true } } ] } ] } ], "keyframes": { "first": "first.image", "last": "last.image" }, "labels": { "additionalProperty": "example" }, "presets": { "Draft": { "model.variant": "turbo", "model.precision": "int8" } }, "preset_help": [ { "text": "example", "when": "example" } ], "preset_order": [ "Fast", "Quality", "Low memory" ] } }'Two forms (WorkflowCreate): a whole document (title, family, env, nodes, optional studio, optional based_on), or {based_on, title?} to copy a template or one of the caller’s workflows (nodes, positions, studio, family, env; title absent = <source title> copy, cut to 80 characters). The new workflow’s id is a UUID, version 1. The document is checked with the graph rules: any problem that blocks saving is 422 WorkflowError with every problem; problems that only block running (unknown_kind, env_mismatch, required_input, no_output) do not stop the save and are in the answer’s problems. 404 when based_on is unknown or another user’s. 409 when the caller already has 200 workflows (You have 200 workflows; delete some first.). 503 while studio’s registry watches have not delivered yet.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
The template or workflow id it was made from; must exist and be readable by the caller (404)
Trimmed; blank = 422
The model family every <family>/… kind of it belongs to
The one runner env that runs every node
object
object
Param → value; left out = the schema default. A workflow holds no take: image params null, rows without Image items
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
Input port, or wired value param → <node id>.<output>; one wire per key (connecting again replaces it)
object
See GraphNode.optional
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Enum param → the values this workflow allows (a subset of its enum holding the node’s value); the form offers only those, another value is 422 <node>.<param>: must be one of <values> (LTX dev templates pin model.variant to dev). the workflow holds null): the voice fit reads the narrowed set, a voice outside it is 422 <node>.<param>: this workflow cannot use a designed voice
object
Which params the Studio (Create) shows and where. Present = exactly the placed paths show; every other param keeps its graph value and is edited in Graph view only. Absent = the derived form (every param, as Workflow says). A path is placed at most once over composer, quick and inspector.
object
In the composer box, in order (the prompt, the references)
Chips on the composer, in order: params, and library tiles (elements, look:<group>) that open the visual picker
The inspector’s sections, in order
object
The section’s (i) text in Create; absent = no (i)
Tiles that lead the section, each a named pick among sets of values. A set is checked as a preset (preset_invalid); the tile shows the option whose set holds
object
The tile’s hover text
object
The option’s line under its name in the tile’s menu (LTX’s Recipe: Detail)
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 image params a Timeline New shot binds a first and a last frame into, for a workflow whose frames are image params, not keyframe rows (MiniMax H3 Image to video); Workflow.keyframes takes this shape. Not a placement
object
<node id>.<param>, or <node id>.bypass for a bypassable node (a switch)
A field’s title in the Studio when it should differ from the param’s label
object
Named sets of values over this workflow’s paths (Draft, Final); choosing one sets them in the form
object
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 Preset heading’s (i) text: the first item whose when (the when grammar over the workflow’s paths) holds, or that has none; absent = no (i)
object
Every name of presets once, in the order Create shows them (an object’s key order is not kept); absent = by name. Else 422 studio.preset_order: every preset once
object
Absent = <source title> copy
Responses
Section titled “Responses”The workflow, with problems
A runnable graph. A form is derived from it: for every node in nodes, the params of node_schemas[node.kind], each addressed as <node id>.<param name> in RunRequest.inputs, its starting value node.params[name] else the schema default. With studio, the Studio shows exactly the paths it places; without, the form is derived as above.
object
Templates only (registry action): the take action’s label when it is offered for a take (“Use in…”, a clip’s actions): Animate, Edit, Extend, Retake a section; absent = the title
The runner env that executes it
Audio when an output is wired from an Audio output; text only for an ask workflow, served read-only by GET /v1/studio/workflows/{workflow_id}, never listed
Node id → node
object
object
Overrides of the node schema defaults
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
Input port (or a wired value param) → <node id>.<output>
object
Switched off: passes its inputs through; absent = false
A core image node only: may be left empty; studio then drops it and its wires before the run (its wires must all go to optional inputs, else the problem not_optional). The form marks its image field optional (MiniMax H3 Image to video: Last frame)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Enum param → the values this workflow allows (a subset of its enum holding the node’s value); the form offers only those, another value is 422 <node>.<param>: must be one of <values> (LTX dev templates pin model.variant to dev). the workflow holds null): the voice fit reads the narrowed set, a voice outside it is 422 <node>.<param>: this workflow cannot use a designed voice
object
Kind → schema, for every kind in nodes the registry has (a kind no runner publishes is left out)
object
object
Null for a core node (prompt
The model component the node loads, in words (transformer, text encoder, vae); the Graph inspector reads “
The optional add-ons the node loads (a component of its family’s Model.addons); while one is not present the form greys the node’s controls (<title> not downloaded) and a run with the node not bypassed is refused on such a host. Absent = none
The ordered phases of a node that runs one engine end to end (MiniMax H3: Encode, Sample, Decode audio, Decode video); its progress carries phase_id. Absent = none
object
The stage’s peak_gb formula (model.yaml), published for a stage that loads no component: studio evaluates it per run over the node’s params, len(<rows>), mp and frames. Absent = none
The node’s limits on the sound its references carry together (MiniMax H3: 15 s, 3 inputs): audio rows, and video rows whose sound keeps the take’s sound or replaces it with a soundtrack; the composer counts them (3.0 s of 15.0 s sound · 1 of 3 sound inputs). Absent = none
object
In form order
One form field. int/float/seed: min/max bound the value, step is the increment; string/text (multi-line): min/max bound the length; enum: one of enum; bool: a switch. seed: an int where null or -1 means random: the runner picks one and reports it (Run.resolved.seed, RunOutput.seed). when: a visibility expression over the graph (model.variant != 'turbo'), carried through, not evaluated yet. image: one take (ImageRef), default null; a run needs one. rows (the rows editor): an ordered list of RowItem, default []; min/max bound the count, item names each item’s fields (a ref kind, Image or Lora, required in every item, or a param schema), mention is how the prompt refers to item n from 1 (<image{n}>: the rows editor labels item n with it; the prompt is sent as typed). frames: a frame count on the family’s frame grid, min + k × step up to max (LTX: 9 + 8k up to 321); fps names the same node’s frame-rate param; the UI renders it as the Duration slider (one notch per step, labelled <frames> frames · <frames / fps> s); a value off the grid is 422 (<node>.<param>: <v> is not on the frame grid <min> + <step>k up to <max>). The size picker (aspect + megapixels) is drawn for a node whose output is Canvas from its width and height int params: step is the grid, min / max the bounds. an int may declare values (the only allowed values: a choice, one value a read-only readout) and values_by; a float item field may declare position: seconds (a keyframe’s time on the clip). a run needs one) of the kinds in accepts; with trim the value may carry in / out (the UI draws the take’s poster or waveform with a trim control and its duration); grid (a video’s sides must be multiples of it), max_s (the longest it reads) and max_frames (the most frames of a video it reads) bound it. span: a time range {start, end} (SpanValue, default null; a run needs one) on the workflow’s one media param that accepts video; the UI draws it as a range control over that take’s poster and duration. item one video or audio take, MediaRef, required in every item; the rows editor draws the take’s poster or a sound tile with its trim control); min_s (media) is the shortest it reads; max_total_s (rows with one media field) the most seconds the items read together; not_with (rows) names optional inputs of the node: while one is wired the rows stay empty (mentions add none, “Use in…” skips them). a run needs one) of the sources in accepts; the UI draws the voice picker. It takes no wire; rows item field (a dialogue’s lines: each line’s speaker, required in every item). dialogue script (@handle: text or @handle (style): text per line, an empty line a longer pause) that studio expands at create time into the same node’s rows param lines (items {voice, text, style, pause_s}, each voice the element’s voice_id); the composer draws it as the script editor with each line’s speaker.
object
Text only: a dialogue script expanded into the node’s lines
Media only: the take kinds it takes (video, audio); video: a video take; audio: an audio take, or a video take’s sound.
Media only: true = the value may carry in / out (the part read); absent = the whole take
Media only: a video take’s width and height must be multiples of it
Media only: the longest it reads in seconds (the take, or out - in with trim)
Media only: the most frames of a video take it reads (its frames at any fps; LTX 321)
Media only: the shortest it reads in seconds (take <id> lasts <d> s; this input takes at least <min_s> s; with trim also the part lasts <d> s; …)
Rows with one media field only: the most seconds the items read together (<node>.<param>: the takes last <d> s in all; at most <max_total_s> s)
Rows only: optional inputs of the same node; while one is wired the rows must stay empty (<node>.<param>: must stay empty while <node>.<input> is wired)
Enum only: value → the optional add-ons (Model.addons[].component of the node’s family) a run needs while the param holds that value (MiniMax H3’s lora: turbo → [turbo]); the run check counts them as the node’s addons on its resolved value (never while the node is bypassed) and the form greys that option, and every preset that sets it, with <title> not downloaded. Absent = none
object
With addons: <name> (an optional input of the node, or one of its rows params) → {value → add-ons}: while that input is wired or that rows param holds a row its list replaces the value’s addons list, several names’ lists together (MiniMax H3: any reference runs Ref2VA, so turbo then needs turbo_ref)
object
object
A rows item’s media field only: it may be left empty (null or absent; MiniMax H3’s soundtrack); max_total_s and Use in… go by the item’s one required media field
: refusals as data. Each when is an expression (the when grammar plus <, <=, >, >=, +, -, *, /, len(<rows>) and gcd(a, b); a bare name is a param of the same node, or in a rows item field’s rule a field of the same item; <a>.<b> is param b of the node wired into this node’s input a, else of node a); while it holds the run is 422 <node>: <error> (an item field’s: <node>.<param>[<i>].<field>: <error>, items from 1), each {<expression>} in error replaced by its value. A reference that resolves to nothing makes the rule not hold. Studio checks them after the other checks, in param order; the form shows each under its param and blocks Generate
object
Enum or int with values: value (as text) → its line under the value in the param’s menu (MiniMax H3’s LoRA: none → the model as it is); absent = none
object
Frames only: the name of the same node’s int or float param holding frames per second
Frames only: present = the value "auto" is allowed (the model predicts the length, clamped to min_s..max_s seconds and to min..max frames); absent = it is 422 (<node>.<param>: auto length is not offered)
object
Int only: the only allowed values, ascending (<node>.<param>: must be one of 3, 8)
A graph without that node, or a value not listed, allows all of values / enum). The message names the subset (sample2.steps: must be one of 3, extend.direction: must be one of after). The UI shows a value outside the subset faded with its reason, <value> needs <first value of the named param that allows it> (Before needs Dev); a take offer whose pre-fill it refuses also sets the named param to that value
object
object
A cross-node values_by only: the line under the named param’s choice while this refuses one of its options (LTX extend: Dev: the only model that extends before. About 10× slower.); absent = each refusal (Extend before needs Dev)
Absent = the name
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
Visibility expression; absent = always shown
Rows only: the prompt’s name for item n, with {n} from 1
object
An input accepts an output of the same type; an input of type Media (the output node’s media; never an Video is an MP4 that may carry an audio track; Audio is speech, a WAV (PCM 16-bit, mono, the model’s own rate); Duration is {frames, fps}. Model, Conditioning and Latent are family-scoped handles: they wire nodes of one family inside one workflow and never cross a process (Latent of ltx carries video and audio latents together).
Inputs only: true = may be left unwired (the feature is off); absent = required
object
An input accepts an output of the same type; an input of type Media (the output node’s media; never an Video is an MP4 that may carry an audio track; Audio is speech, a WAV (PCM 16-bit, mono, the model’s own rate); Duration is {frames, fps}. Model, Conditioning and Latent are family-scoped handles: they wire nodes of one family inside one workflow and never cross a process (Latent of ltx carries video and audio latents together).
Inputs only: true = may be left unwired (the feature is off); absent = required
Template: published by a runner in the registry (read-only, id a slug); mine: the caller’s own (id a UUID)
Which params the Studio (Create) shows and where. Present = exactly the placed paths show; every other param keeps its graph value and is edited in Graph view only. Absent = the derived form (every param, as Workflow says). A path is placed at most once over composer, quick and inspector.
object
In the composer box, in order (the prompt, the references)
Chips on the composer, in order: params, and library tiles (elements, look:<group>) that open the visual picker
The inspector’s sections, in order
object
The section’s (i) text in Create; absent = no (i)
Tiles that lead the section, each a named pick among sets of values. A set is checked as a preset (preset_invalid); the tile shows the option whose set holds
object
The tile’s hover text
object
The option’s line under its name in the tile’s menu (LTX’s Recipe: Detail)
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 image params a Timeline New shot binds a first and a last frame into, for a workflow whose frames are image params, not keyframe rows (MiniMax H3 Image to video); Workflow.keyframes takes this shape. Not a placement
object
<node id>.<param>, or <node id>.bypass for a bypassable node (a switch)
A field’s title in the Studio when it should differ from the param’s label
object
Named sets of values over this workflow’s paths (Draft, Final); choosing one sets them in the form
object
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 Preset heading’s (i) text: the first item whose when (the when grammar over the workflow’s paths) holds, or that has none; absent = no (i)
object
Every name of presets once, in the order Create shows them (an object’s key order is not kept); absent = by name. Else 422 studio.preset_order: every preset once
Mine only: the template or workflow it was copied or saved from (it may be gone since); null when made from nothing
Mine only: 1 on create, +1 on every PUT and PATCH; send it back in WorkflowUpdate
Mine only
Mine only
Only from GET /v1/studio/workflows/{workflow_id}, POST and PUT: the graph rules against the live palette now; empty = it can run
One broken graph rule; node / port / param say where, for the editor to mark (absent = the whole workflow)
object
May grow in a minor version; an unknown code blocks running
Human text, e.g. sample.cond: expects Conditioning, got Text from prompt.text; not stable
Save: the document cannot be saved (and cannot run); run: it can be saved, not run
The node id (for a Studio path, the path’s node, which may not exist)
The in key: an input port or a wired value param
A param name (for a Studio path or preset, the path’s param; may be bypass)
object
The rows’ Image field
The rows’ position: seconds field
It takes 2 rows or more: “End on the next clip’s first frame” is offered
The image param the previous clip’s last frame goes into, and the one the next clip’s first frame goes into (null: “End on the next clip’s first frame” is not offered)
Example
{ "id": "echo", "media": "image", "node_schemas": { "additionalProperty": { "kind": "echo/echo", "params": [ { "type": "int", "script": true, "accepts": [ "video" ], "item": { "additionalProperty": "Image" }, "mention": "<image{n}>" } ], "inputs": [ { "type": "Text" } ], "outputs": [ { "type": "Text" } ] } }, "source": "template", "studio": { "composer": [ "sample.steps" ], "quick": [ "sample.steps" ], "inspector": [ { "title": "Quality", "items": [ "sample.steps" ], "choices": [ { "label": "Recipe", "options": [ { "name": "Two-stage", "set": { "upscale.bypass": false, "sample2.bypass": false } }, { "name": "One-stage", "set": { "upscale.bypass": true, "sample2.bypass": true } } ] } ] } ], "keyframes": { "first": "first.image", "last": "last.image" }, "presets": { "Draft": { "model.variant": "turbo", "model.precision": "int8" } }, "preset_order": [ "Fast", "Quality", "Low memory" ] }, "problems": [ { "code": "too_many_nodes", "blocks": "save" } ], "keyframes": { "first": "first.image", "last": "last.image" }}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"}The body does not fit the schema ({detail} only), or the graph has problems that block saving (problems: every problem, save- and run-blocking)
object
workflow has <n> problems: <first message> for graph problems
Every problem; absent for a schema error
One broken graph rule; node / port / param say where, for the editor to mark (absent = the whole workflow)
object
May grow in a minor version; an unknown code blocks running
Human text, e.g. sample.cond: expects Conditioning, got Text from prompt.text; not stable
Save: the document cannot be saved (and cannot run); run: it can be saved, not run
The node id (for a Studio path, the path’s node, which may not exist)
The in key: an input port or a wired value param
A param name (for a Studio path or preset, the path’s param; may be bypass)
Example
{ "problems": [ { "code": "too_many_nodes", "blocks": "save" } ]}Retryable
object
Example generated
{ "detail": "example"}