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

Save a workflow of the caller's own, from a whole document or as a copy of another

POST
/v1/studio/workflows
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.

Media typeapplication/json
One of:
object
based_on

The template or workflow id it was made from; must exist and be readable by the caller (404)

string
>= 1 characters <= 64 characters
title
required

Trimmed; blank = 422

string
>= 1 characters <= 80 characters
family
required

The model family every <family>/… kind of it belongs to

string
/^[a-z0-9][a-z0-9_-]{0,63}$/
env
required

The one runner env that runs every node

string
/^[a-z0-9]{1,32}$/
nodes
required
object
>= 1 properties
key
additional properties
object
kind
required
string
/^[a-z][a-z0-9_-]{0,63}(/[a-z][a-z0-9_-]{0,63})?$/
params

Param → value; left out = the schema default. A workflow holds no take: image params null, rows without Image items

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
in

Input port, or wired value param → <node id>.<output>; one wire per key (connecting again replaces it)

object
key
additional properties
string
/^[a-z][a-z0-9_]{0,63}\.[a-z][a-z0-9_]{0,63}$/
bypass
boolean
optional

See GraphNode.optional

boolean
position

The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)

object
x
required
number
>= -1000000 <= 1000000
y
required
number
>= -1000000 <= 1000000
only

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
key
additional properties
Array<string>
>= 1 items unique items
studio

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
composer

In the composer box, in order (the prompt, the references)

Array<string>
<= 8 items
quick

Chips on the composer, in order: params, and library tiles (elements, look:<group>) that open the visual picker

Array
<= 12 items
inspector

The inspector’s sections, in order

Array<object>
<= 12 items
object
title
required
string
>= 1 characters <= 40 characters
items
required
Array<string>
<= 32 items
help

The section’s (i) text in Create; absent = no (i)

string
>= 1 characters <= 300 characters
choices

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

Array<object>
<= 4 items
object
label
required
string
>= 1 characters <= 40 characters
help

The tile’s hover text

string
>= 1 characters <= 300 characters
options
required
Array<object>
>= 2 items <= 8 items
object
name
required
string
>= 1 characters <= 40 characters
help

The option’s line under its name in the tile’s menu (LTX’s Recipe: Detail)

string
>= 1 characters <= 300 characters
set
required
object
>= 1 properties <= 32 properties
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
keyframes

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
first
required

<node id>.<param>, or <node id>.bypass for a bypassable node (a switch)

string
/^[a-z][a-z0-9_]{0,63}\.[a-z][a-z0-9_]{0,63}$/
last
string | null
/^[a-z][a-z0-9_]{0,63}\.[a-z][a-z0-9_]{0,63}$/
labels

A field’s title in the Studio when it should differ from the param’s label

object
<= 64 properties
key
additional properties
string
>= 1 characters <= 60 characters
presets

Named sets of values over this workflow’s paths (Draft, Final); choosing one sets them in the form

object
<= 8 properties
key
additional properties
object
>= 1 properties <= 32 properties
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
preset_help

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)

Array<object>
<= 4 items
object
text
required
string
>= 1 characters <= 300 characters
when
string
>= 1 characters <= 200 characters
preset_order

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

Array<string>
<= 8 items unique items

The workflow, with problems

Media typeapplication/json

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
id
required
string
/^[a-z0-9][a-z0-9_-]{0,63}$/
title
required
string
action

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

string
family
required
string
env
required

The runner env that executes it

string
media

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

string
Allowed values: image video audio text
nodes
required

Node id → node

object
key
additional properties
object
kind
required
string
params

Overrides of the node schema defaults

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
in

Input port (or a wired value param) → <node id>.<output>

object
key
additional properties
string
/^[a-z][a-z0-9_]*\.[a-z][a-z0-9_]*$/
bypass

Switched off: passes its inputs through; absent = false

boolean
optional

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)

boolean
position

The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)

object
x
required
number
>= -1000000 <= 1000000
y
required
number
>= -1000000 <= 1000000
only

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
key
additional properties
Array<string>
>= 1 items unique items
node_schemas
required

Kind → schema, for every kind in nodes the registry has (a kind no runner publishes is left out)

object
key
additional properties
object
kind
required
string
title
required
string
family
required

Null for a core node (prompt

string | null
component

The model component the node loads, in words (transformer, text encoder, vae); the Graph inspector reads “ · runs on · uses the ”. Absent = it loads none

string
>= 1 characters <= 40 characters
help
string
addons

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

Array<string>
phases

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

Array<object>
object
id
required
string
label
required
string
peak_gb

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

string
>= 1 characters <= 400 characters
sounds

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
max_s
required
number
> 0
max_inputs
required
integer
>= 1
params
required

In form order

Array<object>

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
name
required
string
type
required
string
Allowed values: int float bool string text enum seed image rows frames media span voice
script

Text only: a dialogue script expanded into the node’s lines

boolean
accepts

Media only: the take kinds it takes (video, audio); video: a video take; audio: an audio take, or a video take’s sound.

Array<string>
>= 1 items <= 3 items unique items
Allowed values: video audio preset clip design
trim

Media only: true = the value may carry in / out (the part read); absent = the whole take

boolean
grid

Media only: a video take’s width and height must be multiples of it

integer
max_s

Media only: the longest it reads in seconds (the take, or out - in with trim)

number
max_frames

Media only: the most frames of a video take it reads (its frames at any fps; LTX 321)

integer
>= 1
min_s

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; …)

number
max_total_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)

number
not_with

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)

Array<string>
addons

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
key
additional properties
Array<string>
addons_with

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
key
additional properties
object
key
additional properties
Array<string>
optional

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

boolean
rules

: 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

Array<object>
<= 8 items
object
when
required
string
>= 1 characters <= 300 characters
error
required
string
>= 1 characters <= 200 characters
option_help

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
<= 32 properties
key
additional properties
string
>= 1 characters <= 80 characters
fps

Frames only: the name of the same node’s int or float param holding frames per second

string
auto

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
min_s
required
number
max_s
required
number
values

Int only: the only allowed values, ascending (<node>.<param>: must be one of 3, 8)

Array<integer>
values_by

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
param
required
string
/^([a-z][a-z0-9_]{0,63}\.)?[a-z][a-z0-9_]{0,63}$/
values
required
object
key
additional properties
Array<integer | string>
note

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)

string
label

Absent = the name

string
default
required
Any of:

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

string | number | boolean | null
min
number
max
number
step
number
> 0
enum
Array<string>
help
string
when

Visibility expression; absent = always shown

string
item

Required in every item) or a param schema without name

object
key
additional properties
Any of:
string
Allowed value: Image
mention

Rows only: the prompt’s name for item n, with {n} from 1

string
inputs
required
Array<object>
object
name
required
string
type
required

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).

string
Allowed values: Text Image Int Float Seed Canvas Model Conditioning Latent Video Duration Media Audio
optional

Inputs only: true = may be left unwired (the feature is off); absent = required

boolean
outputs
required
Array<object>
object
name
required
string
type
required

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).

string
Allowed values: Text Image Int Float Seed Canvas Model Conditioning Latent Video Duration Media Audio
optional

Inputs only: true = may be left unwired (the feature is off); absent = required

boolean
source
required

Template: published by a runner in the registry (read-only, id a slug); mine: the caller’s own (id a UUID)

string
Allowed values: template mine
studio

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
composer

In the composer box, in order (the prompt, the references)

Array<string>
<= 8 items
quick

Chips on the composer, in order: params, and library tiles (elements, look:<group>) that open the visual picker

Array
<= 12 items
inspector

The inspector’s sections, in order

Array<object>
<= 12 items
object
title
required
string
>= 1 characters <= 40 characters
items
required
Array<string>
<= 32 items
help

The section’s (i) text in Create; absent = no (i)

string
>= 1 characters <= 300 characters
choices

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

Array<object>
<= 4 items
object
label
required
string
>= 1 characters <= 40 characters
help

The tile’s hover text

string
>= 1 characters <= 300 characters
options
required
Array<object>
>= 2 items <= 8 items
object
name
required
string
>= 1 characters <= 40 characters
help

The option’s line under its name in the tile’s menu (LTX’s Recipe: Detail)

string
>= 1 characters <= 300 characters
set
required
object
>= 1 properties <= 32 properties
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
keyframes

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
first
required

<node id>.<param>, or <node id>.bypass for a bypassable node (a switch)

string
/^[a-z][a-z0-9_]{0,63}\.[a-z][a-z0-9_]{0,63}$/
last
string | null
/^[a-z][a-z0-9_]{0,63}\.[a-z][a-z0-9_]{0,63}$/
labels

A field’s title in the Studio when it should differ from the param’s label

object
<= 64 properties
key
additional properties
string
>= 1 characters <= 60 characters
presets

Named sets of values over this workflow’s paths (Draft, Final); choosing one sets them in the form

object
<= 8 properties
key
additional properties
object
>= 1 properties <= 32 properties
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
preset_help

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)

Array<object>
<= 4 items
object
text
required
string
>= 1 characters <= 300 characters
when
string
>= 1 characters <= 200 characters
preset_order

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

Array<string>
<= 8 items unique items
based_on

Mine only: the template or workflow it was copied or saved from (it may be gone since); null when made from nothing

string | null
version

Mine only: 1 on create, +1 on every PUT and PATCH; send it back in WorkflowUpdate

integer
>= 1
created_at

Mine only

string format: date-time
updated_at

Mine only

string format: date-time
problems

Only from GET /v1/studio/workflows/{workflow_id}, POST and PUT: the graph rules against the live palette now; empty = it can run

Array<object>

One broken graph rule; node / port / param say where, for the editor to mark (absent = the whole workflow)

object
code
required

May grow in a minor version; an unknown code blocks running

string
Allowed values: too_many_nodes too_large too_many_outputs too_many_seeds wrong_family unknown_kind env_mismatch unknown_param param_invalid unknown_input unknown_source type_mismatch not_bypassable required_input cycle no_output studio_unknown_path studio_duplicate preset_invalid lora_duplicate lora_unknown lora_family not_optional
message
required

Human text, e.g. sample.cond: expects Conditioning, got Text from prompt.text; not stable

string
>= 1 characters
blocks
required

Save: the document cannot be saved (and cannot run); run: it can be saved, not run

string
Allowed values: save run
node

The node id (for a Studio path, the path’s node, which may not exist)

string
port

The in key: an input port or a wired value param

string
param

A param name (for a Studio path or preset, the path’s param; may be bypass)

string
keyframes
One of:
One of:
object
param
required
string
image
required

The rows’ Image field

string
seconds
required

The rows’ position: seconds field

string
last
required

It takes 2 rows or more: “End on the next clip’s first frame” is offered

boolean

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

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

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)

Media typeapplication/json
object
detail
required

workflow has <n> problems: <first message> for graph problems

string
problems

Every problem; absent for a schema error

Array<object>

One broken graph rule; node / port / param say where, for the editor to mark (absent = the whole workflow)

object
code
required

May grow in a minor version; an unknown code blocks running

string
Allowed values: too_many_nodes too_large too_many_outputs too_many_seeds wrong_family unknown_kind env_mismatch unknown_param param_invalid unknown_input unknown_source type_mismatch not_bypassable required_input cycle no_output studio_unknown_path studio_duplicate preset_invalid lora_duplicate lora_unknown lora_family not_optional
message
required

Human text, e.g. sample.cond: expects Conditioning, got Text from prompt.text; not stable

string
>= 1 characters
blocks
required

Save: the document cannot be saved (and cannot run); run: it can be saved, not run

string
Allowed values: save run
node

The node id (for a Studio path, the path’s node, which may not exist)

string
port

The in key: an input port or a wired value param

string
param

A param name (for a Studio path or preset, the path’s param; may be bypass)

string

Example

{
"problems": [
{
"code": "too_many_nodes",
"blocks": "save"
}
]
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}