创建时间: 2026-06-12 12:15 | 步骤: 11 个
输入新闻热点关键词,通过意图解析、检索关键词生成、联网搜索、智能清洗、新闻改写、风格精炼、配图提示词生成、文生图及TTS语音合成,自动化生成剔除冗余话术的高质量图文新闻与语音播报成品。
{
"workflow_id": "news_hotspot_broadcast_generator",
"input": {
"news_hotspot": {
"field_name": "news_hotspot",
"default": "",
"description": "用户输入的新闻热点关键词,如'2026世界人工智能大会'",
"example": "DDR5内存条涨价",
"required": true,
"type": "string"
},
"image_ratio": {
"field_name": "image_ratio",
"default": "16:9",
"description": "配图宽高比,可选值:1:1、3:4、4:3、16:9、9:16",
"example": "1:1",
"required": false,
"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": {
"news_hotspot": "{{@input.news_hotspot}}",
"image_ratio": "{{@input.image_ratio}}"
}
},
{
"id": "step_2_generate_keywords",
"point_code": "",
"result": [],
"api_code": "generate_keywords",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "检索关键词生成",
"action": "run",
"params": {
"news_angles": "{{@step_1_intent_analyzer.result.data.structured_analysis.topics}}",
"structured_intent": "{{@step_1_intent_analyzer.result.data.result}}"
},
"depends_on": [
"step_1_intent_analyzer"
]
},
{
"id": "step_3_search_news",
"point_code": "1",
"result": [],
"api_code": "3395",
"backend_type": "sys_api",
"status": "PENDING",
"name": "联网搜索新闻",
"action": "run",
"params": {
"news": "{{@step_2_generate_keywords.result.data.result}}"
},
"depends_on": [
"step_2_generate_keywords"
]
},
{
"id": "step_4_news_material_clean",
"point_code": "",
"result": [],
"api_code": "news_material_clean",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "新闻素材智能清洗",
"action": "run",
"params": {
"raw_news_data": "{{@step_3_search_news.result.data.data}}",
"structured_intent": "{{@step_1_intent_analyzer.result.data.result}}"
},
"depends_on": [
"step_3_search_news",
"step_1_intent_analyzer"
]
},
{
"id": "step_5_news_rewrite",
"point_code": "",
"result": [],
"api_code": "news_rewrite",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "新闻体改写与融合",
"action": "run",
"params": {
"key_entities": "{{@step_4_news_material_clean.result.data.structured_analysis.entities}}",
"timeline": "{{@step_4_news_material_clean.result.data.structured_analysis.semantic_structure.logical_flow}}",
"structured_intent": "{{@step_1_intent_analyzer.result.data.result}}",
"cleaned_facts": "{{@step_4_news_material_clean.result.data.content_variants.1.content}}"
},
"depends_on": [
"step_4_news_material_clean",
"step_1_intent_analyzer"
]
},
{
"id": "step_6_news_style_refine",
"point_code": "",
"result": [],
"api_code": "news_style_refine",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "风格精炼与冗余剔除",
"action": "run",
"params": {
"success_criteria": "{{@step_1_intent_analyzer.result.data.suggestions.next_actions}}",
"news_content": "{{@step_5_news_rewrite.result.data.content_variants.1.content}}"
},
"depends_on": [
"step_5_news_rewrite",
"step_1_intent_analyzer"
]
},
{
"id": "step_7_news_image_prompt_generate",
"point_code": "",
"result": [],
"api_code": "news_image_prompt_generate",
"backend_type": "prompt_api",
"status": "PENDING",
"name": "配图提示词生成",
"action": "run",
"params": {
"key_entities": "{{@step_4_news_material_clean.result.data.structured_analysis.entities}}",
"structured_intent": "{{@step_1_intent_analyzer.result.data.result}}",
"news_lead": "{{@step_6_news_style_refine.result.data.content_variants.1.content}}",
"news_title": "{{@step_5_news_rewrite.result.data.structured_analysis.semantic_structure.core_theme}}"
},
"depends_on": [
"step_6_news_style_refine",
"step_4_news_material_clean",
"step_1_intent_analyzer"
]
},
{
"id": "step_8_generate_image",
"point_code": "1",
"result": [],
"api_code": "3373",
"backend_type": "sys_api",
"status": "PENDING",
"name": "启动配图生成任务",
"action": "run",
"params": {
"prompt": "{{@step_7_news_image_prompt_generate.result.data.result}}",
"aspect_ratio": "{{@input.image_ratio}}"
},
"depends_on": [
"step_7_news_image_prompt_generate"
]
},
{
"id": "step_9_poll_image_status",
"point_code": "",
"result": [],
"api_code": "polling",
"backend_type": "sys_api",
"status": "PENDING",
"name": "轮询配图生成状态",
"action": "run",
"params": {
"result_url": "{{@step_8_generate_image.result.data.result_url}}"
},
"depends_on": [
"step_8_generate_image"
],
"polling": {
"interval_seconds": 5,
"timeout_seconds": 600,
"success_condition": "{{@step_9_poll_image_status.result.data.task_status}} === 'SUCCEEDED'"
}
},
{
"id": "step_10_generate_audio",
"point_code": "1",
"result": [],
"api_code": "3322",
"backend_type": "sys_api",
"status": "PENDING",
"name": "启动TTS语音合成任务",
"action": "run",
"params": {
"model": "glm-tts",
"input": "{{@step_6_news_style_refine.result.data.content_variants.1.content}}",
"voice": "tongtong",
"speed": 1,
"volume": 1,
"response_format": "wav"
},
"depends_on": [
"step_6_news_style_refine"
]
},
{
"id": "step_11_poll_audio_status",
"point_code": "",
"result": [],
"api_code": "polling",
"backend_type": "sys_api",
"status": "PENDING",
"name": "轮询语音合成状态",
"action": "run",
"params": {
"result_url": "{{@step_10_generate_audio.result.data.result_url}}"
},
"depends_on": [
"step_10_generate_audio"
],
"polling": {
"interval_seconds": 5,
"timeout_seconds": 600,
"success_condition": "{{@step_11_poll_audio_status.result.data.task_status}} === 'SUCCEEDED'"
}
}
],
"output": {
"refined_news_text": {
"field_name": "refined_news_text",
"description": "剔除冗余话术后的精炼新闻终稿文本",
"value": "{{@step_6_news_style_refine.result.data.content_variants.1.content}}",
"type": "string"
},
"generated_audio_url": {
"field_name": "generated_audio_url",
"description": "生成的TTS语音播报音频URL",
"value": "{{@step_11_poll_audio_status.result.data.result_url}}",
"type": "string"
},
"generated_image_url": {
"field_name": "generated_image_url",
"description": "生成的新闻配图URL",
"value": "{{@step_9_poll_image_status.result.data.result_url}}",
"type": "string"
}
}
} 提交后立即返回 task_id,系统每 2 秒自动轮询一次运行状态并可视化执行步骤,适合耗时较长的 Skill。
news_hotspot必填string用户输入的新闻热点关键词,如'2026世界人工智能大会'
image_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