v1

latestOpenAPI 3.0.22026-07-2610288167.4 KB
workflow

Submit a workflow for execution

Submit a workflow to be executed by the backend. The workflow is a JSON object describing the nodes and their connections.

post/api/prompt

Request body

promptobject required

The workflow graph to execute

numbernumber

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.

frontboolean

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_dataobject

Extra data to be associated with the prompt

partial_execution_targetsstring[]

List of node names to execute

Response

Success - Prompt accepted

prompt_idstring uuid

Unique identifier for the prompt execution

numbernumber

Priority number in the queue

node_errorsobject

Any errors in the nodes of the prompt