feature_list_content_generate.json 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. {
  2. "project_name": "AI语音应用 - 智能内容生成引擎",
  3. "base_config": {
  4. "backend_port": 3000,
  5. "frontend_port": 5173,
  6. "db_host": "localhost",
  7. "db_port": 3306,
  8. "auth_enabled": false,
  9. "llm_provider": "dashscope"
  10. },
  11. "features": [
  12. {
  13. "id": 1,
  14. "description": "智能意图识别引擎",
  15. "status": "init",
  16. "passes": false,
  17. "priority": "high",
  18. "phase": "1",
  19. "backend_test_steps": [
  20. "1. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"帮我生成一个销售话术\"}' - 验证意图识别",
  21. "2. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"写个儿童故事\"}' - 验证小说类识别",
  22. "3. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"培训新员工用\"}' - 验证课件类识别"
  23. ],
  24. "frontend_test_steps": [
  25. "1. 在生成页输入'给我生成一个产品介绍'",
  26. "2. 验证系统自动识别为'产品文案'类型",
  27. "3. 验证显示行业识别结果(如:电商)",
  28. "4. 验证推荐参数自动填充"
  29. ],
  30. "tech_stack": {
  31. "llm": "通义千问/DashScope",
  32. "strategy": "Few-shot Prompt + Entity Extraction"
  33. }
  34. },
  35. {
  36. "id": 2,
  37. "description": "内容类型分类系统",
  38. "status": "init",
  39. "passes": false,
  40. "priority": "high",
  41. "phase": "1",
  42. "backend_test_steps": [
  43. "1. curl http://localhost:3000/api/content/types - 验证获取所有内容类型",
  44. "2. curl http://localhost:3000/api/content/types/小说 - 验证获取小说类模板",
  45. "3. curl http://localhost:3000/api/content/types/广告营销 - 验证获取营销类模板"
  46. ],
  47. "frontend_test_steps": [
  48. "1. 验证内容类型选择器显示",
  49. "2. 验证分类完整(小说/广告/课件/新闻/播客/销售/客服/培训等)",
  50. "3. 点击类型验证子类型显示",
  51. "4. 验证选中状态正确"
  52. ],
  53. "content_categories": {
  54. "创作类": ["小说", "故事", "剧本", "诗歌", "散文"],
  55. "营销类": ["产品介绍", "广告文案", "朋友圈", "小红书", "抖音脚本"],
  56. "教育类": ["课件", "培训", "教程", "知识科普", "考试辅导"],
  57. "商务类": ["销售话术", "客服话术", "商务邮件", "合同条款", "方案PPT"],
  58. "媒体类": ["新闻播报", "天气预报", "体育解说", "财经评论", "娱乐八卦"],
  59. "生活类": ["生日祝福", "婚礼致辞", "节日问候", "朋友圈文案", "签名设计"],
  60. "专业类": ["法律文书", "医学说明", "技术文档", "产品手册", "操作指南"]
  61. }
  62. },
  63. {
  64. "id": 3,
  65. "description": "行业知识适配器",
  66. "status": "init",
  67. "passes": false,
  68. "priority": "high",
  69. "phase": "1",
  70. "backend_test_steps": [
  71. "1. curl -X POST http://localhost:3000/api/ai/adapt -H 'Content-Type: application/json' -d '{\"content\":\"产品介绍\",\"industry\":\"医疗\"}' - 验证医疗行业适配",
  72. "2. curl -X POST http://localhost:3000/api/ai/adapt -H 'Content-Type: application/json' -d '{\"content\":\"培训资料\",\"industry\":\"金融\"}' - 验证金融行业适配",
  73. "3. curl http://localhost:3000/api/industries - 验证获取行业列表"
  74. ],
  75. "frontend_test_steps": [
  76. "1. 选择内容类型后验证行业选择",
  77. "2. 选择'医疗'行业",
  78. "3. 验证生成内容符合医疗规范",
  79. "4. 验证专业术语正确使用"
  80. ],
  81. "industries": {
  82. "通用": {},
  83. "医疗健康": {"terminology": true, "compliance": "医疗广告法", "sensitivity": "high"},
  84. "教育培训": {"terminology": true, "compliance": "教育规范", "sensitivity": "medium"},
  85. "金融服务": {"terminology": true, "compliance": "金融监管", "sensitivity": "high"},
  86. "电子商务": {"terminology": false, "compliance": "电商法规", "sensitivity": "low"},
  87. "法律服务": {"terminology": true, "compliance": "律师执业规范", "sensitivity": "high"},
  88. "新闻媒体": {"terminology": true, "compliance": "新闻伦理", "sensitivity": "high"},
  89. "餐饮美食": {"terminology": false, "compliance": "食品广告法", "sensitivity": "medium"},
  90. "房地产": {"terminology": true, "compliance": "房产广告规定", "sensitivity": "medium"},
  91. "汽车销售": {"terminology": true, "compliance": "汽车广告法", "sensitivity": "low"}
  92. }
  93. },
  94. {
  95. "id": 4,
  96. "description": "内容结构规划器",
  97. "status": "init",
  98. "passes": false,
  99. "priority": "high",
  100. "phase": "1",
  101. "backend_test_steps": [
  102. "1. curl -X POST http://localhost:3000/api/ai/plan -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"theme\":\"穿越\",\"targetLength\":200000}' - 验证小说大纲生成",
  103. "2. curl -X POST http://localhost:3000/api/ai/plan -H 'Content-Type: application/json' -d '{\"type\":\"产品介绍\",\"industry\":\"电商\",\"product\":\"手机\"}' - 验证产品文案结构"
  104. ],
  105. "frontend_test_steps": [
  106. "1. 输入'生成一个20万字穿越小说'",
  107. "2. 验证显示内容规划面板",
  108. "3. 验证大纲结构展示(章节数、预计字数)",
  109. "4. 验证可以编辑调整大纲",
  110. "5. 验证确认后开始生成"
  111. ]
  112. },
  113. {
  114. "id": 5,
  115. "description": "大纲生成系统",
  116. "status": "init",
  117. "passes": false,
  118. "priority": "high",
  119. "phase": "1",
  120. "backend_test_steps": [
  121. "1. curl -X POST http://localhost:3000/api/outline/generate -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"theme\":\"都市\",\"chapters\":50}' - 验证生成50章大纲",
  122. "2. curl -X POST http://localhost:3000/api/outline/generate -H 'Content-Type: application/json' -d '{\"type\":\"培训课件\",\"topics\":[\"产品知识\",\"销售技巧\"]}' - 验证课件大纲",
  123. "3. curl -X PUT http://localhost:3000/api/outline/outline-001 -H 'Content-Type: application/json' -d '{\"chapter2\":\"调整后的章节名\"}' - 验证大纲编辑"
  124. ],
  125. "frontend_test_steps": [
  126. "1. 选择内容类型后点击生成大纲",
  127. "2. 验证大纲预览显示",
  128. "3. 验证大纲可折叠/展开",
  129. "4. 验证可编辑章节标题",
  130. "5. 验证可增删章节",
  131. "6. 验证大纲调整后重新生成"
  132. ]
  133. },
  134. {
  135. "id": 6,
  136. "description": "角色/实体设定系统",
  137. "status": "init",
  138. "passes": false,
  139. "priority": "medium",
  140. "phase": "2",
  141. "backend_test_steps": [
  142. "1. curl -X POST http://localhost:3000/api/characters/generate -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"genre\":\"都市\"}' - 验证角色设定生成",
  143. "2. curl -X PUT http://localhost:3000/api/characters/char-001 -H 'Content-Type: application/json' -d '{\"name\":\"张三\",\"age\":30}' - 验证角色编辑",
  144. "3. curl -X DELETE http://localhost:3000/api/characters/char-001 - 验证删除角色"
  145. ],
  146. "frontend_test_steps": [
  147. "1. 创建小说项目后验证角色设定面板",
  148. "2. 验证自动生成推荐角色",
  149. "3. 验证可添加自定义角色",
  150. "4. 验证角色卡片显示(头像、姓名、性格、背景)",
  151. "5. 验证可编辑角色信息",
  152. "6. 验证角色关系图显示"
  153. ]
  154. },
  155. {
  156. "id": 7,
  157. "description": "分步章节生成引擎",
  158. "status": "init",
  159. "passes": false,
  160. "priority": "high",
  161. "phase": "1",
  162. "backend_test_steps": [
  163. "1. curl -X POST http://localhost:3000/api/content/generate/chunk -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\",\"chapterIndex\":1}' - 验证单章生成",
  164. "2. curl http://localhost:3000/api/content/generate/progress/generate-001 - 验证获取生成进度",
  165. "3. curl -X POST http://localhost:3000/api/content/generate/batch -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\",\"chapters\":[1,2,3]}' - 验证批量生成"
  166. ],
  167. "frontend_test_steps": [
  168. "1. 确认大纲后点击开始生成",
  169. "2. 验证进度条显示当前章节",
  170. "3. 验证流式输出内容预览",
  171. "4. 验证可暂停/继续生成",
  172. "5. 验证中断后能从断点恢复",
  173. "6. 验证全部完成后显示成品"
  174. ]
  175. },
  176. {
  177. "id": 8,
  178. "description": "流式输出系统",
  179. "status": "init",
  180. "passes": false,
  181. "priority": "high",
  182. "phase": "1",
  183. "backend_test_steps": [
  184. "1. curl -X POST http://localhost:3000/api/content/stream -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\"}' --no-buffer - 验证SSE流式响应"
  185. ],
  186. "frontend_test_steps": [
  187. "1. 点击生成验证实时内容输出",
  188. "2. 验证打字机效果显示",
  189. "3. 验证输出过程可滚动浏览",
  190. "4. 验证网速慢时加载提示",
  191. "5. 验证流式中断自动重连"
  192. ],
  193. "tech_stack": {
  194. "protocol": "Server-Sent Events (SSE)",
  195. "fallback": "WebSocket / Long Polling"
  196. }
  197. },
  198. {
  199. "id": 9,
  200. "description": "生成任务管理系统",
  201. "status": "init",
  202. "passes": false,
  203. "priority": "high",
  204. "phase": "1",
  205. "backend_test_steps": [
  206. "1. curl -X POST http://localhost:3000/api/tasks -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"title\":\"测试任务\"}' - 验证创建生成任务",
  207. "2. curl http://localhost:3000/api/tasks - 验证获取任务列表",
  208. "3. curl http://localhost:3000/api/tasks/task-001 - 验证获取任务详情",
  209. "4. curl -X DELETE http://localhost:3000/api/tasks/task-001 - 验证删除任务"
  210. ],
  211. "frontend_test_steps": [
  212. "1. 创建长内容生成任务",
  213. "2. 验证任务出现在任务列表",
  214. "3. 验证任务状态显示(排队/生成中/完成/失败)",
  215. "4. 验证可查看任务详情",
  216. "5. 验证可取消/删除任务",
  217. "6. 验证可恢复中断任务"
  218. ]
  219. },
  220. {
  221. "id": 10,
  222. "description": "上下文连贯性引擎",
  223. "status": "init",
  224. "passes": false,
  225. "priority": "high",
  226. "phase": "2",
  227. "backend_test_steps": [
  228. "1. curl -X POST http://localhost:3000/api/content/coherence/check -H 'Content-Type: application/json' -d '{\"chapter1\":\"内容...\",\"chapter2\":\"内容...\"}' - 验证章节连贯性检查",
  229. "2. curl -X POST http://localhost:3000/api/content/continuity -H 'Content-Type: application/json' -d '{\"previousChapter\":\"上一章内容\",\"nextTopic\":\"下一章主题\"}' - 验证生成衔接段"
  230. ],
  231. "frontend_test_steps": [
  232. "1. 生成多章节小说",
  233. "2. 验证章节之间衔接自然",
  234. "3. 验证人物设定前后一致",
  235. "4. 验证时间线逻辑正确",
  236. "5. 验证自动补充衔接段"
  237. ]
  238. },
  239. {
  240. "id": 11,
  241. "description": "敏感词实时检测系统",
  242. "status": "init",
  243. "passes": false,
  244. "priority": "high",
  245. "phase": "1",
  246. "backend_test_steps": [
  247. "1. curl -X POST http://localhost:3000/api/sensitive/check -H 'Content-Type: application/json' -d '{\"text\":\"测试文本\"}' - 验证敏感词检测",
  248. "2. curl -X POST http://localhost:3000/api/sensitive/check -H 'Content-Type: application/json' -d '{\"text\":\"涉及敏感内容\"}' - 验证敏感词标记",
  249. "3. curl http://localhost:3000/api/sensitive/words - 验证获取敏感词库"
  250. ],
  251. "frontend_test_steps": [
  252. "1. 输入/生成内容时实时检测",
  253. "2. 验证敏感词红色高亮",
  254. "3. 验证提示建议修改",
  255. "4. 验证敏感内容阻止生成",
  256. "5. 验证可配置忽略特定词"
  257. ]
  258. },
  259. {
  260. "id": 12,
  261. "description": "质量评分系统",
  262. "status": "init",
  263. "passes": false,
  264. "priority": "medium",
  265. "phase": "2",
  266. "backend_test_steps": [
  267. "1. curl -X POST http://localhost:3000/api/quality/score -H 'Content-Type: application/json' -d '{\"text\":\"待评分文本\"}' - 验证质量评分",
  268. "2. curl http://localhost:3000/api/quality/dimensions - 验证获取评分维度"
  269. ],
  270. "frontend_test_steps": [
  271. "1. 内容生成完成后验证评分显示",
  272. "2. 验证流畅度评分(0-100)",
  273. "3. 验证自然度评分",
  274. "4. 验证情感一致评分",
  275. "5. 验证总分雷达图展示",
  276. "6. 验证评分过低时提示优化"
  277. ],
  278. "quality_metrics": {
  279. "fluency": "语言流畅度",
  280. "naturalness": "表达自然度",
  281. "emotion_consistency": "情感一致性",
  282. "topic_adherence": "主题相关性",
  283. "structural_integrity": "结构完整性"
  284. }
  285. },
  286. {
  287. "id": 13,
  288. "description": "内容优化建议系统",
  289. "status": "init",
  290. "passes": false,
  291. "priority": "medium",
  292. "phase": "2",
  293. "backend_test_steps": [
  294. "1. curl -X POST http://localhost:3000/api/content/optimize -H 'Content-Type: application/json' -d '{\"text\":\"待优化文本\",\"target\":\"更生动\"}' - 验证内容优化",
  295. "2. curl -X POST http://localhost:3000/api/content/suggest -H 'Content-Type: application/json' -d '{\"text\":\"原文\",\"issue\":\"太平淡\"}' - 验证问题诊断"
  296. ],
  297. "frontend_test_steps": [
  298. "1. 生成内容后验证优化建议按钮",
  299. "2. 点击验证显示优化选项",
  300. "3. 选择'更生动'验证优化效果",
  301. "4. 验证对比原版和改进版",
  302. "5. 验证一键应用优化"
  303. ]
  304. },
  305. {
  306. "id": 14,
  307. "description": "多语言生成支持",
  308. "status": "init",
  309. "passes": false,
  310. "priority": "medium",
  311. "phase": "2",
  312. "backend_test_steps": [
  313. "1. curl -X POST http://localhost:3000/api/translate/generate -H 'Content-Type: application/json' -d '{\"text\":\"中文文本\",\"targetLang\":\"en\"}' - 验证翻译生成",
  314. "2. curl http://localhost:3000/api/languages - 验证获取支持的语言"
  315. ],
  316. "frontend_test_steps": [
  317. "1. 生成中文内容后验证翻译按钮",
  318. "2. 选择目标语言(英语/日语/韩语等)",
  319. "3. 验证自动翻译并配音",
  320. "4. 验证多语言版本可切换"
  321. ],
  322. "supported_languages": ["中文", "英语", "日语", "韩语", "法语", "德语", "西班牙语", "葡萄牙语", "俄语", "阿拉伯语"]
  323. },
  324. {
  325. "id": 15,
  326. "description": "背景音乐智能匹配",
  327. "status": "init",
  328. "passes": false,
  329. "priority": "medium",
  330. "phase": "1",
  331. "backend_test_steps": [
  332. "1. curl -X POST http://localhost:3000/api/bgm/match -H 'Content-Type: application/json' -d '{\"contentType\":\"小说\",\"mood\":\"紧张\",\"genre\":\"悬疑\"}' - 验证智能匹配BGM",
  333. "2. curl http://localhost:3000/api/bgm/recommend?contentId=xxx - 验证内容推荐BGM"
  334. ],
  335. "frontend_test_steps": [
  336. "1. 生成悬疑小说验证推荐紧张风格BGM",
  337. "2. 生成温馨故事验证推荐柔和BGM",
  338. "3. 验证可手动更换BGM",
  339. "4. 验证BGM与内容同步播放"
  340. ]
  341. },
  342. {
  343. "id": 16,
  344. "description": "音效与转场系统",
  345. "status": "init",
  346. "passes": false,
  347. "priority": "medium",
  348. "phase": "2",
  349. "backend_test_steps": [
  350. "1. curl http://localhost:3000/api/sounds - 验证获取音效列表",
  351. "2. curl -X POST http://localhost:3000/api/sounds/apply -H 'Content-Type: application/json' -d '{\"audioId\":\"xxx\",\"soundEffect\":\"新闻开场\"}' - 验证应用音效",
  352. "3. curl -X POST http://localhost:3000/api/sounds/transition -H 'Content-Type: application/json' -d '{\"scene1\":\"场景1\",\"scene2\":\"场景2\"}' - 验证转场音效"
  353. ],
  354. "frontend_test_steps": [
  355. "1. 在小说章节间验证转场音效",
  356. "2. 验证不同场景自动匹配音效",
  357. "3. 验证可手动添加音效",
  358. "4. 验证音效与内容时间轴同步"
  359. ]
  360. },
  361. {
  362. "id": 17,
  363. "description": "多角色对话系统",
  364. "status": "init",
  365. "passes": false,
  366. "priority": "medium",
  367. "phase": "2",
  368. "backend_test_steps": [
  369. "1. curl -X POST http://localhost:3000/api/dialogue/generate -H 'Content-Type: application/json' -d '{\"characters\":[{\"name\":\"张三\",\"voice\":\"male\"},{\"name\":\"李四\",\"voice\":\"female\"}],\"scenario\":\"商务谈判\"}' - 验证多角色生成",
  370. "2. curl -X POST http://localhost:3000/api/dialogue/add -H 'Content-Type: application/json' -d '{\"audioId\":\"xxx\",\"character\":\"张三\",\"line\":\"新对白\"}' - 验证添加对白"
  371. ],
  372. "frontend_test_steps": [
  373. "1. 创建多角色对话项目",
  374. "2. 添加多个角色并分配音色",
  375. "3. 输入对话场景",
  376. "4. 验证自动生成对话内容",
  377. "5. 验证各角色使用不同音色",
  378. "6. 验证可编辑调整对话"
  379. ]
  380. },
  381. {
  382. "id": 18,
  383. "description": "情感调节引擎",
  384. "status": "init",
  385. "passes": false,
  386. "priority": "medium",
  387. "phase": "1",
  388. "backend_test_steps": [
  389. "1. curl -X POST http://localhost:3000/api/emotion/adjust -H 'Content-Type: application/json' -d '{\"text\":\"平静文本\",\"targetEmotion\":\"激动\"}' - 验证情感调整",
  390. "2. curl http://localhost:3000/api/emotions - 验证获取情感选项"
  391. ],
  392. "frontend_test_steps": [
  393. "1. 选择内容情感(开心/悲伤/激动/平静/紧张)",
  394. "2. 验证生成内容情感一致",
  395. "3. 验证情感强度可调节",
  396. "4. 验证不同段落可设置不同情感"
  397. ],
  398. "emotions": ["开心", "悲伤", "激动", "平静", "紧张", "温柔", "愤怒", "恐惧", "惊讶"]
  399. },
  400. {
  401. "id": 19,
  402. "description": "模板市场系统",
  403. "status": "init",
  404. "passes": false,
  405. "priority": "high",
  406. "phase": "1",
  407. "backend_test_steps": [
  408. "1. curl http://localhost:3000/api/templates/market - 验证获取市场模板",
  409. "2. curl -X POST http://localhost:3000/api/templates -H 'Content-Type: application/json' -d '{\"name\":\"我的模板\",\"type\":\"小说\",\"outline\":\"...\"}' - 验证创建模板",
  410. "3. curl -X POST http://localhost:3000/api/templates/template-001/use - 验证使用模板"
  411. ],
  412. "frontend_test_steps": [
  413. "1. 进入模板市场",
  414. "2. 验证模板分类浏览",
  415. "3. 验证模板预览",
  416. "4. 验证一键使用模板",
  417. "5. 验证可创建保存个人模板",
  418. "6. 验证模板分享功能"
  419. ]
  420. },
  421. {
  422. "id": 20,
  423. "description": "行业专属模板库",
  424. "status": "init",
  425. "passes": false,
  426. "priority": "high",
  427. "phase": "1",
  428. "backend_test_steps": [
  429. "1. curl http://localhost:3000/api/templates/industry/医疗 - 验证获取医疗模板",
  430. "2. curl http://localhost:3000/api/templates/industry/教育 - 验证获取教育模板",
  431. "3. curl http://localhost:3000/api/templates/industry/电商 - 验证获取电商模板"
  432. ],
  433. "frontend_test_steps": [
  434. "1. 选择行业后验证专属模板",
  435. "2. 医疗行业验证合规模板",
  436. "3. 教育行业验证课件模板",
  437. "4. 电商行业验证营销模板",
  438. "5. 验证行业术语自动填充"
  439. ]
  440. },
  441. {
  442. "id": 21,
  443. "description": "批量内容生成系统",
  444. "status": "init",
  445. "passes": false,
  446. "priority": "medium",
  447. "phase": "2",
  448. "backend_test_steps": [
  449. "1. curl -X POST http://localhost:3000/api/batch/upload -F 'file=@products.txt' - 验证批量上传",
  450. "2. curl -X POST http://localhost:3000/api/batch/generate -H 'Content-Type: application/json' -d '{\"batchId\":\"batch-001\",\"template\":\"产品介绍\"}' - 验证批量生成",
  451. "3. curl http://localhost:3000/api/batch/batch-001/status - 验证批量状态"
  452. ],
  453. "frontend_test_steps": [
  454. "1. 上传Excel/TXT产品列表",
  455. "2. 选择生成模板",
  456. "3. 验证批量生成进度",
  457. "4. 验证生成结果批量预览",
  458. "5. 验证批量下载"
  459. ]
  460. },
  461. {
  462. "id": 22,
  463. "description": "内容版本管理系统",
  464. "status": "init",
  465. "passes": false,
  466. "priority": "medium",
  467. "phase": "2",
  468. "backend_test_steps": [
  469. "1. curl http://localhost:3000/api/versions/content-001 - 验证获取版本历史",
  470. "2. curl -X POST http://localhost:3000/api/versions/content-001/snapshot - 验证创建快照",
  471. "3. curl -X POST http://localhost:3000/api/versions/content-001/restore/version-003 - 验证恢复版本"
  472. ],
  473. "frontend_test_steps": [
  474. "1. 内容编辑时验证自动保存",
  475. "2. 验证版本历史列表",
  476. "3. 验证版本对比功能",
  477. "4. 验证一键恢复旧版本",
  478. "5. 验证手动创建快照"
  479. ]
  480. },
  481. {
  482. "id": 23,
  483. "description": "生成历史与草稿系统",
  484. "status": "init",
  485. "passes": false,
  486. "priority": "medium",
  487. "phase": "1",
  488. "backend_test_steps": [
  489. "1. curl http://localhost:3000/api/drafts - 验证获取草稿列表",
  490. "2. curl -X POST http://localhost:3000/api/drafts -H 'Content-Type: application/json' -d '{\"title\":\"草稿标题\",\"content\":\"...\"}' - 验证保存草稿",
  491. "3. curl -X DELETE http://localhost:3000/api/drafts/draft-001 - 验证删除草稿"
  492. ],
  493. "frontend_test_steps": [
  494. "1. 生成过程中验证自动保存草稿",
  495. "2. 验证草稿列表显示",
  496. "3. 验证恢复草稿继续生成",
  497. "4. 验证草稿过期提醒"
  498. ]
  499. },
  500. {
  501. "id": 24,
  502. "description": "一键发布到多平台",
  503. "status": "init",
  504. "passes": false,
  505. "priority": "medium",
  506. "phase": "2",
  507. "backend_test_steps": [
  508. "1. curl http://localhost:3000/api/platforms - 验证获取发布平台",
  509. "2. curl -X POST http://localhost:3000/api/publish/multi -H 'Content-Type: application/json' -d '{\"contentId\":\"xxx\",\"platforms\":[\"xiaohongshu\",\"douyin\"]}' - 验证多平台发布",
  510. "3. curl http://localhost:3000/api/publish/status/publish-001 - 验证发布状态"
  511. ],
  512. "frontend_test_steps": [
  513. "1. 生成完成后验证发布按钮",
  514. "2. 选择目标平台(小红书/抖音/公众号等)",
  515. "3. 验证自动适配各平台格式",
  516. "4. 验证一键发布多平台",
  517. "5. 验证发布状态跟踪"
  518. ],
  519. "platforms": {
  520. "内容平台": ["小红书", "抖音", "快手", "微信公众号", "微博", "知乎"],
  521. "音频平台": ["喜马拉雅", "荔枝FM", "蜻蜓FM", "网易云音乐"],
  522. "视频平台": ["B站", "西瓜视频", "YouTube"],
  523. "电商平台": ["淘宝商品详情", "京东商品详情", "拼多多"]
  524. }
  525. },
  526. {
  527. "id": 25,
  528. "description": "内容SEO优化系统",
  529. "status": "init",
  530. "passes": false,
  531. "priority": "low",
  532. "phase": "3",
  533. "backend_test_steps": [
  534. "1. curl -X POST http://localhost:3000/api/seo/optimize -H 'Content-Type: application/json' -d '{\"title\":\"标题\",\"content\":\"内容\",\"platform\":\"小红书\"}' - 验证SEO优化",
  535. "2. curl http://localhost:3000/api/seo/keywords?industry=电商 - 验证获取行业关键词"
  536. ],
  537. "frontend_test_steps": [
  538. "1. 生成内容后验证SEO优化按钮",
  539. "2. 验证关键词推荐",
  540. "3. 验证标题优化建议",
  541. "4. 验证平台适配优化",
  542. "5. 验证一键应用优化"
  543. ]
  544. },
  545. {
  546. "id": 26,
  547. "description": "品牌音色定制系统",
  548. "status": "init",
  549. "passes": false,
  550. "priority": "low",
  551. "phase": "3",
  552. "backend_test_steps": [
  553. "1. curl -X POST http://localhost:3000/api/voice/brand/train -H 'Content-Type: application/json' -d '{\"name\":\"品牌音色\",\"samples\":[\"sample1.mp3\",\"sample2.mp3\"]}' - 验证音色训练",
  554. "2. curl http://localhost:3000/api/voice/brand/status/train-001 - 验证训练状态"
  555. ],
  556. "frontend_test_steps": [
  557. "1. 进入品牌音色定制",
  558. "2. 上传品牌音频样本",
  559. "3. 验证训练进度",
  560. "4. 验证音色定制完成",
  561. "5. 验证品牌音色使用"
  562. ]
  563. },
  564. {
  565. "id": 27,
  566. "description": "智能续写系统",
  567. "status": "init",
  568. "passes": false,
  569. "priority": "medium",
  570. "phase": "2",
  571. "backend_test_steps": [
  572. "1. curl -X POST http://localhost:3000/api/content/continue -H 'Content-Type: application/json' -d '{\"text\":\"已有内容\",\"direction\":\"延续情节\"}' - 验证智能续写",
  573. "2. curl -X POST http://localhost:3000/api/content/continue/options -H 'Content-Type: application/json' -d '{\"text\":\"已有内容\"}' - 验证续写选项"
  574. ],
  575. "frontend_test_steps": [
  576. "1. 选中内容点击续写",
  577. "2. 验证多个续写方向选项",
  578. "3. 验证续写内容预览",
  579. "4. 验证选择最佳续写",
  580. "5. 验证一键应用"
  581. ]
  582. },
  583. {
  584. "id": 28,
  585. "description": "内容翻译配音系统",
  586. "status": "init",
  587. "passes": false,
  588. "priority": "medium",
  589. "phase": "2",
  590. "backend_test_steps": [
  591. "1. curl -X POST http://localhost:3000/api/translate/voice -H 'Content-Type: application/json' -d '{\"text\":\"中文\",\"targetLang\":\"en\",\"voiceStyle\":\"professional\"}' - 验证翻译并配音"
  592. ],
  593. "frontend_test_steps": [
  594. "1. 选择内容翻译配音",
  595. "2. 选择目标语言和配音风格",
  596. "3. 验证自动翻译",
  597. "4. 验证翻译后自动配音",
  598. "5. 验证多语言版本管理"
  599. ]
  600. },
  601. {
  602. "id": 29,
  603. "description": "内容合规检查系统",
  604. "status": "init",
  605. "passes": false,
  606. "priority": "high",
  607. "phase": "1",
  608. "backend_test_steps": [
  609. "1. curl -X POST http://localhost:3000/api/compliance/check -H 'Content-Type: application/json' -d '{\"text\":\"内容\",\"industry\":\"医疗\"}' - 验证合规检查",
  610. "2. curl http://localhost:3000/api/compliance/rules/医疗 - 验证获取行业规则"
  611. ],
  612. "frontend_test_steps": [
  613. "1. 生成完成后验证合规检查",
  614. "2. 验证显示合规问题列表",
  615. "3. 验证问题定位高亮",
  616. "4. 验证自动修复建议",
  617. "5. 验证通过后允许发布"
  618. ]
  619. },
  620. {
  621. "id": 30,
  622. "description": "内容分析报告系统",
  623. "status": "init",
  624. "passes": false,
  625. "priority": "low",
  626. "phase": "3",
  627. "backend_test_steps": [
  628. "1. curl -X POST http://localhost:3000/api/analytics/report -H 'Content-Type: application/json' -d '{\"contentId\":\"xxx\"}' - 验证生成分析报告",
  629. "2. curl http://localhost:3000/api/analytics/content-001 - 验证获取分析数据"
  630. ],
  631. "frontend_test_steps": [
  632. "1. 内容详情页验证分析报告入口",
  633. "2. 验证生成内容分析",
  634. "3. 验证阅读时长预估",
  635. "4. 验证情感曲线图",
  636. "5. 验证关键词词云",
  637. "6. 验证下载报告"
  638. ]
  639. }
  640. ],
  641. "content_generation_flow": {
  642. "step1_intent": {
  643. "name": "意图识别",
  644. "description": "理解用户需求类型和行业",
  645. "input": "用户输入(关键词/描述/主题)",
  646. "output": "{type, industry, style, scale}"
  647. },
  648. "step2_plan": {
  649. "name": "内容规划",
  650. "description": "生成结构化大纲和角色设定",
  651. "input": "意图识别结果",
  652. "output": "{outline, characters, structure}"
  653. },
  654. "step3_generate": {
  655. "name": "分步生成",
  656. "description": "按章节/段落逐步生成内容",
  657. "input": "内容大纲",
  658. "output": "{chapters[], progress, streaming}"
  659. },
  660. "step4_quality": {
  661. "name": "质量控制",
  662. "description": "敏感词检测、合规检查、质量评分",
  663. "input": "生成内容",
  664. "output": "{pass, issues[], score}"
  665. },
  666. "step5_audio": {
  667. "name": "音频合成",
  668. "description": "TTS转换、背景音乐、音效",
  669. "input": "审核通过内容",
  670. "output": "{audioUrl, duration, bgs[]}"
  671. },
  672. "step6_publish": {
  673. "name": "多平台发布",
  674. "description": "格式适配、一键分发",
  675. "input": "成品内容",
  676. "output": "{status, urls[]}"
  677. }
  678. },
  679. "industry_templates": {
  680. "医疗健康": {
  681. "types": ["健康科普", "药品说明", "就医指南", "医学科普", "康复指导"],
  682. "compliance": "医疗广告法",
  683. "terminology": "医学专业术语"
  684. },
  685. "教育培训": {
  686. "types": ["课件PPT", "培训教案", "考试题库", "知识科普", "学习方法"],
  687. "compliance": "教育规范",
  688. "terminology": "教育专业术语"
  689. },
  690. "金融服务": {
  691. "types": ["产品介绍", "理财建议", "风险提示", "开户指引", "投诉处理"],
  692. "compliance": "金融监管",
  693. "terminology": "金融专业术语"
  694. },
  695. "电子商务": {
  696. "types": ["产品详情", "买家秀文案", "促销海报", "客服话术", "直播脚本"],
  697. "compliance": "电商法规",
  698. "terminology": "营销常用语"
  699. },
  700. "法律服务": {
  701. "types": ["法律咨询", "案件分析", "合同条款", "诉讼文书", "法律意见书"],
  702. "compliance": "律师执业规范",
  703. "terminology": "法律专业术语"
  704. },
  705. "新闻媒体": {
  706. "types": ["新闻播报", "热点评论", "采访提纲", "专题报道", "突发事件"],
  707. "compliance": "新闻伦理",
  708. "terminology": "新闻专业术语"
  709. },
  710. "餐饮美食": {
  711. "types": ["菜品介绍", "食谱教程", "餐厅推荐", "美食探店", "烹饪技巧"],
  712. "compliance": "食品广告法",
  713. "terminology": "美食专业术语"
  714. },
  715. "房地产": {
  716. "types": ["楼盘介绍", "户型解读", "购房指南", "投资分析", "装修建议"],
  717. "compliance": "房产广告规定",
  718. "terminology": "房产专业术语"
  719. }
  720. }
  721. }