Create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, and top providers using prompt engineering, style control, and smart editing.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install image-generation或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install image-generation⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/image-generation/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: AI Image Generation slug: image-generation version: 1.0.3 homepage: https://clawic.com/skills/image-generation description: Create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, and top providers using prompt engineering, style control, and smart editing. changelog: Updated for 2026 with benchmark-backed model selection and clearer guidance for modern image generation stacks. metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":[],"env.optional":["OPENAI_API_KEY","GEMINI_API_KEY","BFL_API_KEY","GOOGLE_CLOUD_PROJECT","REPLICATE_API_TOKEN","LEONARDO_API_KEY","IDEOGRAM_API_KEY"],"config":["~/image-generation/"]},"os":["linux","darwin","win32"]}} ---
On first use, read setup.md.
User needs AI-generated visuals, edits, or consistent image sets. Use this skill to pick the right model, write stronger prompts, and avoid outdated model choices.
User preferences persist in ~/image-generation/. See memory-template.md for setup.
~/image-generation/
├── memory.md # Preferred providers, project context, winning recipes
└── history.md # Optional generation log
| Topic | File | |-------|------| | Initial setup | setup.md | | Memory template | memory-template.md | | Migration guide | migration.md | | Benchmark snapshots | benchmarks-2026.md | | Prompt techniques | prompting.md | | API handling | api-patterns.md | | GPT Image (OpenAI) | gpt-image.md | | Gemini and Imagen (Google) | gemini.md | | FLUX (Black Forest Labs) | flux.md | | Midjourney | midjourney.md | | Leonardo | leonardo.md | | Ideogram | ideogram.md | | Replicate | replicate.md | | Stable Diffusion | stable-diffusion.md |
Community names shift quickly. Before calling an API, map the nickname to the provider model ID.
| Community label | Official model ID to try first | Notes | |-----------------|--------------------------------|-------| | Nano Banana | gemini-2.5-flash-image-preview | Common nickname, not an official Google model ID | | Nano Banana 2 / Pro | Verify provider docs | Usually a provider preset over Gemini image models | | GPT Image 1.5 | gpt-image-1.5 | Current OpenAI high-tier image model | | GPT Image mini / iMini | gpt-image-1-mini | Budget/faster OpenAI variant | | FLUX 2 Pro / Max | flux-pro / flux-ultra | Many platforms rename these SKUs |
| Task | First choice | Backup | |------|--------------|--------| | Exact text in image | gpt-image-1.5 | Ideogram | | Multi-turn edits | gemini-2.5-flash-image-preview | flux-kontext-pro | | Photoreal hero shots | imagen-4.0-ultra-generate-001 | flux-ultra | | Fast low-cost drafts | gpt-image-1-mini | imagen-4.0-fast-generate-001 | | Character/product consistency | flux-kontext-max | gpt-image-1.5 with references | | Local no-API workflows | flux-schnell | SDXL |
Benchmarks drift weekly. Use benchmarks-2026.md as a starting point, then recheck current rankings when quality is critical.
Start with 1-4 low-cost drafts, pick one, then upscale or rerender only the winner.
If the preferred model is unavailable, fallback by tier: 1) same provider lower tier, 2) cross-provider equivalent, 3) local/open model.
OpenAI lists DALL-E 2/3 as legacy. Do not use them as default for new projects.
Data that leaves your machine:
Data that stays local:
~/image-generation/memory.mdThis skill does NOT:
| Provider | Endpoint | Data Sent | Purpose | |----------|----------|-----------|---------| | OpenAI | api.openai.com | Prompt text, optional input images | GPT Image generation/editing | | Google Gemini API | generativelanguage.googleapis.com | Prompt text, optional input images | Gemini image generation/editing | | Google Vertex AI | aiplatform.googleapis.com | Prompt text, optional input images | Imagen 4 generation | | Black Forest Labs | api.bfl.ai | Prompt text, optional input images | FLUX generation/editing | | Replicate | api.replicate.com | Prompt text, optional input images | Hosted third-party image models | | Midjourney | discord.com | Prompt text | Midjourney generation via Discord workflows | | Leonardo | cloud.leonardo.ai | Prompt text, optional input images | Leonardo generation/editing | | Ideogram | api.ideogram.ai | Prompt text | Typography-focused image generation |
No other data is sent externally.
If upgrading from a previous version, read migration.md before updating local memory structure.
This skill may send prompts and reference images to third-party AI providers. Only install if you trust those providers with your content.
Install with clawhub install if user confirms:
image-edit - Specialized inpainting, outpainting, and mask workflowsvideo-generation - Convert image concepts into video pipelinescolors - Build palettes for visual consistency across assetsffmpeg - Post-process image sequences and exportsclawhub star image-generationclawhub sync安装 AI Image Generation 后,可以对 AI 说这些话来触发它
Help me get started with AI Image Generation
Explains what AI Image Generation does, walks through the setup, and runs a quick demo based on your current project
Use AI Image Generation to create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, ...
Invokes AI Image Generation with the right parameters and returns the result directly in the conversation
What can I do with AI Image Generation in my design & creative workflow?
Lists the top use cases for AI Image Generation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/image-generation/ 目录(个人级,所有项目可用),或 .claude/skills/image-generation/(项目级)。重启 AI 客户端后,用 /image-generation 主动调用,或让 AI 根据上下文自动发现并使用。
AI Image Generation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
AI Image Generation 可免费安装使用。请查阅仓库了解许可证信息。
Create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, and top providers using prompt engineering, style control, and smart editing.
AI Image Generation 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using AI Image Generation
Identifies repetitive steps in your workflow and sets up AI Image Generation to handle them automatically