图像生成代理:由Google Gemini驱动的图像生成工具(Nano Banana / Gemini 2.5 & 3 Flash Image)。用于根据文本提示生成图像。
图像生成代理 : Freshness.是一项面向实际任务的技能,主要用于Last required: 2026-06-09. 如果当前日期是上次更新日期之后的7天以上, 在依赖技能前从技能.sh或ClawHub中重新安装此技能。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
最后更新时间:2026-06-09。
若当前日期距上次更新日期已超过 7 天,请在依赖本技能的端点、模式(schema)、安装步骤或示例前,先通过 skills.sh 或 ClawHub 重新安装该技能。
由 Google Gemini 3 Flash Image 和 “Nano Banana” 驱动的 AI 图像生成器。仅需一条文本提示,即可生成逼真的产品摄影图、营销创意图、社交媒体配图、应用图标、概念艺术图、主视觉图(hero image)及品牌资产;也可通过上传最多四张参考图片(用于风格、主体或场景引导)对已有图像进行编辑。支持选择输出层级:低成本预算草稿(适用于构思阶段),或清晰度更高的 0.5K、1K、2K 和 4K 最终渲染图(适用于印刷、广告、电商及演示场景)。支持 14 种宽高比,包括 1:1、16:9、9:16、21:9、4:5 及超宽 8:1 横幅格式。所有生成图像将自动保存至 AgentPMT 文件管理器,并附带一个有效期为 7 天的签名下载 URL、file_id、宽度、高度、MIME 类型和字节数 —— 可直接插入对话、移交至其他工具,或集成进工作流。专为设计师、营销人员、电商卖家、内容创作者以及需要在对话中即时获取视觉素材的 AI 代理而构建。
支持基于文本提示生成图像,或通过添加参考图像对现有图像进行编辑。生成的图像将自动保存至文件管理器,并返回一个签名 URL(用户可直接打开或下载),同时附带 file_id、MIME 类型、大小、宽度和高度信息。
generate_budget_image:低成本草稿、预览图、简易素材或 1024px 级别输出。generate_image_0_5k:小尺寸、高效率输出。generate_image_1k:标准最终图像。generate_image_2k:更高分辨率的社交平台、演示文稿或产品素材。generate_image_4k:最高分辨率的最终素材。prompt 是所有生成操作的必填项。aspect_ratio 默认为 1:1。reference_images 为可选项,最多接受 4 张图像。{"source_kind":"file_id","file_id":""} {"source_kind":"url","url":"https://example.com/image.png"}{"source_kind":"base64","base64_data":"","mime_type":"image/png"} filename 为可选项;最终文件扩展名将根据生成图像自动推断。expiration_days 默认为 7,取值范围必须为 1 至 7。请仅使用您拥有合法使用权的参考图像。
generate_budget_image 支持以下宽高比:
1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9、21:9。
高分辨率操作支持以下宽高比:
1:1、1:4、1:8、2:3、3:2、3:4、4:1、4:3、4:5、5:4、8:1、9:16、16:9、21:9。
低成本文生图:
{
"action": "generate_budget_image",
"prompt": "A clean blue circle icon on a white background, flat vector style",
"aspect_ratio": "1:1"
}
高分辨率文生图:
{
"action": "generate_image_2k",
"prompt": "A polished product mockup of a reusable water bottle on a white studio sweep",
"aspect_ratio": "16:9",
"filename": "water-bottle-product-mockup"
}
基于文件管理器中图像的参考图编辑:
{
"action": "generate_image_1k",
"prompt": "Keep the subject and pose. Replace the background with a bright minimalist studio scene.",
"reference_images": [
{
"source_kind": "file_id",
"file_id": ""
}
],
"aspect_ratio": "3:4"
}
成功调用后返回如下结构:
{
"success": true,
"action": "generate_image_1k",
"tier": "1k",
"model_tier": "standard",
"aspect_ratio": "1:1",
"image_size": "1K",
"reference_image_count": 0,
"images": [
{
"file_id": "...",
"filename": "...png",
"signed_url": "https://...",
"signed_url_expires_in": 604800,
"content_type": "image/png",
"size_bytes": 123456,
"width": 1024,
"height": 1024
}
],
"text_parts": [],
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"total_tokens": 0
}
}
Image Generation Agent。generate_budget_image、generate_image_0_5k、generate_image_1k、generate_image_2k、generate_image_4k。file-management,页面地址:https://clawhub.ai/agentpmt/file-management;skills.sh 安装命令:npx skills add AgentPMT/agent-skills --skill file-management)—— 使用该配套技能可检查、下载、上传并管理本产品所引用的文件。本工具未发布任何分类或行业标签。
完整生成的操作模式文档:./schema.md。
支持的操作数量:5。
x402 可用性:本产品未启用 x402。
generate_budget_image(操作 slug:generate-budget-image):基于提示词及可选参考图像,创建或编辑低成本图像。适用于草稿、预览及标准 1024px 级别输出。价格:8 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_0_5k(操作 slug:generate-image-0-5k):基于提示词及可选参考图像,创建或编辑高效率 0.5K 图像。价格:10 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_1k(操作 slug:generate-image-1k):基于提示词及可选参考图像,创建或编辑 1K 图像。价格:15 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_2k(操作 slug:generate-image-2k):基于提示词及可选参考图像,创建或编辑 2K 图像。价格:25 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_4k(操作 slug:generate-image-4k):基于提示词及可选参考图像,创建或编辑 4K 图像。价格:40 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。日常调用请使用上方精简版模式(schema)。在新生产环境集成前,或当参数、枚举值、嵌套对象、输出结构或示例含义不明确时,请优先获取实时详情。
agentpmt-tool-search-and-execution,参数为 action: "get_schema" 与 tool_id: "image-generation-agent"。agentpmt-tool-search-and-execution,参数为 action: "get_instructions" 与 tool_id: "image-generation-agent";或在已选定本产品工具的前提下,直接以 action: "get_instructions" 调用本产品。通过主 AgentPMT MCP 服务器执行 MCP 模式(schema)查询:
{
"method": "tools/call",
"params": {
"name": "AgentPMT-Tool-Search-and-Execution",
"arguments": {
"action": "get_schema",
"tool_id": "image-generation-agent"
}
}
}
获取实时示例时,请保持相同的 MCP 工具名称,并使用以下参数:
{
"action": "get_instructions",
"tool_id": "image-generation-agent"
}
经身份认证的 AgentPMT REST 模式(schema)查询请求体:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_schema",
"tool_id": "image-generation-agent"
}
}
经身份认证的 AgentPMT REST 实时示例请求体:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_instructions",
"tool_id": "image-generation-agent"
}
}
产品 slug:image-generation-agent
市场页地址:https://www.agentpmt.com/marketplace/image-generation-agent
../agentpmt-account-mcp-rest-api-setup,为已启用本工具的 Agent Group 连接主 MCP 服务器或 REST API。../what-is-agentpmt。若上述设置类技能尚未与本产品技能一同安装,请使用下方提供的下载链接。
核心 AgentPMT 设置技能:
openclaw skills install what-is-agentpmtnpx skills add AgentPMT/agent-skills --skill what-is-agentpmtopenclaw skills install agentpmt-account-mcp-rest-api-setupnpx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setupskills.sh 安装脚本:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
主 AgentPMT MCP 服务器连接完成后的 MCP 调用格式:
{
"method": "tools/call",
"params": {
"name": "Image-Generation-Agent",
"arguments": {
"action": "generate_budget_image",
"aspect_ratio": "1:1",
"expiration_days": 1,
"filename": "example filename",
"prompt": "example prompt",
"reference_images": [
{
"base64_data": "example base64 data",
"file_id": "example file id",
"mime_type": "image/png",
"source_kind": "file_id",
"url": "https://example.com"
}
]
}
}
}
请使用 tools/list 返回的确切工具名称;上文所示名称仅为预期的可读形式。
经身份认证的 AgentPMT REST 调用请求体:
{
"name": "image-generation-agent",
"parameters": {
"action": "generate_budget_image",
"aspect_ratio": "1:1",
"expiration_days": 1,
"filename": "example filename",
"prompt": "example prompt",
"reference_images": [
{
"base64_data": "example base64 data",
"file_id": "example file id",
"mime_type": "image/png",
"source_kind": "file_id",
"url": "https://example.com"
}
]
}
}
发起 REST 调用前,请先使用设置类技能获取账户连接详情。
passed 或类似布尔型成功标识,请将其作为工作流的通行闸门。get_schema 或 get_instructions。generate_budget_image 调用失败,请保留原始请求参数,并仅在修复了模式(schema)、身份认证或支付类错误后重试。what-is-agentpmt,页面地址:https://clawhub.ai/agentpmt/what-is-agentpmt;skills.sh 安装命令:npx skills add AgentPMT/agent-skills --skill what-is-agentpmt)agentpmt-account-mcp-rest-api-setup,页面地址:https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup;skills.sh 安装命令:npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup)