Skip to main content
Glama
panda920

PanPan Image Generator MCP Server

by panda920

generate_image_batch

Generate multiple images in one batch request with configurable model, resolution, aspect ratio, and output path options.

Instructions

批量生图(单张或多张,高并发)。支持全部四款模型: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 服务器目录。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo模型选择:nanobananapro(高质量,默认)、gemini-3-pro-image-preview-2k(Pro 2K)、gemini-3-pro-image-preview-4k(Pro 4K)、nanobanana2(快速)
requestsYes生成请求列表
outputDirNo可选,统一指定输出目录(不含文件名)。未指定时默认为当前工作目录。单条请求的 saveToFilePath 优先级更高。
image_sizeNo图像分辨率预设:1K(1024x576)、2K(2048x1152,默认)、4K(3840x2160)2K
resolutionNo自定义分辨率,格式 WxH,如 1920x1080。优先级高于 image_size。
concurrencyNo并发数,默认 10
aspect_ratioNo宽高比
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full transparency burden. It discloses important behavioral traits: automatic fallback to MCP server directory on write failure, priority of saveToFilePath over outputDir, and default concurrency. It does not mention return format or error handling, but the disclosed behaviors are substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded: the first sentence establishes the tool's purpose, the model list is compact, and the path rules are presented as a numbered list. Every sentence adds value with no fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 7 parameters with 100% schema coverage and no output schema, the description adequately enhances context with path priority and fallback rules. It does not explicitly state return values, but the output is implicitly file paths, and the description covers the critical behavioral aspects for a batch tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds some value by grouping models by quality/speed and explaining path fallback, but most parameter semantics are already present in the schema. No major compensatory additions exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states '批量生图(单张或多张,高并发)' – batch image generation (single or multiple, high concurrency). It also lists supported models and options, effectively distinguishing itself from sibling tools like edit_image_nano, images_to_pdf, and images_to_pptx.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides strong contextual cues: batch vs single, high concurrency, path priority rules, and fallback behavior. However, it does not explicitly name alternative tools or state when not to use this tool, so it stops short of a perfect 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/panda920/panpan-image-generator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server