Zum Hauptinhalt springen
POST
Store a local ComfyUI installation for the Create a Build wizard

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json
snapshot
object
erforderlich

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[]
erforderlich

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>
erforderlich

Which client produced the bundle. Always "comfyui".

Verfügbare Optionen:
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

Antwort

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

id
string<uuid>
erforderlich

The bundle id to open it by.

workspaceId
string
erforderlich

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

expiresAt
string<date-time>
erforderlich

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