Agent skill

AI Image Generation & Editor — Nanobanana, GPT Image, ComfyUI

Generate images from text with multi-provider routing — supports Nanobanana 2, Seedream 5.0, GPT Image, Midjourney Niji 7 (anime/illustration only), 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.

Stars 572
Forks 70

Install this agent skill to your Project

npx add-skill https://github.com/jau123/MeiGen-AI-Design-MCP/tree/main/openclaw

Metadata

Additional technical details for this skill

clawdbot
{
    "emoji": "\ud83c\udfa8",
    "requires": {
        "bins": [
            "mcporter",
            "npx",
            "node"
        ]
    }
}

SKILL.md

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):

json
{
  "mcpServers": {
    "creative-toolkit": {
      "command": "npx",
      "args": ["-y", "meigen@1.2.7"]
    }
  }
}

Free tools (search, enhance, inspire) work immediately — no API key needed:

bash
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.

Available Tools

Free — no API key required

Tool What it does
search_gallery Semantic search across 1,300+ 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.

Requires configured provider

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 (max 2MB, 2048px) and uploaded when needed. ComfyUI passes local files directly to the 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).

Important Rules

Never describe generated images

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".

Never specify model or provider

Do NOT pass model or provider to generate_image unless the user explicitly asks. The server auto-selects the best available provider and model.

Midjourney Niji 7 is anime-only

Niji 7 is exclusively designed for anime and illustration styles. Do NOT use it for photorealistic, product photography, or non-anime content — use Nanobanana 2 or Seedream instead. When enhancing prompts for Niji 7, always pass style: 'anime' to enhance_prompt (the default realistic produces prompts poorly suited for anime models). Raw mode is OFF by default to maximize anime style quality — do not enable it unless the user specifically requests less stylized output. Note: Niji 7 returns 4 candidate images per generation (other models return 1).

Always confirm before generating multiple images

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.


Workflow Modes

Mode 1: Single Image

User wants one image. Write a prompt (or call enhance_prompt if the description is brief), generate, present URL + path.

Mode 2: Prompt Enhancement + Generation

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>" aspectRatio="16:9"

Mode 3: Parallel Generation (2+ images)

User needs multiple variations — different directions, styles, or concepts.

  1. Plan directions, present as a table
  2. Ask user which direction(s) to try
  3. Write distinct prompts for each — don't just tweak one word
  4. Generate selected directions (max 4 parallel for API providers, 1 at a time for ComfyUI)
  5. Present URLs + paths

Mode 4: Multi-Step Creative (base + extensions)

User wants a base design plus derivatives (e.g., "design a logo and make mockups").

  1. Plan 3-5 directions, ask user which to try
  2. Generate selected direction(s)
  3. Present results, ask user to approve or try another
  4. Plan extensions using the approved Image URL as referenceImages
  5. Generate extensions

Never jump from plan to generating everything at once.

Mode 5: Edit/Modify Existing Image

User provides an image and asks for changes (add text, change background, etc.).

  • Pass the image (URL or local path) as referenceImages, then generate with a short, literal prompt describing ONLY the edit
  • The reference image carries all visual context — do NOT re-describe the original image
  • Example prompt: "Add the text 'meigen.ai' at the bottom of this image"

Mode 6: Inspiration Search

1. 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

Mode 7: Reference Image 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 uploaded

Reference image sources: gallery URLs, previous generation URLs, or local file paths. All providers accept local paths — they are automatically handled.

Mode 8: ComfyUI Workflows

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

Alternative Providers

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, model pricing, and provider comparison.

Troubleshooting

See references/troubleshooting.md for common issues, solutions, and security & privacy details.

Expand your agent's capabilities with these related and highly-rated skills.

jau123/MeiGen-AI-Design-MCP

MeiGen Visual Creative Expert

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", or discusses AI image generation, visual creativity, prompt engineering, reference images, style transfer, or any image creation task. Also activate when user mentions MeiGen, image models, aspect ratios, or art styles.

572 70
Explore
jau123/MeiGen-AI-Design-MCP

setup

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.

572 70
Explore
davila7/claude-code-templates

verl-rl-training

Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.

23,776 2,298
Explore
davila7/claude-code-templates

openrlhf-training

High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.

23,776 2,298
Explore
davila7/claude-code-templates

gguf-quantization

GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.

23,776 2,298
Explore
davila7/claude-code-templates

Claude Code Guide

Master guide for using Claude Code effectively. Includes configuration templates, prompting strategies "Thinking" keywords, debugging techniques, and best practices for interacting with the agent.

23,776 2,298
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results