创建时间: 2026-06-24 09:57 | 步骤: 5 个
根据用户输入的产品需求描述和图纸类型,通过意图解析、规则映射、Prompt工程化、尺寸计算及异步生图轮询,输出符合国标工业制图与商业产品渲染规范的8K高清商用图纸或效果图。
{
"workflow_id": "standardized_industrial_product_design",
"input": {
"style": {
"field_name": "style",
"default": "主体图",
"description": "图纸输出类型枚举值,可选:主体图、蓝图、分解图、写实渲染图、标注尺寸图",
"example": "蓝图",
"type": "string",
"required": true
},
"prompt": {
"field_name": "prompt",
"default": "",
"description": "完整产品需求描述,包含使用场景、材质工艺、内外结构、表面肌理、配色、功能、尺寸特点等全部设计描述",
"example": "折叠通勤自行车,碳纤维轻量化材质,未来科技流线造型,防水耐磨哑光磨砂表面",
"type": "string",
"required": true
},
"aspect_ratio": {
"field_name": "aspect_ratio",
"default": "3:4",
"description": "成品图像宽高比例,可选枚举:1:1、3:4、4:3、16:9、9:16",
"example": "1:1",
"type": "string",
"required": false
}
},
"steps": [
{
"id": "step_1_intent_structure_parse",
"point_code": "",
"result": [],
"api_code": "intent_structure_parse",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "工业设计意图与规则结构化解析",
"action": "run",
"params": {
"style": "{{@input.style}}",
"prompt": "{{@input.prompt}}",
"aspect_ratio": "{{@input.aspect_ratio}}"
}
},
{
"id": "step_2_size_ratio_calculator",
"point_code": "",
"result": [],
"api_code": "size_ratio_calculator",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "工业设计尺寸像素计算",
"action": "run",
"params": {
"aspect_ratio": "{{@input.aspect_ratio}}"
},
"depends_on": []
},
{
"id": "step_3_prompt_engineer",
"point_code": "",
"result": [],
"api_code": "industrial_prompt_engineer",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "工业设计专业Prompt工程化",
"action": "run",
"params": {
"product_description": "{{@step_1_intent_structure_parse.result.data.product_description}}",
"matched_template": "{{@step_1_intent_structure_parse.result.data.matched_template}}",
"global_constraints": "{{@step_1_intent_structure_parse.result.data.global_constraints}}"
},
"depends_on": [
"step_1_intent_structure_parse"
]
},
{
"id": "step_4_generate_image",
"point_code": "1",
"result": [],
"api_code": "3373",
"backend_type": "sys_api",
"status": "PENDING",
"name": "提交商用级工业图纸生成任务",
"action": "run",
"params": {
"prompt": "{{@step_3_prompt_engineer.result.data.positive_prompt}}",
"size": "{{@step_2_size_ratio_calculator.result.data.result}}"
},
"depends_on": [
"step_2_size_ratio_calculator",
"step_3_prompt_engineer"
]
},
{
"id": "step_5_poll_image_status",
"point_code": "",
"result": [],
"api_code": "polling",
"backend_type": "sys_api",
"status": "PENDING",
"name": "轮询工业图纸生成状态",
"action": "run",
"params": {
"result_url": "{{@step_4_generate_image.result.data.result_url}}"
},
"depends_on": [
"step_4_generate_image"
],
"polling": {
"interval_seconds": 5,
"timeout_seconds": 600,
"success_condition": "{{@step_5_poll_image_status.result.data.task_status}} === 'SUCCEEDED'"
}
}
],
"output": {
"negative_prompt": {
"field_name": "negative_prompt",
"description": "工程化生成的英文反向提示词,包含全局约束反向化与通用画质底线词",
"value": "{{@step_3_prompt_engineer.result.data.negative_prompt}}",
"type": "string"
},
"image_size": {
"field_name": "image_size",
"description": "实际生图使用的尺寸像素(宽x高)",
"value": "{{@step_2_size_ratio_calculator.result.data.result}}",
"type": "string"
},
"task_id": {
"field_name": "task_id",
"description": "生图任务的唯一标识ID",
"value": "{{@step_4_generate_image.result.data.task_id}}",
"type": "string"
},
"result_url": {
"field_name": "result_url",
"description": "最终生成的8K高清商用工业图纸/效果图URL",
"value": "{{@step_5_poll_image_status.result.data.result_url}}",
"type": "string"
},
"matched_template_id": {
"field_name": "matched_template_id",
"description": "意图解析映射的硬性构图模板ID",
"value": "{{@step_1_intent_structure_parse.result.data.matched_template.template_id}}",
"type": "string"
},
"positive_prompt": {
"field_name": "positive_prompt",
"description": "工程化生成的英文正向提示词,包含风格前缀、产品特征、构图与画质约束",
"value": "{{@step_3_prompt_engineer.result.data.positive_prompt}}",
"type": "string"
}
}
} 提交后立即返回 task_id,系统每 2 秒自动轮询一次运行状态并可视化执行步骤,适合耗时较长的 Skill。
style必填string图纸输出类型枚举值,可选:主体图、蓝图、分解图、写实渲染图、标注尺寸图
prompt必填string完整产品需求描述,包含使用场景、材质工艺、内外结构、表面肌理、配色、功能、尺寸特点等全部设计描述
aspect_ratiostring成品图像宽高比例,可选枚举:1:1、3:4、4:3、16:9、9:16
把这个 Skill 接入你的应用或 AI Agent —— 自带 REST API、OpenAPI 规范与 Agent 技能包。
下载技能包导入 AI Agent 客户端,即可作为技能使用
appKey={AppKey},与 API 文档一致。Agent 技能包接入教程 帮助文档
不知道如何接入?跟随图文步骤一步步完成配置
不同 Agent 客户端对技能包名称格式有不同要求,请选择你使用的客户端下载对应版本。
WorkBuddy
腾讯 Agent 客户端
DuMate
EN百度智能体 · 英文名称
阿里悟空
EN阿里 Agent · 英文名称
QoderWork CN
EN编程智能体 · 英文名称
QwenPaw
通义千问 Agent
Trae Work
字节跳动 Agent
有道 LobsterAI
网易有道智能体
智谱 AutoClaw
智谱 AI Agent
CodeX
ENCodex AI Agent
标注 EN 的客户端要求 Skill 英文命名,其余使用中文命名版本。

7*24小时服务
保证您的售后无忧

1v1专属服务
保证服务质量

担保交易
全程担保交易保证资金安全

服务全程监管
全周期保证商品服务质量
© 2015-2023 WWW.SHOWAPI.COM ALL RIGHTS RESERVED.昆明秀派科技有限公司
本网站所列接口及文档全部由SHOWAPI网站提供,并对其拥有最终解释权 POWERED BY SHOWAPI