comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
55.43k stars 5.86k forks source link

I want to turn the generated workflow into a backend and service. Is there an API documentation available? #4648

Open libai-lab opened 2 months ago

libai-lab commented 2 months ago

Your question

I want to turn the generated workflow into a backend and service. Is there an API documentation available?

Logs

I want to turn the generated workflow into a backend and service. Is there an API documentation available

Other

No response

ltdrdata commented 2 months ago

The current workflow structure cannot be executed directly. It must be run using the prompt exported for API use. (When the workflow is transmitted to the backend, it is not sent as-is. It undergoes various serialization processes on the frontend, resulting in a processed form.)

https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/basic_api_example.py