mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-23 07:27:24 +08:00
Merge 9266db984b into b633244635
This commit is contained in:
commit
799c700fba
122
openapi.yaml
122
openapi.yaml
@ -631,7 +631,7 @@ paths:
|
|||||||
operationId: getFeatures
|
operationId: getFeatures
|
||||||
tags: [system]
|
tags: [system]
|
||||||
summary: Get enabled feature flags
|
summary: Get enabled feature flags
|
||||||
description: Returns a dictionary of feature flag names to their enabled state.
|
description: Returns a dictionary of feature flag names to their enabled state. Cloud deployments may include additional typed fields alongside the boolean flags.
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Feature flags
|
description: Feature flags
|
||||||
@ -641,6 +641,45 @@ paths:
|
|||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
properties:
|
||||||
|
max_upload_size:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
minimum: 0
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Maximum file upload size in bytes. Local ComfyUI returns null."
|
||||||
|
free_tier_credits:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
minimum: 0
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Credits available to free-tier users. Local ComfyUI returns null."
|
||||||
|
posthog_api_host:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] PostHog analytics proxy URL for frontend telemetry. Local ComfyUI returns null."
|
||||||
|
max_concurrent_jobs:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
minimum: 0
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Maximum concurrent jobs the authenticated user can run. Local ComfyUI returns null."
|
||||||
|
workflow_templates_version:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Version identifier for the workflow templates bundle. Local ComfyUI returns null."
|
||||||
|
workflow_templates_source:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
enum: [dynamic_config_override, workflow_templates_version_json]
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] How the templates version was resolved. Local ComfyUI returns null."
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Node / Object Info
|
# Node / Object Info
|
||||||
@ -1497,6 +1536,24 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
enum: [asc, desc]
|
enum: [asc, desc]
|
||||||
description: Sort direction
|
description: Sort direction
|
||||||
|
- name: job_ids
|
||||||
|
in: query
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Comma-separated UUIDs to filter assets by associated job."
|
||||||
|
- name: include_public
|
||||||
|
in: query
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Include workspace-public assets in addition to the caller's own."
|
||||||
|
- name: asset_hash
|
||||||
|
in: query
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Filter by exact content hash."
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Asset list
|
description: Asset list
|
||||||
@ -1542,6 +1599,47 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
description: ID of an existing asset to use as the preview image
|
description: ID of an existing asset to use as the preview image
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Client-supplied asset ID for idempotent creation. If an asset with this ID already exists, the existing asset is returned."
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] URL-based asset upload. Caller supplies a URL instead of a file body; the server fetches the content."
|
||||||
|
properties:
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
|
description: "[cloud-only] URL of the file to import as an asset"
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
description: Display name for the asset
|
||||||
|
tags:
|
||||||
|
type: string
|
||||||
|
description: Comma-separated tags
|
||||||
|
user_metadata:
|
||||||
|
type: string
|
||||||
|
description: JSON-encoded user metadata
|
||||||
|
hash:
|
||||||
|
type: string
|
||||||
|
description: "Blake3 hash of the file content (e.g. blake3:abc123...)"
|
||||||
|
mime_type:
|
||||||
|
type: string
|
||||||
|
description: MIME type of the file (overrides auto-detected type)
|
||||||
|
preview_id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
description: ID of an existing asset to use as the preview image
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Client-supplied asset ID for idempotent creation. If an asset with this ID already exists, the existing asset is returned."
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Asset created
|
description: Asset created
|
||||||
@ -1580,6 +1678,11 @@ paths:
|
|||||||
user_metadata:
|
user_metadata:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
|
mime_type:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] MIME type of the content, so the type is preserved without re-inspecting content. Ignored by local ComfyUI."
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Asset created from hash
|
description: Asset created from hash
|
||||||
@ -1644,6 +1747,11 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
description: ID of the asset to use as the preview
|
description: ID of the asset to use as the preview
|
||||||
|
mime_type:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] MIME type override when auto-detection was wrong. Ignored by local ComfyUI."
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Asset updated
|
description: Asset updated
|
||||||
@ -1999,6 +2107,18 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: List of node IDs to execute (partial graph execution)
|
description: List of node IDs to execute (partial graph execution)
|
||||||
|
workflow_id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Cloud workflow entity ID for tracking and gallery association. Ignored by local ComfyUI."
|
||||||
|
workflow_version_id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Cloud workflow version ID for pinning execution to a specific version. Ignored by local ComfyUI."
|
||||||
|
|
||||||
PromptResponse:
|
PromptResponse:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user