メインコンテンツへスキップ
POST
Create a build from a ComfyUI workflow

承認

Authorization
string
header
必須

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

ボディ

application/json
name
string
必須
workflow
object
必須

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

レスポンス

Created

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

build
object
必須
report
object
必須

Everything a workflow could not carry into its definition.