{
  "messages": [
    {
      "role": "system",
      "content": "You are a storyboard and prompt engineering agent for image/video generation. The program already created storyboard candidates, prompt components, references, durations, and chronology tags. Do not change scene_id, shot_id, style, duration_seconds, reference, prompt_components, or candidate_meta. Only refine image_prompt, video_prompt, negative_prompt, and visual_notes while preserving program structure. Return JSON only."
    },
    {
      "role": "user",
      "content": "Given the scene payload, chronology context, entity context, and the program-generated storyboard candidates, refine the prompt wording into concise, production-ready storyboard prompts. Output STRICT JSON with keys: scene_id, shots (list). Shot schema: {shot_id,image_prompt,video_prompt,negative_prompt,visual_notes}. Keep the same shot count and shot_id set as the candidate list unless the input is malformed. Respect chronology time_mode and ordering hints, and keep character/location continuity consistent with entity context. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"scene_id\":\"\",\"shots\":[]}.\n\nSCENE:\n{\"candidate_id\": \"C0001-SC01\", \"title\": \"墨竹山法坛\", \"summary\": \"介绍墨竹山险恶环境与山中法坛魔尊法相。\", \"type\": [\"环境描写\", \"设定引入\"], \"tone\": [\"庄严\", \"神秘\"], \"importance\": \"铺垫\", \"presentation\": [\"氛围镜头\", \"全景\"], \"key_beats\": [\"墨竹山险恶环境\", \"人力开凿平地\", \"建立魔尊法相\"], \"characters\": [], \"locations\": [\"墨竹山\"], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 4, \"text\": \"第一章观星\\n\\n常无欲以观其妙，常有欲以观其徼\\n\\n墨竹山，\\n\\n地方三千里，两山十四峰，妖兽横行，毒瘴密布，人烟罕至。\\n于这片重峦绝岭，险峰叠嶂，墨林竹海之间，却被人力开凿出一亩见方的平地。\\n平地中央，结草搭楼，开坛立像，被建起一座八臂六首，相貌不似人型的魔尊法相。\", \"text_preview\": \"第一章观星 常无欲以观其妙，常有欲以观其徼 墨竹山， 地方三千里，两山十四峰，妖兽横行，毒瘴密布，人烟罕至。 于这片重峦绝岭，险峰叠嶂，墨林竹海之间，却被人力…\", \"candidate_meta\": {\"candidate_id\": \"C0001-SC01\", \"record_count\": 4, \"char_len\": 131, \"structure_counts\": {\"chapter_heading\": 1, \"short_line\": 2, \"body\": 1}, \"boundary_reasons_after\": [\"time_transition\", \"location_transition\"], \"matched_entities\": [{\"entity_id\": \"E000042\", \"name\": \"竹山\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"竹山\", \"墨竹山\"], \"score\": 7.8}, {\"entity_id\": \"E000003\", \"name\": \"墨竹山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"墨竹山\"], \"score\": 5.6}, {\"entity_id\": \"E000019\", \"name\": \"魔尊\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"魔尊\"], \"score\": 5.2}, {\"entity_id\": \"E000004\", \"name\": \"魔尊法相\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"魔尊法相\"], \"score\": 5.1}], \"heuristic_types\": [\"环境描写\"], \"heuristic_tones\": [\"庄严\", \"紧张\"], \"heuristic_presentation\": [\"氛围镜头\"], \"heuristic_importance\": \"铺垫\"}, \"scene_id\": \"S0001\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0001\", \"title\": \"墨竹山法坛\", \"summary\": \"介绍墨竹山险恶环境与山中法坛魔尊法相。\", \"characters\": [], \"locations\": [\"墨竹山\"], \"key_beats\": [\"墨竹山险恶环境\", \"人力开凿平地\", \"建立魔尊法相\"], \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 4, \"continuation_of_prev\": false, \"narrative_order\": 1, \"time_mode\": \"unknown\", \"confidence\": 0.3, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"\"}, \"temporal_evidence\": [], \"constraints\": [], \"similarity_to_prev\": 0.0, \"text_preview\": \"第一章观星 常无欲以观其妙，常有欲以观其徼 墨竹山， 地方三千里，两山十四峰，妖兽横行，毒瘴密布，人烟罕至。 于这片重峦绝岭，险峰叠嶂，墨林竹海之间，却被人力…\", \"story_chronology_group\": \"CG0001\", \"story_chronology_order\": 1}\n\nENTITY CONTEXT:\n[{\"entity_id\": \"E000003\", \"name\": \"墨竹山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"aliases\": [\"墨色竹林\", \"墨竹山洞天\", \"本门\"], \"attributes\": {}, \"descriptions\": [\"妖兽横行的山脉\", \"灵炁纯洁\", \"玄冥灵炁充裕\", \"外门食堂所在\"], \"evidence\": [\"墨竹山，地方三千里\", \"整个墨色竹林中\", \"李凡所在的墨竹山洞天\", \"玄冥灵炁之充裕纯洁\", \"这镇子背靠墨竹山\", \"那边阁楼好似是墨竹山外门的食堂\"], \"mentions\": [{\"chunk_id\": \"C0001\", \"summary\": \"妖兽横行的山脉\", \"evidence\": [\"墨竹山，地方三千里\"], \"attributes\": {}}, {\"chunk_id\": \"C0002\", \"summary\": \"升起瘴气\", \"evidence\": [\"整个墨色竹林中\"], \"attributes\": {}}, {\"chunk_id\": \"C0014\", \"summary\": \"灵炁纯洁\", \"evidence\": [\"墨竹山洞天，就没有人间道那些灵炁杂驳\"], \"attributes\": {}}, {\"chunk_id\": \"C0015\", \"summary\": \"洞天福地灵炁纯洁\", \"evidence\": [\"墨竹山洞天灵炁充裕纯洁\"], \"attributes\": {}}, {\"chunk_id\": \"C0021\", \"summary\": \"镇子背靠\", \"evidence\": [\"这镇子背靠墨竹山\"], \"attributes\": {}}, {\"chunk_id\": \"C0024\", \"summary\": \"外门食堂位置\", \"evidence\": [\"那边阁楼好似是墨竹山外门的食堂\"], \"attributes\": {}}], \"mention_count\": 6, \"observation_count\": 6, \"first_seen\": \"C0001\", \"last_seen\": \"C0024\"}]\n\nSTORYBOARD CANDIDATES:\n[{\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH01\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"chronology_confidence\": 0.3, \"order_delta\": 0, \"chronology\": {\"scene_id\": \"S0001\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [], \"evidence\": []}, \"camera\": \"远景，缓慢横摇\", \"duration_seconds\": 5.4, \"style\": \"cinematic, detailed, consistent character design, coherent lighting\", \"image_prompt\": \"动作：墨竹山险恶环境；墨竹山全景。险峻的山脉连绵不绝，墨色的竹林如海，笼罩在稀薄的毒瘴之中。妖兽的嘶吼声隐约可闻。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；构图镜头：远景，缓慢横摇；远景；建立镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定；保留画面文字区域，避免遮挡字幕或标题；预留画面文字区域\", \"video_prompt\": \"动作：墨竹山险恶环境；墨竹山全景。险峻的山脉连绵不绝，墨色的竹林如海，笼罩在稀薄的毒瘴之中。妖兽的嘶吼声隐约可闻。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；构图镜头：远景，缓慢横摇；远景；建立镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定；保留画面文字区域，避免遮挡字幕或标题；预留画面文字区域；运动：保持中性叙事运动；镜头运动需要服务旁白与字幕节奏\", \"negative_prompt\": \"低清晰度；模糊；重影；多余肢体；畸形手部；角色不一致；穿帮道具；文本乱码；水印；过曝\", \"visual_notes\": \"\", \"reference\": {\"characters\": [], \"locations\": [\"墨竹山\"], \"items\": []}, \"prompt_components\": {\"subjects\": [], \"actions\": [\"墨竹山险恶环境\", \"墨竹山全景。险峻的山脉连绵不绝，墨色的竹林如海，笼罩在稀薄的毒瘴之中。妖兽的嘶吼声隐约可闻。\"], \"locations\": [\"墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁\"], \"items\": [], \"item_names\": [], \"composition\": [\"远景，缓慢横摇\", \"远景\", \"建立镜头\"], \"style_keywords\": [\"cinematic\", \"detailed\", \"consistent character design\", \"coherent lighting\", \"叙事待定\", \"连续性优先\"], \"continuity\": [\"保持场景结构、地形和道具摆位稳定\", \"保留画面文字区域，避免遮挡字幕或标题\"], \"audio_context\": [\"环境音：风声，竹叶沙沙声，远处妖兽低吼。旁白（沉稳、庄严的男声）贯穿全场景。音乐：低沉、神秘、带有压迫感的管弦乐铺垫。\"], \"scene_context\": [\"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\", \"介绍墨竹山险恶环境与山中法坛魔尊法相。\"], \"motion\": [\"保持中性叙事运动\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"unknown\", \"shot_role\": \"opening\"}, \"source\": {\"description\": \"墨竹山全景。险峻的山脉连绵不绝，墨色的竹林如海，笼罩在稀薄的毒瘴之中。妖兽的嘶吼声隐约可闻。\", \"actions\": [\"墨竹山险恶环境\"], \"narration\": \"墨竹山，地方三千里，两山十四峰，妖兽横行，毒瘴密布，人烟罕至。\", \"on_screen_text\": \"第一章 观星\", \"scene_notes\": \"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\"}, \"candidate_meta\": {\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH01\", \"shot_index\": 1, \"shot_role\": \"opening\", \"camera_hint\": \"远景\", \"description_hint\": \"墨竹山建立镜头，带出墨竹山险恶环境\", \"focus_characters\": [], \"focus_locations\": [\"墨竹山\"], \"has_dialogue\": false, \"has_narration\": true, \"has_on_screen_text\": true, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 0, \"evidence_count\": 0}}}, {\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH02\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"chronology_confidence\": 0.3, \"order_delta\": 0, \"chronology\": {\"scene_id\": \"S0001\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [], \"evidence\": []}, \"camera\": \"中景，推进\", \"duration_seconds\": 4.4, \"style\": \"cinematic, detailed, consistent character design, coherent lighting\", \"image_prompt\": \"动作：人力开凿平地；镜头穿过墨林竹海，聚焦于一处险峰之间。在重峦绝岭之中，赫然出现一片被人工开凿出的、一亩见方的平整土地。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；构图镜头：中景，推进；中近景；人物反应镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定\", \"video_prompt\": \"动作：人力开凿平地；镜头穿过墨林竹海，聚焦于一处险峰之间。在重峦绝岭之中，赫然出现一片被人工开凿出的、一亩见方的平整土地。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；构图镜头：中景，推进；中近景；人物反应镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定；运动：保持中性叙事运动；镜头运动需要服务旁白与字幕节奏\", \"negative_prompt\": \"低清晰度；模糊；重影；多余肢体；畸形手部；角色不一致；穿帮道具；文本乱码；水印；过曝\", \"visual_notes\": \"\", \"reference\": {\"characters\": [], \"locations\": [\"墨竹山\"], \"items\": []}, \"prompt_components\": {\"subjects\": [], \"actions\": [\"人力开凿平地\", \"镜头穿过墨林竹海，聚焦于一处险峰之间。在重峦绝岭之中，赫然出现一片被人工开凿出的、一亩见方的平整土地。\"], \"locations\": [\"墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁\"], \"items\": [], \"item_names\": [], \"composition\": [\"中景，推进\", \"中近景\", \"人物反应镜头\"], \"style_keywords\": [\"cinematic\", \"detailed\", \"consistent character design\", \"coherent lighting\", \"叙事待定\", \"连续性优先\"], \"continuity\": [\"保持场景结构、地形和道具摆位稳定\"], \"audio_context\": [\"环境音：风声，竹叶沙沙声，远处妖兽低吼。旁白（沉稳、庄严的男声）贯穿全场景。音乐：低沉、神秘、带有压迫感的管弦乐铺垫。\"], \"scene_context\": [\"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\", \"介绍墨竹山险恶环境与山中法坛魔尊法相。\"], \"motion\": [\"保持中性叙事运动\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"unknown\", \"shot_role\": \"character\"}, \"source\": {\"description\": \"镜头穿过墨林竹海，聚焦于一处险峰之间。在重峦绝岭之中，赫然出现一片被人工开凿出的、一亩见方的平整土地。\", \"actions\": [\"人力开凿平地\"], \"narration\": \"于这片重峦绝岭，险峰叠嶂，墨林竹海之间，却被人力开凿出一亩见方的平地。\", \"on_screen_text\": \"\", \"scene_notes\": \"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\"}, \"candidate_meta\": {\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH02\", \"shot_index\": 2, \"shot_role\": \"character\", \"camera_hint\": \"中近景\", \"description_hint\": \"主角的反应镜头，推进人力开凿平地\", \"focus_characters\": [], \"focus_locations\": [\"墨竹山\"], \"has_dialogue\": false, \"has_narration\": true, \"has_on_screen_text\": false, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 0, \"evidence_count\": 0}}}, {\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH03\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"chronology_confidence\": 0.3, \"order_delta\": 0, \"chronology\": {\"scene_id\": \"S0001\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [], \"evidence\": []}, \"camera\": \"近景，环绕\", \"duration_seconds\": 4.2, \"style\": \"cinematic, detailed, consistent character design, coherent lighting\", \"image_prompt\": \"动作：人力开凿平地；建立魔尊法相；平地的中央，一座以草结楼、开坛立像的简陋法坛。法坛之上，矗立着一尊八臂六首、相貌狰狞、不似人型的魔尊法相。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；关键物件：魔尊 | 生物种族 | 托月雕像、祭坛雕像；魔尊法相 | 物品 | 法坛中央的雕像；构图镜头：近景，环绕；近景；叙事推进镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定\", \"video_prompt\": \"动作：人力开凿平地；建立魔尊法相；平地的中央，一座以草结楼、开坛立像的简陋法坛。法坛之上，矗立着一尊八臂六首、相貌狰狞、不似人型的魔尊法相。；环境：墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁；关键物件：魔尊 | 生物种族 | 托月雕像、祭坛雕像；魔尊法相 | 物品 | 法坛中央的雕像；构图镜头：近景，环绕；近景；叙事推进镜头；风格：cinematic；detailed；consistent character design；coherent lighting；叙事待定；连续性优先；连续性：保持场景结构、地形和道具摆位稳定；运动：保持中性叙事运动；镜头运动需要服务旁白与字幕节奏\", \"negative_prompt\": \"低清晰度；模糊；重影；多余肢体；畸形手部；角色不一致；穿帮道具；文本乱码；水印；过曝\", \"visual_notes\": \"\", \"reference\": {\"characters\": [], \"locations\": [\"墨竹山\"], \"items\": [\"魔尊\", \"魔尊法相\"]}, \"prompt_components\": {\"subjects\": [], \"actions\": [\"人力开凿平地\", \"建立魔尊法相\", \"平地的中央，一座以草结楼、开坛立像的简陋法坛。法坛之上，矗立着一尊八臂六首、相貌狰狞、不似人型的魔尊法相。\"], \"locations\": [\"墨竹山 | 地点/山岳/洞天 | 妖兽横行的山脉、灵炁纯洁\"], \"items\": [\"魔尊 | 生物种族 | 托月雕像、祭坛雕像\", \"魔尊法相 | 物品 | 法坛中央的雕像\"], \"item_names\": [\"魔尊\", \"魔尊法相\"], \"composition\": [\"近景，环绕\", \"近景\", \"叙事推进镜头\"], \"style_keywords\": [\"cinematic\", \"detailed\", \"consistent character design\", \"coherent lighting\", \"叙事待定\", \"连续性优先\"], \"continuity\": [\"保持场景结构、地形和道具摆位稳定\"], \"audio_context\": [\"环境音：风声，竹叶沙沙声，远处妖兽低吼。旁白（沉稳、庄严的男声）贯穿全场景。音乐：低沉、神秘、带有压迫感的管弦乐铺垫。\"], \"scene_context\": [\"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\", \"介绍墨竹山险恶环境与山中法坛魔尊法相。\"], \"motion\": [\"保持中性叙事运动\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"unknown\", \"shot_role\": \"dialogue_or_action\"}, \"source\": {\"description\": \"平地的中央，一座以草结楼、开坛立像的简陋法坛。法坛之上，矗立着一尊八臂六首、相貌狰狞、不似人型的魔尊法相。\", \"actions\": [\"人力开凿平地\", \"建立魔尊法相\"], \"narration\": \"平地中央，结草搭楼，开坛立像，被建起一座八臂六首，相貌不似人型的魔尊法相。\", \"on_screen_text\": \"\", \"scene_notes\": \"开篇场景，建立墨竹山险恶、神秘的环境基调，并引入关键地标——魔尊法相法坛。重要性：铺垫世界观。呈现：氛围镜头/全景，以旁白驱动视觉。\"}, \"candidate_meta\": {\"scene_id\": \"S0001\", \"shot_id\": \"S0001_SH03\", \"shot_index\": 3, \"shot_role\": \"dialogue_or_action\", \"camera_hint\": \"近景\", \"description_hint\": \"动作或状态变化的推进镜头\", \"focus_characters\": [], \"focus_locations\": [\"墨竹山\"], \"has_dialogue\": false, \"has_narration\": true, \"has_on_screen_text\": false, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 0, \"evidence_count\": 0}}}]"
    }
  ]
}