Comfyui

From vorojar/AgentClaw · View interactive version

Comfyui is an AI agent skill from the GitHub repository vorojar/AgentClaw. AI图片生成(文生图、图生图、去背景、放大),需本地 ComfyUI。不用于:截图、网页抓图、非AI图片处理

How to use this skill

Skill file

前置条件:ComfyUI 必须在 http://127.0.0.1:8000 运行中。如果报连接错误,提示用户先启动 ComfyUI。

All output files go to the working directory (工作目录). Always use auto_send: true on the shell call.

Text-to-Image

{"command": "python skills/comfyui/scripts/comfyui.py --output-dir '{WORKDIR}' generate --prompt \"description\" --width 1024 --height 1024", "timeout": 120000, "auto_send": true}

Optional args: --steps 9 (default 9), --seed 12345

Remove Background

{"command": "python skills/comfyui/scripts/comfyui.py --output-dir '{WORKDIR}' remove_bg --image path/to/image.png", "timeout": 120000, "auto_send": true}

Upscale (4x)

{"command": "python skills/comfyui/scripts/comfyui.py --output-dir '{WORKDIR}' upscale --image path/to/image.png", "timeout": 120000, "auto_send": true}

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.