{
  "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\": \"C0021-SC03\", \"title\": \"看不懂的菜单\", \"summary\": \"李凡看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。\", \"type\": [\"系统/设定\", \"内心独白\"], \"tone\": [\"轻松\", \"困惑\"], \"importance\": \"主线\", \"presentation\": [\"文字卡片\", \"旁白+画面\"], \"key_beats\": [\"面对诗意菜名困惑\", \"向系统求助翻译\"], \"characters\": [], \"locations\": [], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0021\", \"source_start_para\": 591, \"source_end_para\": 592, \"text\": \"蓬雪霜樱桃，梦泽落玉，朱明冰梅，拨霞揽月，芙蓉绣球，翠柳雪霞羹……\\n哎呦……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\\n\\n……\", \"text_preview\": \"蓬雪霜樱桃，梦泽落玉，朱明冰梅，拨霞揽月，芙蓉绣球，翠柳雪霞羹…… 哎呦……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？ …\", \"candidate_meta\": {\"candidate_id\": \"C0021-SC03\", \"record_count\": 2, \"char_len\": 82, \"structure_counts\": {\"body\": 1, \"short_line\": 1}, \"boundary_reasons_after\": [\"system_switch\"], \"matched_entities\": [{\"entity_id\": \"E000048\", \"name\": \"系统\", \"type\": \"系统面板\", \"subtype\": \"系统\", \"matched_terms\": [\"系统\"], \"score\": 5.4}, {\"entity_id\": \"E000102\", \"name\": \"朱明冰梅\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"朱明冰梅\"], \"score\": 5.2}], \"heuristic_types\": [\"系统/设定\", \"内心独白\"], \"heuristic_tones\": [\"庄严\", \"悬疑\"], \"heuristic_presentation\": [\"文字卡片\", \"旁白+画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0066\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0066\", \"title\": \"看不懂的菜单\", \"summary\": \"李凡看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。\", \"characters\": [], \"locations\": [], \"key_beats\": [\"面对诗意菜名困惑\", \"向系统求助翻译\"], \"source_chunk_id\": \"C0021\", \"source_start_para\": 591, \"source_end_para\": 592, \"continuation_of_prev\": false, \"narrative_order\": 66, \"time_mode\": \"flashback\", \"confidence\": 0.96, \"temporal_anchor\": {\"label\": \"过去\", \"normalized_label\": \"flashback\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0065\"}, \"temporal_evidence\": [{\"kind\": \"flashback\", \"field\": \"preview\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}], \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0065\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0065\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"similarity_to_prev\": 0.0, \"text_preview\": \"蓬雪霜樱桃，梦泽落玉，朱明冰梅，拨霞揽月，芙蓉绣球，翠柳雪霞羹…… 哎呦……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？ …\", \"story_chronology_group\": \"CG0055\", \"story_chronology_order\": 54}\n\nENTITY CONTEXT:\nNone\n\nSTORYBOARD CANDIDATES:\n[{\"scene_id\": \"S0066\", \"shot_id\": \"S0066_SH01\", \"narrative_order\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"chronology_confidence\": 0.96, \"order_delta\": -12, \"chronology\": {\"scene_id\": \"S0066\", \"narrative_order\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"confidence\": 0.96, \"order_delta\": -12, \"temporal_anchor\": {\"label\": \"过去\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\"}, \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0065\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0065\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"evidence\": [{\"kind\": \"flashback\", \"field\": \"preview\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}]}, \"camera\": \"中景，缓慢推近菜单\", \"duration_seconds\": 5.6, \"style\": \"cinematic, detailed, consistent character design, coherent lighting\", \"image_prompt\": \"动作：李凡（回忆形象）站在菜单前，仰头看着，眉头微皱，表情困惑。他的目光在菜名间游移。；（闪回）一家古色古香的餐馆内。镜头从模糊逐渐清晰，聚焦在墙上悬挂的木制菜单上。菜单上以飘逸的书法写着诗意的菜名。；关键物件：朱明冰梅 | 物品 | 菜品、蜜饯菜品；构图镜头：中景，缓慢推近菜单；转场中景；建立镜头；flashback 时间层；风格：cinematic；detailed；consistent character design；coherent lighting；回忆氛围；柔和对比；连续性：时间锚点：过去；保持回忆段与主线可区分但角色身份一致；保留画面文字区域，避免遮挡字幕或标题；预留画面文字区域\", \"video_prompt\": \"动作：李凡（回忆形象）站在菜单前，仰头看着，眉头微皱，表情困惑。他的目光在菜名间游移。；（闪回）一家古色古香的餐馆内。镜头从模糊逐渐清晰，聚焦在墙上悬挂的木制菜单上。菜单上以飘逸的书法写着诗意的菜名。；关键物件：朱明冰梅 | 物品 | 菜品、蜜饯菜品；构图镜头：中景，缓慢推近菜单；转场中景；建立镜头；flashback 时间层；风格：cinematic；detailed；consistent character design；coherent lighting；回忆氛围；柔和对比；连续性：时间锚点：过去；保持回忆段与主线可区分但角色身份一致；保留画面文字区域，避免遮挡字幕或标题；预留画面文字区域；运动：镜头衔接带回忆感，动作略缓；镜头运动需要服务旁白与字幕节奏\", \"negative_prompt\": \"低清晰度；模糊；重影；多余肢体；畸形手部；角色不一致；穿帮道具；文本乱码；水印；过曝\", \"visual_notes\": \"\", \"reference\": {\"characters\": [], \"locations\": [], \"items\": [\"朱明冰梅\"]}, \"prompt_components\": {\"subjects\": [], \"actions\": [\"李凡（回忆形象）站在菜单前，仰头看着，眉头微皱，表情困惑。他的目光在菜名间游移。\", \"（闪回）一家古色古香的餐馆内。镜头从模糊逐渐清晰，聚焦在墙上悬挂的木制菜单上。菜单上以飘逸的书法写着诗意的菜名。\"], \"locations\": [], \"items\": [\"朱明冰梅 | 物品 | 菜品、蜜饯菜品\"], \"item_names\": [\"朱明冰梅\"], \"composition\": [\"中景，缓慢推近菜单\", \"转场中景\", \"建立镜头\", \"flashback 时间层\"], \"style_keywords\": [\"cinematic\", \"detailed\", \"consistent character design\", \"coherent lighting\", \"回忆氛围\", \"柔和对比\", \"轻微朦胧感\"], \"continuity\": [\"时间锚点：过去\", \"保持回忆段与主线可区分但角色身份一致\", \"保留画面文字区域，避免遮挡字幕或标题\"], \"audio_context\": [\"回忆段用清晰转场提示音，环境音减弱，内心独白清晰。\"], \"scene_context\": [\"李凡（回忆中）看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。重要性：主线；呈现：文字卡片 / 旁白+画面；时间模式：flashback；时间顺序：叙事66->故事54；时间锚点：过去（闪回）\", \"李凡看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。\"], \"motion\": [\"镜头衔接带回忆感，动作略缓\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"flashback\", \"shot_role\": \"opening\"}, \"source\": {\"description\": \"（闪回）一家古色古香的餐馆内。镜头从模糊逐渐清晰，聚焦在墙上悬挂的木制菜单上。菜单上以飘逸的书法写着诗意的菜名。\", \"actions\": [\"李凡（回忆形象）站在菜单前，仰头看着，眉头微皱，表情困惑。他的目光在菜名间游移。\"], \"narration\": \"（李凡内心独白）蓬雪霜樱桃，梦泽落玉，朱明冰梅，拨霞揽月，芙蓉绣球，翠柳雪霞羹……\", \"on_screen_text\": \"蓬雪霜樱桃\\n梦泽落玉\\n朱明冰梅\\n拨霞揽月\\n芙蓉绣球\\n翠柳雪霞羹\", \"scene_notes\": \"李凡（回忆中）看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。重要性：主线；呈现：文字卡片 / 旁白+画面；时间模式：flashback；时间顺序：叙事66->故事54；时间锚点：过去（闪回）\"}, \"candidate_meta\": {\"scene_id\": \"S0066\", \"shot_id\": \"S0066_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\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"confidence\": 0.96, \"order_delta\": -12, \"anchor_label\": \"过去\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 2}}}, {\"scene_id\": \"S0066\", \"shot_id\": \"S0066_SH02\", \"narrative_order\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"chronology_confidence\": 0.96, \"order_delta\": -12, \"chronology\": {\"scene_id\": \"S0066\", \"narrative_order\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"confidence\": 0.96, \"order_delta\": -12, \"temporal_anchor\": {\"label\": \"过去\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\"}, \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0065\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0065\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"evidence\": [{\"kind\": \"flashback\", \"field\": \"preview\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"……坦白说以他这个文学素养，那真是一眼望过去，都不知道是啥吊东西……系统你翻译翻译？\"}]}, \"camera\": \"近景，轻微晃动模拟主观视角\", \"duration_seconds\": 4.5, \"style\": \"cinematic, detailed, consistent character design, coherent lighting\", \"image_prompt\": \"动作：李凡微微撇嘴，露出苦笑，随后眼神变得专注，嘴唇微动，无声地求助。；李凡的近景镜头。他一脸无奈，轻轻摇头，随后眼神聚焦，仿佛在脑海中与系统对话。；关键物件：系统 | 系统面板/系统 | 提示面板、心情系统；构图镜头：近景，轻微晃动模拟主观视角；中近景；人物反应镜头；flashback 时间层；风格：cinematic；detailed；consistent character design；coherent lighting；回忆氛围；柔和对比；连续性：时间锚点：过去；保持回忆段与主线可区分但角色身份一致\", \"video_prompt\": \"动作：李凡微微撇嘴，露出苦笑，随后眼神变得专注，嘴唇微动，无声地求助。；李凡的近景镜头。他一脸无奈，轻轻摇头，随后眼神聚焦，仿佛在脑海中与系统对话。；关键物件：系统 | 系统面板/系统 | 提示面板、心情系统；构图镜头：近景，轻微晃动模拟主观视角；中近景；人物反应镜头；flashback 时间层；风格：cinematic；detailed；consistent character design；coherent lighting；回忆氛围；柔和对比；连续性：时间锚点：过去；保持回忆段与主线可区分但角色身份一致；运动：镜头衔接带回忆感，动作略缓；保留对白口型与人物反应空间\", \"negative_prompt\": \"低清晰度；模糊；重影；多余肢体；畸形手部；角色不一致；穿帮道具；文本乱码；水印；过曝\", \"visual_notes\": \"\", \"reference\": {\"characters\": [], \"locations\": [], \"items\": [\"系统\"]}, \"prompt_components\": {\"subjects\": [], \"actions\": [\"李凡微微撇嘴，露出苦笑，随后眼神变得专注，嘴唇微动，无声地求助。\", \"李凡的近景镜头。他一脸无奈，轻轻摇头，随后眼神聚焦，仿佛在脑海中与系统对话。\"], \"locations\": [], \"items\": [\"系统 | 系统面板/系统 | 提示面板、心情系统\"], \"item_names\": [\"系统\"], \"composition\": [\"近景，轻微晃动模拟主观视角\", \"中近景\", \"人物反应镜头\", \"flashback 时间层\"], \"style_keywords\": [\"cinematic\", \"detailed\", \"consistent character design\", \"coherent lighting\", \"回忆氛围\", \"柔和对比\", \"轻微朦胧感\"], \"continuity\": [\"时间锚点：过去\", \"保持回忆段与主线可区分但角色身份一致\"], \"audio_context\": [\"回忆段用清晰转场提示音，环境音减弱，内心独白清晰。\"], \"scene_context\": [\"李凡（回忆中）看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。重要性：主线；呈现：文字卡片 / 旁白+画面；时间模式：flashback；时间顺序：叙事66->故事54；时间锚点：过去（闪回）\", \"李凡看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。\"], \"motion\": [\"镜头衔接带回忆感，动作略缓\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"flashback\", \"shot_role\": \"character\"}, \"source\": {\"description\": \"李凡的近景镜头。他一脸无奈，轻轻摇头，随后眼神聚焦，仿佛在脑海中与系统对话。\", \"actions\": [\"李凡微微撇嘴，露出苦笑，随后眼神变得专注，嘴唇微动，无声地求助。\"], \"narration\": \"\", \"on_screen_text\": \"\", \"scene_notes\": \"李凡（回忆中）看着墙上诗意的菜名，完全不明白是什么，向系统求助翻译。重要性：主线；呈现：文字卡片 / 旁白+画面；时间模式：flashback；时间顺序：叙事66->故事54；时间锚点：过去（闪回）\"}, \"candidate_meta\": {\"scene_id\": \"S0066\", \"shot_id\": \"S0066_SH02\", \"shot_index\": 2, \"shot_role\": \"character\", \"camera_hint\": \"中近景\", \"description_hint\": \"主角的反应镜头，推进向系统求助翻译\", \"focus_characters\": [], \"focus_locations\": [], \"has_dialogue\": true, \"has_narration\": false, \"has_on_screen_text\": false, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 66, \"story_chronology_order\": 54, \"story_chronology_group\": \"CG0055\", \"time_mode\": \"flashback\", \"confidence\": 0.96, \"order_delta\": -12, \"anchor_label\": \"过去\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 2}}}]"
    }
  ]
}