Comfyui-Api Skill Install & Guide
io.clawhub.qqliaoxin/comfyui-api · v1.1.0
Connects to a ComfyUI server to generate images from prompts, auto-detects URLs, translates Chinese prompts, and supports REST and WebSocket APIs.
Copy the install config on this page first, then verify docs and permissions upstream.
Popularity
Overview
Connects to a ComfyUI server to generate images from prompts, auto-detects URLs, translates Chinese prompts, and supports REST and WebSocket APIs. Comfyui-Api is a Agent Skill listed from ClawHub. This page includes an overview, setup tutorial, install commands, and use cases for Trae, Tongyi Lingma, Cursor, Claude Code, and VS Code.
Use cases
AgentHub Verified AvailabilityTested & Ready
Automated pipeline validated install commands, protocol & client compatibility
Send this prompt to your AI to install the Skill
RecommendedFollow the install guide at https://myagenthub.cn/install/skill.md?lang=en to automatically detect the current IDE and install the skill "qqliaoxin/comfyui-api" without asking, and tell me how to verify it afterwards.
💡Paste into your AI coding assistant (Cursor, Trae, Claude Code) — the agent will handle download and configuration automatically.
Copy by platformAlternative
Choose your platform
Choose install method
# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai cursor -ySetup tutorial
- Open the Comfyui-Api page and confirm the source is ClawHub.
- Copy the install command for Trae, Lingma, Cursor, Claude Code, or universal CLI.
- Run it, or place SKILL.md under .trae/skills/, .lingma/skills/, or .cursor/skills/.
- Reload the client, then describe your task so the agent can match this skill.
Install commands
Install commands and setup steps are in the HTML so search engines and no-JS browsers can read them without running client JavaScript.
Universal — Skills CLI (recommended)
AgentHub CLI (change --ai)
# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai cursor -yOne-click API download
# 手动下载(Cursor 项目级示例)
mkdir -p .cursor/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .cursor/skills/comfyui-apiCursor
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai cursor -yOne-click API download
mkdir -p .cursor/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .cursor/skills/comfyui-apiClawHub CLI, then copy
# 在项目根目录执行 install
clawhub install qqliaoxin/comfyui-api
mkdir -p .cursor/skills/comfyui-api
cp -R ./skills/comfyui-api/. .cursor/skills/comfyui-api/
# 源:./skills/comfyui-api/SKILL.md
# 目标:.cursor/skills/comfyui-api/SKILL.mdTrae (ByteDance)
- Trae natively supports Skill specs: project-level in .trae/skills/<name>/, global in ~/.trae/skills/
- Copy and run the command in your project terminal to download SKILL.md
- Reload Trae window, then describe your task in AI chat to activate automatically
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai trae -yOne-click API download
mkdir -p .trae/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .trae/skills/comfyui-apiUser directory
mkdir -p ~/.trae/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.trae/skills/comfyui-apiTongyi Lingma (Alibaba)
- Tongyi Lingma supports skills in project .lingma/skills/<name>/ or global ~/.lingma/skills/
- Run the command to install SKILL.md
- In Lingma Agent mode, prompt your task and the skill will be automatically loaded
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai lingma -yOne-click API download
mkdir -p .lingma/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .lingma/skills/comfyui-apiUser directory
mkdir -p ~/.lingma/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.lingma/skills/comfyui-apiWorkBuddy / CodeBuddy (Tencent)
- WorkBuddy reads skills only from .workbuddy/skills/<name>/ (user-level ~/.workbuddy/skills/); .codebuddy/skills/ belongs to CodeBuddy
- The Skills CLI command installs with -a codebuddy and appends a copy step into .workbuddy/skills
- AgentHub CLI (--ai workbuddy) syncs it for you; reload the chat panel so the skill gets indexed
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai workbuddy -yOne-click API download
mkdir -p .workbuddy/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .workbuddy/skills/comfyui-apiUser directory
mkdir -p ~/.workbuddy/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.workbuddy/skills/comfyui-apiClaude Code
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai claude-code --global -yOne-click API download
mkdir -p ~/.claude/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.claude/skills/comfyui-apiClawHub CLI, then copy
clawhub install qqliaoxin/comfyui-api
mkdir -p ~/.claude/skills/comfyui-api
cp -R ./skills/comfyui-api/. ~/.claude/skills/comfyui-api/
# 源:./skills/comfyui-api/SKILL.md
# 目标:~/.claude/skills/comfyui-api/SKILL.md
# https://clawhub.ai/qqliaoxin/comfyui-apiKimi Code (Moonshot AI)
- Kimi Code supports standard Agent Skills: project-level in .agents/skills/<name>/, global in ~/.agents/skills/
- Run the command to install
- In Kimi Code CLI, describe your task to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai kimi -yOne-click API download
mkdir -p .agents/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .agents/skills/comfyui-apiUser directory
mkdir -p ~/.agents/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.agents/skills/comfyui-apiQwen Code (Alibaba)
- Qwen Code supports project .qwen/skills/<name>/ and global ~/.qwen/skills/
- Run the command to deploy SKILL.md
- Prompt the agent to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai qwen -yOne-click API download
mkdir -p .qwen/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .qwen/skills/comfyui-apiUser directory
mkdir -p ~/.qwen/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.qwen/skills/comfyui-apiWindsurf
- Windsurf supports project-level .windsurf/skills/<name>/ or global ~/.codeium/windsurf/skills/
- Run the install command and refresh Cascade
- Cascade will auto-activate the skill based on its description
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai windsurf -yOne-click API download
mkdir -p .windsurf/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .windsurf/skills/comfyui-apiUser directory
mkdir -p ~/.codeium/windsurf/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.codeium/windsurf/skills/comfyui-apiCline
- Cline supports standard .agents/skills/<name>/ structure
- Run the command to install the skill
- Ask questions in the Cline panel to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai cline -yOne-click API download
mkdir -p .agents/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d .agents/skills/comfyui-apiCherry Studio
- Use this skill as an Assistant system prompt in Cherry Studio
- Copy the command to view SKILL.md text
- Paste the contents into Cherry Studio Assistant system prompt
# 下载并提取 SKILL.md 指令内容
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -p /tmp/comfyui-api.zip SKILL.md
# 复制上述输出,粘贴至 Cherry Studio → 助手设置 →「系统提示词」VS Code / GitHub Copilot
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai vscode -yOne-click API download
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
mkdir -p .github/skills/comfyui-api
unzip -o /tmp/comfyui-api.zip -d .github/skills/comfyui-apiOpenAI Codex
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qqliaoxin/comfyui-api --ai codex --global -yOne-click API download
mkdir -p ~/.codex/skills/comfyui-api
curl -sL "https://clawhub.ai/api/v1/download?slug=comfyui-api&version=1.1.0" -o /tmp/comfyui-api.zip
unzip -o /tmp/comfyui-api.zip -d ~/.codex/skills/comfyui-apiClawHub CLI, then copy
clawhub install qqliaoxin/comfyui-api
mkdir -p ~/.codex/skills/comfyui-api
cp -R ./skills/comfyui-api/. ~/.codex/skills/comfyui-api/
# 源:./skills/comfyui-api/SKILL.md
# 目标:~/.codex/skills/comfyui-api/SKILL.mdOpenClaw — ClawHub CLI
# OpenClaw / ClawHub CLI(推荐)
# 在项目根或 OpenClaw 工作区目录执行
clawhub install qqliaoxin/comfyui-api
# 安装后 SKILL.md 位于:
# ./skills/comfyui-api/SKILL.md
# (若已配置 OpenClaw 工作区,则在 <workspace>/skills/comfyui-api/)
# 仅查看不安装
clawhub inspect qqliaoxin/comfyui-apiTroubleshooting & Common ErrorsFAQ
Common connection errors and verified fixes for Comfyui-Api
Getting 'connection closed' or exit code 1 in Cursor / Claude Code for Comfyui-Api?
Usually caused by missing runtime paths or IDE environment inheritance. Fix steps: 1. Verify Node.js 18+ (npx) or Python 3.10+ (uvx) is installed; 2. Run 'which npx' or 'which uvx' in terminal, and replace 'command' with absolute path; 3. Reload or restart the client window after modifying config.
# Check binary path in terminal: which npx node -v
Getting 'spawn npx ENOENT' or 'command not found'?
The editor background process does not inherit your full terminal PATH. Solution: Globally install the package, or set the absolute binary path (e.g. C:\Program Files\nodejs\npx.cmd on Windows, or /usr/local/bin/npx on macOS).
Tool calls timing out or failing to download packages?
First-time package downloading might be slow or timeout due to network limits. Configure a reliable mirror or check outbound proxy settings.
Agent does not match or apply Comfyui-Api during conversations?
Verify SKILL.md is located at .cursor/skills/Comfyui-Api/SKILL.md (Cursor) or ~/.claude/skills/Comfyui-Api/SKILL.md (Claude Code). You can explicitly mention the skill name in your prompt to boost match confidence.
Tool Mock Playground
SandboxComfyui-Api Rule Injection & Agent Behavior Simulation · Preview tool schema & outputs without local runtime
{
"skill": "Comfyui-Api",
"rulePath": ".cursor/skills/comfyui-api/SKILL.md",
"userGoal": "请使用 Comfyui-Api 的方法与标准帮我完成当前任务",
"client": "Cursor / Claude Code"
}Click 'Run Mock' above
to preview the raw response returned to the LLM
Decision Guide: Why & When to Use
Assess suitability before installing to save trial-and-error time
- Design review
- Asset export
- Brand checks
- Unauthorized commercial asset downloads
Comfyui-Api + Scenario Prompt → Complete Agent Automation
Skill hands-on: install to visible results
Follow the full lab (expected UI/output + contrast checks). After installing this item, verify with the tutorial prompts.
An Agent Skill is a folder with SKILL.md instructions. After install, the AI loads it automatically when your task matches its description.
How to use
After installing, describe your task in chat (or mention the skill name). The agent reads the skill description to decide when to activate it, then follows the instructions in SKILL.md. Check loaded skills via /skills in Claude Code or in your client settings.
Related resources
Image Generation
v1.95.0
io.clawhub.xrowgmbh/xrowgmbh-image-generation
Create or revise document, PDF, web, or review images with the requested format, sharp raster output, and artifact validation.
图像生成 可灵 Kling Image O1
v1.3.22
io.clawhub.dlazyai/dlazy-kling-image-o1
Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image. 使用可灵 (Kling) o1 模型生成精美图像,支持文生图与参考图生图。
图像生成 Nano Banana Pro
v1.2.26
io.clawhub.dlazyai/dlazy-banana-pro
Generate/edit images with Nano Banana Pro. Supports text-to-image and image-to-image. 使用 Nano Banana Pro 生成/编辑图片,支持文生图与图生图。
图像生成 Nano Banana 2
v1.3.22
io.clawhub.dlazyai/dlazy-banana2
Generate/edit high-quality images with Nano Banana 2.0. Supports text-to-image and image-to-image. 使用 Nano Banana 2.0 生成/编辑高质量图片,支持文生图与图生图。
图像生成 Midjourney Imagine
v1.3.22
io.clawhub.dlazyai/dlazy-mj-imagine
Midjourney style generation, supports aspect ratio, Bot type, and output position (grid/U1-U4). Suitable for artistic and strongly stylized creative generation. Midjourney 风格出图入口,支持画幅、Bot 类型与输出位(grid/U1-U4)。适合艺术化、风格强烈的创意图生成。
图像生成 GPT Image 2
v1.3.23
io.clawhub.dlazyai/dlazy-gpt-image-2
GPT Image 2 model for text-to-image and image editing. Supports generating images from text as well as editing and synthesizing images with reference inputs. GPT Image 2 图像生成与编辑模型。支持文生图,以及通过提供参考图进行图像编辑和合成。
Often paired with
GlobalGov — Government Contracts, Tenders & Procurement
v1.0.8
io.globalgov/mcp
Find government contracts, tenders and RFPs you can still bid on, in 193 countries. Free, no key.
Fillo
v0.10.0
io.github.jacobfunch/usefillo
Fillo MCP server — provision, scaffold, publish, and query forms from your coding agent.
securityscorecard-mcp
v2.0.0
io.github.CallMarcus/securityscorecard-mcp
Community-built, comprehensive MCP server for the SecurityScorecard API (unofficial).
taxapp.nz
v1.0.0
nz.taxapp/taxapp
Your taxapp.nz income, expenses, rental properties and NZ tax figures, and adding new records.
Keep exploring AgentHub
Most people compare similar tools or check scenario guides before installing—start here.
Listing badge: put AgentHub on your site
Copy either snippet into your project homepage, docs, or GitHub README. The badge is a hotlinked SVG — nothing to host — and it links back to this page so visitors can find the install steps.
<a href="https://myagenthub.cn/p/io.clawhub.qqliaoxin/comfyui-api" title="Listed on AgentHub: Comfyui-Api" target="_blank" rel="noopener">
<img src="https://myagenthub.cn/badge/io.clawhub.qqliaoxin/comfyui-api?lang=en" alt="Listed on AgentHub: Comfyui-Api" height="20" style="border:0"/>
</a>[](https://myagenthub.cn/p/io.clawhub.qqliaoxin/comfyui-api)Badges are generated on the fly from /badge/<package-id>, so name and listing changes propagate automatically. Keep the link target unchanged — it is what counts as the referral.
Unified Manifest
{
"id": "io.clawhub.qqliaoxin/comfyui-api",
"type": "skill",
"version": "1.1.0",
"displayName": "Comfyui-Api",
"description": "Connects to a ComfyUI server to generate images from prompts, auto-detects URLs, translates Chinese prompts, and supports REST and WebSocket APIs.",
"author": {
"name": "qqliaoxin",
"url": "https://clawhub.ai/qqliaoxin"
},
"homepage": "https://clawhub.ai/qqliaoxin/comfyui-api",
"distribution": {
"packages": [
{
"registryType": "source",
"identifier": "qqliaoxin/comfyui-api",
"version": "1.1.0",
"runtimeHint": "clawhub install"
}
],
"remotes": []
},
"dependencies": [],
"installTargets": [
"openclaw",
"claude-code",
"claude-desktop",
"cursor",
"codex",
"vscode"
],
"keywords": [
"downloads:3732",
"stars:1",
"installs:106",
"图像生成",
"图像",
"提示词"
],
"provenance": {
"origin": "clawhub",
"originalId": "qqliaoxin/comfyui-api",
"originalUrl": "https://clawhub.ai/qqliaoxin/comfyui-api",
"isOfficial": false,
"status": "active"
}
}