React Design Draft
根据内容自动生成可编辑的React风格信息图设计稿,支持单图与多图模式。
基于 Google Gemini 的文本转图像生成服务,支持多分辨率与参考图编辑。
openclaw skills install @agentpmt/image-generation-agent命令、参数、文件名以原文为准
最后更新时间:2026-06-09。
如果当前日期距离上次更新已超过 7 天,请在依赖端点、模式、设置步骤或示例前,从 skills.sh 或 ClawHub 重新安装此技能。
基于 Google Gemini 3 Flash Image 和 "Nano Banana" 的 AI 图像生成器。仅需一个文本提示,即可创建逼真的产品摄影、营销创意、社交媒体图形、应用图标、概念艺术、主视觉图和品牌资产;也可通过上传最多四张参考图片,对已有图像进行风格、主体或场景的编辑。可选择输出层级:低成本预算草稿用于构思,或清晰的 0.5K、1K、2K 和 4K 最终渲染,适用于印刷、广告、电商和演示用途。支持 14 种宽高比,包括 1:1、16:9、9:16、21:9、4:5,以及超宽 8:1 横幅格式。每张生成的图像都会自动保存至 AgentPMT 文件管理器,并附带 7 天有效期的签名下载链接、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":"<file-id>"}
- {"source_kind":"url","url":"https://example.com/image.png"}
- {"source_kind":"base64","base64_data":"<base64>","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": "一个干净的蓝色圆形图标,白色背景,扁平矢量风格",
"aspect_ratio": "1:1"
}高分辨率文生图:
{
"action": "generate_image_2k",
"prompt": "一个精致的产品原型图,展示一款可重复使用的水瓶,置于白色工作室背景中",
"aspect_ratio": "16:9",
"filename": "water-bottle-product-mockup"
}从文件管理器引用图像进行编辑:
{
"action": "generate_image_1k",
"prompt": "保留主体和姿势。将背景替换为明亮极简的摄影棚场景。",
"reference_images": [
{
"source_kind": "file_id",
"file_id": "<file-manager-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 可用性:此产品未启用。
generate_budget_image (action slug: generate-budget-image):根据提示词和可选的参考图像生成或编辑低预算图像。适用于草稿、预览以及标准 1024px 级别的输出。价格:8 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_0_5k (action slug: generate-image-0-5k):根据提示词和可选的参考图像生成或编辑高效率的 0.5K 图像。价格:10 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_1k (action slug: generate-image-1k):根据提示词和可选的参考图像生成或编辑 1K 图像。价格:15 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_2k (action slug: generate-image-2k):根据提示词和可选的参考图像生成或编辑 2K 图像。价格:25 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。generate_image_4k (action slug: generate-image-4k):根据提示词和可选的参考图像生成或编辑 4K 图像。价格:40 积分。参数:aspect_ratio、expiration_days、filename、prompt、reference_images。使用上述紧凑模式进行常规调用。在新生产环境集成前,或当参数、枚举值、嵌套对象、输出结果或示例不明确时,请优先获取实时详细信息。
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 模式:
{
"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 模式查询请求体:
{
"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"
}
}产品别名:image-generation-agent
市场页面:https://www.agentpmt.com/marketplace/image-generation-agent
../agentpmt-account-mcp-rest-api-setup,以连接主 MCP 服务器或 REST API,确保所属 Agent Group 已启用此工具。../what-is-agentpmt 了解市场、Agent Group、工作流、MCP、REST 及支付相关概念。若未安装此产品的前置依赖技能,请使用下方下载方式。
核心 AgentPMT 设置技能:
- ClawHub 页面:https://clawhub.ai/agentpmt/what-is-agentpmt
- OpenClaw 安装命令:openclaw skills install what-is-agentpmt
- skills.sh 安装命令:npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
- ClawHub 页面:https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup
- OpenClaw 安装命令:openclaw skills install agentpmt-account-mcp-rest-api-setup
- skills.sh 安装命令:npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
skills.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)已收录 2 个 Skill