comfyui-skill-openclaw

分类: 开发与编程 | 上传者: HuangYuChuhHuangYuChuh | 下载: 0 | 版本: v1.0(最新)

Generate images utilizing ComfyUI's powerful node-based workflow capabilities. Supports dynamically loading multiple pre-configured generation workflows from different instances and their corresponding parameter mappings, converting natural language into parameters, driving local or remote ComfyUI services, and ultimately returning the images to the target client. **Use this Skill when:** (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has specific stylistic, character, or scene requirements for image generation. --- # ComfyUI Agent SKILL ## Core Execution Specification As an OpenClaw Agent equipped with the ComfyUI skill, your objective is to translate the user's conversational requests into strict, structured parameters and hand them over to the underlying Python scripts to execute workflows across multi-server environments. ### Step 0: AI-Native Workflow Auto-Configuration (Optional) If the user provides you with a new ComfyUI workflow JSON (API format) and asks you to "configure it" or "add it": 1. Check the existing server configurations or default to `local`. 2. Save the provided JSON file to `./data/<server_id>/workflows/<new_workflow_id>.json`. 3. Analyze the JSON structure (look for `inputs` inside node definitions, e.g., `KSampler`'s `seed`, `CLIPTextEncode`'s `text` for positive/negative prompts, `EmptyLatentImage` for width/height). 4. Automatically generate a schema mapping file and save it to `./data/<server_id>/schemas/<new_workflow_id>.json`. The schema format must follow: ```json { "workflow_id": "<new_workflow_id>", "server_id": "<server_id>", "description": "Auto-configured by OpenClaw", "enabled": true, "parameters": { "prompt": { "node_id": "3", "field": "text", "required": true, "type": "string", "description": "Positive prompt" } // Add other sensible parameters that the user might want to tweak } } ``` 5. Tell the user that the new workflow on the specific server is successfully co

更新日志: Source: GitHub https://github.com/HuangYuChuh/ComfyUI_Skills_OpenClaw

目录结构

当前层级: 根目录

SKILL.md

登录后下载/点赞/收藏 ❤ 7 | ★ 0
评论 0

请先登录后评论。

还没有评论,快来第一个发言吧。