AI Image Gen Skill Install & Guide
io.clawhub.qiujiahong/ai-image-gen · v1.1.0
AI图像生成与编辑。支持文生图、图+文生图、风格转换。当用户要求画图、生成图片、编辑图片、图片风格转换时使用此 skill。支持多种比例(1:1、3:2、16:9、21:9 等)和分辨率(标准、2K、4K)。
Copy the install config on this page first, then verify docs and permissions upstream.
Popularity
Overview
AI图像生成与编辑。支持文生图、图+文生图、风格转换。当用户要求画图、生成图片、编辑图片、图片风格转换时使用此 skill。支持多种比例(1:1、3:2、16:9、21:9 等)和分辨率(标准、2K、4K)。 AI Image Gen 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 "qiujiahong/ai-image-gen" 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 qiujiahong/ai-image-gen --ai cursor -ySetup tutorial
- Open the AI Image Gen 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 qiujiahong/ai-image-gen --ai cursor -yOne-click API download
# 手动下载(Cursor 项目级示例)
mkdir -p .cursor/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .cursor/skills/ai-image-genCursor
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qiujiahong/ai-image-gen --ai cursor -yOne-click API download
mkdir -p .cursor/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .cursor/skills/ai-image-genClawHub CLI, then copy
# 在项目根目录执行 install
clawhub install qiujiahong/ai-image-gen
mkdir -p .cursor/skills/ai-image-gen
cp -R ./skills/ai-image-gen/. .cursor/skills/ai-image-gen/
# 源:./skills/ai-image-gen/SKILL.md
# 目标:.cursor/skills/ai-image-gen/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 qiujiahong/ai-image-gen --ai trae -yOne-click API download
mkdir -p .trae/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .trae/skills/ai-image-genUser directory
mkdir -p ~/.trae/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.trae/skills/ai-image-genTongyi 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 qiujiahong/ai-image-gen --ai lingma -yOne-click API download
mkdir -p .lingma/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .lingma/skills/ai-image-genUser directory
mkdir -p ~/.lingma/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.lingma/skills/ai-image-genWorkBuddy / 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 qiujiahong/ai-image-gen --ai workbuddy -yOne-click API download
mkdir -p .workbuddy/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .workbuddy/skills/ai-image-genUser directory
mkdir -p ~/.workbuddy/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.workbuddy/skills/ai-image-genClaude Code
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qiujiahong/ai-image-gen --ai claude-code --global -yOne-click API download
mkdir -p ~/.claude/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.claude/skills/ai-image-genClawHub CLI, then copy
clawhub install qiujiahong/ai-image-gen
mkdir -p ~/.claude/skills/ai-image-gen
cp -R ./skills/ai-image-gen/. ~/.claude/skills/ai-image-gen/
# 源:./skills/ai-image-gen/SKILL.md
# 目标:~/.claude/skills/ai-image-gen/SKILL.md
# https://clawhub.ai/qiujiahong/ai-image-genKimi 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 qiujiahong/ai-image-gen --ai kimi -yOne-click API download
mkdir -p .agents/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .agents/skills/ai-image-genUser directory
mkdir -p ~/.agents/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.agents/skills/ai-image-genQwen 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 qiujiahong/ai-image-gen --ai qwen -yOne-click API download
mkdir -p .qwen/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .qwen/skills/ai-image-genUser directory
mkdir -p ~/.qwen/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.qwen/skills/ai-image-genWindsurf
- 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 qiujiahong/ai-image-gen --ai windsurf -yOne-click API download
mkdir -p .windsurf/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .windsurf/skills/ai-image-genUser directory
mkdir -p ~/.codeium/windsurf/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.codeium/windsurf/skills/ai-image-genCline
- 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 qiujiahong/ai-image-gen --ai cline -yOne-click API download
mkdir -p .agents/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d .agents/skills/ai-image-genCherry 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=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -p /tmp/ai-image-gen.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 qiujiahong/ai-image-gen --ai vscode -yOne-click API download
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
mkdir -p .github/skills/ai-image-gen
unzip -o /tmp/ai-image-gen.zip -d .github/skills/ai-image-genOpenAI Codex
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init qiujiahong/ai-image-gen --ai codex --global -yOne-click API download
mkdir -p ~/.codex/skills/ai-image-gen
curl -sL "https://clawhub.ai/api/v1/download?slug=ai-image-gen&version=1.1.0" -o /tmp/ai-image-gen.zip
unzip -o /tmp/ai-image-gen.zip -d ~/.codex/skills/ai-image-genClawHub CLI, then copy
clawhub install qiujiahong/ai-image-gen
mkdir -p ~/.codex/skills/ai-image-gen
cp -R ./skills/ai-image-gen/. ~/.codex/skills/ai-image-gen/
# 源:./skills/ai-image-gen/SKILL.md
# 目标:~/.codex/skills/ai-image-gen/SKILL.mdOpenClaw — ClawHub CLI
# OpenClaw / ClawHub CLI(推荐)
# 在项目根或 OpenClaw 工作区目录执行
clawhub install qiujiahong/ai-image-gen
# 安装后 SKILL.md 位于:
# ./skills/ai-image-gen/SKILL.md
# (若已配置 OpenClaw 工作区,则在 <workspace>/skills/ai-image-gen/)
# 仅查看不安装
clawhub inspect qiujiahong/ai-image-genTroubleshooting & Common ErrorsFAQ
Common connection errors and verified fixes for AI Image Gen
Getting 'connection closed' or exit code 1 in Cursor / Claude Code for AI Image Gen?
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 AI Image Gen during conversations?
Verify SKILL.md is located at .cursor/skills/AI Image Gen/SKILL.md (Cursor) or ~/.claude/skills/AI Image Gen/SKILL.md (Claude Code). You can explicitly mention the skill name in your prompt to boost match confidence.
Tool Mock Playground
SandboxAI Image Gen Rule Injection & Agent Behavior Simulation · Preview tool schema & outputs without local runtime
{
"skill": "AI Image Gen",
"rulePath": ".cursor/skills/ai-image-gen/SKILL.md",
"userGoal": "请使用 AI Image Gen 的方法与标准帮我完成当前任务",
"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
AI Image Gen + 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 千问通用图像生成模型,擅长复杂文本渲染、多行布局、真实质感与语义遵循,支持中英文混排与精细图文设计。
文生图 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 生成高质量图像,支持丰富的文生图与图生图指令。
图片高清放大 Super Resolution
v1.3.42
io.clawhub.dlazyai/dlazy-superres
Image super-resolution tool: enhances image clarity and details, returning enhanced URL, suitable for low-res asset restoration and upscaling. 图像超分辨率工具,提升图片清晰度与细节并返回增强后 URL,适合低清素材修复与二次放大输出。
Often paired with
Alama Wardrobe
v1.0.0
uk.co.alama/wardrobe
Your own wardrobe for your assistant: items, outfits, style profile, gaps, try-on.
PropLine — Sports Betting Odds & Prop Resolution
v0.60.0
io.github.proplineapi/propline-mcp
Live odds, cross-book +EV and graded player-prop results across 37 books. Hosted endpoint included.
Agent Email
v0.6.1
io.github.UseJunior/email-agent-mcp
Local email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCP
AgentRQ
v0.17.2
io.github.agentrq/agentrq
Task manager for AI agents. Orchestrate agents to achieve large goals in unified control plane.
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.qiujiahong/ai-image-gen" title="Listed on AgentHub: AI Image Gen" target="_blank" rel="noopener">
<img src="https://myagenthub.cn/badge/io.clawhub.qiujiahong/ai-image-gen?lang=en" alt="Listed on AgentHub: AI Image Gen" height="20" style="border:0"/>
</a>[](https://myagenthub.cn/p/io.clawhub.qiujiahong/ai-image-gen)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.qiujiahong/ai-image-gen",
"type": "skill",
"version": "1.1.0",
"displayName": "AI Image Gen",
"description": "AI图像生成与编辑。支持文生图、图+文生图、风格转换。当用户要求画图、生成图片、编辑图片、图片风格转换时使用此 skill。支持多种比例(1:1、3:2、16:9、21:9 等)和分辨率(标准、2K、4K)。",
"author": {
"name": "qiujiahong",
"url": "https://clawhub.ai/qiujiahong"
},
"homepage": "https://clawhub.ai/qiujiahong/ai-image-gen",
"distribution": {
"packages": [
{
"registryType": "source",
"identifier": "qiujiahong/ai-image-gen",
"version": "1.1.0",
"runtimeHint": "clawhub install"
}
],
"remotes": []
},
"dependencies": [],
"installTargets": [
"openclaw",
"claude-code",
"claude-desktop",
"cursor",
"codex",
"vscode"
],
"keywords": [
"downloads:9434",
"stars:1",
"installs:270",
"图像生成",
"图像"
],
"provenance": {
"origin": "clawhub",
"originalId": "qiujiahong/ai-image-gen",
"originalUrl": "https://clawhub.ai/qiujiahong/ai-image-gen",
"isOfficial": false,
"status": "active"
}
}