The location of the endpoint.
Optionaldebug?: booleanOptionalsecure?: booleanGenerate a new job (automatic handling of submission, callbacks and final cleanup)
A handle for the newly scheduled job.
Cancel this job, regardless of its current progression.
Optionalfn: (() => void | Promise<void>)Optionalfn: (() => void | Promise<void>)Optionalfn: ((errors: unknown) => void | Promise<void>)Optionalfn: (() => void | Promise<void>)Optionalfn: ((node: number, done: boolean) => void | Promise<void>)Schedule a new request for execution.
The JSON of the complete workflow for submission.
Optionalextra_Optionallast_Optionallast_Endpoint response with information like the ID.
Generate a new job (automatic handling of submission, callbacks and final cleanup)
The full JSON workflow to submit as part of the request.
List of files to be uploaded as resources (and their naming mapping)
All the custom callbacks defined for the lifetime of this job
OptionalonOptionalonOptionalonOptionalonOptionalonA handle for the newly scheduled job.
A blob containing the image binary to be uploaded
Optionaloverwrite?: booleanIf true, it overwrites the resource (it defaults to false)
Optionalsubfolder?: stringIf set, it determines a subfolder where to place the image
Optionaltype?: ComfyResTypeIt determine the resource types, like temporary, input or output
A blob containing the mask binary to be uploaded
Optionalsubfolder?: stringOptionaltype?: ComfyResTypeOptionaloverwrite?: booleanIf true, it overwrites the resource (it defaults to false)
Optionalsubfolder?: stringIf set, it determines a subfolder where to place the image
Optionaltype?: ComfyResTypeIt determine the resource types, like temporary, input or output
Retrieve a file from the ComfyUI backend or it provides a preview for images.
The target file name
Optionalchannel?: "rgba" | "rgb" | "a"For images, limit the result to some channels
Optionalformat?: "jpg" | "png" | "webp"For images, set the preview format. If left empty the full file will be requested.
Optionalquality?: numberOptionalsubfolder?: stringSubfolder where it is located.
Optionaltype?: ComfyResTypeIt determine the resource types, like temporary, input or output
The blob with the image content.
A comfyui client, exposing all its REST endpoints.