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.147.4
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 AI
v2.0.4
io.clawhub.klingai-dev/klingai
Official Kling AI Skill. Call Kling AI for video generation, image generation, subject management, voice management, and account quota inquiry. Use subcommand video / image / element / voice / account by user intent.
图像生成 Recraft V4 Pro
v1.3.41
io.clawhub.dlazyai/dlazy-recraft-v4-pro
4MP high-resolution raster image generation. Suitable for print-ready assets and large-scale use. 4MP 高分辨率栅格图像生成。适合可印刷级素材与大幅面应用场景。
文生图 通义 Qwen Image 2 Pro
v1.3.41
io.clawhub.dlazyai/dlazy-qwen-image-2-pro
Alibaba Bailian qwen-image-2.0-pro general image generation. Excels at complex text rendering, multi-line layout, photorealistic detail, and strong semantic adherence — great for mixed text/image designs. 阿里云百炼 qwen-image-2.0-pro 千问通用图像生成模型,擅长复杂文本渲染、多行布局、真实质感与语义遵循,支持中英文混排与精细图文设计。
视频生成 Video Generate
v1.4.42
io.clawhub.dlazyai/dlazy-video-generate
视频生成技能,AI 视频生成,文生视频、图生视频、图片转视频、首尾帧生成视频。根据提示词自动选择最佳视频生成模型(即梦、可灵、Veo、Seedance、万相、PixVerse、数字人、对口型)。Video generation skill that automatically selects the best dlazy CLI video model based on the prompt.
文生图 Vidu Q2
v1.3.41
io.clawhub.dlazyai/dlazy-viduq2-t2i
Generate high-quality images with Vidu Q2. Supports text-to-image and image-to-image. 使用 Vidu Q2 生成高质量图像,支持丰富的文生图与图生图指令。
Often paired with
MiniMax MCP 服务器
io.mcp-cn.minimax-mcp-js
MiniMax MCP 服务器,提供图像生成、视频生成、文本转语音等多种AI功能,支持多种创意内容生成需求
Kubernetes
io.mcp-cn.mcp-server-kubernetes
Kubernetes的MCP服务器,支持Kubernetes的读取和写入
n8n
io.mcp-cn.drballs/n8n-mcp-server
n8n工作流自动化平台的MCP服务器,提供完整的工作流管理、执行控制、凭证管理等功能
AntV图表
io.mcp-cn.antv/mcp-server-chart
基于AntV的图表生成MCP工具,支持多种图表类型的创建和渲染
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:3935",
"stars:1",
"installs:106",
"图像生成",
"图像",
"提示词"
],
"provenance": {
"origin": "clawhub",
"originalId": "qqliaoxin/comfyui-api",
"originalUrl": "https://clawhub.ai/qqliaoxin/comfyui-api",
"isOfficial": false,
"status": "active"
}
}