Create freely in
the AI tools you use.

Generate images, videos and product visuals with MeiGen, right inside your existing workflows.

Remote connection, no local installYour MeiGen account & credits

Where do you want to create?

1

Get your MeiGen API key

Open API Keys. If you are signed out, sign in or create an account to continue. Add the key to your tool's private connection settings. An existing key works too.

Create your key in a desktop browser. Keep it out of chat.

Generation uses purchased credits, not daily free credits. Add credits

2

Set up with ChatGPT

Paste these instructions into your AI tool. It can help configure the connection, or walk you through any steps you need to complete yourself.

ChatGPT desktop can use a key for generation. Web custom connections currently support public lookups only, without a key.

Preview the instructions

Help me connect MeiGen in ChatGPT. Read https://docs.meigen.ai/en/mcp/remote, check whether this environment has a local workspace and MCP configuration access, reuse any existing MeiGen connection, and preserve other servers. Locally, prefer remote https://www.meigen.ai/api/mcp with a private Authorization Bearer header or MEIGEN_API_TOKEN environment variable. CLI settings use ~/.codex/config.toml; project .env.local is not loaded automatically. Get a key at https://www.meigen.ai/profile/api-keys; never ask me to paste it into chat. If only a hosted web custom connection is available, check account access and use the same URL with No Authentication. That method currently supports public lookups only: MeiGen has no OAuth connection, so generation and uploads are unavailable. Guide any required restart or reconnect, then actually call list_skills to show capabilities and current prices. Only verify setup; do not generate, upload or spend credits. If you cannot configure the connection, give manual steps without claiming success.

Manual setup Desktop · Web

Connect in ChatGPT desktop

Open Settings → MCP servers → Add server, choose Streamable HTTP and enter the URL below. Save, then select Restart. For CLI setup, merge this entry into ~/.codex/config.toml, keeping any other servers.

~/.codex/config.toml
[mcp_servers.meigen]
url = "https://www.meigen.ai/api/mcp"
bearer_token_env_var = "MEIGEN_API_TOKEN"
startup_timeout_sec = 30
tool_timeout_sec = 240

Set MEIGEN_API_TOKEN in the environment that launches the local client, then restart. A project .env.local is not loaded automatically. In desktop MCP settings, you can instead use a private Authorization header (Bearer <your key>) and remove bearer_token_env_var. To try public tools without a key, omit authentication.

Using a web connection

If your account or workspace offers custom MCP connections, add the server below in Developer mode and choose No Authentication. This connection cannot send a custom MeiGen API key, and MeiGen has not provided OAuth. It currently supports public Skill, model and gallery lookups; generation, uploads and private results are unavailable.

Server URL · No Authentication
https://www.meigen.ai/api/mcp
Full setup guide

Once connected, try this first

Use MeiGen to list available Skills and current prices. Only query; do not generate or spend credits.

An actual tool response confirms the connection. This query costs no credits and does not verify paid access.

Remote serverhttps://www.meigen.ai/api/mcp
Creative capabilities

What can you create with MeiGen?

Generate images and videos, or use five dedicated visual Skills. Call each capability on its own or combine them in your workflows.

Remove Background

Isolate a product, person or other subject and export a transparent PNG for layouts, posters and new backgrounds.

Bring: One image with a clear subject

Product Detail Images

Turn a product photo into a coordinated set of hero images, detail close-ups and selling-point layouts for your listing.

Bring: A product photo + the number of images

Marketing Poster

Create campaign, event and social posters with planned layout and typography. Use your exact copy or let AI draft it.

Bring: A topic; images and exact copy are optional

AI Backgrounds

Place your product on a clean white background, in an automatically chosen scene, or in a setting you describe.

Bring: A product photo; describe a custom scene

Upscale

Increase image resolution and clarity. Choose crisp enhancement to preserve the original, or creative mode to enrich details.

Bring: The original still image

Image & video generation

Generate images from text or references, and videos from a description or first frame. Create first frames and clips for multiple scripts after your AI checks current models, input requirements and prices.

Explore all capabilities

Copy an example and send it to your AI with the required material. Generation uses purchased credits at current prices.

A creative step in your workflow.

Your AI orchestrates the work. MeiGen supplies the image and video capabilities.

One product photo. Your next launch.

Bring listing images, product scenes and posters into your existing copywriting or marketing workflow.

  1. Product photo & verified copy
  2. Listing images & AI backgrounds
  3. Marketing poster
Composable workflows guide

A little help along the way

What is MeiGen MCP?

MeiGen MCP connects image generation, video generation and five visual Skills to AI tools through the Model Context Protocol. Use it with ChatGPT desktop, Claude Code, Cursor, OpenClaw or another compatible client, either for a single creative task or as part of your own workflow.

Do I need an API key or purchased credits?

Public model, Skill and gallery queries do not need a key and do not generate images. MeiGen Cloud generation and uploads need a MeiGen key. Paid generation uses purchased credits from that account; daily free credits and Web free attempts do not apply. Top up on your Profile page, then return to your AI tool.

Add credits
My API key is invalid. What should I check?

Create an active key on the desktop API Keys page. It starts with meigen_sk_. Use it in the private Authorization header for a remote connection, or MEIGEN_API_TOKEN for the local server. Check spaces and key expiry, then reconnect. Setting a key in project .env.local alone does not configure your AI client.

Get API key
How do I provide an image? What if upload fails?

Attach the actual image or provide a public HTTPS image URL. A remote server cannot open a local file path: your AI tool must send accessible image bytes or a URL. If upload fails, follow its size or format guidance, or try a valid public URL. For Upscale, always provide the original image and tell the AI it is for Upscale. Avoid repeatedly resubmitting failed jobs.

My generation was interrupted. Should I start again?

Ask the AI to check the original task first. A disconnected conversation does not mean the generation failed. MeiGen can recover progress and completed results using the original request or task ID. Starting a new generation can incur another charge.

Should I use remote MCP or install locally?

Remote is the simplest choice for MeiGen Cloud and needs no Node.js. Use the local package for local image preparation, automatic file saving, or ordinary image generation with ComfyUI or a compatible API. All five Skills and video generation require MeiGen Cloud. The local setup guide covers Node.js 22+ and the available plugins.

How do existing users update to 2.0?

Remote users can reconnect or refresh their tool list. Local users pinned to an older meigen version should update their package/configuration to 2.0.0 and restart the client. Update a full plugin through its own installer too. Keep your existing key and avoid duplicate MeiGen connections. Follow the upgrade guide for changed tool contracts.