v1

latestSwagger 2.0Apache 2.02026-07-17447.5 KB
ComfyUI

Queue a generation prompt

Sends a workflow prompt to the ComfyUI backend for processing. The prompt field is a map where keys are node IDs (strings) and values are objects defining the node's class_type and inputs. Example: {"3": {"class_type": "KSampler", "inputs": {"seed": 123}}}

post/queue_prompt

Request body

promptobject required

Response

Successfully queued prompt

node_errorsobject

Use omitempty if it can be absent

numberinteger
prompt_idstring