{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        4500.816092785493,
        -3208.7229938271603
      ],
      "scale": 0.312289156626506
    },
    "frontendVersion": "1.51.9"
  },
  "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": 33,
  "last_node_id": 25,
  "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"
    ],
    [
      32,
      23,
      0,
      13,
      0,
      "VIDEO"
    ],
    [
      31,
      23,
      0,
      2,
      0,
      "VIDEO"
    ],
    [
      22,
      14,
      0,
      7,
      3,
      "STRING"
    ],
    [
      10,
      2,
      0,
      10,
      0,
      "VIDEO"
    ],
    [
      12,
      8,
      0,
      10,
      4,
      "STRING"
    ],
    [
      20,
      13,
      0,
      11,
      0,
      "VIDEO"
    ],
    [
      33,
      12,
      0,
      23,
      1,
      "STRING"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": false
      },
      "id": 2,
      "inputs": [
        {
          "link": 31,
          "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": 9,
      "outputs": [
        {
          "links": [
            10
          ],
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -1720,
        4140
      ],
      "properties": {},
      "size": [
        740,
        149.90625
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/MiniMax_H3_Max_turbo",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "codec": "auto",
        "filename_prefix": "video/MiniMax_H3_Max_turbo",
        "format": "auto",
        "format.codec": "auto"
      }
    },
    {
      "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": null,
          "localized_name": "image_1",
          "name": "model.reference_images.image_1",
          "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": 5,
      "outputs": [
        {
          "links": [
            17
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -2170,
        4830
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03ContextIRNode"
      },
      "size": [
        400,
        294.578125
      ],
      "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": 7,
      "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": null,
          "localized_name": "image_1",
          "name": "model.reference_images.image_1",
          "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": 10,
      "outputs": [
        {
          "links": [
            18
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -830,
        4570
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03RegenerateNode"
      },
      "size": [
        400,
        305.90625
      ],
      "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": 12,
      "outputs": [
        {
          "links": [],
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -350,
        4570
      ],
      "properties": {},
      "size": [
        680,
        149.90625
      ],
      "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": 6,
      "outputs": [
        {
          "links": [
            23,
            33
          ],
          "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": 32,
          "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": 11,
      "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": 0,
      "outputs": [
        {
          "links": [
            21,
            22
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -2980,
        4220
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        590,
        780
      ],
      "title": "Text (Prompt)",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "integrated_multimodal_description: [Shot 1] Cinematic, low-angle wide shot with a fast Push In, set in a rainy night mountain city characterized by wet stone slopes and red-orange neon signage against cold cyan rain curtains. A male delivery rider, wearing a translucent rain poncho over dark clothing and a sleek black helmet with a neon-reflecting visor, blasts his futuristic e-bike off the top of a steep slope. A glowing cyan food box is strapped to the back seat. The wheels raise twin walls of heavy spray, and the initial burst inflates his poncho like a sail, while the red-orange signage streaks into glowing light trails on both sides. On the left, oversized cyan text \"STEEP CITY\" shatters into rain-particle fragments upon the bike's impact. [Shot 2] At 00:00.600, the camera cuts to a medium Tracking Shot, following the rider from Shot 1 as he dives off the slope into a narrow alley between dense apartment towers. Overhead, a light-rail train thunders out through the waist of the building at extreme speed, its illuminated light band strobing intensely across the rider's wet translucent poncho. The rider ducks low over the handlebars and accelerates head-on, braiding the two extreme speeds into one. Glitchy white text \"RAIN CITY\" flashes character by character in sync with the rail's light band. [Shot 3] At 00:01.400, the camera cuts to a medium Pull Out shot as the rider and e-bike from Shot 1 launch into the air off the top of a steep stone stair flight. Mid-air, the glowing food box's lid pops open a crack, revealing metallic containers glinting inside, while the cyan rain curtain behind him stretches into vertical light filaments. Upon landing, the front wheel bites heavily into the accumulated water, plowing a massive V-shaped wake as the rider continues without pausing. In the foreground, ice-blue text \"I CLIMB\" is torn into a displaced motion trail by the intense landing spray. [Shot 4] At 00:02.100, the camera cuts to a fast Truck Right, framing the rider from Shot 1 in a side-profile medium shot as he threads underneath a massive concrete overpass. Crisscrossing streaks of traffic lights beam between the massive pillars as the rider darts left and right, maneuvering through the bright gaps in the crossing light. The high-speed lateral motion smears the heavy raindrops into sharp horizontal lines across the lens in a pure visual burst with no text present. [Shot 5] At 00:02.800, the camera cuts to a medium wide shot with a continuous Pedestal Up, matching the vertical ascent of the rider from Shot 1. He dismounts the e-bike using his forward momentum and bounds up a cantilevered exterior metal staircase in rapid, consecutive jumps. His wet translucent poncho snaps whip-like off his back with every step, while the illuminated handrail lights blur into one rising solid line under his boots. Small cyan text \"NO BRAKE\" slides along the upper edge of the frame, tracing his upward arc. [Shot 6] At 00:03.600, the camera cuts to a close-up shot with a fast Zoom In as the rider from Shot 1 bursts onto the topmost rooftop platform. He slams his boots down and brakes into a sharp whip-turn, his body executing a half-rotation that smears the entire mountain city's glowing neon lights into a circular river in the heavy rain. Locking into a sharp stance, his helmet visor faces the lens dead-on, perfectly reflecting the sprawling, illuminated city within its curved surface. Oversized cyan text \"TURBO\" smashes into the center-right of the frame, leaving a vivid slide-trail along the path of his rotational inertia, before the entire scene freezes razor-sharp on the final visual beat.\noverall_soundscape: A continuous heavy rainstorm provides a dense acoustic bed, immediately pierced by the loud, high-pitched whine of an electric e-bike motor revving. As the sequence progresses, a deafening, thunderous whoosh dominates the foreground when the light-rail train passes overhead, followed by a sharp metallic clack from the food box lid snapping open. A pronounced, heavy splashing crash and a loud, hissing tire-skid erupt as the bike hits the water, instantly transitioning into the rapid, hollow thuds of heavy wet boots pounding against a metal staircase. A sharp, squealing rubber skid and a final heavy boot stomp punctuate the rooftop turn, before all intense action noises abruptly cut out completely near the very end, leaving only the soft, fading hiss of rain.\nnon_diegetic_music: A relentless, high-energy 160 BPM electronic track drives the pacing, featuring an aggressive kick drum, sharp synth snares, and booming 808 bass drops that hit perfectly in sync with the sharp visual cuts. The driving rhythm maintains a fast, explosive tempo throughout the intense motion, before abruptly cutting to absolute silence precisely on the final visual accent."
      ],
      "widgets_values_named": {
        "value": "integrated_multimodal_description: [Shot 1] Cinematic, low-angle wide shot with a fast Push In, set in a rainy night mountain city characterized by wet stone slopes and red-orange neon signage against cold cyan rain curtains. A male delivery rider, wearing a translucent rain poncho over dark clothing and a sleek black helmet with a neon-reflecting visor, blasts his futuristic e-bike off the top of a steep slope. A glowing cyan food box is strapped to the back seat. The wheels raise twin walls of heavy spray, and the initial burst inflates his poncho like a sail, while the red-orange signage streaks into glowing light trails on both sides. On the left, oversized cyan text \"STEEP CITY\" shatters into rain-particle fragments upon the bike's impact. [Shot 2] At 00:00.600, the camera cuts to a medium Tracking Shot, following the rider from Shot 1 as he dives off the slope into a narrow alley between dense apartment towers. Overhead, a light-rail train thunders out through the waist of the building at extreme speed, its illuminated light band strobing intensely across the rider's wet translucent poncho. The rider ducks low over the handlebars and accelerates head-on, braiding the two extreme speeds into one. Glitchy white text \"RAIN CITY\" flashes character by character in sync with the rail's light band. [Shot 3] At 00:01.400, the camera cuts to a medium Pull Out shot as the rider and e-bike from Shot 1 launch into the air off the top of a steep stone stair flight. Mid-air, the glowing food box's lid pops open a crack, revealing metallic containers glinting inside, while the cyan rain curtain behind him stretches into vertical light filaments. Upon landing, the front wheel bites heavily into the accumulated water, plowing a massive V-shaped wake as the rider continues without pausing. In the foreground, ice-blue text \"I CLIMB\" is torn into a displaced motion trail by the intense landing spray. [Shot 4] At 00:02.100, the camera cuts to a fast Truck Right, framing the rider from Shot 1 in a side-profile medium shot as he threads underneath a massive concrete overpass. Crisscrossing streaks of traffic lights beam between the massive pillars as the rider darts left and right, maneuvering through the bright gaps in the crossing light. The high-speed lateral motion smears the heavy raindrops into sharp horizontal lines across the lens in a pure visual burst with no text present. [Shot 5] At 00:02.800, the camera cuts to a medium wide shot with a continuous Pedestal Up, matching the vertical ascent of the rider from Shot 1. He dismounts the e-bike using his forward momentum and bounds up a cantilevered exterior metal staircase in rapid, consecutive jumps. His wet translucent poncho snaps whip-like off his back with every step, while the illuminated handrail lights blur into one rising solid line under his boots. Small cyan text \"NO BRAKE\" slides along the upper edge of the frame, tracing his upward arc. [Shot 6] At 00:03.600, the camera cuts to a close-up shot with a fast Zoom In as the rider from Shot 1 bursts onto the topmost rooftop platform. He slams his boots down and brakes into a sharp whip-turn, his body executing a half-rotation that smears the entire mountain city's glowing neon lights into a circular river in the heavy rain. Locking into a sharp stance, his helmet visor faces the lens dead-on, perfectly reflecting the sprawling, illuminated city within its curved surface. Oversized cyan text \"TURBO\" smashes into the center-right of the frame, leaving a vivid slide-trail along the path of his rotational inertia, before the entire scene freezes razor-sharp on the final visual beat.\noverall_soundscape: A continuous heavy rainstorm provides a dense acoustic bed, immediately pierced by the loud, high-pitched whine of an electric e-bike motor revving. As the sequence progresses, a deafening, thunderous whoosh dominates the foreground when the light-rail train passes overhead, followed by a sharp metallic clack from the food box lid snapping open. A pronounced, heavy splashing crash and a loud, hissing tire-skid erupt as the bike hits the water, instantly transitioning into the rapid, hollow thuds of heavy wet boots pounding against a metal staircase. A sharp, squealing rubber skid and a final heavy boot stomp punctuate the rooftop turn, before all intense action noises abruptly cut out completely near the very end, leaving only the soft, fading hiss of rain.\nnon_diegetic_music: A relentless, high-energy 160 BPM electronic track drives the pacing, featuring an aggressive kick drum, sharp synth snares, and booming 808 bass drops that hit perfectly in sync with the sharp visual cuts. The driving rhythm maintains a fast, explosive tempo throughout the intense motion, before abruptly cutting to absolute silence precisely on the final visual accent."
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 17,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "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 Turbo **text-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 Text to Video** is the core. It always runs. Feed it **Text (Prompt)**. 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 is text-only. **MiniMax H3 Context IR (Prompt Enhancer)** and **MiniMax H3 Regenerate to 2K** still accept extra context (first/last frame, extra images, reference video, audio).\n\nThose two optional nodes do **not** share extra context automatically. If you add extra input nodes and turn on prompt enhance or upscale, **plug the same wires into both**:\n\n- **MiniMax H3 Context IR (Prompt Enhancer)**, so prompt enhance sees that context\n- **MiniMax H3 Regenerate to 2K**, so upscale sees that context\n\nIf you only wire extras into one of them, the other stage 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 Turbo **text-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 Text to Video** is the core. It always runs. Feed it **Text (Prompt)**. 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 is text-only. **MiniMax H3 Context IR (Prompt Enhancer)** and **MiniMax H3 Regenerate to 2K** still accept extra context (first/last frame, extra images, reference video, audio).\n\nThose two optional nodes do **not** share extra context automatically. If you add extra input nodes and turn on prompt enhance or upscale, **plug the same wires into both**:\n\n- **MiniMax H3 Context IR (Prompt Enhancer)**, so prompt enhance sees that context\n- **MiniMax H3 Regenerate to 2K**, so upscale sees that context\n\nIf you only wire extras into one of them, the other stage 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": 2,
      "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": 3,
      "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": 4,
      "outputs": [],
      "pos": [
        -3150,
        5430
      ],
      "properties": {},
      "size": [
        290,
        120
      ],
      "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": "#653",
      "color": "#432",
      "flags": {},
      "id": 23,
      "inputs": [
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": 33,
          "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": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "watermark",
          "name": "watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "watermark"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            31,
            32
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -2160,
        4160
      ],
      "properties": {
        "Node name for S&R": "MinimaxHailuo03TextToVideoNode"
      },
      "size": [
        400,
        322.53125
      ],
      "type": "MinimaxHailuo03TextToVideoNode",
      "widgets_values": [
        "MiniMax H3 Max Turbo",
        "integrated_multimodal_description: [Shot 1] Cinematic, low-angle wide shot with a fast Push In, set in a rainy night mountain city characterized by wet stone slopes and red-orange neon signage against cold cyan rain curtains. A male delivery rider, wearing a translucent rain poncho over dark clothing and a sleek black helmet with a neon-reflecting visor, blasts his futuristic e-bike off the top of a steep slope. A glowing cyan food box is strapped to the back seat. The wheels raise twin walls of heavy spray, and the initial burst inflates his poncho like a sail, while the red-orange signage streaks into glowing light trails on both sides. On the left, oversized cyan text \"STEEP CITY\" shatters into rain-particle fragments upon the bike's impact. [Shot 2] At 00:00.600, the camera cuts to a medium Tracking Shot, following the rider from Shot 1 as he dives off the slope into a narrow alley between dense apartment towers. Overhead, a light-rail train thunders out through the waist of the building at extreme speed, its illuminated light band strobing intensely across the rider's wet translucent poncho. The rider ducks low over the handlebars and accelerates head-on, braiding the two extreme speeds into one. Glitchy white text \"RAIN CITY\" flashes character by character in sync with the rail's light band. [Shot 3] At 00:01.400, the camera cuts to a medium Pull Out shot as the rider and e-bike from Shot 1 launch into the air off the top of a steep stone stair flight. Mid-air, the glowing food box's lid pops open a crack, revealing metallic containers glinting inside, while the cyan rain curtain behind him stretches into vertical light filaments. Upon landing, the front wheel bites heavily into the accumulated water, plowing a massive V-shaped wake as the rider continues without pausing. In the foreground, ice-blue text \"I CLIMB\" is torn into a displaced motion trail by the intense landing spray. [Shot 4] At 00:02.100, the camera cuts to a fast Truck Right, framing the rider from Shot 1 in a side-profile medium shot as he threads underneath a massive concrete overpass. Crisscrossing streaks of traffic lights beam between the massive pillars as the rider darts left and right, maneuvering through the bright gaps in the crossing light. The high-speed lateral motion smears the heavy raindrops into sharp horizontal lines across the lens in a pure visual burst with no text present. [Shot 5] At 00:02.800, the camera cuts to a medium wide shot with a continuous Pedestal Up, matching the vertical ascent of the rider from Shot 1. He dismounts the e-bike using his forward momentum and bounds up a cantilevered exterior metal staircase in rapid, consecutive jumps. His wet translucent poncho snaps whip-like off his back with every step, while the illuminated handrail lights blur into one rising solid line under his boots. Small cyan text \"NO BRAKE\" slides along the upper edge of the frame, tracing his upward arc. [Shot 6] At 00:03.600, the camera cuts to a close-up shot with a fast Zoom In as the rider from Shot 1 bursts onto the topmost rooftop platform. He slams his boots down and brakes into a sharp whip-turn, his body executing a half-rotation that smears the entire mountain city's glowing neon lights into a circular river in the heavy rain. Locking into a sharp stance, his helmet visor faces the lens dead-on, perfectly reflecting the sprawling, illuminated city within its curved surface. Oversized cyan text \"TURBO\" smashes into the center-right of the frame, leaving a vivid slide-trail along the path of his rotational inertia, before the entire scene freezes razor-sharp on the final visual beat.\noverall_soundscape: A continuous heavy rainstorm provides a dense acoustic bed, immediately pierced by the loud, high-pitched whine of an electric e-bike motor revving. As the sequence progresses, a deafening, thunderous whoosh dominates the foreground when the light-rail train passes overhead, followed by a sharp metallic clack from the food box lid snapping open. A pronounced, heavy splashing crash and a loud, hissing tire-skid erupt as the bike hits the water, instantly transitioning into the rapid, hollow thuds of heavy wet boots pounding against a metal staircase. A sharp, squealing rubber skid and a final heavy boot stomp punctuate the rooftop turn, before all intense action noises abruptly cut out completely near the very end, leaving only the soft, fading hiss of rain.\nnon_diegetic_music: A relentless, high-energy 160 BPM electronic track drives the pacing, featuring an aggressive kick drum, sharp synth snares, and booming 808 bass drops that hit perfectly in sync with the sharp visual cuts. The driving rhythm maintains a fast, explosive tempo throughout the intense motion, before abruptly cutting to absolute silence precisely on the final visual accent.",
        "768P",
        "1:1",
        5,
        "balanced",
        2375687420,
        "randomize",
        false
      ],
      "widgets_values_named": {
        "control_after_generate": "randomize",
        "model": "MiniMax H3 Max Turbo",
        "model.duration": 5,
        "model.prompt": "integrated_multimodal_description: [Shot 1] Cinematic, low-angle wide shot with a fast Push In, set in a rainy night mountain city characterized by wet stone slopes and red-orange neon signage against cold cyan rain curtains. A male delivery rider, wearing a translucent rain poncho over dark clothing and a sleek black helmet with a neon-reflecting visor, blasts his futuristic e-bike off the top of a steep slope. A glowing cyan food box is strapped to the back seat. The wheels raise twin walls of heavy spray, and the initial burst inflates his poncho like a sail, while the red-orange signage streaks into glowing light trails on both sides. On the left, oversized cyan text \"STEEP CITY\" shatters into rain-particle fragments upon the bike's impact. [Shot 2] At 00:00.600, the camera cuts to a medium Tracking Shot, following the rider from Shot 1 as he dives off the slope into a narrow alley between dense apartment towers. Overhead, a light-rail train thunders out through the waist of the building at extreme speed, its illuminated light band strobing intensely across the rider's wet translucent poncho. The rider ducks low over the handlebars and accelerates head-on, braiding the two extreme speeds into one. Glitchy white text \"RAIN CITY\" flashes character by character in sync with the rail's light band. [Shot 3] At 00:01.400, the camera cuts to a medium Pull Out shot as the rider and e-bike from Shot 1 launch into the air off the top of a steep stone stair flight. Mid-air, the glowing food box's lid pops open a crack, revealing metallic containers glinting inside, while the cyan rain curtain behind him stretches into vertical light filaments. Upon landing, the front wheel bites heavily into the accumulated water, plowing a massive V-shaped wake as the rider continues without pausing. In the foreground, ice-blue text \"I CLIMB\" is torn into a displaced motion trail by the intense landing spray. [Shot 4] At 00:02.100, the camera cuts to a fast Truck Right, framing the rider from Shot 1 in a side-profile medium shot as he threads underneath a massive concrete overpass. Crisscrossing streaks of traffic lights beam between the massive pillars as the rider darts left and right, maneuvering through the bright gaps in the crossing light. The high-speed lateral motion smears the heavy raindrops into sharp horizontal lines across the lens in a pure visual burst with no text present. [Shot 5] At 00:02.800, the camera cuts to a medium wide shot with a continuous Pedestal Up, matching the vertical ascent of the rider from Shot 1. He dismounts the e-bike using his forward momentum and bounds up a cantilevered exterior metal staircase in rapid, consecutive jumps. His wet translucent poncho snaps whip-like off his back with every step, while the illuminated handrail lights blur into one rising solid line under his boots. Small cyan text \"NO BRAKE\" slides along the upper edge of the frame, tracing his upward arc. [Shot 6] At 00:03.600, the camera cuts to a close-up shot with a fast Zoom In as the rider from Shot 1 bursts onto the topmost rooftop platform. He slams his boots down and brakes into a sharp whip-turn, his body executing a half-rotation that smears the entire mountain city's glowing neon lights into a circular river in the heavy rain. Locking into a sharp stance, his helmet visor faces the lens dead-on, perfectly reflecting the sprawling, illuminated city within its curved surface. Oversized cyan text \"TURBO\" smashes into the center-right of the frame, leaving a vivid slide-trail along the path of his rotational inertia, before the entire scene freezes razor-sharp on the final visual beat.\noverall_soundscape: A continuous heavy rainstorm provides a dense acoustic bed, immediately pierced by the loud, high-pitched whine of an electric e-bike motor revving. As the sequence progresses, a deafening, thunderous whoosh dominates the foreground when the light-rail train passes overhead, followed by a sharp metallic clack from the food box lid snapping open. A pronounced, heavy splashing crash and a loud, hissing tire-skid erupt as the bike hits the water, instantly transitioning into the rapid, hollow thuds of heavy wet boots pounding against a metal staircase. A sharp, squealing rubber skid and a final heavy boot stomp punctuate the rooftop turn, before all intense action noises abruptly cut out completely near the very end, leaving only the soft, fading hiss of rain.\nnon_diegetic_music: A relentless, high-energy 160 BPM electronic track drives the pacing, featuring an aggressive kick drum, sharp synth snares, and booming 808 bass drops that hit perfectly in sync with the sharp visual cuts. The driving rhythm maintains a fast, explosive tempo throughout the intense motion, before abruptly cutting to absolute silence precisely on the final visual accent.",
        "model.prompt_expansion_mode": "balanced",
        "model.ratio": "1:1",
        "model.resolution": "768P",
        "seed": 2375687420,
        "watermark": false
      }
    }
  ],
  "revision": 0,
  "version": 0.4
}