Model Context Protocol

Generate images from Claude, ChatGPT or Cursor

The Zimg MCP server lets Claude, ChatGPT, Cursor and other assistants turn a text prompt into 1 to 4 images on your account, with the same models, prices and refunds as the site.

Server URL (Streamable HTTP)

https://zimg.ai/mcp

Tools

list_models
The five models with their sizes and credits per image, plus the style presets and aspect ratios.
quote_price
Credits for a model, size and image count, or the full price table.
generate_image
Make 1 to 4 images from a prompt, with a model, style, aspect ratio and size. From 4 credits an image.
get_job
Status and result link for one image.
list_jobs
Your latest images with their prompts and results.
get_balance
Credits left.

The assistant can quote a batch before it starts. Credits are taken per image when it starts, and any image that fails is refunded automatically.See credit prices

Add it to your client

Pick your app, paste the snippet, then sign in when the browser opens.

In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it Zimg and paste the URL. Press Connect and approve access.

https://zimg.ai/mcp

Your browser opens Zimg: sign in (or create a free account) and press Allow access. Your password is never shared with the assistant.

How sign-in works

  1. Your client calls the server and receives a 401 that points to the OAuth metadata.
  2. It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
  3. You sign in on Zimg and approve that one app on the consent screen.
  4. The client gets a token for https://zimg.ai/mcp only, refreshed automatically and revocable at any time.

Review connected apps

Questions and fixes

Does the MCP server cost extra?

No. Connecting is free; each image costs the same credits as on the site.

Which models can the assistant use?

All five that Zimg offers: Z-Image Turbo, Seedream 5.5, Nano Banana 2.1, FLUX.2 Pro and GPT Image 2. The assistant picks Z-Image Turbo, the cheapest, unless you name another; list_models shows sizes and credits.

What happens if an image fails or my balance is too low?

Credits are taken per image when it starts and come back automatically if that image fails. If your balance is too low for the batch, the tool says so and nothing is charged.

Are prompts checked?

Yes. Every prompt is screened before any credits are taken, exactly as on the site. A refused prompt costs nothing, and the acceptable use policy applies to chat requests too.

My client keeps asking me to sign in. What do I do?

Remove the server from the client and add it again so it starts a fresh sign-in, then press Allow access on Zimg.

Where do the images go?

Each image is saved privately to your Creations page for 30 days, and the assistant gets a direct link once get_job reports success. If an image is still rendering, the assistant checks again with its job id.

Last updated: