2 ms·
Can you actually use those workflows in some sort of API from a script to automate it from lets say a python script. Played arround with comfy. Really nice, but
by holoduke 3y ago
Can you actually use those workflows in some sort of API from a script to automate it from lets say a python script. Played arround with comfy. Really nice, but i would like to automate it within my own environment.
- sophrocyne 3y agoYeah, Invoke's nodes/workflows backend can be hit via the API. That's how the entire front-end UI (and workflow editor/IDE) are built. I'm positive this can be done w/ Comfy too.
- dragonwriter 3y ago> Can you actually use those workflows in some sort of API from a script to automate it from lets say a python script. Yes, you can, and the workflow JSON format has a reduced "API form" that discards visual/UI related information. Also, if you are using Python, you could do your automation in Comfy (as custom nodes) instead of outside, too.