ComfyUI Widget能直接运行指定环境下的ComfyUI workflow。

前提只有两个:

  1. ComfyUI workflow中包含ShellAgent运行需要的输入输出节点。
  2. ComfyUI运行环境已启动并能运行该workflow。

启动ComfyUI

使用 ComfyUI Widget需要在 ShellAgent 外启动ComfyUI。

image.png

并将ComfyUI的服务地址复制到 ShellAgent 的 settings 中。

image.png

<aside> ❕

我们当前支持远程的ComfyUI服务地址。

只要 ShellAgent 的运行环境能访问到该地址,你可以使用任意URL。

</aside>

指定Workflow输入输出

为 ComfyUI 安装 ShellAgent Plugin

  1. 下载或者 git clone https://github.com/myshell-ai/ComfyUI-ShellAgent-Plugin 仓库的内容到 ComfyUI/custom_nodes/ 目录下。
  2. 用ComfyUI-Manager 搜索 ShellAgent。

为workflow指定输入输出

在ComfyUI中,整个workflow缺少明确的输入输出,只要workflow的使用者愿意,任何节点的任何选项都可以输入,任何有运行结果展示的节点也都可以被当成输出。