comfyui-runner
Purpose
Start, stop, and check the status of a local ComfyUI instance.
Configuration
- -
COMFYUI_HOST: Host/IP of the ComfyUI server (default 192.168.179.111). - INLINECODE2 : Port of the ComfyUI server (default
28188). - INLINECODE4 : Optional username for basic auth.
- INLINECODE5 : Optional password for basic auth.
These can be set via environment variables or a .env file in the skill directory.
Usage
CODEBLOCK0
- -
run: Starts the ComfyUI server if not already running. - INLINECODE8 : Stops the ComfyUI server.
- INLINECODE9 : Returns whether the server is reachable.
Example
CODEBLOCK1
Notes
This skill assumes the ComfyUI binary is available in the system PATH or in the same directory as the skill. It uses
curl to ping the
/health endpoint.
comfyui-runner
目的
启动、停止和检查本地 ComfyUI 实例的状态。
配置
- - COMFYUIHOST:ComfyUI 服务器的主机/IP(默认值 192.168.179.111)。
- COMFYUIPORT:ComfyUI 服务器的端口(默认值 28188)。
- COMFYUIUSER:可选的基本认证用户名。
- COMFYUIPASS:可选的基本认证密码。
这些可以通过环境变量或技能目录中的 .env 文件进行设置。
使用方法
json
{
action: run | stop | status
}
- - run:如果 ComfyUI 服务器尚未运行,则启动它。
- stop:停止 ComfyUI 服务器。
- status:返回服务器是否可访问。
示例
json
{action: status}
备注
此技能假设 ComfyUI 可执行文件位于系统 PATH 中或与技能相同的目录中。它使用 curl 来 ping /health 端点。