跳转到主要内容
POST
Store a local ComfyUI installation for the Create a Build wizard

授权

Authorization
string
header
必填

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

请求体

application/json
snapshot
object
必填

A ComfyUI Desktop snapshot export (the same format DesktopSnapshot reads), constrained for storage: type must be "comfyui-desktop-2-snapshot" and snapshots must be non-empty. Stored and returned as sent; feed it to POST /v1/snapshots/resolve to learn what it maps to.

models
object[]
必填

Every model file installed locally, possibly empty. Not the models the workflow needs; the wizard works those out from the workflow.

Maximum array length: 50000
source
enum<string>
必填

Which client produced the bundle. Always "comfyui".

可用选项:
comfyui
workflow
object | null

The workflow open in ComfyUI, stored as sent. Absent or null when none was sent.

name
string | null

Optional label for the bundle, at most 200 characters.

Maximum string length: 200

响应

Stored. Hand id and workspaceId to the wizard; the bundle can be opened until expiresAt.

id
string<uuid>
必填

The bundle id to open it by.

workspaceId
string
必填

The workspace the bundle belongs to (the caller's). The wizard must be in this workspace to open it.

expiresAt
string<date-time>
必填

When the bundle stops being readable (24 hours after creation).