Skip to main content
Glama

edit_image

Edit images synchronously and save results to disk via Zhenzhen Image MCP, accepting prompts plus up to 16 source images and multi-image uploads. Use Sunburst for precision edits. Paid.

Instructions

同步图像编辑并落盘;多图以 image[] 上传。高编辑精度场景建议 Sunburst。收费。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo可选 auto 或 WIDTHxHEIGHT;两边为16倍数、最大3840、比例不超过3:1、总像素655360..8294400。省略时不发送。
groupNo分组声明:默认 reverse(逆向);仅用户明确使用官转时传 official。此字段不发送上游、不改变密钥后台分组。reverse
modelYesGPT Image 2.5 Sunburst 非常适合对编辑精度要求极高的应用场景;GPT Image 2.5 Flare 是目前用于生成高质量图片的最快模型。模型可以接受文本和图片作为输入,然后输出相应的图片。以上为用户提供的供应商选型说明,尚未做速度或质量对比实测。请结合用户意图选择并告知所用模型。
imagesYes本机绝对图片路径、公开 HTTP(S) 图片 URL 或 base64 data URL;PNG/JPEG/WebP。
promptYes
qualityNo
output_dirNo可选绝对输出目录;默认配置目录。异步任务查询默认沿用提交目录。
official_optionsNo仅 group="official" 可用的官转扩展参数。未声明官转时传入此对象会在收费前拒绝。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
costNo
noteNo
filesNo
groupNo
usageNo
statusYes
task_idNo
warningNo
progressNo
responseNo
next_toolNo
output_dirNo
fail_reasonNo
save_statusNo
wait_timed_outNo
download_errorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a non-destructive, open-world write operation, so the bar is lower; the description still adds material context: the call is synchronous/blocking, it persists output to disk, and it is billed ('收费'). Permissions or concurrency limits are not covered, but cost and side-effect disclosure go beyond the annotations.

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

Conciseness4/5

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

Three short clauses, front-loaded with the core purpose and no filler. It is efficient and readable, though the terse style leaves several questions unanswered rather than balancing brevity with completeness.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the schema documents most parameters. However, for a billed mutation with 8 parameters and an official_options gate, the description omits the async-vs-sync decision and the consequences/placement of written files, leaving it only minimally adequate.

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 75% and the schema itself carries detailed prose for size, group, model, images, and official_options. The description only echoes the multi-image upload format (calling it image[] where the schema field is 'images') and repeats the Sunburst model advice already present in the model property description, so it adds little.

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

Purpose4/5

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

States a specific verb+resource (synchronous image editing) plus a distinctive behavior (writes result to disk), which separates it from the async submission siblings such as submit_image_edit. It does not explicitly name a sibling, but '同步' clearly contrasts with the submit/poll tools.

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

Usage Guidelines3/5

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

Gives one concrete routing hint ('high editing-precision scenarios → Sunburst') and an upload convention for multi-image input, but never says when to prefer this over generate_image or submit_image_edit, nor when-not to use it. Usage is implied by the synchronous nature rather than stated.

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