Skip to main content
POST
Create a build from a ComfyUI workflow

Authorizations

Authorization
string
header
required

A workspace-scoped Cloud JWT. A missing or invalid token is 401 UNAUTHORIZED in the Error body.

Body

application/json
name
string
required
workflow
object
required

A ComfyUI workflow, in either export dialect. The API format is a flat object of node id to node, each carrying class_type and its values under inputs. The UI format carries a nodes array with positional widgets_values alongside a links array, which is what identifies it, and may hold reusable groups under definitions.subgraphs that are expanded when read.

Read rather than validated field by field: the node classes and model filenames are taken out, and everything else is ignored. A payload that matches neither dialect is a 400.

description
string

Response

Created

The created build, alongside what its workflow could not carry.

build
object
required
report
object
required

Everything a workflow could not carry into its definition.