You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

meigen

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meigen

Visual creative expert plugin — search inspiration, enhance prompts, and generate AI images with intelligent workflow orchestration

npmnpm
Version
0.1.8
Version published
Weekly downloads
130
-57.38%
Maintainers
1
Weekly downloads
 
Created
Source

MeiGen-Art Banner

MeiGen-Art — Visual Creative Expert

Turn your AI assistant into a creative director for image generation
MCP plugin for Claude Code, OpenClaw, and any MCP-compatible host

Gallery 7 Tools 3 Providers MIT

Quick StartWhat Can It DoProvidersConfiguration

English | 中文

Why MeiGen-Art?

Most AI image tools are either simple prompt-in-image-out APIs, or complex UIs that require expertise.

MeiGen-Art takes a different approach: it gives your AI assistant professional creative knowledge — 1,300+ curated trending prompts, style-specific enhancement techniques, and multi-step workflow orchestration — so you can describe what you want in plain language, and get production-quality results.

No prompt engineering skills needed. Just talk to your AI assistant like you would to a creative director.

Installation

Claude Code

# Add the plugin source
/plugin marketplace add jau123/MeiGen-Art

# Install
/plugin install meigen@meigen-marketplace

After installation, restart Claude Code (close and reopen, or open a new terminal tab) to activate the plugin.

First-Time Setup

Once restarted, free features work immediately — try asking:

"Search for some creative inspiration"

To unlock image generation, run the setup wizard:

/meigen:setup

The wizard walks you through:

  • Choose a provider — MeiGen Platform (recommended, supports Nanobanana Pro / GPT image 1.5 / Seedream 4.5), local ComfyUI, or OpenAI-compatible API
  • Enter credentials — API token, key, or ComfyUI URL. You can also paste a curl command and it auto-extracts everything
  • Done — restart Claude Code once more, then start generating

OpenClaw

Our skills follow the Agent Skills open standard. Copy them into your OpenClaw workspace and they work directly. For MCP tools, use OpenClaw's MCP adapter to connect the MeiGen server.

Other MCP-Compatible Hosts

Add to your MCP config (e.g. .mcp.json, claude_desktop_config.json, etc.):

{
  "mcpServers": {
    "meigen": {
      "command": "npx",
      "args": ["-y", "meigen@latest"],
      "env": {
        "MEIGEN_API_TOKEN": "meigen_sk_..."
      }
    }
  }
}

Tip: Even without an API key, free features (inspiration search, prompt enhancement, model listing) work immediately. Configure your provider via ~/.config/meigen/config.json or environment variables — see Configuration.

What Can It Do

1. Explore & Get Inspired

"Help me think of something for a social media post"

When you're not sure what to create, the assistant browses the curated gallery of 1,300+ trending prompts, shows you visual previews, and lets you pick a style before generating anything.

2. Simple Idea to Pro Image

"A cat sitting in a Japanese garden"

Short descriptions get automatically enhanced into professional prompts with specific visual details — lighting, composition, lens, color palette — then generated. No prompt engineering knowledge needed.

3. Batch & Variant Generation

"Design 4 different logo concepts for a coffee brand"

The assistant writes distinct creative directions for each variant, generates them in parallel (up to 4 at once), and presents the results with comparative commentary.

4. Multi-Step Creative Workflow

"Create a logo, then show me how it looks on a mug and a t-shirt"

The assistant chains generation steps: creates the base image first, then uses it as a reference to generate product mockups — maintaining visual consistency across the series.

5. Reference Image Style Transfer

"Use this local photo as a style reference for my new image"

Local images are automatically compressed and uploaded. The returned URL works as a reference across all three providers — for style transfer, composition guidance, or img2img workflows.

Tools

ToolFreeDescription
search_galleryYesSearch 1,300+ curated trending prompts with visual previews
get_inspirationYesGet full prompt, all images, and metadata for any gallery entry
enhance_promptYesTransform a brief idea into a professional image prompt (runs locally)
list_modelsYesList available models across all configured providers
upload_reference_imageYesCompress and upload a local image for use as a reference
comfyui_workflowYesManage ComfyUI workflow templates: list, view, import, modify, delete
generate_imageKeyGenerate an image — routes to the best available provider automatically

Providers

MeiGen-Art supports three image generation backends. You can configure one or multiple — the assistant auto-selects the best available, or you can specify per-request.

Cloud API with multiple model options: Nanobanana Pro, GPT image 1.5, Seedream 4.5, and more.

Get your API token:

  • Sign in at meigen.ai
  • Click your avatar → SettingsAPI Keys
  • Create a new key (starts with meigen_sk_)
{ "meigenApiToken": "meigen_sk_..." }

ComfyUI (Local)

Run generation on your own GPU with full control over models, samplers, and workflow parameters. Import any ComfyUI API-format workflow.

{
  "comfyuiUrl": "http://localhost:8188",
  "comfyuiDefaultWorkflow": "txt2img"
}

OpenAI-Compatible API

Bring your own API key for OpenAI (gpt-image-1.5), Together AI, Fireworks AI, or any OpenAI-compatible service.

{
  "openaiApiKey": "sk-...",
  "openaiBaseUrl": "https://api.openai.com",
  "openaiModel": "gpt-image-1.5"
}

All three providers support reference images. MeiGen and OpenAI accept URLs directly; ComfyUI injects them into LoadImage nodes in your workflow.

Configuration

/meigen:setup

The wizard walks you through provider selection, API key entry, and ComfyUI workflow import. You can also paste a curl command from your API provider's docs — it auto-extracts the key, URL, and model.

Config File

Configuration is stored at ~/.config/meigen/config.json. ComfyUI workflows are stored at ~/.config/meigen/workflows/.

Environment Variables

Environment variables take priority over the config file.

VariableDescription
MEIGEN_API_TOKENMeiGen platform token
OPENAI_API_KEYOpenAI / compatible API key
OPENAI_BASE_URLAPI base URL (default: https://api.openai.com)
OPENAI_MODELDefault model (default: gpt-image-1.5)
COMFYUI_URLComfyUI server URL (default: http://localhost:8188)

Development

npm install        # Install dependencies
npm run build      # Compile TypeScript → dist/
npm run dev        # Development mode (tsx)
npm run typecheck  # Type check without emitting

License

MIT

Keywords

mcp

FAQs

Package last updated on 08 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts