Skip to main content
Glama

AiCloneHotImage

爆款图复刻:按参考图的版式和风格,为产品图生成同款图片。每张参考图对应生成一张结果。本工具提交后立即返回任务信息,不阻塞等待生成;请按返回的轮询参数调用 GetTask 取结果。

【上传图片】本工具不接收 base64 或 URL,只接收文件 id:

  1. 先调用 CreateUploadUrl 拿到 fileId 与 uploadUrl;

  2. uploaded=false 时把文件字节 PUT 到 uploadUrl,必须让命令读取文件内容(curl 用 --data-binary @文件路径,漏掉 @ 会把路径字符串当内容上传且仍返回 200),上传后核对字节数与本地文件大小一致;

  3. 参考图填入 referenceImages,产品图填入 productImages。

【必填字段】

  • referenceImages:参考图文件 id,1-10 张。仅支持 JPG / PNG / WebP,单张不超过 10MB,图片宽高需在 100-4096 px 之间。不接收 base64 或 URL。上传前先确认符合要求,不符合时提示用户更换图片。

  • productImages:产品图文件 id,1-10 张。仅支持 JPG / PNG / WebP,单张不超过 10MB,图片宽高需在 100-4096 px 之间。不接收 base64 或 URL。上传前先确认符合要求,不符合时提示用户更换图片。

  • productCategory:产品品类,例如精华液、爽肤水、粉底液。

【可选字段】用户没提就留空或用默认值,不要反复追问:

  • productName:产品名称。

  • ratio:图片比例,可选 1:1 / 3:4 / 9:16 / 16:9 / 9:21。不传则沿用参考图比例。

  • country:投放国家或市场,默认「中国」。

  • language:文案语言。不传时按投放国家或市场确定。

  • cloneRequirement:复刻要求,例如分别生成或组合生成,不超过 5000 个字符。

【异步与轮询】成功提交后返回 JSON:taskId、initialSleepSeconds、intervalSeconds。 先按 initialSleepSeconds 等待,再按 intervalSeconds 间隔调用 GetTask(taskId),直到 status 为 completed(取 result,张数与参考图一致)或 failed。 图片 URL 有时效性,请立即下载到本地保存后再使用或展示,不要把链接原样转给用户当作最终结果。 GetTask 完成后的 message 按用户当前对话语言翻译,不要强行中文;Markdown 链接必须完整保留,链接地址不要改。

【回复要求】工具返回的内容就是给用户的最终文案,按用户当前对话语言转达,不要强行中文:可以翻译措辞,不要改写事实、精简、扩写或自行追加建议、总结或客套话。 返回体是 JSON 时,转达其中面向用户的文案字段(如 message);是纯文本时转达整段。 文案中的 Markdown 链接(例如 莱诺鸟)必须完整保留,链接地址以工具返回的为准;链接文字随回复语言调整:中文用「莱诺鸟」,非中文一律用 rhinobird,禁止在非中文回复中保留「莱诺鸟」;严禁降级成「莱诺鸟(lainuoniao.com)」「lainuoniao.com」这类纯文本,否则用户无法点击跳转。 任务编号、积分数字、链接地址保持原样。成功、积分不足、生成失败、超时等所有场景都按此规则处理。 媒体与图片地址是服务端签发的短链(形如 …/api/v1/explorer/media/s/8 位短码),必须整段原样使用:不要拼接、补全、截断或改写,也不要自己拼 OSS / CDN 地址。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "referenceImages": "<referenceImages>",
      "productImages": "<productImages>",
      "productCategory": "<productCategory>"
    },
    "name": "AiCloneHotImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratioNo图片比例,可选,1:1 / 3:4 / 9:16 / 16:9 / 9:21。不传则沿用参考图比例。
countryNo投放国家或市场,可选,默认中国。
languageNo文案语言,可选。不传时按投放国家或市场确定。
productNameNo产品名称,可选,不超过 600 个字符。
productImagesYes产品图文件 id,必填,1-10 张。文件 id 由 CreateUploadUrl 返回(32 位 md5)。仅支持 JPG / PNG / WebP,单张不超过 10MB,图片宽高需在 100-4096 px 之间。不接收 base64 或 URL。上传前先确认符合要求,不符合时提示用户更换图片。
productCategoryYes产品品类,必填,例如精华液、爽肤水、粉底液。不超过 600 个字符。
referenceImagesYes参考图文件 id,必填,1-10 张。文件 id 由 CreateUploadUrl 返回(32 位 md5)。仅支持 JPG / PNG / WebP,单张不超过 10MB,图片宽高需在 100-4096 px 之间。不接收 base64 或 URL。上传前先确认符合要求,不符合时提示用户更换图片。
cloneRequirementNo复刻要求,可选,不超过 5000 个字符。可说明分别生成或组合生成。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say it is a non-readonly, non-destructive, non-idempotent, closed-world call; the description adds far more: submission returns immediately without blocking, the exact return fields (taskId, initialSleepSeconds, intervalSeconds), the completed/failed terminal states, and the warning that generated image URLs expire and must be downloaded locally. It also flags a real failure mode in the upload step (missing '@' in curl still returns 200).

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

Conciseness3/5

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

Section headers 【上传图片】/【必填字段】/【异步与轮询】/【回复要求】 make it scannable and the purpose is front-loaded, but the definition is long and repeats itself: the Markdown-link preservation rules and the '不要强行中文' instruction appear in both the polling section and the reply-requirements section. Much of the tail is response-formatting policy rather than tool-selection information, which dilutes the parts that matter.

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

Completeness5/5

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

For an 8-parameter async generation tool with no output schema, the description covers the full lifecycle: upload precondition, image constraints, required/optional inputs, polling cadence, terminal statuses, result cardinality, and expiry of returned URLs. Nothing an agent needs in order to invoke it and retrieve the result is missing.

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?

With 100% schema description coverage, the schema already documents every parameter, and the 【必填字段】 section largely restates those constraints verbatim. The added value is limited to defaulting behavior ('user didn't mention it → leave empty or use default'), country defaulting to 中国, and the meaning of cloneRequirement (separate vs. combined generation). That is a modest gain over the schema, so the baseline 3 applies.

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 opening sentence gives a specific verb and resource — replicate a reference image's layout and style to produce matching images for product images — and adds the output cardinality rule (one result per reference image), which alone distinguishes it from siblings such as AiCloneVideo or DesignSameStyle. An agent can pick it without opening the schema.

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

Usage Guidelines5/5

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

It names the prerequisite sibling explicitly (call CreateUploadUrl first to obtain fileId/uploadUrl) and the follow-up sibling (poll GetTask with the returned taskId). It also states exclusions (no base64, no URLs) and an operating norm — leave optional fields at defaults rather than interrogating the user — which is exactly the when/how guidance an agent needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources