openclaw/SKILL.md
--- name: "AI Image Generator & Editor — GPT Image 2, Nanobanana, ComfyUI" description: Generate images and videos from text with multi-provider routing — supports GPT Image 2.0 (near-perfect text rendering), Nanobanana 2, Seedream 5.0, Midjourney V8.1 (unified photorealistic + anime), Flux 2 Klein (cheap drafts), Seedance 2.0 / Happyhorse 1.0 / Veo 3.1 video, and local ComfyUI workflows. Includes 1,446 curated prompts and style-aware prompt enhancement. Use when users want to create images/vide
npx skillsauth add jau123/meigen-ai-design-mcp openclawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Add the MCP server to your mcporter config (~/.config/mcporter/config.json):
{
"mcpServers": {
"creative-toolkit": {
"command": "npx",
"args": ["-y", "[email protected]"]
}
}
}
Free tools (search, enhance, inspire) work immediately — no API key needed:
mcporter call creative-toolkit.search_gallery query="cyberpunk"
mcporter call creative-toolkit.enhance_prompt brief="a cat in space" style="realistic"
To unlock image generation, configure one of these providers:
| Provider | Config | What you need |
|----------|--------|---------------|
| MeiGen Cloud | MEIGEN_API_TOKEN | Token from meigen.ai (avatar → Settings → API Keys) |
| Local ComfyUI | comfyuiUrl | A running ComfyUI instance — no external API needed |
| Any OpenAI-compatible API | openaiApiKey + openaiBaseUrl + openaiModel | Your own key from Together AI, Fireworks AI, etc. |
Set credentials in ~/.clawdbot/.env, ~/.config/meigen/config.json, or add an "env" block to the mcporter config above. See references/providers.md for details.
Sandboxed environments: if the host can't write to the default
~/Pictures/meigensave path, set theMEIGEN_OUTPUT_DIRenv var to a writable directory (supports~expansion).
| Tool | What it does |
|------|-------------|
| search_gallery | Semantic search across 1,446 AI image prompts. Supports category filtering and curated browsing. 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 into a detailed, style-aware prompt with lighting, composition, and material directions. Supports realistic, anime, and illustration styles. |
| list_models | List all available models across configured providers with capabilities and supported features. |
| Tool | What it does |
|------|-------------|
| generate_image | Generate an image from a text prompt. Routes to the best available provider. Supports aspect ratio, seed, and reference images. |
| generate_image (with local paths) | Pass local file paths directly in referenceImages — images are auto-compressed locally (max 2MB, 2048px) and prepared for the selected provider. ComfyUI handles local files entirely within the local workflow. |
| comfyui_workflow | List, view, import, modify, and delete ComfyUI workflow templates. Adjust steps, CFG scale, sampler, and checkpoint without editing JSON. |
| manage_preferences | Save and load user preferences (default style, aspect ratio, style notes, favorite prompts). |
You cannot see generated images. After generation, only present the exact data from the tool response:
**Direction 1: Modern Minimal**
- Image URL: https://images.meigen.art/...
- Saved to: ~/Pictures/meigen/2026-02-08_xxxx.jpg
Do NOT write creative commentary about what the image "looks like".
Do NOT pass model or provider to generate_image unless the user explicitly asks. The server auto-selects the best available provider and model.
model: "midjourney-v8.1". Unified general-purpose Midjourney model — handles photorealistic AND stylized/anime content in one model (no separate Niji model exposed). ~45s, accepts max 1 reference image, returns 4 candidate images per generation.
resolution: "1K" (default) or "2K" (costs more, best for posters/wallpapers).sref, settable via --sref <code> at the end of the prompt (Midjourney style codes only — numeric like 3799554500 or text like niji-cute-v1; no URLs or local paths).--ar, --chaos, --niji, --seed, etc.) and legacy syntax (::N weights, [a|b] permutations) are silently stripped. Pass aspect ratio via the aspectRatio parameter, not --ar.style: 'realistic' for general intent, style: 'anime' for anime/illustration intent — V8.1 follows the prompt and benefits from explicit anime trigger words for stylized output.When the user wants multiple variations, present options first and ask which direction(s) to try. Include an "all of the above" option. Never auto-generate all variants without user confirmation.
User wants one image. Write a prompt (or call enhance_prompt if the description is brief), generate, present URL + path.
For brief ideas (under ~30 words, lacking visual details), enhance first:
1. enhance_prompt brief="futuristic city" style="realistic"
-> Returns detailed prompt with camera lens, lighting, atmospheric effects
2. generate_image prompt="<enhanced prompt>"
-> Omit aspectRatio to let MeiGen auto-infer (recommended). Pass an explicit
value like aspectRatio="16:9" only when the user asked for that ratio.
User needs multiple variations — different directions, styles, or concepts.
User wants a base design plus derivatives (e.g., "design a logo and make mockups").
referenceImagesNever jump from plan to generating everything at once.
User provides an image and asks for changes (add text, change background, etc.).
referenceImages, then generate with a short, literal prompt describing ONLY the edit1. search_gallery query="dreamy portrait with soft light"
-> Finds semantically similar prompts with thumbnails
2. get_inspiration id="<entry_id>"
-> Get full prompt text — copy and modify for your own generation
Use an existing image to guide visual style. Pass URLs or local file paths directly to referenceImages.
generate_image prompt="coffee mug mockup with this logo" referenceImages=["~/Desktop/my-logo.png"]
-> Local files are auto-compressed (max 2MB, 2048px) and prepared for the selected provider
Reference image sources: gallery URLs, previous generation URLs, or local file paths. All providers accept local paths — they are automatically handled.
1. comfyui_workflow action="list" -> See saved workflows
2. comfyui_workflow action="view" name="txt2img" -> See adjustable parameters
3. comfyui_workflow action="modify" name="txt2img" modifications={"steps": 30}
4. generate_image prompt="..." workflow="txt2img" -> Generate
You can use your own OpenAI-compatible API or a local ComfyUI instance instead of — or alongside — the default MeiGen provider. See references/providers.md for detailed configuration and provider comparison. For MeiGen model pricing, see https://www.meigen.ai/model-comparison.
See references/troubleshooting.md for common issues, solutions, and security & privacy details.
development
Vertical-format thumbnail and poster workflow for short-video platforms and social feeds. Use when the user asks for a "video thumbnail", "短视频封面", "竖版海报", "TikTok cover", "Reels cover", "YouTube Shorts thumbnail", "social media poster" — anything optimized for 9:16 mobile feed scrolling with prominent headline space. Produces high-contrast, headline-friendly cover art in 9:16 by default. NOT for: full posters meant for print, photorealistic portraits without text overlay intent, horizontal banners — use other skills.
development
Multi-angle product imagery workflow. Use when the user wants to "shoot a product", "make e-commerce product images", "product photography set", "电商产品图", "产品多角度图", "brand product visuals", or provides a single product photo and asks for marketing-ready variations. Produces 4 distinct directions (lifestyle scene, macro detail, scale/context, marketing layout) from one reference image. NOT for: portraits, generic illustration, logo design, video creation — use other skills or generate_image directly.
development
This skill should be used when the user asks to "generate an image", "create artwork", "design a logo", "make a poster", "draw something", "find inspiration", "search for reference images", "enhance my prompt", "improve prompt", "brand design", "product mockup", "batch generate images", "multiple variations", "generate a video", "make a video", "animate this photo", "image-to-video", or discusses AI image/video generation, visual creativity, prompt engineering, reference images, style transfer. Also activate when user mentions MeiGen, image models, aspect ratios, or art styles. NOT for: generic chat/text tasks, code generation, document writing, video editing of existing footage, audio/TTS, real-photo retouching of user files outside the generation flow, or any task unrelated to AI image/video creation.
tools
Configure MeiGen plugin provider and API keys. Use this when the user runs /meigen:setup, asks to "configure meigen", "set up image generation", "add API key", or needs help configuring the plugin.