Execute ComfyUI workflows such as image upscaling and video generation.
WorkflowTask
. The SDK provides a base class that handles common functionality, which specific workflow implementations extend with their unique requirements.
.env
file:WorkflowTask
represents a task of a specific ComfyUI workflow (identified by a JSON workflow file describing the node structures in ComfyUI). A derived class of WorkflowTask
is defined for each individual workflow, including necessary input parameters.
queryTaskResult
at a fixed interval, and throws if the task times out.