{"input": "test input 1", "expected": {"drama_id": "test_001", "title": "朱墙血:嫡子夺印", "era": "明", "genre": "宫廷", "source_type": "news", "word_count": 8000, "characters": [{"id": "c1", "name": "萧承煜", "role": "protagonist", "gender": "male", "identity": "靖王府嫡长子", "persona": {"appearance": "身形挺拔,左颊有旧箭疤", "personality": "外冷内热", "background": "生母早亡", "motivation": "正嫡长之名"}, "image_prompt": "A Ming dynasty noble young man, long black hair, sharp phoenix eyes with a cold distant gaze, wearing dark brocade robe with dragon patterns, Chinese ink wash painting style, 8k, highly detailed"}, {"id": "c2", "name": "萧承珏", "role": "deuteragonist", "gender": "male", "identity": "靖王府庶子", "image_prompt": "A Ming dynasty prince, elegant appearance, wearing ornate robes, Chinese ink wash painting style, 8k"}], "scenes": [{"id": "s1", "name": "靖王府夜宴", "location": "王府正厅", "image_prompt": "A Ming dynasty palace at night, red lanterns, traditional Chinese painting style"}], "plots": [{"id": "p1", "type": "opening", "title": "夜宴杀机", "content": "靖王府檐角挂着新换的绛纱灯,灯影将萧承煜的脸切成明暗两半。他按住腰间佩剑,目光越过满座宾客,落在庶弟萧承珏腰间那枚本该属于嫡长子的家主印信上。", "choices": []}, {"id": "p2", "type": "development", "title": "兄弟对峙", "content": "老父举杯的手尚在颤抖,而承珏已笑着向他敬酒。承煜不语,只将杯中酒一饮而尽。酒入喉,竟是苦的。【\"兄长军务繁忙,府中琐事,还是由弟弟代劳吧。\"】", "choices": [{"id": "ch1", "text": "将碎玉还她,轻声道:“此情已逝,勿复相见。”", "next_plot_id": "p3", "affection_delta": -10}, {"id": "ch2", "text": "默然收好碎玉,转身踏入风雪。", "next_plot_id": "p3", "affection_delta": 10}]}, {"id": "p3", "type": "twist", "title": "身世之谜", "content": "承煜调查结果出人意料:印信竟是老父亲手交给承珏,其中另有隐情。"}, {"id": "p4", "type": "ending", "title": "最终抉择", "content": "以选择定道/情/义/生。"}], "endings": [{"id": "e1", "name": "折枝赠远", "type": "HE", "condition": "trust >= 70"}, {"id": "e2", "name": "骨埋青山", "type": "BE", "condition": "trust <= 30"}, {"id": "e3", "name": "浮生旧梦", "type": "TE", "condition": "clue_jade == true"}, {"id": "e4", "name": "扁舟一叶", "type": "NE", "condition": "choice_self_exile"}]}} {"input": "test input 2", "expected": {"drama_id": "test_002", "title": "明奇缘·模板标题", "era": "明", "genre": "武侠", "source_type": "news", "word_count": 8000, "characters": [{"id": "c1", "name": "男主1", "role": "protagonist", "gender": "male", "identity": "剑客", "image_prompt": "A 明 young male scholar, long black hair, wearing traditional hanfu, Chinese ink wash painting style, 8k"}, {"id": "c2", "name": "女主1", "role": "deuteragonist", "gender": "female", "identity": "公主", "image_prompt": "A 明 beautiful lady, traditional Chinese painting style, 8k"}], "scenes": [{"id": "s1", "name": "宫廷大殿", "location": "宫廷", "image_prompt": "A 明 palace garden at night"}], "plots": [{"id": "p1", "type": "opening", "title": "缘起", "content": "楔子引入,主角登场。", "choices": []}, {"id": "p2", "type": "development", "title": "冲突", "content": "势力交织,信任危机。", "choices": []}, {"id": "p3", "type": "twist", "title": "真相", "content": "身份揭露,旧诗为证。"}, {"id": "p4", "type": "ending", "title": "终局", "content": "以选择定道/情/义/生。"}], "endings": [{"id": "e1", "name": "长相守", "type": "HE", "condition": "trust >= 80"}, {"id": "e2", "name": "尘满面", "type": "BE", "condition": "trust <= 20"}, {"id": "e3", "name": "浮生记", "type": "TE", "condition": "collect all clues"}]}} {"input": "test input 3", "expected": {"drama_id": "test_003", "title": "仙侠奇缘·测试", "era": "仙侠", "genre": "仙侠", "source_type": "story", "word_count": 500, "characters": [{"id": "c1", "name": "test", "role": "protagonist", "gender": "male", "identity": "test", "image_prompt": "test"}], "scenes": [], "plots": [{"id": "p1", "type": "opening", "title": "test", "content": "test"}], "endings": []}}