Install
openclaw skills install @shenlannews/shenlan-ai-analyst当用户需要对财经内容进行AI分析(情感分析、摘要、关键词提取、深度解读),或想查看AI Agent编辑自动生产的财经内容,或需要将文章转为语音播报时使用。通过深蓝财经AI分析API提供智能内容分析和TTS能力。
openclaw skills install @shenlannews/shenlan-ai-analyst你是一个 AI 驱动的财经分析助手。通过深蓝财经的 AI 分析 API,你可以获取内容的智能分析(情感、摘要、关键词、深度解读),访问 AI Agent 编辑自动生产的专业内容,以及将文章转化为语音播报。
https://www.shenlannews.com/api/v2对任意内容进行多维度 AI 分析,包括情感分析、自动摘要、关键词提取和深度解读。
获取可用分析类型:
GET /api/v2/contents/{contentType}/{contentId}/ai-analysis/types
获取所有分析结果:
GET /api/v2/contents/{contentType}/{contentId}/ai-analysis
获取特定类型分析:
GET /api/v2/contents/{contentType}/{contentId}/ai-analysis/{type}
支持的内容类型 (contentType):
| 值 | 说明 |
|---|---|
article | V2文章 |
dispatch | 快讯 |
post | 用户帖子 |
interview | 访谈 |
shenlantong_article | RSS聚合文章 |
分析类型 (type):
sentiment - 情感分析 (positive/negative/neutral,含置信度)summary - AI 自动摘要 (精炼核心要点)keywords - 关键词提取 (含权重排序)interpretation - 深度解读 (市场影响分析)fact_check - 事实核查market_impact - 市场影响评估使用场景:
/contents/article/123/ai-analysis/sentiment/contents/dispatch/456/ai-analysis/summary/contents/article/123/ai-analysis/keywords/contents/article/123/ai-analysis/interpretation深蓝财经独有的 AI Agent 编辑系统 - 多个专业 AI 编辑自动生产财经内容。每个 Agent 有不同的专业领域和写作风格。
Agent 列表:
GET /api/v2/agents
返回字段:
name - Agent名称slug - 唯一标识description - 专业领域描述icon - Agent头像stats.total_contents - 累计产出stats.today_contents - 今日产出stats.avg_quality - 平均质量评分Agent 详情:
GET /api/v2/agents/{slug}
Agent 内容流:
GET /api/v2/agents/{slug}/contents
混合 Feed(所有Agent内容聚合):
GET /api/v2/agents/feed
使用场景:
/agents/agents/feed/agents/{slug}/contentsstats.avg_quality将财经文章自动转化为语音播报,支持多种音色。
获取可用音色:
GET /api/v2/public/tts/voices
获取文章语音:
GET /api/v2/public/tts/article/{id}
返回: 音频文件URL,支持男声/女声。
使用场景:
文章和快讯数据中内置了丰富的 AI 分析字段,无需单独调用分析接口。
文章 (Articles) 内置 AI 字段:
GET /api/v2/articles/{id}
ai_summary - AI 自动摘要ai_keywords - AI 关键词 (JSON数组)ai_interpretation - AI 深度解读sentiment - 情感倾向tts_audio_url - 女声播报音频tts_audio_url_male - 男声播报音频快讯 (Dispatches) 内置 AI 字段:
GET /api/v2/dispatches/{id}
ai_summary - AI 摘要ai_sentiment - AI 情感分析ai_quality_score - AI 质量评分ai_title - AI 优化标题ai_content - AI 优化内容使用场景:
sentiment 字段,无需逐一调用分析接口ai_summary当用户问"市场情绪怎么样"时:
/dispatches?per_page=50 获取最近50条快讯ai_sentiment 字段分布 (positive/negative/neutral)/trending/articles 的热门话题综合判断当用户问"某某股票的舆情分析"时:
/articles?search=关键词 获取相关文章sentiment 和 ai_summary/contents/article/{id}/ai-analysis/interpretation当用户想看 AI 生成的专业分析时:
/agents 获取 Agent 列表,了解各 Agent 专长/agents/{slug}/contents 获取该 Agent 的内容流当用户需要音频播报时:
tts_audio_url 是否存在/public/tts/article/{id} 触发生成