🎨

多模型 AI 图像生成工作站

creative-toolkit · v5.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
设计 安全 A 级 作者 jau123 公开目录收录
3.5k 下载 791 安装 15.5k 收藏 16.2k 浏览

简介

基于 MeiGen 平台的多提供商 AI 图像生成工具,支持 FLUX/SDXL/GPT Image 等主流模型,提供 1300+ 精选提示词库与智能提示增强,帮助设计师和创作者快速产出专业级视觉资产。

原始描述

Generate images from text with multi-provider routing — supports Nanobanana 2, Seedream 5.0, GPT Image, and local ComfyUI workflows. Includes 1,300 curated...

通过你的 Agent 添加

安装目录:creative-toolkit/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/creative-toolkit/
Codex CLI~/.codex/skills/creative-toolkit/
DeepSeek Harness~/.agents/skills/creative-toolkit/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Creative Toolkit 是一款面向 AI 图像生成的统一接口工具,通过 MCP 服务器架构实现多提供商智能路由。用户可通过 mcporter 命令行工具调用,支持三种使用模式:免费模式(无需 API Key,可使用提示词搜索、增强和灵感库)、平台模式(配置 MeiGen API Token 使用官方模型集群)、以及自定义模式(接入 OpenAI 兼容 API 或本地 ComfyUI 工作流)。

核心工作流包括:提示词增强(将简短描述扩展为包含光照、构图、材质细节的专业提示)、图像生成(自动选择最优提供商,支持参考图引导)、以及 ComfyUI 工作流管理(可视化调整参数无需编辑 JSON)。工具内置 1300+ 经人工筛选的高质量提示词库,覆盖产品摄影、角色设计、概念艺术等场景。

显著优点

多提供商灵活性是最大亮点,同一提示词可无缝切换 FLUX.1、SDXL、GPT Image 1.5、Seedream 等不同模型,无需学习各平台差异。智能路由机制自动选择可用服务,避免单点故障。

提示工程专业化大幅降低使用门槛。enhance_prompt 工具提供 realistic/anime/illustration 三种风格模板,自动注入镜头参数、光照方向、材质描述等专业摄影术语,使非专业用户也能获得商业级输出。

本地与云端混合架构兼顾便利与隐私。敏感项目可完全离线运行 ComfyUI,日常快速迭代使用云端 API,两者通过统一接口管理。

参考图工作流支持风格迁移和构图控制,上传本地图片后可在生成中保持品牌一致性,这对电商产品图和 VI 设计尤为实用。

潜在缺点与局限性

依赖链复杂是首要门槛。需同时安装 mcporter 二进制工具、配置 Node.js 环境、获取 API Token,对非技术用户不够友好。Windows 平台的配置复杂度显著高于 macOS/Linux。

成本结构不透明。虽然提供免费功能,但核心生成功能依赖外部服务,MeiGen 平台的 Token 计费、第三方 API 的按量计费、以及本地 GPU 的硬件成本,用户难以预估真实使用成本。

网络依赖性强。除本地 ComfyUI 模式外,所有功能需稳定网络连接,且图片上传功能会将本地文件转为公开 URL,存在隐私泄露风险,不适合处理机密素材。

版本漂移风险。安装指令使用 npx -y meigen@latest 自动获取最新版本,可能引入未预期的行为变更,生产环境建议锁定版本号。

适合的目标群体

  • 独立设计师与创意工作者:需要快速产出概念稿、 moodboard 和营销素材
  • 电商运营人员:批量生成产品场景图,保持视觉风格一致性
  • AI 艺术爱好者:探索不同模型的特性差异,学习专业提示词写法
  • 小型工作室:在预算有限的情况下获得接近 Midjourney 专业版的输出质量
  • ComfyUI 用户:希望用更简洁的命令行界面管理工作流,减少 JSON 编辑负担

使用风险

性能层面:图像生成典型耗时 10-30 秒,高峰期可能延长至 5 分钟超时,不适合实时交互场景。ComfyUI 本地模式受限于单 GPU 串行处理,无法并行生成。

依赖项风险:mcporter 和 meigen npm 包由第三方维护,若作者停止更新或发布恶意版本,用户环境可能受影响。建议定期审计依赖来源。

数据合规风险:上传的参考图片转为公开 URL 后,理论上任何人可访问,涉及人物肖像、商标、未发布产品等敏感内容时需谨慎。

供应商锁定:虽然支持多提供商,但高级功能(如某些模型的原生参考图支持)可能依赖特定平台,迁移成本需提前评估。

技能正文


name: creative-toolkit description: Generate images from text with multi-provider routing — supports FLUX, SDXL, GPT Image, Seedream, and local ComfyUI workflows. Includes 1,300+ curated prompts and style-aware prompt enhancement. Use when users want to create images, design assets, enhance prompts, or manage AI art workflows. version: 1.0.0 homepage: https://github.com/jau123/MeiGen-AI-Design-MCP metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":["mcporter"],"env":["MEIGEN_API_TOKEN"]},"primaryEnv":"MEIGEN_API_TOKEN"}}

Creative Toolkit

Generate professional AI images through a unified interface that routes across multiple providers. Search curated prompts, enhance ideas into production-ready descriptions, and manage local ComfyUI workflows — all from a single MCP server.

Quick Start

Add the MCP server to your mcporter config (~/.config/mcporter/config.json):

{
  "mcpServers": {
    "creative-toolkit": {
      "command": "npx",
      "args": ["-y", "meigen@latest"],
      "env": {
        "MEIGEN_API_TOKEN": "${MEIGEN_API_TOKEN}"
      }
    }
  }
}

Set your API token in ~/.clawdbot/.env or shell environment:

export MEIGEN_API_TOKEN="meigen_sk_..."

Generate your first image:

mcporter call creative-toolkit.generate_image prompt="a minimalist perfume bottle on white marble, soft directional lighting, product photography"

Or try it without any config (ad-hoc stdio mode):

mcporter call --stdio "npx -y meigen@latest" generate_image prompt="a ceramic vase with morning light"

No API key? Free tools still work:

mcporter call creative-toolkit.search_gallery query="cyberpunk"
mcporter call creative-toolkit.enhance_prompt brief="a cat in space" style="realistic"

Setup

Get an API Token

  1. Visit meigen.ai → sign in → click avatar → Settings → API Keys
  2. Create a new key (starts with meigen_sk_)
  3. Set as environment variable or save to config:
# Shell environment or ~/.clawdbot/.env
export MEIGEN_API_TOKEN="meigen_sk_..."

Or save to ~/.config/meigen/config.json:

{
  "meigenApiToken": "meigen_sk_..."
}

Alternative Providers

You can use your own OpenAI-compatible API or a local ComfyUI instance instead of — or alongside — the default provider. Save to ~/.config/meigen/config.json:

OpenAI / Together AI / Fireworks AI:

{
  "openaiApiKey": "sk-...",
  "openaiBaseUrl": "https://api.together.xyz/v1",
  "openaiModel": "black-forest-labs/FLUX.1-schnell"
}

Local ComfyUI:

{
  "comfyuiUrl": "http://localhost:8188"
}

Import workflows with the comfyui_workflow tool (action: import). The server auto-detects key nodes (KSampler, CLIPTextEncode, EmptyLatentImage) and fills in prompt, seed, and dimensions at runtime.

Multiple providers can be configured simultaneously. Auto-detection priority: MeiGen > ComfyUI > OpenAI.

Available Tools

Free — no API key required

Tool What it does
search_gallery Search 1,300+ curated prompts by keyword, style, or category. Returns prompt text, thumbnails, and metadata.
get_inspiration Get the full prompt and high-res images for any gallery entry. Use after search_gallery to get copyable prompts.
enhance_prompt Expand a brief idea (e.g. "a cat in space") into a detailed, style-aware prompt with lighting, composition, and material directions. Supports three styles: realistic, anime, illustration.
list_models List all available models across configured providers with capabilities and supported features.

Requires configured provider

Tool What it does
generate_image Generate an image from a text prompt. Automatically routes to the best available provider. Supports aspect ratio, seed, and reference images.
upload_reference_image Compress and upload a local image (max 2MB, 2048px) for use as a style reference in generation. Returns a public URL.
comfyui_workflow List, view, import, modify, and delete ComfyUI workflow templates. Modify parameters like steps, CFG scale, sampler, and checkpoint without editing JSON.

Usage Patterns

Basic generation

Generate a product photo of a ceramic vase with morning light

The server picks the best provider, generates the image, and returns a URL + local file path.

Prompt enhancement then generation

For brief ideas, enhance first for much better results:

1. enhance_prompt brief="futuristic city" style="realistic"
   → Returns detailed prompt with camera lens, lighting setup, atmospheric effects

2. generate_image prompt="<enhanced prompt>" aspectRatio="16:9"
   → Generates with the enhanced prompt

Reference image workflow

Use an existing image to guide style and composition:

1. upload_reference_image filePath="~/Desktop/my-logo.png"
   → Returns public URL

2. generate_image prompt="coffee mug mockup with this logo" referenceImages=["<url>"]
   → Generates using the reference for style guidance

Reference images work across all providers.

Gallery exploration

1. search_gallery query="product photography" category="Product"
   → Browse thumbnails and prompts

2. get_inspiration id="<entry_id>"
   → Get full prompt text — copy and modify for your own generation

ComfyUI workflows

1. comfyui_workflow action="list"
   → See saved workflows

2. comfyui_workflow action="view" name="txt2img"
   → See adjustable parameters (steps, CFG, sampler, checkpoint)

3. comfyui_workflow action="modify" name="txt2img" modifications={"steps": 30, "cfg": 7.5}
   → Adjust without editing JSON

4. generate_image prompt="..." workflow="txt2img"
   → Generate using the custom workflow

Provider Comparison

MeiGen Platform OpenAI-Compatible ComfyUI (Local)
Models Nanobanana Pro, GPT Image 1.5, Seedream 4.5, etc. Any model at the endpoint Any checkpoint on your machine
Reference images Native support gpt-image-1.5 only Requires LoadImage node
Concurrency Up to 4 parallel Up to 4 parallel 1 at a time (GPU constraint)
Latency 10-30s typical Varies by provider Depends on hardware
Cost Token-based credits Provider billing Free (your hardware)
Offline No No Yes

Prompt Enhancement Styles

enhance_prompt supports three style modes, each producing different types of detail:

Style Focus Best For
realistic Camera lens, aperture, focal length, lighting direction, material textures Product photos, portraits, architecture
anime Key visual composition, character details (eyes, hair, costume), trigger words Anime illustrations, character design
illustration Art medium, color palette, composition direction, brush texture Concept art, digital painting, watercolor

Troubleshooting

"No image generation providers configured" → Set MEIGEN_API_TOKEN or configure an alternative provider in ~/.config/meigen/config.json

Timeout during generation → Image generation typically takes 10-30 seconds. During high demand, it may take longer. The server polls with a 5-minute timeout.

ComfyUI connection refused → Ensure ComfyUI is running and accessible at the configured URL. Test with: curl <url>/system_stats

"Model not found" → Run list_models to see available models for your configured providers.

Reference image rejected → Images must be public URLs (not local paths). Use upload_reference_image to convert local files to URLs first.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

image-gendesigncontent-mediaproductivityapiautomation

同类 Skill