PanPan Image Generator MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OUTPUT_DIR | No | Default output directory | current working directory |
| GEMINI_MODEL | No | Default Pro model | gemini-3-pro-image-preview |
| GEMINI_API_KEY | Yes | API key (required) | |
| GEMINI_API_BASE | No | OpenAI-compatible API base URL | https://openrouter.ai/api/v1 |
| GEMINI_FLASH_MODEL | No | Default Flash model | gemini-3.1-flash-image-preview |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| edit_image_nanoA | 编辑图像(单张或批量)。支持全部四款生图模型,支持多图参考,支持指定分辨率和宽高比。 |
| generate_image_with_shared_contextB | 🎯【推荐】共享上下文批量生图(保持风格一致性)。适合 PPT、教程、卡片组等系列图片。支持全部四款模型,支持指定分辨率。 |
| generate_image_batchA | 批量生图(单张或多张,高并发)。支持全部四款模型:nanobananapro / gemini-3-pro-image-preview(高质量)、gemini-3-pro-image-preview-2k(2K)、gemini-3-pro-image-preview-4k(4K)、nanobanana2 / gemini-flash(快速)。支持指定分辨率和宽高比。 📁 路径规则:① 每条请求可单独指定 saveToFilePath;② 可用 outputDir 统一指定目录(默认当前工作目录);③ 写入失败时自动 fallback 到 MCP 服务器目录。 |
| images_to_pdfA | 将多张图片转换为 PDF(每页一张,完美填充无空白)。 |
| images_to_pptxC | 将多张图片转换为 PowerPoint (PPTX) 文件。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
The two generation tools (generate_image_with_shared_context and generate_image_batch) overlap somewhat, but their descriptions clarify different use cases: one for style-consistent series, the other for high-concurrency generic batch generation. The editing and conversion tools are clearly distinct from each other and from the generation tools.
The naming is mixed: the first three tools use a verb_noun pattern (generate_image_*, edit_image_*), but the last two use a noun_to_noun pattern (images_to_pdf, images_to_pptx). The suffix 'nano' in edit_image_nano is also inconsistent with the other names. The pattern is readable but not uniform.
With 5 tools, the server is well-scoped for its purpose of image generation, editing, and conversion to common presentation formats. Each tool serves a distinct purpose without unnecessary bloat.
The server covers the core lifecycle of creating, editing, and converting images. Minor gaps exist, such as lack of explicit format conversion beyond PDF/PPTX or model listing, but the primary workflows are supported.