{
  "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\": \"C0024-SC03\", \"title\": \"第十章标题\", \"summary\": \"章节标题“第十章剑法”。\", \"type\": [\"章节标题\"], \"tone\": [\"中性\"], \"importance\": \"结构\", \"presentation\": [\"文字卡片\"], \"key_beats\": [\"章节标题\"], \"characters\": [], \"locations\": [], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0024\", \"source_start_para\": 691, \"source_end_para\": 691, \"text\": \"第十章剑法\", \"text_preview\": \"第十章剑法\", \"candidate_meta\": {\"candidate_id\": \"C0024-SC03\", \"record_count\": 1, \"char_len\": 5, \"structure_counts\": {\"chapter_heading\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000113\", \"name\": \"乾坤飞龙剑\", \"type\": \"术法神通\", \"subtype\": \"\", \"matched_terms\": [\"剑法\"], \"score\": 2.2}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"中性\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0074\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0074\", \"title\": \"第十章标题\", \"summary\": \"章节标题“第十章剑法”。\", \"characters\": [], \"locations\": [], \"key_beats\": [\"章节标题\"], \"source_chunk_id\": \"C0024\", \"source_start_para\": 691, \"source_end_para\": 691, \"continuation_of_prev\": false, \"narrative_order\": 74, \"time_mode\": \"mainline\", \"confidence\": 0.56, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0073\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0073\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.0, \"text_preview\": \"第十章剑法\", \"story_chronology_group\": \"CG0061\", \"story_chronology_order\": 62}\n\nENTITY CONTEXT:\nNone\n\nSTORYBOARD CANDIDATES:\n[{\"scene_id\": \"S0074\", \"shot_id\": \"S0074_SH01\", \"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.56, \"order_delta\": -12, \"chronology\": {\"scene_id\": \"S0074\", \"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"confidence\": 0.56, \"order_delta\": -12, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0073\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"camera\": \"中景\", \"duration_seconds\": 5.1, \"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\": [\"章节标题场景。以文字卡片形式呈现“第十章 剑法”，作为故事主线（mainline）的结构性节点。叙事顺序74，故事时间顺序62。\", \"章节标题“第十章剑法”。\"], \"motion\": [\"动作连续，空间逻辑清晰\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"mainline\", \"shot_role\": \"opening\"}, \"source\": {\"description\": \"黑屏淡入，古朴的卷轴缓缓展开。\", \"actions\": [\"卷轴展开\"], \"narration\": \"\", \"on_screen_text\": \"第十章 剑法\", \"scene_notes\": \"章节标题场景。以文字卡片形式呈现“第十章 剑法”，作为故事主线（mainline）的结构性节点。叙事顺序74，故事时间顺序62。\"}, \"candidate_meta\": {\"scene_id\": \"S0074\", \"shot_id\": \"S0074_SH01\", \"shot_index\": 1, \"shot_role\": \"opening\", \"camera_hint\": \"中景\", \"description_hint\": \"场景建立镜头，带出章节标题\", \"focus_characters\": [], \"focus_locations\": [], \"has_dialogue\": false, \"has_narration\": false, \"has_on_screen_text\": true, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"confidence\": 0.56, \"order_delta\": -12, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}, {\"scene_id\": \"S0074\", \"shot_id\": \"S0074_SH02\", \"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.56, \"order_delta\": -12, \"chronology\": {\"scene_id\": \"S0074\", \"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"confidence\": 0.56, \"order_delta\": -12, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0073\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"camera\": \"中近景\", \"duration_seconds\": 4.0, \"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\": [\"章节标题场景。以文字卡片形式呈现“第十章 剑法”，作为故事主线（mainline）的结构性节点。叙事顺序74，故事时间顺序62。\", \"章节标题“第十章剑法”。\"], \"motion\": [\"动作连续，空间逻辑清晰\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"mainline\", \"shot_role\": \"character\"}, \"source\": {\"description\": \"卷轴上的文字“剑法”二字微微发光，镜头推近，仿佛有剑气从字中透出。\", \"actions\": [\"文字发光\"], \"narration\": \"\", \"on_screen_text\": \"\", \"scene_notes\": \"章节标题场景。以文字卡片形式呈现“第十章 剑法”，作为故事主线（mainline）的结构性节点。叙事顺序74，故事时间顺序62。\"}, \"candidate_meta\": {\"scene_id\": \"S0074\", \"shot_id\": \"S0074_SH02\", \"shot_index\": 2, \"shot_role\": \"character\", \"camera_hint\": \"中近景\", \"description_hint\": \"主角的反应镜头，推进章节标题\", \"focus_characters\": [], \"focus_locations\": [], \"has_dialogue\": false, \"has_narration\": false, \"has_on_screen_text\": false, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 74, \"story_chronology_order\": 62, \"story_chronology_group\": \"CG0061\", \"time_mode\": \"mainline\", \"confidence\": 0.56, \"order_delta\": -12, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}]"
    }
  ]
}