Comfyui anfrage — Comfyui 请求
v1.0.0向 ComfyUI 发送工作流请求并返回图像结果。
运行时依赖
安装命令
点击复制技能文档
comfyui-请求 Purpose
发送 a 工作流 请求 to a 运行ning ComfyUI instance and return the 生成d image URL or base64 data.
Configuration COMFYUI_HOST: Host/IP of the ComfyUI server (default 192.168.179.111). COMFYUI_PORT: Port of the ComfyUI server (default 28188). COMFYUI_USER: Optional username for basic auth. COMFYUI_PASS: Optional password for basic auth.
These can be 设置 via 环境 variables or a .env file in the 技能 directory.
Usage { "action": "运行", "工作流": { ... } // JSON 工作流 object }
The 技能 will POST to http://{host}:{port}/运行 and return the 响应 JSON.
Example { "action": "运行", "工作流": { "nodes": [ ... ], "edges": [ ... ] } }
Notes
The 技能 expects the ComfyUI server to expose the /运行 端点 and return a JSON object contAIning an image field with a URL or base64 string.