{
  "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\": \"C0030-SC04\", \"title\": \"源泽困境\", \"summary\": \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。\", \"type\": [\"内心独白\"], \"tone\": [\"轻松\"], \"importance\": \"支线\", \"presentation\": [\"旁白+画面\"], \"key_beats\": [\"李凡吐槽身处源泽\", \"身体下沉\"], \"characters\": [\"李凡\"], \"locations\": [\"灰色沼泽\"], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0030\", \"source_start_para\": 823, \"source_end_para\": 824, \"text\": \"第十二章源泽\\n\\n兑，亨利贞，刚中而柔外，顺乎天而应乎人。\\n这尼玛又是什么鬼地方啊！怎么可能每次往蒲团上一坐都出事？他是不是和蒲团八字不合啊？而且闭眼睛完全没用啊！不会真的要扣出来吧？？\\n李凡真是醉了，坐在那灰色的泥沼之海里，实在不想站起来，可不站起来又不行，这隐隐约约得，他能感到自己正往下沉呢！和陷进了沼泽地一个样！\", \"text_preview\": \"第十二章源泽 兑，亨利贞，刚中而柔外，顺乎天而应乎人。 这尼玛又是什么鬼地方啊！怎么可能每次往蒲团上一坐都出事？他是不是和蒲团八字不合啊？而且闭眼睛完全没用啊…\", \"candidate_meta\": {\"candidate_id\": \"C0030-SC04\", \"record_count\": 2, \"char_len\": 159, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 1}, \"boundary_reasons_after\": [\"system_switch\"], \"matched_entities\": [{\"entity_id\": \"E000002\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李凡\"], \"score\": 5.8}, {\"entity_id\": \"E000028\", \"name\": \"蒲团\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"蒲团\"], \"score\": 5.2}, {\"entity_id\": \"E000117\", \"name\": \"灰色沼泽\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"源泽\"], \"score\": 2.2}], \"heuristic_types\": [\"内心独白\"], \"heuristic_tones\": [\"轻松\"], \"heuristic_presentation\": [\"旁白+画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0087\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0087\", \"title\": \"源泽困境\", \"summary\": \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。\", \"characters\": [\"李凡\"], \"locations\": [\"灰色沼泽\"], \"key_beats\": [\"李凡吐槽身处源泽\", \"身体下沉\"], \"source_chunk_id\": \"C0030\", \"source_start_para\": 823, \"source_end_para\": 824, \"continuation_of_prev\": false, \"narrative_order\": 87, \"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\": \"S0085\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0085\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.85, \"text_preview\": \"第十二章源泽 兑，亨利贞，刚中而柔外，顺乎天而应乎人。 这尼玛又是什么鬼地方啊！怎么可能每次往蒲团上一坐都出事？他是不是和蒲团八字不合啊？而且闭眼睛完全没用啊…\", \"story_chronology_group\": \"CG0070\", \"story_chronology_order\": 70}\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\"}, {\"entity_id\": \"E000117\", \"name\": \"灰色沼泽\", \"type\": \"地点\", \"subtype\": \"\", \"aliases\": [\"灰色淤泥的海洋\", \"淤泥灰沼\", \"灰色泥沼之海\", \"源泽\"], \"attributes\": {}, \"descriptions\": [\"五行属金的沼泽\", \"灰色淤泥海洋\", \"五行属金\"], \"evidence\": [\"这些淤泥灰沼居然是五行属金的\", \"第十二章源泽\", \"灰色淤泥的海洋\"], \"mentions\": [{\"chunk_id\": \"C0030\", \"summary\": \"李凡陷入灰色沼泽\", \"evidence\": [\"李凡睁开眼，看到自己坐在一片广阔的，充斥着灰色淤泥的海洋里\"], \"attributes\": {}}, {\"chunk_id\": \"C0030\", \"summary\": \"李凡陷入源泽\", \"evidence\": [\"李凡坐在灰色泥沼之海\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0030\", \"last_seen\": \"C0030\"}]\n\nSTORYBOARD CANDIDATES:\n[{\"scene_id\": \"S0087\", \"shot_id\": \"S0087_SH01\", \"narrative_order\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.86, \"order_delta\": -17, \"chronology\": {\"scene_id\": \"S0087\", \"narrative_order\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -17, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0085\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"camera\": \"远景，缓慢环绕，展示沼泽的广阔与诡异。\", \"duration_seconds\": 5.9, \"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\": [\"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。重要性：支线；呈现：旁白+画面；时间顺序：叙事87->故事70\", \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。\"], \"motion\": [\"动作连续，空间逻辑清晰\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"mainline\", \"shot_role\": \"opening\"}, \"source\": {\"description\": \"一片无边无际的灰色泥沼海洋。李凡盘腿坐在中央，一脸茫然和无奈。\", \"actions\": [\"李凡环顾四周，表情从困惑转为吐槽。\", \"他低头看了看身下，微微挣扎。\"], \"narration\": \"（李凡内心独白）这尼玛又是什么鬼地方啊！怎么可能每次往蒲团上一坐都出事？他是不是和蒲团八字不合啊？而且闭眼睛完全没用啊！不会真的要扣出来吧？？\", \"on_screen_text\": \"第十二章 源泽\", \"scene_notes\": \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。重要性：支线；呈现：旁白+画面；时间顺序：叙事87->故事70\"}, \"candidate_meta\": {\"scene_id\": \"S0087\", \"shot_id\": \"S0087_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\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -17, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}, {\"scene_id\": \"S0087\", \"shot_id\": \"S0087_SH02\", \"narrative_order\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"chronology_confidence\": 0.86, \"order_delta\": -17, \"chronology\": {\"scene_id\": \"S0087\", \"narrative_order\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -17, \"temporal_anchor\": {\"label\": \"\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0085\", \"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\": [\"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。重要性：支线；呈现：旁白+画面；时间顺序：叙事87->故事70\", \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。\"], \"motion\": [\"动作连续，空间逻辑清晰\"], \"negative\": [\"低清晰度\", \"模糊\", \"重影\", \"多余肢体\", \"畸形手部\", \"角色不一致\", \"穿帮道具\", \"文本乱码\", \"水印\", \"过曝\"], \"time_mode\": \"mainline\", \"shot_role\": \"character\"}, \"source\": {\"description\": \"中近景，聚焦李凡腰部以下。灰色的淤泥正缓慢地没过他的大腿，将他向下拖拽。\", \"actions\": [\"李凡的身体以肉眼可见的速度缓缓下沉。\", \"他试图用手撑住，但手掌也陷入泥中。\"], \"narration\": \"（李凡内心独白）李凡真是醉了，坐在那灰色的泥沼之海里，实在不想站起来，可不站起来又不行……这隐隐约约得，他能感到自己正往下沉呢！和陷进了沼泽地一个样！\", \"on_screen_text\": \"\", \"scene_notes\": \"李凡发现自己身处源泽，吐槽与蒲团不合，身体正下沉。重要性：支线；呈现：旁白+画面；时间顺序：叙事87->故事70\"}, \"candidate_meta\": {\"scene_id\": \"S0087\", \"shot_id\": \"S0087_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\": 87, \"story_chronology_order\": 70, \"story_chronology_group\": \"CG0070\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -17, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}}}]"
    }
  ]
}