comfy_batch
Run ComfyUI jobs on a shared GPU by unloading the local LLM, blocking until all jobs finish, and returning per-job status and output file paths.
Instructions
Run ComfyUI jobs on the GPU while the local LLM is unloaded; blocks until all are done and returns per-job status and output file paths. jobs: {"kind": "workflow", "path": "", "name": ""} or {"kind": "command", "command": ["python", "gen.py", ...], "cwd": "", "timeout_s": }. options (all optional): stop_on_error, job_timeout_s, batch_timeout_s, keep_executor (leave an already running ComfyUI up), force (go on although another LLM server answers), comfy_variant (another start .bat in the ComfyUI folder).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| options | No |