Install
openclaw skills install creative-toolkitGenerate images from text with multi-provider routing — supports GPT Image 2.0 (near-perfect text rendering), Nanobanana 2, Seedream 5.0, Midjourney V7 (phot...
openclaw skills install creative-toolkitGenerate 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", "meigen@1.3.1"]
}
}
}
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.