Saltar al contenido principal
POST
Store a local ComfyUI installation for the Create a Build wizard

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
snapshot
object
requerido

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

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

Which client produced the bundle. Always "comfyui".

Opciones disponibles:
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

Respuesta

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

id
string<uuid>
requerido

The bundle id to open it by.

workspaceId
string
requerido

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

expiresAt
string<date-time>
requerido

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