Перейти к основному содержанию
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).