ComfyUI API tutorial: batch-generate images with Python without opening the UI
ComfyUI has a built-in API that lets a script generate images without touching the interface. Export your workflow in API format, replace the node values from Python, and send it t …