{
  "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\": \"C0002-SC04\", \"title\": \"系统吐槽\", \"summary\": \"李凡发现系统只有心情值，怒骂开发者神经病。\", \"type\": [\"系统/设定\"], \"tone\": [\"中性\"], \"importance\": \"主线\", \"presentation\": [\"文字卡片\", \"旁白+画面\"], \"key_beats\": [\"系统仅有心情值无其他属性\", \"李凡怒骂开发者\"], \"characters\": [\"李凡\"], \"locations\": [], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0002\", \"source_start_para\": 45, \"source_end_para\": 46, \"text\": \"恩，是的，就这样了，什么攻击防御速度，根骨灵根悟性，甚至金木水火土这些数据全都没有的。就一个心情值……\\n艹啊！这吊系统到底是哪个神经病开发的！\\n\\n‘李凡的心情下降了1点’\", \"text_preview\": \"恩，是的，就这样了，什么攻击防御速度，根骨灵根悟性，甚至金木水火土这些数据全都没有的。就一个心情值…… 艹啊！这吊系统到底是哪个神经病开发的！ ‘李凡的心情下…\", \"candidate_meta\": {\"candidate_id\": \"C0002-SC04\", \"record_count\": 2, \"char_len\": 85, \"structure_counts\": {\"body\": 1, \"dialogue\": 1}, \"boundary_reasons_after\": [\"system_switch\"], \"matched_entities\": [{\"entity_id\": \"E000002\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李凡\"], \"score\": 5.8}, {\"entity_id\": \"E000048\", \"name\": \"系统\", \"type\": \"系统面板\", \"subtype\": \"系统\", \"matched_terms\": [\"系统\"], \"score\": 5.4}], \"heuristic_types\": [\"系统/设定\"], \"heuristic_tones\": [\"中性\"], \"heuristic_presentation\": [\"文字卡片\", \"旁白+画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0008\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0008\", \"title\": \"系统吐槽\", \"summary\": \"李凡发现系统只有心情值，怒骂开发者神经病。\", \"characters\": [\"李凡\"], \"locations\": [], \"key_beats\": [\"系统仅有心情值无其他属性\", \"李凡怒骂开发者\"], \"source_chunk_id\": \"C0002\", \"source_start_para\": 45, \"source_end_para\": 46, \"continuation_of_prev\": false, \"narrative_order\": 8, \"time_mode\": \"mainline\", \"confidence\": 0.86, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0007\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0007\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.5, \"text_preview\": \"恩，是的，就这样了，什么攻击防御速度，根骨灵根悟性，甚至金木水火土这些数据全都没有的。就一个心情值…… 艹啊！这吊系统到底是哪个神经病开发的！ ‘李凡的心情下…\", \"story_chronology_group\": \"CG0008\", \"story_chronology_order\": 8}\n\nENTITY CONTEXT:\n[{\"entity_id\": \"E000002\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"穿越者\", \"小相公\", \"小友\", \"天生道子\", \"小子\", \"清月\", \"李清月\", \"道子\", \"小色鬼\", \"童子\"], \"attributes\": {}, \"descriptions\": [\"修炼剑法\", \"墨竹山内山道传弟子\", \"喝五仙汤\", \"心情上升\", \"体内炁息暴走\", \"不会御气\", \"施展归尘剑气\", \"跟随望舒修行\"], \"evidence\": [\"李凡立刻知道\", \"小子跟着望舒仙子修行\", \"李凡就先自己试了一下\", \"李凡一阵傻眼\", \"只是清月，你拜过月也该知道\", \"李凡也不由得默认\", \"李凡若有所悟\", \"李凡艰难得咽了口唾沫\"], \"mentions\": [{\"chunk_id\": \"C0020\", \"summary\": \"回忆被拐经历\", \"evidence\": [\"李凡隐约想起来，他曾经见过类似的物件\"], \"attributes\": {}}, {\"chunk_id\": \"C0021\", \"summary\": \"戴不知面逛街\", \"evidence\": [\"李凡还注意到一点\"], \"attributes\": {}}, {\"chunk_id\": \"C0022\", \"summary\": \"从幻境醒来\", \"evidence\": [\"李凡从幻境中醒来\"], \"attributes\": {}}, {\"chunk_id\": \"C0023\", \"summary\": \"拜玄女得剑宗秘要\", \"evidence\": [\"李凡干脆利落得折过身子，对着玄女三拜\"], \"attributes\": {}}, {\"chunk_id\": \"C0024\", \"summary\": \"喝五仙汤修炼\", \"evidence\": [\"李凡也看到了，那边阁楼好似是墨竹山外门的食堂\"], \"attributes\": {}}, {\"chunk_id\": \"C0025\", \"summary\": \"被老头推下树梢\", \"evidence\": [\"李凡也如额外生出的竹叶似的\"], \"attributes\": {}}, {\"chunk_id\": \"C0025\", \"summary\": \"面对雷猴犹豫\", \"evidence\": [\"李凡咽了口唾沫\"], \"attributes\": {}}, {\"chunk_id\": \"C0026\", \"summary\": \"施展剑气杀猴\", \"evidence\": [\"李凡居然感觉到明显的气机牵引\"], \"attributes\": {}}, {\"chunk_id\": \"C0027\", \"summary\": \"练习乾坤飞龙剑\", \"evidence\": [\"李凡发现左手也可以\"], \"attributes\": {}}, {\"chunk_id\": \"C0028\", \"summary\": \"对牧龙任务傻眼\", \"evidence\": [\"李凡一阵傻眼\"], \"attributes\": {}}, {\"chunk_id\": \"C0029\", \"summary\": \"被望舒教导修行\", \"evidence\": [\"李凡也不由得默认\"], \"attributes\": {}}, {\"chunk_id\": \"C0030\", \"summary\": \"李凡陷入灰色沼泽\", \"evidence\": [\"李凡睁开眼，看到自己坐在一片广阔的，充斥着灰色淤泥的海洋里\"], \"attributes\": {}}], \"mention_count\": 33, \"observation_count\": 33, \"first_seen\": \"C0001\", \"last_seen\": \"C0030\"}]\n\nSTORYBOARD CANDIDATES:\n[{\"scene_id\": \"S0008\", \"shot_id\": \"S0008_SH01\", \"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.86, \"order_delta\": 0, \"chronology\": {\"scene_id\": \"S0008\", \"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0007\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"camera\": \"中景，从李凡的侧后方拍摄，将他和面前简陋的系统界面一同框入画面。\", \"duration_seconds\": 5.7, \"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\": \"mainline\", \"shot_role\": \"opening\"}, \"source\": {\"description\": \"李凡独自一人，表情从困惑转为难以置信。他面前浮现出一个半透明的系统界面，上面只有一个孤零零的数值在闪烁。\", \"actions\": [\"李凡盯着面前浮现的系统界面，眉头紧锁，眼神在界面上反复扫视。\", \"他伸出手指，似乎想滑动或点击，但界面毫无反应，只有那个单一的数值在闪烁。\"], \"narration\": \"（李凡内心独白）恩，是的，就这样了。什么攻击、防御、速度，根骨、灵根、悟性，甚至金木水火土这些数据……全都没有。\", \"on_screen_text\": \"【系统界面】\\n心情值：？？\\n（其他属性栏位均为空白或显示“未定义”）\", \"scene_notes\": \"李凡首次完整审视自己的系统，发现其功能极度简陋，仅有“心情值”一项属性，引发他对系统开发者的愤怒吐槽。这是主角对自身金手指的初步认知和失望，为后续剧情中系统可能的不按常理出牌埋下伏笔。重要性：主线；呈现：旁白（内心独白）+画面+文字卡片（系统界面与提示）。\"}, \"candidate_meta\": {\"scene_id\": \"S0008\", \"shot_id\": \"S0008_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\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}, {\"scene_id\": \"S0008\", \"shot_id\": \"S0008_SH02\", \"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.86, \"order_delta\": 0, \"chronology\": {\"scene_id\": \"S0008\", \"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0007\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"camera\": \"中近景，推至李凡的面部特写，捕捉他情绪的剧烈变化。\", \"duration_seconds\": 4.8, \"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\": \"mainline\", \"shot_role\": \"character\"}, \"source\": {\"description\": \"李凡的脸部特写，表情从难以置信转为愤怒和崩溃。\", \"actions\": [\"李凡猛地抬起头，瞪大眼睛，脸上写满了荒谬和愤怒。\", \"他用手抓了抓头发，一副被耍了的样子。\"], \"narration\": \"\", \"on_screen_text\": \"‘李凡的心情下降了1点’\", \"scene_notes\": \"李凡首次完整审视自己的系统，发现其功能极度简陋，仅有“心情值”一项属性，引发他对系统开发者的愤怒吐槽。这是主角对自身金手指的初步认知和失望，为后续剧情中系统可能的不按常理出牌埋下伏笔。重要性：主线；呈现：旁白（内心独白）+画面+文字卡片（系统界面与提示）。\"}, \"candidate_meta\": {\"scene_id\": \"S0008\", \"shot_id\": \"S0008_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\": true, \"style_preset\": \"cinematic, detailed, consistent character design, coherent lighting\", \"chronology_summary\": {\"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}]"
    }
  ]
}