メインコンテンツへスキップ
POST
Submit a workflow for execution

承認

X-API-Key
string
header
必須

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

ボディ

application/json
prompt
object
必須

The workflow graph to execute

number
number

Priority number for the queue (lower numbers have higher priority). Note: Accepted for ComfyUI API compatibility but ignored in cloud. Cloud uses its own queue management with per-user ordering and fair scheduling.

front
boolean

If true, adds the prompt to the front of the queue. Note: Accepted for ComfyUI API compatibility but ignored in cloud. Cloud manages queue ordering internally based on job submission time and fair scheduling.

extra_data
object

Extra data to be associated with the prompt

partial_execution_targets
string[]

List of node names to execute

レスポンス

Success - Prompt accepted

prompt_id
string<uuid>

Unique identifier for the prompt execution

number
number

Priority number in the queue

node_errors
object

Any errors in the nodes of the prompt