Closed PeterTF656 closed 2 months ago
this would be extremely useful for cloud serverless applications!
You can run a workflow like this:
comfy launch --background
comfy run --workflow /path/to/api_workflow.json
You MUST start the comfy server to run anything. However you don't need to open the UI to run a workflow.
@robinjhuang How can I check the progress of the task?
Not supported yet!
@robinjhuang You can add this feature because many tasks are very time-consuming, and we need to know the progress.
We're a bit swamped at the moment, but can you write a PR? Probably the easiest thing is to stream the STDOUT of the comfy server to the cli STDOUT during the workflow run.
I'm not good enough
Hey guys, I'm looking for a command that can run a workflow programmatically just using comfy, without starting the comfyui server. It was mentioned here in this issue