创建时间: 2026-06-16 11:46 | 步骤: 4 个
上传人物照片,输入打卡地点和姿势要求,通过意图解析、提示词融合优化、生图及状态轮询四个步骤,生成写实风格的景点打卡照片
{
"workflow_id": "person_landmark_check_in_photo",
"input": {
"refer_image": {
"field_name": "refer_image",
"default": "",
"description": "人物照片(传入标准 Base64 编码字符串或普通 URL),将直接作为参考图传给生图模型",
"example": "https://showapi-pub-hangzhou.oss-cn-hangzhou.aliyuncs.com/huangye/img_92675ae4-6429-4028-82e0-51dfbed00bf8.jpg",
"required": true,
"type": "base64"
},
"ratio": {
"field_name": "ratio",
"default": "3:4",
"description": "生成照片的比例,可选值:1:1、3:4、4:3、16:9、9:16",
"example": "1:1",
"required": false,
"type": "string"
},
"pose_requirements": {
"field_name": "pose_requirements",
"default": "",
"description": "对人物姿势等的其他要求,如挥手微笑、背影眺望等,可不填",
"type": "string",
"required": false
},
"location_prompt": {
"field_name": "location_prompt",
"default": "",
"description": "打卡地点提示词,如景点名称或具体描述",
"example": "巴黎埃菲尔铁塔",
"required": true,
"type": "string"
}
},
"steps": [
{
"id": "step_1_intent_analyzer",
"point_code": "",
"result": [],
"api_code": "intent_analyzer",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "景点打卡意图深度解析",
"action": "run",
"params": {
"ratio": "{{@input.ratio}}",
"pose_requirements": "{{@input.pose_requirements}}",
"location_prompt": "{{@input.location_prompt}}"
}
},
{
"id": "step_2_scene_prompt_generate",
"point_code": "",
"result": [],
"api_code": "scene_prompt_generate",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "生图提示词融合优化",
"action": "run",
"params": {
"extended_pose_suggestions": "{{@step_1_intent_analyzer.result.data.extended_pose_suggestions}}",
"scene_type_classification": "{{@step_1_intent_analyzer.result.data.scene_type_classification}}",
"structured_intent": "{{@step_1_intent_analyzer.result.data.structured_intent}}",
"pose_requirements": "{{@input.pose_requirements}}",
"location_prompt": "{{@input.location_prompt}}",
"fusion_success_criteria": "{{@step_1_intent_analyzer.result.data.fusion_success_criteria}}"
},
"depends_on": [
"step_1_intent_analyzer"
]
},
{
"id": "step_3_generate_check_in_photo",
"point_code": "1",
"result": [],
"api_code": "3373",
"backend_type": "sys_api",
"status": "PENDING",
"name": "提交打卡照生成任务",
"action": "run",
"params": {
"referImages": [
"{{@input.refer_image}}"
],
"prompt": "{{@step_2_scene_prompt_generate.result.data.optimized_prompt}}",
"aspect_ratio": "{{@input.ratio}}"
},
"depends_on": [
"step_2_scene_prompt_generate"
]
},
{
"id": "step_4_poll_photo_status",
"point_code": "",
"result": [],
"api_code": "polling",
"backend_type": "sys_api",
"status": "PENDING",
"name": "轮询打卡照生成状态",
"action": "run",
"params": {
"result_url": "{{@step_3_generate_check_in_photo.result.data.result_url}}"
},
"depends_on": [
"step_3_generate_check_in_photo"
],
"polling": {
"interval_seconds": 8,
"timeout_seconds": 600,
"success_condition": "{{@step_4_poll_photo_status.result.data.task_status}} === 'SUCCEEDED'"
}
}
],
"output": {
"optimized_prompt": {
"field_name": "optimized_prompt",
"description": "融合优化后的生图提示词",
"value": "{{@step_2_scene_prompt_generate.result.data.optimized_prompt}}",
"type": "string"
},
"check_in_photo_url": {
"field_name": "check_in_photo_url",
"description": "最终生成的景点打卡照片URL",
"value": "{{@step_4_poll_photo_status.result.data.result_url}}",
"type": "string"
},
"negative_prompt": {
"field_name": "negative_prompt",
"description": "反向提示词,排除非写实元素",
"value": "{{@step_2_scene_prompt_generate.result.data.negative_prompt}}",
"type": "string"
}
}
} 提交后立即返回 task_id,系统每 2 秒自动轮询一次运行状态并可视化执行步骤,适合耗时较长的 Skill。
refer_image必填base64人物照片(传入标准 Base64 编码字符串或普通 URL),将直接作为参考图传给生图模型
ratiostring生成照片的比例,可选值:1:1、3:4、4:3、16:9、9:16
pose_requirementsstring对人物姿势等的其他要求,如挥手微笑、背影眺望等,可不填
location_prompt必填string打卡地点提示词,如景点名称或具体描述
把这个 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