{
  "prompt": {
    "1": {
      "class_type": "UNETLoader",
      "inputs": {
        "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
        "weight_dtype": "default"
      }
    },
    "2": {
      "class_type": "CLIPLoader",
      "inputs": {
        "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
        "type": "minimax"
      }
    },
    "3": {
      "class_type": "VAELoader",
      "inputs": {
        "vae_name": "minimax_h3_video_vae_fp16.safetensors"
      }
    },
    "4": {
      "class_type": "VAELoader",
      "inputs": {
        "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
      }
    },
    "5": {
      "class_type": "LoraLoaderModelOnly",
      "inputs": {
        "model": [
          "1",
          0
        ],
        "lora_name": "minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors",
        "strength_model": 1.0
      }
    },
    "6": {
      "class_type": "BlockSparseAttention",
      "inputs": {
        "model": [
          "5",
          0
        ],
        "start_percent": 0.2,
        "end_percent": 1.0,
        "dense_blocks": "",
        "min_tokens": 12288,
        "extra_tokens": 256,
        "sink_conditioning": "exact_kv_and_rows",
        "verbose": true,
        "selection": "sol-attn",
        "selection.tau": 1.3
      }
    },
    "7": {
      "class_type": "MiniMaxH3SigmaShift",
      "inputs": {
        "model": [
          "6",
          0
        ],
        "shift_video": 12.0,
        "shift_audio": 3.0
      }
    },
    "200": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/jianxin1.jpeg"
      }
    },
    "201": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/jianxin2.jpeg"
      }
    },
    "202": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/jianxin3.jpeg"
      }
    },
    "203": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/zhizhixiong1.jpeg"
      }
    },
    "204": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/zhizhixiong2.jpeg"
      }
    },
    "205": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "h3_ref/zhizhixiong3.jpeg"
      }
    },
    "8": {
      "class_type": "MiniMaxH3ReferenceToVideo",
      "inputs": {
        "clip": [
          "2",
          0
        ],
        "vae": [
          "3",
          0
        ],
        "audio_vae": [
          "4",
          0
        ],
        "prompt": "(Style: 2D traditional anime) Masterpiece, high quality, cinematic lighting.\nSubject: A fierce battle sequence featuring two characters based on the reference images—a red-clad swordsman (Jianxin) and a purple-robed warrior (Zhizhixiong).\nAction: The camera begins with a dynamic low-angle tracking shot. The swordsman in red dashes forward with a long sword, leaving a glowing trail, while the warrior in purple stands firm and executes a sweeping counter-attack with a flaming effect. They clash in the center of the frame, creating a shockwave of energy and sparks. The camera rapidly orbits around them as the fiery battle intensifies, concluding with the red-clad swordsman landing gracefully while the purple warrior points his weapon forward, both facing the camera.\nEnvironment: Dramatic background with embers floating in the air, high contrast lighting.\n<Character reference: Jianxin is <Picture 1>, <Picture 2>, <Picture 3>. Zhizhixiong is <Picture 4>, <Picture 5>, <Picture 6>. Keep their faces, hairstyles and costumes exactly as shown.>",
        "width": 1344,
        "height": 768,
        "length": 294,
        "ref_image_size": "match",
        "ref_images.ref_image_0": [
          "200",
          0
        ],
        "ref_images.ref_image_1": [
          "201",
          0
        ],
        "ref_images.ref_image_2": [
          "202",
          0
        ],
        "ref_images.ref_image_3": [
          "203",
          0
        ],
        "ref_images.ref_image_4": [
          "204",
          0
        ],
        "ref_images.ref_image_5": [
          "205",
          0
        ]
      }
    },
    "9": {
      "class_type": "ConditioningZeroOut",
      "inputs": {
        "conditioning": [
          "8",
          0
        ]
      }
    },
    "10": {
      "class_type": "KSampler",
      "inputs": {
        "model": [
          "7",
          0
        ],
        "seed": 42,
        "steps": 4,
        "cfg": 1.0,
        "sampler_name": "euler",
        "scheduler": "simple",
        "positive": [
          "8",
          0
        ],
        "negative": [
          "9",
          0
        ],
        "latent_image": [
          "8",
          1
        ],
        "denoise": 1.0
      }
    },
    "11": {
      "class_type": "VAEDecode",
      "inputs": {
        "samples": [
          "10",
          0
        ],
        "vae": [
          "3",
          0
        ]
      }
    },
    "12": {
      "class_type": "VAEDecodeAudio",
      "inputs": {
        "samples": [
          "10",
          0
        ],
        "vae": [
          "4",
          0
        ]
      }
    },
    "13": {
      "class_type": "CreateVideo",
      "inputs": {
        "images": [
          "11",
          0
        ],
        "fps": 24.0,
        "audio": [
          "12",
          0
        ]
      }
    },
    "14": {
      "class_type": "SaveVideo",
      "inputs": {
        "video": [
          "13",
          0
        ],
        "filename_prefix": "h3_contest/2d_1344x768_294f",
        "format": "auto"
      }
    }
  }
}