Transform your deployed ComfyUI workflows into powerful application features with production-ready JavaScript and TypeScript integration.
allowDangerouslyExposeApiKey: true
to acknowledge the security implications..env
file:
Response Example
Response Example
Response Example
Response Example
executeWorkflowAsync
automatically detects single vs multiple outputs and returns the appropriate format for backward compatibility:Response Example
Response Example
Response Example
Response Example
Response Example