storyboard.schema.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "https://git.fmode.cn/fmode-13177980648/skill-mv/templates/storyboard.schema.json",
  4. "title": "fmode-mv storyboard",
  5. "description": "分镜数据结构。产线A(音乐MV)与产线B(口播讲解)共用,差异在 shots[].type 与 narration 字段。整条链路(keyframe / video / lipsync / assemble)都消费本结构。",
  6. "type": "object",
  7. "required": ["title", "aspect", "totalDuration", "shots"],
  8. "additionalProperties": true,
  9. "properties": {
  10. "title": {
  11. "type": "string",
  12. "description": "标题:产线A 为歌名,产线B 为视频标题"
  13. },
  14. "aspect": {
  15. "type": "string",
  16. "enum": ["16:9", "9:16", "1:1", "4:3"],
  17. "default": "16:9",
  18. "description": "画面比例,决定关键帧尺寸与成片分辨率"
  19. },
  20. "totalDuration": {
  21. "type": "number",
  22. "description": "全片总时长(秒),由各镜头 start+duration 推导"
  23. },
  24. "appearanceAnchor": {
  25. "type": "string",
  26. "description": "★人物一致性锚点(英文)。每个含人物的镜头都必须原样复述这段描述,否则跨镜头会换脸。",
  27. "examples": [
  28. "Asian woman in her late 20s, shoulder-length black hair with soft waves, natural makeup, wearing a deep navy oversized jacket over a white tee, calm melancholic gaze"
  29. ]
  30. },
  31. "styleKeywords": {
  32. "type": "string",
  33. "description": "全片统一的影像风格关键词(英文),会拼进每张关键帧 prompt",
  34. "examples": ["cinematic, teal and orange color grade, neon city night, shallow depth of field, 35mm film grain"]
  35. },
  36. "shots": {
  37. "type": "array",
  38. "minItems": 1,
  39. "description": "镜头列表,按时间顺序",
  40. "items": {
  41. "type": "object",
  42. "required": ["id", "type", "start", "duration", "description", "imagePrompt", "videoPrompt"],
  43. "additionalProperties": true,
  44. "properties": {
  45. "id": {
  46. "type": "integer",
  47. "minimum": 1,
  48. "description": "镜头序号,从 1 开始。对应产物文件名 shot-XX.png / shot-XX.mp4"
  49. },
  50. "type": {
  51. "type": "string",
  52. "enum": ["broll", "perf", "talking"],
  53. "description": "broll=空镜/场景(无人物主体);perf=产线A 人物演唱镜头;talking=产线B 讲者镜头"
  54. },
  55. "start": {
  56. "type": "number",
  57. "minimum": 0,
  58. "description": "起始时间码(秒)"
  59. },
  60. "duration": {
  61. "type": "number",
  62. "minimum": 1,
  63. "description": "镜头时长(秒)。AI 图生视频单段建议 5~8 秒。"
  64. },
  65. "section": {
  66. "type": "string",
  67. "description": "所属段落:产线A 为 [Verse 1]/[Chorus] 等;产线B 为「开场钩子」等"
  68. },
  69. "narration": {
  70. "type": "string",
  71. "description": "产线B 专用:该镜头对应的口播原文"
  72. },
  73. "subtitle": {
  74. "type": "string",
  75. "description": "该镜头字幕文本(建议 ≤20 字,单行显示)"
  76. },
  77. "description": {
  78. "type": "string",
  79. "description": "中文画面描述(给人看的分镜表正文)"
  80. },
  81. "imagePrompt": {
  82. "type": "string",
  83. "description": "★英文提示词,必须可独立投喂文生图模型:主体+动作+环境+光线+镜头语言+风格+画质词;含人物时须包含 appearanceAnchor 的英文版"
  84. },
  85. "videoPrompt": {
  86. "type": "string",
  87. "description": "★英文运镜描述,供图生视频:主体动作 + 镜头运动(push in / pull back / pan / orbit / handheld)+ 节奏。不含画面内容(内容来自关键帧)。"
  88. },
  89. "lipSync": {
  90. "type": "boolean",
  91. "default": false,
  92. "description": "是否对该镜头做唇形驱动。仅对 perf/talking 有效;全片建议 ≤4 个(成本和口型风险)"
  93. },
  94. "notes": {
  95. "type": "string",
  96. "description": "中文备注(可选)"
  97. }
  98. }
  99. }
  100. },
  101. "_meta": {
  102. "type": "object",
  103. "description": "生成元信息(自动写入,勿手工编辑)",
  104. "properties": {
  105. "createdBy": { "type": "string" },
  106. "generatedAt": { "type": "string", "format": "date-time" }
  107. }
  108. }
  109. }
  110. }