Transform your deployed ComfyUI workflows into powerful Python applications with production-ready integration and comprehensive features.
execute_workflow
and execute_workflow_async
now return workflow_id
alongside run_id
execute_workflow_async
with better run status detection and failure handlingget_runs()
with sorting, filtering, and pagination capabilities.env
file:
Log Levels
Response Example
Response Example
Response Example
Response Example
FlowScaleTimeoutError
exception will be raised.Response Example
group_id
(string, optional): Filter runs by group identifiersort_by
(string, optional): Field to sort by - "created_at"
, "started_at"
, or "completed_at"
(default: "created_at"
)sort_order
(string, optional): Sort order - "asc"
or "desc"
(default: "desc"
)page
(int, optional): Page number starting from 1 (default: 1
)page_size
(int, optional): Number of items per page, 1-100 (default: 10
)Enhanced Response with Metadata
Response Example
Response Example