{
  "config": {},
  "extra": {
    "ds": {
      "offset": [
        4933.333333333333,
        -3066.2172791280864
      ],
      "scale": 0.2867256637168142
    },
    "frontendVersion": "1.48.7"
  },
  "groups": [
    {
      "bounding": [
        -2200,
        4750,
        1270,
        840
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 1,
      "title": "Prompt Enhancer (Optional)"
    },
    {
      "bounding": [
        -3160,
        4060,
        930,
        1530
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 2,
      "title": "User Inputs"
    },
    {
      "bounding": [
        -900,
        4060,
        1400,
        1540
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 3,
      "title": "Upscale Video to 2K (Optional)"
    },
    {
      "bounding": [
        -2200,
        4060,
        1270,
        670
      ],
      "color": "#A88",
      "flags": {},
      "id": 4,
      "title": "Create Video (Core)"
    },
    {
      "bounding": [
        -2840,
        5190,
        350,
        360
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 5,
      "title": "Feature Flags"
    }
  ],
  "id": "c23969d8-7734-4984-ac92-ee71859d3c74",
  "last_link_id": 29,
  "last_node_id": 22,
  "links": [
    [
      17,
      7,
      0,
      12,
      1,
      "STRING"
    ],
    [
      18,
      10,
      0,
      13,
      1,
      "VIDEO"
    ],
    [
      21,
      14,
      0,
      12,
      0,
      "STRING"
    ],
    [
      23,
      12,
      0,
      8,
      0,
      "STRING"
    ],
    [
      25,
      19,
      0,
      13,
      2,
      "BOOLEAN"
    ],
    [
      26,
      18,
      0,
      12,
      2,
      "BOOLEAN"
    ],
    [
      29,
      4,
      0,
      13,
      0,
      "VIDEO"
    ],
    [
      2,
      4,
      0,
      2,
      0,
      "VIDEO"
    ],
    [
      20,
      13,
      0,
      11,
      0,
      "VIDEO"
    ],
    [
      15,
      12,
      0,
      4,
      1,
      "STRING"
    ],
    [
      9,
      6,
      0,
      4,
      7,
      "IMAGE"
    ],
    [
      22,
      14,
      0,
      7,
      3,
      "STRING"
    ],
    [
      6,
      6,
      0,
      7,
      6,
      "IMAGE"
    ],
    [
      10,
      2,
      0,
      10,
      0,
      "VIDEO"
    ],
    [
      12,
      8,
      0,
      10,
      4,
      "STRING"
    ],
    [
      11,
      6,
      0,
      10,
      6,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": false
      },
      "id": 2,
      "inputs": [
        {
          "link": 2,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "format.codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format.codec"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "shape": 7,
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            10
          ],
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -1720,
        4140
      ],
      "properties": {},
      "size": [
        740,
        150
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/Minimax_h3_max",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "codec": "auto",
        "filename_prefix": "video/Minimax_h3_max",
        "format": "auto",
        "format.codec": "auto"
      }
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {
        "collapsed": false
      },
      "id": 4,
      "inputs": [
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": 15,
          "localized_name": "prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          }
        },
        {
          "link": null,
          "localized_name": "resolution",
          "name": "model.resolution",
          "type": "COMBO",
          "widget": {
            "name": "model.resolution"
          }
        },
        {
          "link": null,
          "localized_name": "ratio",
          "name": "model.ratio",
          "type": "COMBO",
          "widget": {
            "name": "model.ratio"
          }
        },
        {
          "link": null,
          "localized_name": "duration",
          "name": "model.duration",
          "type": "INT",
          "widget": {
            "name": "model.duration"
          }
        },
        {
          "link": null,
          "localized_name": "prompt_expansion_mode",
          "name": "model.prompt_expansion_mode",
          "type": "COMBO",
          "widget": {
            "name": "model.prompt_expansion_mode"
          }
        },
        {
          "link": null,
          "localized_name": "reference_detail",
          "name": "model.reference_detail",
          "type": "COMBO",
          "widget": {
            "name": "model.reference_detail"
          }
        },
        {
          "link": 9,
          "localized_name": "image_1",
          "name": "model.reference_images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "image_2",
          "name": "model.reference_images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "video_1",
          "name": "model.reference_videos.video_1",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "audio_1",
          "name": "model.reference_audios.audio_1",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "watermark",
          "name": "watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "watermark"
          }
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            2,
            29
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -2160,
        4140
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03ReferenceNode"
      },
      "size": [
        400,
        411
      ],
      "type": "MinimaxHailuo03ReferenceNode",
      "widgets_values": [
        "MiniMax H3 Max",
        "",
        "768P",
        "adaptive",
        5,
        "balanced",
        "high",
        3353295271,
        "randomize",
        false
      ],
      "widgets_values_named": {
        "control_after_generate": "randomize",
        "model": "MiniMax H3 Max",
        "model.duration": 5,
        "model.prompt": "",
        "model.prompt_expansion_mode": "balanced",
        "model.ratio": "adaptive",
        "model.reference_detail": "high",
        "model.resolution": "768P",
        "seed": 3353295271,
        "watermark": false
      }
    },
    {
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            6,
            9,
            11
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -2890,
        4360
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        370,
        390
      ],
      "type": "LoadImage",
      "widgets_values": [
        "burdened_warrior_in_dreamscape.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "burdened_warrior_in_dreamscape.png",
        "upload": "image"
      }
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": null,
          "localized_name": "first_frame",
          "name": "first_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "last_frame",
          "name": "last_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": 22,
          "localized_name": "prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          }
        },
        {
          "link": null,
          "localized_name": "duration",
          "name": "model.duration",
          "type": "INT",
          "widget": {
            "name": "model.duration"
          }
        },
        {
          "link": null,
          "localized_name": "ratio",
          "name": "model.ratio",
          "type": "COMBO",
          "widget": {
            "name": "model.ratio"
          }
        },
        {
          "link": 6,
          "localized_name": "image_1",
          "name": "model.reference_images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "image_2",
          "name": "model.reference_images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "video_1",
          "name": "model.reference_videos.video_1",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "audio_1",
          "name": "model.reference_audios.audio_1",
          "shape": 7,
          "type": "AUDIO"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            17
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -2170,
        4830
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03ContextIRNode"
      },
      "size": [
        400,
        315
      ],
      "type": "MinimaxHailuo03ContextIRNode",
      "widgets_values": [
        "MiniMax H3",
        "",
        5,
        "adaptive"
      ],
      "widgets_values_named": {
        "model": "MiniMax H3",
        "model.duration": 5,
        "model.prompt": "",
        "model.ratio": "adaptive"
      }
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 23,
          "localized_name": "text",
          "name": "text",
          "type": "STRING"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            12
          ],
          "localized_name": "text",
          "name": "text",
          "type": "STRING"
        }
      ],
      "pos": [
        -1710,
        4830
      ],
      "properties": {
        "Node name for S&R": "SaveText"
      },
      "size": [
        750,
        650
      ],
      "type": "SaveText",
      "widgets_values": [
        "H3_prompt",
        "txt"
      ],
      "widgets_values_named": {
        "filename_prefix": "H3_prompt",
        "format": "txt"
      }
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 10,
      "inputs": [
        {
          "link": 10,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "first_frame",
          "name": "first_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "last_frame",
          "name": "last_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": 12,
          "localized_name": "prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          }
        },
        {
          "link": null,
          "localized_name": "resolution",
          "name": "model.resolution",
          "type": "COMBO",
          "widget": {
            "name": "model.resolution"
          }
        },
        {
          "link": 11,
          "localized_name": "image_1",
          "name": "model.reference_images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "image_2",
          "name": "model.reference_images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "video_1",
          "name": "model.reference_videos.video_1",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "audio_1",
          "name": "model.reference_audios.audio_1",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "localized_name": "watermark",
          "name": "watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "watermark"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            18
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -830,
        4570
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03RegenerateNode"
      },
      "size": [
        400,
        326
      ],
      "type": "MinimaxHailuo03RegenerateNode",
      "widgets_values": [
        "MiniMax H3",
        "",
        "2K",
        false
      ],
      "widgets_values_named": {
        "model": "MiniMax H3",
        "model.prompt": "",
        "model.resolution": "2K",
        "watermark": false
      }
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 20,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "format.codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format.codec"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "shape": 7,
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [],
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -350,
        4570
      ],
      "properties": {},
      "size": [
        680,
        150
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/Minimax_h3_max",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "codec": "auto",
        "filename_prefix": "video/Minimax_h3_max",
        "format": "auto",
        "format.codec": "auto"
      }
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 12,
      "inputs": [
        {
          "link": 21,
          "localized_name": "on_false",
          "name": "on_false",
          "shape": 7,
          "type": "STRING"
        },
        {
          "link": 17,
          "localized_name": "on_true",
          "name": "on_true",
          "shape": 7,
          "type": "STRING"
        },
        {
          "link": 26,
          "localized_name": "switch",
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            15,
            23
          ],
          "localized_name": "output",
          "name": "output",
          "type": "STRING"
        }
      ],
      "pos": [
        -2100,
        5340
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "size": [
        270,
        110
      ],
      "type": "ComfySwitchNode",
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 13,
      "inputs": [
        {
          "link": 29,
          "localized_name": "on_false",
          "name": "on_false",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": 18,
          "localized_name": "on_true",
          "name": "on_true",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": 25,
          "localized_name": "switch",
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            20
          ],
          "localized_name": "output",
          "name": "output",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -750,
        4990
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "size": [
        270,
        110
      ],
      "type": "ComfySwitchNode",
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "flags": {},
      "id": 14,
      "inputs": [
        {
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            21,
            22
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -2890,
        4810
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        410,
        340
      ],
      "title": "Text (Prompt)",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "subject_definitions:\n<Subject 1> is the otherworldly samurai in <Picture 1>, featuring light blue skin with yellow markings, a tall blue curved hat, and a black face mask with gold studs. He wears a thick brown fur collar over a teal kimono-style top with orange and red patches, dark blue armor panels on his waist, and red and purple sashes. Two katana swords with dark scabbards and gold hilts are tucked into his waist, and he carries a massive backpack bound with thick brown ropes, loaded with blue and green bedrolls, a wooden container, and yellow gourds.\n<Subject 2> is the alien night environment and intricate, colorful 2D comic illustration style in <Picture 1>, characterized by a starry purple and blue sky, a massive dark circular celestial sphere, wispy cyan smoke, and stylized light blue leafy foliage in the foreground.\n<Picture 1> is the first frame of [Shot 1], showing <Subject 1> standing in profile within <Subject 2>.\n\nsummary:\n[keyframe completion + reference generation] The target video begins with <Picture 1> as the first frame, showing <Subject 1> standing in the alien night landscape of <Subject 2>. The tranquil scene is interrupted when a monster attacks, prompting <Subject 1> to draw his sword and perform a powerful, dynamic slash to fight the creature, bringing the still illustration into intense animated combat.\n\nretention_analysis:\n<Picture 1> ([Shot 1] first frame): fully_preserved - the target video starts exactly from this image, preserving the initial composition, the side-profile view of <Subject 1>, and the background elements of <Subject 2>.\n<Subject 1> (appears in [Shot 1]): fully_preserved - the samurai's light blue skin, studded mask, tall hat, fur collar, patched teal clothing, massive loaded backpack, and katana swords remain intact and clearly visible during his rapid combat movements.\n<Subject 2> (appears in [Shot 1]): fully_preserved - the deep purple and blue starry sky, the dark celestial sphere, the curling cyan smoke, the light blue foliage, and the intricate flat-shaded 2D illustration style are maintained throughout the action.\n\ndetailed_description:\nThe target video is in an intricate, colorful, flat-shaded 2D comic illustration style.\n\n[Shot 1] The shot begins with <Picture 1> as the first frame. In the center of the frame, <Subject 1> stands in profile, facing left within the alien night environment of <Subject 2>. The otherworldly samurai is fully realized, featuring light blue skin speckled with yellow markings, a tall, curved blue hat, and a black face mask dotted with gold studs covering his lower face. He wears a heavy, textured brown fur collar over a teal, kimono-style top adorned with bright orange and red patches. Dark blue armor panels hang at his waist, secured by red and purple sashes, where two katana swords with dark scabbards and gold hilts are tucked. On his back, he carries a massive, towering backpack bound tightly with thick brown ropes, loaded with green and blue bedrolls, a wooden bucket, and round yellow gourds. The background of <Subject 2> features a deep purple and blue night sky filled with four-pointed stars, dominated by the massive silhouette of a dark circular celestial sphere. Wispy, stylized cyan smoke curls upward behind him, while light blue, leafy plants fill the foreground.\n\nSuddenly, the tranquil atmosphere is broken as a menacing, shadowy monster with glowing red eyes and jagged claws bursts into the frame from the left edge, lunging toward the samurai. Reacting with lightning speed, <Subject 1> pivots his upper body, his purple-gloved right hand snapping down to grip the gold hilt of his primary katana. With a fluid, explosive motion, he draws the blade from its dark scabbard, the polished steel catching the starlight. The sudden movement causes his heavy, rope-bound backpack to shift heavily, the gourds and bedrolls swaying with realistic secondary motion, while his brown fur collar rustles wildly. The camera dynamically pushes in and arcs slightly to capture the action, heightening the intensity of the confrontation.\n\n<Subject 1> steps forward, planting his foot firmly among the light blue foliage, and unleashes a devastating, sweeping slash toward the lunging monster. The blade cuts through the air with a stylized, trailing arc of light blue energy, striking the beast's claws. The monster recoils from the heavy impact, its dark form twisting backward. The samurai follows through with his swing, his posture low and grounded, the intricate details of his patched teal clothing and studded dark armor fully visible in the dramatic combat stance. The curling cyan smoke of <Subject 2> swirls violently around them, disturbed by the shockwave of the sword strike, as the shot ends on this tense, action-packed battle tableau.\n\noverall_soundscape:\nA tense, atmospheric soundscape featuring the crisp, metallic ring of a sword being quickly drawn from its scabbard, followed by the heavy whoosh of a blade slicing through the air and a deep, resonant impact as the weapon connects with the monster's claws, all set against a backdrop of eerie, howling nocturnal wind.\n\nnon_diegetic_music:\nA fast-paced, dramatic orchestral track with driving taiko drums, sharp shamisen plucks, and tense strings, matching the sudden burst of combat action."
      ],
      "widgets_values_named": {
        "value": "subject_definitions:\n<Subject 1> is the otherworldly samurai in <Picture 1>, featuring light blue skin with yellow markings, a tall blue curved hat, and a black face mask with gold studs. He wears a thick brown fur collar over a teal kimono-style top with orange and red patches, dark blue armor panels on his waist, and red and purple sashes. Two katana swords with dark scabbards and gold hilts are tucked into his waist, and he carries a massive backpack bound with thick brown ropes, loaded with blue and green bedrolls, a wooden container, and yellow gourds.\n<Subject 2> is the alien night environment and intricate, colorful 2D comic illustration style in <Picture 1>, characterized by a starry purple and blue sky, a massive dark circular celestial sphere, wispy cyan smoke, and stylized light blue leafy foliage in the foreground.\n<Picture 1> is the first frame of [Shot 1], showing <Subject 1> standing in profile within <Subject 2>.\n\nsummary:\n[keyframe completion + reference generation] The target video begins with <Picture 1> as the first frame, showing <Subject 1> standing in the alien night landscape of <Subject 2>. The tranquil scene is interrupted when a monster attacks, prompting <Subject 1> to draw his sword and perform a powerful, dynamic slash to fight the creature, bringing the still illustration into intense animated combat.\n\nretention_analysis:\n<Picture 1> ([Shot 1] first frame): fully_preserved - the target video starts exactly from this image, preserving the initial composition, the side-profile view of <Subject 1>, and the background elements of <Subject 2>.\n<Subject 1> (appears in [Shot 1]): fully_preserved - the samurai's light blue skin, studded mask, tall hat, fur collar, patched teal clothing, massive loaded backpack, and katana swords remain intact and clearly visible during his rapid combat movements.\n<Subject 2> (appears in [Shot 1]): fully_preserved - the deep purple and blue starry sky, the dark celestial sphere, the curling cyan smoke, the light blue foliage, and the intricate flat-shaded 2D illustration style are maintained throughout the action.\n\ndetailed_description:\nThe target video is in an intricate, colorful, flat-shaded 2D comic illustration style.\n\n[Shot 1] The shot begins with <Picture 1> as the first frame. In the center of the frame, <Subject 1> stands in profile, facing left within the alien night environment of <Subject 2>. The otherworldly samurai is fully realized, featuring light blue skin speckled with yellow markings, a tall, curved blue hat, and a black face mask dotted with gold studs covering his lower face. He wears a heavy, textured brown fur collar over a teal, kimono-style top adorned with bright orange and red patches. Dark blue armor panels hang at his waist, secured by red and purple sashes, where two katana swords with dark scabbards and gold hilts are tucked. On his back, he carries a massive, towering backpack bound tightly with thick brown ropes, loaded with green and blue bedrolls, a wooden bucket, and round yellow gourds. The background of <Subject 2> features a deep purple and blue night sky filled with four-pointed stars, dominated by the massive silhouette of a dark circular celestial sphere. Wispy, stylized cyan smoke curls upward behind him, while light blue, leafy plants fill the foreground.\n\nSuddenly, the tranquil atmosphere is broken as a menacing, shadowy monster with glowing red eyes and jagged claws bursts into the frame from the left edge, lunging toward the samurai. Reacting with lightning speed, <Subject 1> pivots his upper body, his purple-gloved right hand snapping down to grip the gold hilt of his primary katana. With a fluid, explosive motion, he draws the blade from its dark scabbard, the polished steel catching the starlight. The sudden movement causes his heavy, rope-bound backpack to shift heavily, the gourds and bedrolls swaying with realistic secondary motion, while his brown fur collar rustles wildly. The camera dynamically pushes in and arcs slightly to capture the action, heightening the intensity of the confrontation.\n\n<Subject 1> steps forward, planting his foot firmly among the light blue foliage, and unleashes a devastating, sweeping slash toward the lunging monster. The blade cuts through the air with a stylized, trailing arc of light blue energy, striking the beast's claws. The monster recoils from the heavy impact, its dark form twisting backward. The samurai follows through with his swing, his posture low and grounded, the intricate details of his patched teal clothing and studded dark armor fully visible in the dramatic combat stance. The curling cyan smoke of <Subject 2> swirls violently around them, disturbed by the shockwave of the sword strike, as the shot ends on this tense, action-packed battle tableau.\n\noverall_soundscape:\nA tense, atmospheric soundscape featuring the crisp, metallic ring of a sword being quickly drawn from its scabbard, followed by the heavy whoosh of a blade slicing through the air and a deep, resonant impact as the weapon connects with the monster's claws, all set against a backdrop of eerie, howling nocturnal wind.\n\nnon_diegetic_music:\nA fast-paced, dramatic orchestral track with driving taiko drums, sharp shamisen plucks, and tense strings, matching the sudden burst of combat action."
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 17,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        -3800,
        4090
      ],
      "properties": {},
      "size": [
        580,
        1220
      ],
      "title": "Note: Guide",
      "type": "MarkdownNote",
      "widgets_values": [
        "## How this graph is wired\n\nThis is a MiniMax H3 Max **reference-to-video** template. It has **one required path** and **two optional stages**. You choose whether to run the optional stages. Both start **off**.\n\nOn the canvas, two nodes are marked **red**. Those are **Switch** nodes. Each is the on/off gate for an optional stage, driven by a boolean in the **Feature Flags** group.\n\n### 1. Video generation (required)\n\n**MiniMax H3 Reference to Video** is the core. It always runs. Feed it **Text (Prompt)** and your references (this template starts with **Load Image** as image_1). You can add more images, a reference video, or audio. The first **Save Video** is the first-pass output.\n\n### 2. Prompt enhance (optional)\n\n**Boolean (Prompt Enhance)** feeds the red **Switch** in **Prompt Enhancer (Optional)**.\n\n- Set it to `true` to rewrite the prompt with **MiniMax H3 Context IR (Prompt Enhancer)** before generation.\n- Leave it `false` to send your raw prompt straight to video generation.\n\n### 3. Video upscale (optional)\n\n**Boolean (Upscale to 2K)** feeds the red **Switch** in **Upscale Video to 2K (Optional)**.\n\n- Set it to `true` to run **MiniMax H3 Regenerate to 2K** on the first-pass video.\n- Leave it `false` to save the first-pass video as-is.\n\nUpscale **only accepts 768P** source video. If you turn this stage on, generate at **768P**. Other resolutions are not supported by **MiniMax H3 Regenerate to 2K**.\n\nYou can enable section 2, section 3, both, or neither.\n\n### Duration must match\n\nKeep **duration** the same on every MiniMax node you actually use (generation, prompt enhance, and upscale). The clip length must match across those stages. If one node is 5s and another is 6s, enhance or upscale will be out of sync with the generated video.\n\n### Extra inputs must be duplicated\n\nThe generate node, the prompt-enhance node, and the upscale node do **not** share extra context automatically.\n\n**Load Image** is already wired into all three as image_1. If you add more inputs (another **Load Image**, a reference video, audio, or any extra output you plug into generation), **also plug the same wires into**:\n\n- **MiniMax H3 Context IR (Prompt Enhancer)**, so prompt enhance sees the same references\n- **MiniMax H3 Regenerate to 2K**, so upscale sees the same references\n\nIf you only wire extras into generation, enhance and upscale will run without that context and the result will drift."
      ],
      "widgets_values_named": {
        "text": "## How this graph is wired\n\nThis is a MiniMax H3 Max **reference-to-video** template. It has **one required path** and **two optional stages**. You choose whether to run the optional stages. Both start **off**.\n\nOn the canvas, two nodes are marked **red**. Those are **Switch** nodes. Each is the on/off gate for an optional stage, driven by a boolean in the **Feature Flags** group.\n\n### 1. Video generation (required)\n\n**MiniMax H3 Reference to Video** is the core. It always runs. Feed it **Text (Prompt)** and your references (this template starts with **Load Image** as image_1). You can add more images, a reference video, or audio. The first **Save Video** is the first-pass output.\n\n### 2. Prompt enhance (optional)\n\n**Boolean (Prompt Enhance)** feeds the red **Switch** in **Prompt Enhancer (Optional)**.\n\n- Set it to `true` to rewrite the prompt with **MiniMax H3 Context IR (Prompt Enhancer)** before generation.\n- Leave it `false` to send your raw prompt straight to video generation.\n\n### 3. Video upscale (optional)\n\n**Boolean (Upscale to 2K)** feeds the red **Switch** in **Upscale Video to 2K (Optional)**.\n\n- Set it to `true` to run **MiniMax H3 Regenerate to 2K** on the first-pass video.\n- Leave it `false` to save the first-pass video as-is.\n\nUpscale **only accepts 768P** source video. If you turn this stage on, generate at **768P**. Other resolutions are not supported by **MiniMax H3 Regenerate to 2K**.\n\nYou can enable section 2, section 3, both, or neither.\n\n### Duration must match\n\nKeep **duration** the same on every MiniMax node you actually use (generation, prompt enhance, and upscale). The clip length must match across those stages. If one node is 5s and another is 6s, enhance or upscale will be out of sync with the generated video.\n\n### Extra inputs must be duplicated\n\nThe generate node, the prompt-enhance node, and the upscale node do **not** share extra context automatically.\n\n**Load Image** is already wired into all three as image_1. If you add more inputs (another **Load Image**, a reference video, audio, or any extra output you plug into generation), **also plug the same wires into**:\n\n- **MiniMax H3 Context IR (Prompt Enhancer)**, so prompt enhance sees the same references\n- **MiniMax H3 Regenerate to 2K**, so upscale sees the same references\n\nIf you only wire extras into generation, enhance and upscale will run without that context and the result will drift."
      }
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "BOOLEAN",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            26
          ],
          "localized_name": "BOOLEAN",
          "name": "BOOLEAN",
          "type": "BOOLEAN"
        }
      ],
      "pos": [
        -2800,
        5270
      ],
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "size": [
        270,
        90
      ],
      "title": "Boolean (Prompt Enhance)",
      "type": "PrimitiveBoolean",
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "value": false
      }
    },
    {
      "flags": {},
      "id": 19,
      "inputs": [
        {
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "BOOLEAN",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            25
          ],
          "localized_name": "BOOLEAN",
          "name": "BOOLEAN",
          "type": "BOOLEAN"
        }
      ],
      "pos": [
        -2800,
        5420
      ],
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "size": [
        270,
        90
      ],
      "title": "Boolean (Upscale to 2K)",
      "type": "PrimitiveBoolean",
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "value": false
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 21,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -3150,
        5430
      ],
      "properties": {},
      "size": [
        290,
        118.78125
      ],
      "title": "Note: Requirement for Video Upscale",
      "type": "MarkdownNote",
      "widgets_values": [
        "Upscale only accepts **768P** source video. Generate at 768P if you turn on **Boolean (Upscale to 2K)**. Other resolutions are not supported."
      ],
      "widgets_values_named": {
        "text": "Upscale only accepts **768P** source video. Generate at 768P if you turn on **Boolean (Upscale to 2K)**. Other resolutions are not supported."
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 22,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        -4170,
        4090
      ],
      "properties": {},
      "size": [
        340,
        430
      ],
      "title": "Note: Input Assset",
      "type": "MarkdownNote",
      "widgets_values": [
        "## Input Asset\n\n- [burdened_warrior_in_dreamscape.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/burdened_warrior_in_dreamscape.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "widgets_values_named": {
        "text": "## Input Asset\n\n- [burdened_warrior_in_dreamscape.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/burdened_warrior_in_dreamscape.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      }
    }
  ],
  "revision": 0,
  "version": 0.4
}