{
 "id": "bc75e4ad-db12-4e44-9447-096beac23128",
 "revision": 0,
 "last_node_id": 122,
 "last_link_id": 268,
 "nodes": [
  {
   "id": 1,
   "type": "LoadVideo",
   "pos": [
    0,
    0
   ],
   "size": [
    420,
    470
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "file",
     "name": "file",
     "type": "COMBO",
     "widget": {
      "name": "file"
     },
     "link": null
    },
    {
     "localized_name": "choose file to upload",
     "name": "upload",
     "type": "IMAGEUPLOAD",
     "widget": {
      "name": "upload"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "VIDEO",
     "name": "VIDEO",
     "type": "VIDEO",
     "links": [
      233
     ]
    }
   ],
   "title": "Your video (24 fps)",
   "properties": {
    "Node name for S&R": "LoadVideo"
   },
   "widgets_values": [
    "desk_talk.mp4",
    "image"
   ],
   "widgets_values_named": {
    "file": "desk_talk.mp4",
    "upload": "image"
   }
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    460,
    0
   ],
   "size": [
    420,
    470
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [
    {
     "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"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "IMAGE",
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      234
     ]
    },
    {
     "localized_name": "MASK",
     "name": "MASK",
     "type": "MASK",
     "links": null
    }
   ],
   "title": "Light sphere (from the preset)",
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "cinematic-04-blue-amber-bed.png",
    "image"
   ],
   "widgets_values_named": {
    "image": "cinematic-04-blue-amber-bed.png",
    "upload": "image"
   }
  },
  {
   "id": 3,
   "type": "PrimitiveStringMultiline",
   "pos": [
    0,
    540
   ],
   "size": [
    880,
    230
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "value",
     "name": "value",
     "type": "STRING",
     "widget": {
      "name": "value"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "STRING",
     "name": "STRING",
     "type": "STRING",
     "links": [
      235
     ]
    }
   ],
   "title": "Light: the preset's master prompt",
   "properties": {
    "Node name for S&R": "PrimitiveStringMultiline"
   },
   "widgets_values": [
    "【Lighting preset】\nBlue Amber Bed\n\n【Lighting specification】\nDeep navy-blue ambient light with a narrow sharp amber horizontal band across eye level; outside the band stay dark blue. Project across face and wall, never change head pose.\n\n【Direction convention】\nScreen-left and screen-right refer to the viewer."
   ],
   "widgets_values_named": {
    "value": "【Lighting preset】\nBlue Amber Bed\n\n【Lighting specification】\nDeep navy-blue ambient light with a narrow sharp amber horizontal band across eye level; outside the band stay dark blue. Project across face and wall, never change head pose.\n\n【Direction convention】\nScreen-left and screen-right refer to the viewer."
   }
  },
  {
   "id": 115,
   "type": "SaveVideo",
   "pos": [
    1570,
    0
   ],
   "size": [
    270,
    106
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "video",
     "name": "video",
     "type": "VIDEO",
     "link": 236
    },
    {
     "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"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "video",
     "name": "video",
     "type": "VIDEO",
     "links": null
    }
   ],
   "title": "Result",
   "properties": {},
   "widgets_values": [
    "H3 relight/relight",
    "auto",
    "auto",
    "auto"
   ],
   "widgets_values_named": {
    "filename_prefix": "H3 relight/relight",
    "format": "auto",
    "format.codec": "auto",
    "codec": "auto"
   }
  },
  {
   "id": 120,
   "type": "81d29649-c7dc-47dc-abfa-0de0a29accd2",
   "pos": [
    960,
    0
   ],
   "size": [
    520,
    570
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "label": "Your video (24 fps)",
     "localized_name": "video",
     "name": "video",
     "type": "VIDEO",
     "link": 233
    },
    {
     "label": "Light sphere (from the preset)",
     "localized_name": "ref_image_0",
     "name": "ref_images.ref_image_0",
     "shape": 7,
     "type": "IMAGE",
     "link": 234
    },
    {
     "label": "Light text (master prompt)",
     "localized_name": "string_b",
     "name": "string_b",
     "type": "STRING",
     "widget": {
      "name": "string_b"
     },
     "link": 235
    },
    {
     "label": "Extra direction (can stay empty)",
     "name": "direction",
     "type": "STRING",
     "widget": {
      "name": "direction"
     },
     "link": null
    },
    {
     "label": "Seconds (0 = whole clip up to 15 s; long clip: its length, up to 60)",
     "name": "seconds",
     "type": "FLOAT",
     "widget": {
      "name": "seconds"
     },
     "link": null
    },
    {
     "label": "Short side (480 / 736)",
     "name": "short_side",
     "type": "INT",
     "widget": {
      "name": "short_side"
     },
     "link": null
    },
    {
     "label": "Steps",
     "name": "steps",
     "type": "INT",
     "widget": {
      "name": "steps"
     },
     "link": null
    },
    {
     "label": "Seed",
     "name": "seed",
     "type": "INT",
     "widget": {
      "name": "seed"
     },
     "link": null
    },
    {
     "label": "Full HD (1088p)",
     "name": "full_hd",
     "type": "COMBO",
     "widget": {
      "name": "full_hd"
     },
     "link": null
    },
    {
     "label": "Gentle refine sigmas",
     "name": "refine_sigmas",
     "type": "STRING",
     "widget": {
      "name": "refine_sigmas"
     },
     "link": null
    },
    {
     "label": "Long clip (5.2 s passes, up to 60 s)",
     "name": "long_clip",
     "type": "BOOLEAN",
     "widget": {
      "name": "long_clip"
     },
     "link": null
    },
    {
     "label": "H3 model (ref2va)",
     "name": "model_file",
     "type": "COMBO",
     "widget": {
      "name": "model_file"
     },
     "link": null
    },
    {
     "label": "Turbo LoRA",
     "name": "turbo_lora",
     "type": "COMBO",
     "widget": {
      "name": "turbo_lora"
     },
     "link": null
    },
    {
     "label": "H3 text encoder",
     "name": "text_encoder",
     "type": "COMBO",
     "widget": {
      "name": "text_encoder"
     },
     "link": null
    },
    {
     "label": "Video VAE",
     "name": "video_vae",
     "type": "COMBO",
     "widget": {
      "name": "video_vae"
     },
     "link": null
    },
    {
     "label": "Audio VAE",
     "name": "audio_vae",
     "type": "COMBO",
     "widget": {
      "name": "audio_vae"
     },
     "link": null
    },
    {
     "label": "Describer (Qwen3-VL 8B)",
     "name": "describer",
     "type": "COMBO",
     "widget": {
      "name": "describer"
     },
     "link": null
    },
    {
     "label": "Latent upscaler (gentle)",
     "name": "latent_upscaler",
     "type": "COMBO",
     "widget": {
      "name": "latent_upscaler"
     },
     "link": null
    },
    {
     "label": "Refine model fl2va (gentle)",
     "name": "refine_model",
     "type": "COMBO",
     "widget": {
      "name": "refine_model"
     },
     "link": null
    },
    {
     "label": "Regenerate-2K LoRA (gentle)",
     "name": "refine_lora",
     "type": "COMBO",
     "widget": {
      "name": "refine_lora"
     },
     "link": null
    },
    {
     "label": "RealESRGAN model",
     "name": "esrgan",
     "type": "COMBO",
     "widget": {
      "name": "esrgan"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "label": "Result",
     "localized_name": "output",
     "name": "output",
     "type": "VIDEO",
     "links": [
      236
     ]
    }
   ],
   "properties": {
    "models": [
     {
      "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
      "directory": "diffusion_models"
     },
     {
      "name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
      "directory": "loras"
     },
     {
      "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
      "directory": "text_encoders"
     },
     {
      "name": "minimax_h3_video_vae_int8_convrot.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors",
      "directory": "vae"
     },
     {
      "name": "minimax_h3_audio_vae_fp32.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
      "directory": "vae"
     },
     {
      "name": "qwen3vl_8b_int8_convrot.safetensors",
      "url": "https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",
      "directory": "text_encoders"
     },
     {
      "name": "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
      "url": "https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/main/latent_upsampler/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
      "directory": "latent_upscale_models"
     },
     {
      "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
      "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
      "directory": "diffusion_models"
     },
     {
      "name": "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
      "url": "https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI/resolve/main/minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
      "directory": "loras"
     },
     {
      "name": "RealESRGAN_x2plus.pth",
      "url": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth",
      "directory": "upscale_models"
     }
    ],
    "previewExposures": []
   },
   "widgets_values": [
    "",
    "",
    0,
    480,
    6,
    42,
    "Off (draft size)",
    "0.55, 0.4, 0.2, 0.0",
    false,
    "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
    "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
    "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
    "minimax_h3_video_vae_int8_convrot.safetensors",
    "minimax_h3_audio_vae_fp32.safetensors",
    "qwen3vl_8b_int8_convrot.safetensors",
    "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
    "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
    "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
    "RealESRGAN_x2plus.pth"
   ],
   "widgets_values_named": {
    "string_b": "",
    "direction": "",
    "seconds": 0,
    "short_side": 480,
    "steps": 6,
    "seed": 42,
    "full_hd": "Off (draft size)",
    "refine_sigmas": "0.55, 0.4, 0.2, 0.0",
    "long_clip": false,
    "model_file": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
    "turbo_lora": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
    "text_encoder": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
    "video_vae": "minimax_h3_video_vae_int8_convrot.safetensors",
    "audio_vae": "minimax_h3_audio_vae_fp32.safetensors",
    "describer": "qwen3vl_8b_int8_convrot.safetensors",
    "latent_upscaler": "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
    "refine_model": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
    "refine_lora": "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
    "esrgan": "RealESRGAN_x2plus.pth"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 121,
   "type": "MarkdownNote",
   "pos": [
    -680,
    0
   ],
   "size": [
    620,
    546
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "title": "How to use",
   "properties": {},
   "widgets_values": [
    "## How to use - tested on RTX 3060 12 GB\n\n**What it does:** your video + a light sphere + the light text -> the same shot in the new light. Same people, room, camera, timing and sound. A local rebuild of Sirio Berati's open-source relight (his 67 presets are MIT).\n\n1. **Your video**: 24 fps, up to 15 s.\n2. **Light sphere**: a preset's sphere image (`spheres/` in Sirio's presets) or your own.\n3. **Light text**: paste that preset's master prompt (the `master` text in `presets.json`), or write your own in the same five headings.\n4. On the **H3 Relight** node: **Short side** 480 (fast) or 736, **Seconds** (0 = the whole clip, up to 15 s in one pass), **Full HD** and **Run**.\n5. **Long clip** on: the clip is relit in 5.2 s passes (core Start Loop / End Loop), up to 60 s. Set **Seconds** to the clip's length (or less; 0 = one pass). Every pass gets the same sphere, prompt and seed, continues from the last 22 frames of the pass before, and keeps its slice of the original sound. Full HD does not apply to long clips.\n\n| Full HD | What happens |\n|---|---|\n| Off (draft size) | the H3 draft at your short side |\n| Gentle H3 refine (sigma 0.55) | H3 latent upscaler to 1088p + 3 Regenerate-2K steps from sigma 0.55 (keeps the face of the draft) |\n| RealESRGAN x2 (no redraw) | RealESRGAN x2 on every draft frame, Lanczos to 1088p, no redraw |\n\n| Run (5.2 s desk clip, 6 steps) | RTX 3060 | Peak VRAM | Peak RAM |\n|---|---|---|---|\n| 480, off | 6:40 - 6:49 | 11.8 GB | 21.4 GB |\n| 736, off | 21:03 - 24:02 | 11.9 GB | 22.6 GB |\n| 736 + gentle refine to 1920x1088 | 31:48 | 11.9 GB | 22.5 GB |\n| RealESRGAN x2 of a finished 736 clip (its own graph) | 3:54 - 5:49 | 7.6 GB | 14.4 GB |\n\nInside: Qwen3-VL 8B describes the first frame, then rewrites the light text for this shot (Sirio's describe + adapt steps). H3 renders the clip with <Picture 1> = the sphere and <Video 1> = your clip. Settings: ref2v turbo LoRA, euler / simple, shift 12 / 2.\n\nDouble-click the node to see every step. **Colours inside the node:** 🟦 load models · 🟩 your input (pose, face, frames) · 🟪 prompt + conditioning · 🟧 sampling · 🟨 decode + video · ⬛ settings + switches · 🟦‍ cyan = extras (side by side)"
   ],
   "widgets_values_named": {
    "text": "## How to use - tested on RTX 3060 12 GB\n\n**What it does:** your video + a light sphere + the light text -> the same shot in the new light. Same people, room, camera, timing and sound. A local rebuild of Sirio Berati's open-source relight (his 67 presets are MIT).\n\n1. **Your video**: 24 fps, up to 15 s.\n2. **Light sphere**: a preset's sphere image (`spheres/` in Sirio's presets) or your own.\n3. **Light text**: paste that preset's master prompt (the `master` text in `presets.json`), or write your own in the same five headings.\n4. On the **H3 Relight** node: **Short side** 480 (fast) or 736, **Seconds** (0 = the whole clip, up to 15 s in one pass), **Full HD** and **Run**.\n5. **Long clip** on: the clip is relit in 5.2 s passes (core Start Loop / End Loop), up to 60 s. Set **Seconds** to the clip's length (or less; 0 = one pass). Every pass gets the same sphere, prompt and seed, continues from the last 22 frames of the pass before, and keeps its slice of the original sound. Full HD does not apply to long clips.\n\n| Full HD | What happens |\n|---|---|\n| Off (draft size) | the H3 draft at your short side |\n| Gentle H3 refine (sigma 0.55) | H3 latent upscaler to 1088p + 3 Regenerate-2K steps from sigma 0.55 (keeps the face of the draft) |\n| RealESRGAN x2 (no redraw) | RealESRGAN x2 on every draft frame, Lanczos to 1088p, no redraw |\n\n| Run (5.2 s desk clip, 6 steps) | RTX 3060 | Peak VRAM | Peak RAM |\n|---|---|---|---|\n| 480, off | 6:40 - 6:49 | 11.8 GB | 21.4 GB |\n| 736, off | 21:03 - 24:02 | 11.9 GB | 22.6 GB |\n| 736 + gentle refine to 1920x1088 | 31:48 | 11.9 GB | 22.5 GB |\n| RealESRGAN x2 of a finished 736 clip (its own graph) | 3:54 - 5:49 | 7.6 GB | 14.4 GB |\n\nInside: Qwen3-VL 8B describes the first frame, then rewrites the light text for this shot (Sirio's describe + adapt steps). H3 renders the clip with <Picture 1> = the sphere and <Video 1> = your clip. Settings: ref2v turbo LoRA, euler / simple, shift 12 / 2.\n\nDouble-click the node to see every step. **Colours inside the node:** 🟦 load models · 🟩 your input (pose, face, frames) · 🟪 prompt + conditioning · 🟧 sampling · 🟨 decode + video · ⬛ settings + switches · 🟦‍ cyan = extras (side by side)"
   },
   "color": "#432",
   "bgcolor": "#653"
  },
  {
   "id": 122,
   "type": "MarkdownNote",
   "pos": [
    -680,
    586
   ],
   "size": [
    620,
    882
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "title": "Downloads",
   "properties": {},
   "widgets_values": [
    "## Downloads - put each file in the ComfyUI folder shown\n\nClick a file name to download it. Put it in the folder shown (inside `ComfyUI/models/`).\n\n**[Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| all | `diffusion_models/` | [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors) | 21.0 GB |\n| all | `loras/` | [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors) | 2.0 GB |\n| all | `text_encoders/` | [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors) | 15.7 GB |\n| all | `vae/` | [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) | 2.8 GB |\n| all | `vae/` | [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) | 0.6 GB |\n| Gentle refine | `diffusion_models/` | [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) | 21.0 GB |\n\n**[Comfy-Org/Qwen3-VL](https://huggingface.co/Comfy-Org/Qwen3-VL)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| all (describer) | `text_encoders/` | [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) | 9.4 GB |\n\n**[Efficient-Large-Model/Open-H3-Regenerate-2K](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| Gentle refine | `latent_upscale_models/` | [minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/main/latent_upsampler/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors) | 0.7 GB |\n\n**[DrakenZA/Open-H3-Regenerate-2K-ComfyUI](https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| Gentle refine | `loras/` | [minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors](https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI/resolve/main/minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors) | 2.0 GB |\n\n**[xinntao/Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| RealESRGAN x2 | `upscale_models/` | [RealESRGAN_x2plus.pth](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth) | 0.1 GB |\n\n_Tested on: RTX 3060 12 GB · 32 GB RAM · ComfyUI 0.44.0._\n\nFull HD off needs only the first five MiniMax files + Qwen3-VL 8B (51.5 GB). No custom nodes: core ComfyUI **0.44 or newer**. Light presets + spheres: [sirioberati/relight-open-source](https://github.com/sirioberati/relight-open-source) (MIT). License: MiniMax H3 Community License (H3, the turbo LoRA, the Regenerate-2K upscaler) - read it before commercial use."
   ],
   "widgets_values_named": {
    "text": "## Downloads - put each file in the ComfyUI folder shown\n\nClick a file name to download it. Put it in the folder shown (inside `ComfyUI/models/`).\n\n**[Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| all | `diffusion_models/` | [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors) | 21.0 GB |\n| all | `loras/` | [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors) | 2.0 GB |\n| all | `text_encoders/` | [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors) | 15.7 GB |\n| all | `vae/` | [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) | 2.8 GB |\n| all | `vae/` | [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) | 0.6 GB |\n| Gentle refine | `diffusion_models/` | [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) | 21.0 GB |\n\n**[Comfy-Org/Qwen3-VL](https://huggingface.co/Comfy-Org/Qwen3-VL)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| all (describer) | `text_encoders/` | [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) | 9.4 GB |\n\n**[Efficient-Large-Model/Open-H3-Regenerate-2K](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| Gentle refine | `latent_upscale_models/` | [minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/main/latent_upsampler/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors) | 0.7 GB |\n\n**[DrakenZA/Open-H3-Regenerate-2K-ComfyUI](https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| Gentle refine | `loras/` | [minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors](https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI/resolve/main/minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors) | 2.0 GB |\n\n**[xinntao/Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| RealESRGAN x2 | `upscale_models/` | [RealESRGAN_x2plus.pth](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth) | 0.1 GB |\n\n_Tested on: RTX 3060 12 GB · 32 GB RAM · ComfyUI 0.44.0._\n\nFull HD off needs only the first five MiniMax files + Qwen3-VL 8B (51.5 GB). No custom nodes: core ComfyUI **0.44 or newer**. Light presets + spheres: [sirioberati/relight-open-source](https://github.com/sirioberati/relight-open-source) (MIT). License: MiniMax H3 Community License (H3, the turbo LoRA, the Regenerate-2K upscaler) - read it before commercial use."
   },
   "color": "#432",
   "bgcolor": "#653"
  }
 ],
 "links": [
  [
   233,
   1,
   0,
   120,
   0,
   "VIDEO"
  ],
  [
   234,
   2,
   0,
   120,
   1,
   "IMAGE"
  ],
  [
   235,
   3,
   0,
   120,
   2,
   "STRING"
  ],
  [
   236,
   120,
   0,
   115,
   0,
   "VIDEO"
  ]
 ],
 "groups": [],
 "definitions": {
  "subgraphs": [
   {
    "id": "ab3e3e79-4879-4c0d-84e2-c278df1d3d00",
    "version": 1,
    "state": {
     "lastGroupId": 20,
     "lastNodeId": 122,
     "lastLinkId": 268,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "Qwen3-VL writes the prompt",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      128,
      128
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      2510,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "04cc9da0-6831-479f-85c5-59ec592a142f",
      "name": "image",
      "type": "IMAGE",
      "linkIds": [
       22
      ],
      "localized_name": "image",
      "label": "Describer frame: first frame (long) / clip",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "ad62b010-5791-4cfc-b64e-f6eb284b329f",
      "name": "clip",
      "type": "CLIP",
      "linkIds": [
       25,
       41
      ],
      "localized_name": "clip",
      "label": "Describer: Qwen3-VL 8B",
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "175805df-5564-423b-b5f6-00c7cbf6e286",
      "name": "string_b",
      "type": "STRING",
      "linkIds": [
       29
      ],
      "localized_name": "string_b",
      "label": "Light text (master prompt)",
      "pos": [
       51,
       64
      ]
     },
     {
      "id": "3d7c44f8-3a41-40e3-878d-84447f1132cd",
      "name": "string_b_1",
      "type": "STRING",
      "linkIds": [
       37
      ],
      "localized_name": "string_b_1",
      "label": "Extra direction (can stay empty)",
      "pos": [
       51,
       84
      ]
     }
    ],
    "outputs": [
     {
      "id": "a1f737dd-9df9-483d-9e00-218341da3e0b",
      "name": "STRING",
      "type": "STRING",
      "linkIds": [
       49
      ],
      "localized_name": "STRING",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 26,
      "type": "ImageFromBatch",
      "pos": [
       30,
       60
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 22
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": null
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         23
        ]
       }
      ],
      "title": "First frame",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 27,
      "type": "ImageScaleToMaxDimension",
      "pos": [
       30,
       186
      ],
      "size": [
       303.4400390625,
       82
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 23
       },
       {
        "localized_name": "upscale_method",
        "name": "upscale_method",
        "type": "COMBO",
        "widget": {
         "name": "upscale_method"
        },
        "link": null
       },
       {
        "localized_name": "largest_size",
        "name": "largest_size",
        "type": "INT",
        "widget": {
         "name": "largest_size"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         26,
         42
        ]
       }
      ],
      "title": "Shrink for the describer",
      "properties": {
       "Node name for S&R": "ImageScaleToMaxDimension"
      },
      "widgets_values": [
       "area",
       768
      ],
      "widgets_values_named": {
       "upscale_method": "area",
       "largest_size": 768
      }
     },
     {
      "id": 28,
      "type": "PrimitiveStringMultiline",
      "pos": [
       30,
       312
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         24
        ]
       }
      ],
      "title": "Describe instruction (Sirio's describe.md)",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "You are the first step of a video relighting pipeline. You get the first frame of a video.\n\nWrite a plain, factual description of the frame, so a video model can keep everything except the light. Cover, in this order:\n1. The people: hair, clothing, pose, what the hands are doing, where they look.\n2. The room or place: walls, window position, furniture, objects, every visible lamp or screen and whether it is on.\n3. The current light: where it comes from, its colour and hardness.\n4. The camera: framing, how close, wide-angle or not, is it handheld.\n\nRules: describe what you see, use screen-left and screen-right as the viewer sees them, do not invent anything you cannot see, no more than 220 words, no lists in the output, just short paragraphs."
      ],
      "widgets_values_named": {
       "value": "You are the first step of a video relighting pipeline. You get the first frame of a video.\n\nWrite a plain, factual description of the frame, so a video model can keep everything except the light. Cover, in this order:\n1. The people: hair, clothing, pose, what the hands are doing, where they look.\n2. The room or place: walls, window position, furniture, objects, every visible lamp or screen and whether it is on.\n3. The current light: where it comes from, its colour and hardness.\n4. The camera: framing, how close, wide-angle or not, is it handheld.\n\nRules: describe what you see, use screen-left and screen-right as the viewer sees them, do not invent anything you cannot see, no more than 220 words, no lists in the output, just short paragraphs."
      }
     },
     {
      "id": 29,
      "type": "TextGenerate",
      "pos": [
       30,
       556
      ],
      "size": [
       400,
       288
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 25
       },
       {
        "localized_name": "image",
        "name": "image",
        "shape": 7,
        "type": "IMAGE",
        "link": 26
       },
       {
        "localized_name": "video",
        "name": "video",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "system_prompt",
        "name": "system_prompt",
        "shape": 7,
        "type": "STRING",
        "link": null
       },
       {
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 24
       },
       {
        "localized_name": "max_length",
        "name": "max_length",
        "type": "INT",
        "widget": {
         "name": "max_length"
        },
        "link": null
       },
       {
        "localized_name": "Sampling Mode",
        "name": "sampling_mode",
        "type": "COMFY_DYNAMICCOMBO_V3",
        "widget": {
         "name": "sampling_mode"
        },
        "link": null
       },
       {
        "localized_name": "thinking",
        "name": "thinking",
        "shape": 7,
        "type": "BOOLEAN",
        "widget": {
         "name": "thinking"
        },
        "link": null
       },
       {
        "localized_name": "use_default_template",
        "name": "use_default_template",
        "shape": 7,
        "type": "BOOLEAN",
        "widget": {
         "name": "use_default_template"
        },
        "link": null
       },
       {
        "localized_name": "mtp",
        "name": "mtp",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "mtp"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "generated_text",
        "name": "generated_text",
        "type": "STRING",
        "links": [
         27,
         33
        ]
       },
       {
        "localized_name": "thinking",
        "name": "thinking",
        "type": "STRING",
        "links": null
       }
      ],
      "title": "1 Describe the shot",
      "properties": {
       "Node name for S&R": "TextGenerate"
      },
      "widgets_values": [
       "",
       400,
       "off",
       false,
       true,
       "auto"
      ],
      "widgets_values_named": {
       "prompt": "",
       "max_length": 400,
       "sampling_mode": "off",
       "thinking": false,
       "use_default_template": true,
       "mtp": "auto"
      }
     },
     {
      "id": 30,
      "type": "PreviewAny",
      "pos": [
       30,
       888
      ],
      "size": [
       210,
       122
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "source",
        "name": "source",
        "type": "*",
        "link": 27
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": null
       }
      ],
      "title": "Shot description",
      "properties": {
       "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [],
      "widgets_values_named": {}
     },
     {
      "id": 31,
      "type": "PrimitiveStringMultiline",
      "pos": [
       560,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         28
        ]
       }
      ],
      "title": "Adapt instruction 1/4 (Sirio's adapt.md)",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "You write the final prompt for a video model that relights an existing video.\n\nYou get:\nLIGHTING MASTER PROMPT (the look to apply, reusable, written without any scene):\n"
      ],
      "widgets_values_named": {
       "value": "You write the final prompt for a video model that relights an existing video.\n\nYou get:\nLIGHTING MASTER PROMPT (the look to apply, reusable, written without any scene):\n"
      }
     },
     {
      "id": 32,
      "type": "PrimitiveStringMultiline",
      "pos": [
       560,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         31
        ]
       }
      ],
      "title": "Adapt instruction 2/4",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "\n\nFRAME DESCRIPTION (what the source video shows):\n"
      ],
      "widgets_values_named": {
       "value": "\n\nFRAME DESCRIPTION (what the source video shows):\n"
      }
     },
     {
      "id": 33,
      "type": "PrimitiveStringMultiline",
      "pos": [
       560,
       548
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         35
        ]
       }
      ],
      "title": "Adapt instruction 3/4",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "\n\nEXTRA DIRECTION FROM THE USER (may be empty):\n"
      ],
      "widgets_values_named": {
       "value": "\n\nEXTRA DIRECTION FROM THE USER (may be empty):\n"
      }
     },
     {
      "id": 34,
      "type": "PrimitiveStringMultiline",
      "pos": [
       560,
       792
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         39
        ]
       }
      ],
      "title": "Adapt instruction 4/4",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "\n\nThe video model receives two references: <Picture 1> is a light reference sphere that shows the target light, <Video 1> is the source video. Write ONE prompt, with exactly these five sections and these headings, in this order:\n\n【Editing Goal】\nSay that <Video 1> is rebuilt with only its illumination and atmosphere changed to the lighting shown in <Picture 1>, named by the preset in the master prompt.\n\n【Role of the Source Video】\n<Video 1> is the only master for identity, room, composition, performance, timing and audio. Name the people, clothing, room features and objects from the frame description so they stay the same. If a lamp or screen is visibly on, say to relight it consistently with the new palette.\n\n【Role of the Target Material】\n<Picture 1> supplies only illumination: direction, colour, contrast, softness, falloff, pattern, shadow, haze. Do not import its sphere, floor, studio, fixtures, camera or framing.\n\n【Edit Objects and Scope】\nTurn the lighting specification from the master prompt into concrete instructions for this exact scene: where the key light sits relative to the person, which surfaces get it, what stays dark, the colour of the ambient light, what happens to the window and the lamps. Keep screen-left and screen-right as the viewer sees them. Replace the existing light and recompute shadows on the original geometry.\n\n【Camera and Framing Lock】\nKeep the camera position, distance, lens, framing and crop exactly as in <Video 1>. No zoom, push-in, pan, tilt, orbit, shake, reframing or cuts. Only light, shadow and tone may change.\n\nOutput only the prompt. Plain text. No commentary, no markdown fences, no more than 450 words."
      ],
      "widgets_values_named": {
       "value": "\n\nThe video model receives two references: <Picture 1> is a light reference sphere that shows the target light, <Video 1> is the source video. Write ONE prompt, with exactly these five sections and these headings, in this order:\n\n【Editing Goal】\nSay that <Video 1> is rebuilt with only its illumination and atmosphere changed to the lighting shown in <Picture 1>, named by the preset in the master prompt.\n\n【Role of the Source Video】\n<Video 1> is the only master for identity, room, composition, performance, timing and audio. Name the people, clothing, room features and objects from the frame description so they stay the same. If a lamp or screen is visibly on, say to relight it consistently with the new palette.\n\n【Role of the Target Material】\n<Picture 1> supplies only illumination: direction, colour, contrast, softness, falloff, pattern, shadow, haze. Do not import its sphere, floor, studio, fixtures, camera or framing.\n\n【Edit Objects and Scope】\nTurn the lighting specification from the master prompt into concrete instructions for this exact scene: where the key light sits relative to the person, which surfaces get it, what stays dark, the colour of the ambient light, what happens to the window and the lamps. Keep screen-left and screen-right as the viewer sees them. Replace the existing light and recompute shadows on the original geometry.\n\n【Camera and Framing Lock】\nKeep the camera position, distance, lens, framing and crop exactly as in <Video 1>. No zoom, push-in, pan, tilt, orbit, shake, reframing or cuts. Only light, shadow and tone may change.\n\nOutput only the prompt. Plain text. No commentary, no markdown fences, no more than 450 words."
      }
     },
     {
      "id": 35,
      "type": "StringConcatenate",
      "pos": [
       1000,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 28
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 29
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         30
        ]
       }
      ],
      "title": "+ master prompt",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 36,
      "type": "StringConcatenate",
      "pos": [
       1000,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 30
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 31
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         32
        ]
       }
      ],
      "title": "+ 2/4",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 37,
      "type": "StringConcatenate",
      "pos": [
       1000,
       548
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 32
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 33
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         34
        ]
       }
      ],
      "title": "+ shot description",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 38,
      "type": "StringConcatenate",
      "pos": [
       1000,
       792
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 34
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 35
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         36
        ]
       }
      ],
      "title": "+ 3/4",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 39,
      "type": "StringConcatenate",
      "pos": [
       1440,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 36
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 37
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         38
        ]
       }
      ],
      "title": "+ extra direction",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 40,
      "type": "StringConcatenate",
      "pos": [
       1440,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 38
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 39
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         40
        ]
       }
      ],
      "title": "+ 4/4",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 41,
      "type": "TextGenerate",
      "pos": [
       1440,
       548
      ],
      "size": [
       400,
       288
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 41
       },
       {
        "localized_name": "image",
        "name": "image",
        "shape": 7,
        "type": "IMAGE",
        "link": 42
       },
       {
        "localized_name": "video",
        "name": "video",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "system_prompt",
        "name": "system_prompt",
        "shape": 7,
        "type": "STRING",
        "link": null
       },
       {
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 40
       },
       {
        "localized_name": "max_length",
        "name": "max_length",
        "type": "INT",
        "widget": {
         "name": "max_length"
        },
        "link": null
       },
       {
        "localized_name": "Sampling Mode",
        "name": "sampling_mode",
        "type": "COMFY_DYNAMICCOMBO_V3",
        "widget": {
         "name": "sampling_mode"
        },
        "link": null
       },
       {
        "localized_name": "thinking",
        "name": "thinking",
        "shape": 7,
        "type": "BOOLEAN",
        "widget": {
         "name": "thinking"
        },
        "link": null
       },
       {
        "localized_name": "use_default_template",
        "name": "use_default_template",
        "shape": 7,
        "type": "BOOLEAN",
        "widget": {
         "name": "use_default_template"
        },
        "link": null
       },
       {
        "localized_name": "mtp",
        "name": "mtp",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "mtp"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "generated_text",
        "name": "generated_text",
        "type": "STRING",
        "links": [
         43
        ]
       },
       {
        "localized_name": "thinking",
        "name": "thinking",
        "type": "STRING",
        "links": null
       }
      ],
      "title": "2 Adapt the light to the shot",
      "properties": {
       "Node name for S&R": "TextGenerate"
      },
      "widgets_values": [
       "",
       900,
       "off",
       false,
       true,
       "auto"
      ],
      "widgets_values_named": {
       "prompt": "",
       "max_length": 900,
       "sampling_mode": "off",
       "thinking": false,
       "use_default_template": true,
       "mtp": "auto"
      }
     },
     {
      "id": 42,
      "type": "PrimitiveStringMultiline",
      "pos": [
       1970,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         44
        ]
       }
      ],
      "title": "Sound line",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       "\n\n<Audio 1> is the original soundtrack of <Video 1>, reused unchanged as the complete final soundtrack. Every mouth movement, gesture and expression happens at the same moment as in <Video 1>."
      ],
      "widgets_values_named": {
       "value": "\n\n<Audio 1> is the original soundtrack of <Video 1>, reused unchanged as the complete final soundtrack. Every mouth movement, gesture and expression happens at the same moment as in <Video 1>."
      }
     },
     {
      "id": 43,
      "type": "StringConcatenate",
      "pos": [
       1970,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 43
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 44
       },
       {
        "localized_name": "delimiter",
        "name": "delimiter",
        "type": "STRING",
        "widget": {
         "name": "delimiter"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         45,
         49
        ]
       }
      ],
      "title": "Final prompt = adapted + sound line",
      "properties": {
       "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
       "",
       "",
       ""
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "",
       "delimiter": ""
      }
     },
     {
      "id": 44,
      "type": "PreviewAny",
      "pos": [
       1970,
       548
      ],
      "size": [
       210,
       122
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "source",
        "name": "source",
        "type": "*",
        "link": 45
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": null
       }
      ],
      "title": "Final prompt",
      "properties": {
       "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [],
      "widgets_values_named": {}
     }
    ],
    "groups": [
     {
      "id": 1,
      "title": "1 Describe the first frame (Sirio's describe.md)",
      "bounding": [
       0,
       0,
       460,
       1064
      ],
      "color": "#8A8",
      "flags": {}
     },
     {
      "id": 2,
      "title": "2 Adapt the light text to this shot (Sirio's adapt.md)",
      "bounding": [
       530,
       0,
       1340,
       1046
      ],
      "color": "#a1309b",
      "flags": {}
     },
     {
      "id": 3,
      "title": "Final prompt + sound line",
      "bounding": [
       1940,
       0,
       460,
       724
      ],
      "color": "#a1309b",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 23,
      "origin_id": 26,
      "origin_slot": 0,
      "target_id": 27,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 27,
      "origin_id": 29,
      "origin_slot": 0,
      "target_id": 30,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 28,
      "origin_id": 31,
      "origin_slot": 0,
      "target_id": 35,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 30,
      "origin_id": 35,
      "origin_slot": 0,
      "target_id": 36,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 31,
      "origin_id": 32,
      "origin_slot": 0,
      "target_id": 36,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 32,
      "origin_id": 36,
      "origin_slot": 0,
      "target_id": 37,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 33,
      "origin_id": 29,
      "origin_slot": 0,
      "target_id": 37,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 34,
      "origin_id": 37,
      "origin_slot": 0,
      "target_id": 38,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 35,
      "origin_id": 33,
      "origin_slot": 0,
      "target_id": 38,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 36,
      "origin_id": 38,
      "origin_slot": 0,
      "target_id": 39,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 38,
      "origin_id": 39,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 39,
      "origin_id": 34,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 43,
      "origin_id": 41,
      "origin_slot": 0,
      "target_id": 43,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 44,
      "origin_id": 42,
      "origin_slot": 0,
      "target_id": 43,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 45,
      "origin_id": 43,
      "origin_slot": 0,
      "target_id": 44,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 22,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 26,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 29,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 35,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 37,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 39,
      "target_slot": 1,
      "type": "STRING"
     },
     {
      "id": 49,
      "origin_id": 43,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 25,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 29,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 26,
      "origin_id": 27,
      "origin_slot": 0,
      "target_id": 29,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 24,
      "origin_id": 28,
      "origin_slot": 0,
      "target_id": 29,
      "target_slot": 5,
      "type": "STRING"
     },
     {
      "id": 41,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 41,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 42,
      "origin_id": 27,
      "origin_slot": 0,
      "target_id": 41,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 40,
      "origin_id": 40,
      "origin_slot": 0,
      "target_id": 41,
      "target_slot": 5,
      "type": "STRING"
     }
    ],
    "extra": {}
   },
   {
    "id": "341cd536-6d7c-40b6-8f0b-7f051b48f299",
    "version": 1,
    "state": {
     "lastGroupId": 20,
     "lastNodeId": 122,
     "lastLinkId": 268,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "Full HD: gentle H3 refine",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      128,
      308
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      1544.0871093750002,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "bf3edfea-55ea-43d5-b94d-472151a16374",
      "name": "model",
      "type": "LATENT_UPSCALE_MODEL",
      "linkIds": [
       70
      ],
      "localized_name": "model",
      "label": "H3 latent upscaler",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "0ce5efa1-48be-4315-a313-b9d8d2d89c90",
      "name": "samples",
      "type": "LATENT",
      "linkIds": [
       71
      ],
      "localized_name": "samples",
      "label": "Sample",
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "e368ba76-ca9f-42cb-be03-0bbe1c2f2d8f",
      "name": "width",
      "type": "INT",
      "linkIds": [
       72,
       79
      ],
      "localized_name": "width",
      "label": "Full HD width (short side 1088)",
      "pos": [
       51,
       64
      ]
     },
     {
      "id": "63925b30-b2b6-43e9-9259-3932d9a24e6f",
      "name": "height",
      "type": "INT",
      "linkIds": [
       73,
       80
      ],
      "localized_name": "height",
      "label": "Full HD height (short side 1088)",
      "pos": [
       51,
       84
      ]
     },
     {
      "id": "84906904-c9e0-40a3-95ea-6f4e78ee1613",
      "name": "clip",
      "type": "CLIP",
      "linkIds": [
       76
      ],
      "localized_name": "clip",
      "label": "H3 text encoder",
      "pos": [
       51,
       104
      ]
     },
     {
      "id": "dab17148-4c68-4e0f-b28e-fb811ecd2c0d",
      "name": "vae",
      "type": "VAE",
      "linkIds": [
       77,
       91
      ],
      "localized_name": "vae",
      "label": "Video VAE",
      "pos": [
       51,
       124
      ]
     },
     {
      "id": "0a731a83-6b0b-471e-9b37-ae8a7df838d6",
      "name": "prompt",
      "type": "STRING",
      "linkIds": [
       197
      ],
      "localized_name": "prompt",
      "label": "Qwen3-VL writes the prompt",
      "pos": [
       51,
       144
      ]
     },
     {
      "id": "6f6f3c5e-d480-4fc3-9c23-37145ee1d539",
      "name": "length",
      "type": "INT",
      "linkIds": [
       81
      ],
      "localized_name": "length",
      "label": "Frames (H3 wants 17k + 5)",
      "pos": [
       51,
       164
      ]
     },
     {
      "id": "da63c0c3-bcc0-4819-9ff1-e3e4d6cc3f08",
      "name": "model_1",
      "type": "MODEL",
      "linkIds": [
       82
      ],
      "localized_name": "model_1",
      "label": "Comfy Kitchen attention (refine)",
      "pos": [
       51,
       184
      ]
     },
     {
      "id": "84b5424c-55f3-4b98-82f7-d1da5b2bfcb3",
      "name": "sigmas",
      "type": "STRING",
      "linkIds": [
       84
      ],
      "localized_name": "sigmas",
      "label": "Gentle refine sigmas (lower start = keeps more of the draft)",
      "pos": [
       51,
       204
      ]
     },
     {
      "id": "66df833a-a345-412d-928e-7b08a3d10c74",
      "name": "noise",
      "type": "NOISE",
      "linkIds": [
       85
      ],
      "localized_name": "noise",
      "label": "Seed",
      "pos": [
       51,
       224
      ]
     },
     {
      "id": "2e27331a-75d0-4919-8ade-951e907f5c55",
      "name": "sampler",
      "type": "SAMPLER",
      "linkIds": [
       87
      ],
      "localized_name": "sampler",
      "label": "Sampler",
      "pos": [
       51,
       244
      ]
     },
     {
      "id": "200071b4-0aba-4c74-876d-c5aca29df95f",
      "name": "audio",
      "type": "AUDIO",
      "linkIds": [
       93
      ],
      "localized_name": "audio",
      "label": "Sound cut to the clip",
      "shape": 7,
      "pos": [
       51,
       264
      ]
     }
    ],
    "outputs": [
     {
      "id": "3298e40a-40bb-4909-adf0-9811ed1f9c4c",
      "name": "VIDEO",
      "type": "VIDEO",
      "linkIds": [
       111
      ],
      "localized_name": "VIDEO",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 54,
      "type": "MiniMaxH3LatentUpscaleWithModel",
      "pos": [
       30,
       60
      ],
      "size": [
       360.8619140625,
       102
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "LATENT_UPSCALE_MODEL",
        "link": 70
       },
       {
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 71
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 72
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 73
       }
      ],
      "outputs": [
       {
        "localized_name": "LATENT",
        "name": "LATENT",
        "type": "LATENT",
        "links": [
         89
        ]
       }
      ],
      "title": "Upscale the draft latent",
      "properties": {
       "Node name for S&R": "MiniMaxH3LatentUpscaleWithModel"
      },
      "widgets_values": [
       2560,
       1440
      ],
      "widgets_values_named": {
       "width": 2560,
       "height": 1440
      }
     },
     {
      "id": 58,
      "type": "MiniMaxH3ImageToVideo",
      "pos": [
       520.8619140625,
       60
      ],
      "size": [
       400,
       220
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 76
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 77
       },
       {
        "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": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 197
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 79
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 80
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": 81
       }
      ],
      "outputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "links": [
         83
        ]
       },
       {
        "localized_name": "LATENT",
        "name": "LATENT",
        "type": "LATENT",
        "links": null
       }
      ],
      "title": "Refine prompt (text only)",
      "properties": {
       "Node name for S&R": "MiniMaxH3ImageToVideo"
      },
      "widgets_values": [
       "",
       1344,
       768,
       124
      ],
      "widgets_values_named": {
       "prompt": "",
       "width": 1344,
       "height": 768,
       "length": 124
      }
     },
     {
      "id": 59,
      "type": "BasicGuider",
      "pos": [
       520.8619140625,
       324
      ],
      "size": [
       159.568359375,
       46
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 82
       },
       {
        "localized_name": "conditioning",
        "name": "conditioning",
        "type": "CONDITIONING",
        "link": 83
       }
      ],
      "outputs": [
       {
        "localized_name": "GUIDER",
        "name": "GUIDER",
        "type": "GUIDER",
        "links": [
         86
        ]
       }
      ],
      "title": "Refine guider",
      "properties": {
       "Node name for S&R": "BasicGuider"
      }
     },
     {
      "id": 60,
      "type": "ManualSigmas",
      "pos": [
       520.8619140625,
       414
      ],
      "size": [
       388.901953125,
       58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "STRING",
        "widget": {
         "name": "sigmas"
        },
        "link": 84
       }
      ],
      "outputs": [
       {
        "localized_name": "SIGMAS",
        "name": "SIGMAS",
        "type": "SIGMAS",
        "links": [
         88
        ]
       }
      ],
      "title": "Refine sigmas (lower start = keeps more of the draft)",
      "properties": {
       "Node name for S&R": "ManualSigmas"
      },
      "widgets_values": [
       "1, 0.5"
      ],
      "widgets_values_named": {
       "sigmas": "1, 0.5"
      }
     },
     {
      "id": 61,
      "type": "SamplerCustomAdvanced",
      "pos": [
       520.8619140625,
       516
      ],
      "size": [
       212.3638671875,
       106
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 85
       },
       {
        "localized_name": "guider",
        "name": "guider",
        "type": "GUIDER",
        "link": 86
       },
       {
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 87
       },
       {
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "SIGMAS",
        "link": 88
       },
       {
        "localized_name": "latent_image",
        "name": "latent_image",
        "type": "LATENT",
        "link": 89
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "LATENT",
        "links": [
         90
        ]
       },
       {
        "localized_name": "denoised_output",
        "name": "denoised_output",
        "type": "LATENT",
        "links": null
       }
      ],
      "title": "Refine at 1080p",
      "properties": {
       "Node name for S&R": "SamplerCustomAdvanced"
      }
     },
     {
      "id": 62,
      "type": "VAEDecode",
      "pos": [
       1050.8619140625,
       60
      ],
      "size": [
       353.2251953125,
       46
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 90
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 91
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         92
        ]
       }
      ],
      "title": "Decode 1080p (falls back to tiles on low VRAM)",
      "properties": {
       "Node name for S&R": "VAEDecode"
      }
     },
     {
      "id": 63,
      "type": "CreateVideo",
      "pos": [
       1050.8619140625,
       150
      ],
      "size": [
       284.158203125,
       174
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 92
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 93
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "widget": {
         "name": "fps"
        },
        "link": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "bit_depth"
        },
        "link": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "color_space"
        },
        "link": null
       },
       {
        "localized_name": "chroma_subsampling",
        "name": "chroma_subsampling",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "chroma_subsampling"
        },
        "link": null
       },
       {
        "localized_name": "codec",
        "name": "codec",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         111
        ]
       }
      ],
      "title": "1080p + original sound",
      "properties": {
       "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
       24,
       "auto",
       "sRGB",
       "auto",
       "none"
      ],
      "widgets_values_named": {
       "fps": 24,
       "bit_depth": "auto",
       "color_space": "sRGB",
       "chroma_subsampling": "auto",
       "codec": "none"
      }
     }
    ],
    "groups": [
     {
      "id": 4,
      "title": "H3 latent upscaler to 1088p",
      "bounding": [
       0,
       0,
       420.8619140625,
       216
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 5,
      "title": "Regenerate-2K refine: 3 steps from sigma 0.55, CFG 1",
      "bounding": [
       490.8619140625,
       0,
       460,
       676
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 6,
      "title": "Decode + original sound",
      "bounding": [
       1020.8619140625,
       0,
       413.2251953125002,
       378
      ],
      "color": "#b58b2a",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 83,
      "origin_id": 58,
      "origin_slot": 0,
      "target_id": 59,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 86,
      "origin_id": 59,
      "origin_slot": 0,
      "target_id": 61,
      "target_slot": 1,
      "type": "GUIDER"
     },
     {
      "id": 88,
      "origin_id": 60,
      "origin_slot": 0,
      "target_id": 61,
      "target_slot": 3,
      "type": "SIGMAS"
     },
     {
      "id": 89,
      "origin_id": 54,
      "origin_slot": 0,
      "target_id": 61,
      "target_slot": 4,
      "type": "LATENT"
     },
     {
      "id": 90,
      "origin_id": 61,
      "origin_slot": 0,
      "target_id": 62,
      "target_slot": 0,
      "type": "LATENT"
     },
     {
      "id": 92,
      "origin_id": 62,
      "origin_slot": 0,
      "target_id": 63,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 70,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 54,
      "target_slot": 0,
      "type": "LATENT_UPSCALE_MODEL"
     },
     {
      "id": 71,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 54,
      "target_slot": 1,
      "type": "LATENT"
     },
     {
      "id": 72,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 54,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 79,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 58,
      "target_slot": 5,
      "type": "INT"
     },
     {
      "id": 73,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 54,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 80,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 58,
      "target_slot": 6,
      "type": "INT"
     },
     {
      "id": 76,
      "origin_id": -10,
      "origin_slot": 4,
      "target_id": 58,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 77,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 58,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 91,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 62,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 197,
      "origin_id": -10,
      "origin_slot": 6,
      "target_id": 58,
      "target_slot": 4,
      "type": "STRING"
     },
     {
      "id": 81,
      "origin_id": -10,
      "origin_slot": 7,
      "target_id": 58,
      "target_slot": 7,
      "type": "INT"
     },
     {
      "id": 82,
      "origin_id": -10,
      "origin_slot": 8,
      "target_id": 59,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 84,
      "origin_id": -10,
      "origin_slot": 9,
      "target_id": 60,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 85,
      "origin_id": -10,
      "origin_slot": 10,
      "target_id": 61,
      "target_slot": 0,
      "type": "NOISE"
     },
     {
      "id": 87,
      "origin_id": -10,
      "origin_slot": 11,
      "target_id": 61,
      "target_slot": 2,
      "type": "SAMPLER"
     },
     {
      "id": 93,
      "origin_id": -10,
      "origin_slot": 12,
      "target_id": 63,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 111,
      "origin_id": 63,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "VIDEO"
     }
    ],
    "extra": {}
   },
   {
    "id": "8c95e555-97e8-43c2-9de5-91aab9dad3cc",
    "version": 1,
    "state": {
     "lastGroupId": 20,
     "lastNodeId": 122,
     "lastLinkId": 268,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "Full HD: RealESRGAN x2",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      133.224609375,
      148
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      864.158203125,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "4f460e2c-d240-44c7-bd03-acb312e1df54",
      "name": "upscale_model",
      "type": "UPSCALE_MODEL",
      "linkIds": [
       98
      ],
      "localized_name": "upscale_model",
      "label": "RealESRGAN x2 model",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "02e124f3-806e-4980-bcd8-e78c6a439c0c",
      "name": "image",
      "type": "IMAGE",
      "linkIds": [
       99
      ],
      "localized_name": "image",
      "label": "Decode",
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "bbdd1364-f607-4c1b-a38a-74a31ef86ff2",
      "name": "width",
      "type": "INT",
      "linkIds": [
       101
      ],
      "localized_name": "width",
      "label": "Full HD width (short side 1088)",
      "pos": [
       51,
       64
      ]
     },
     {
      "id": "faeb5f9d-b8f6-4606-b5d1-2e02ad5aca34",
      "name": "height",
      "type": "INT",
      "linkIds": [
       102
      ],
      "localized_name": "height",
      "label": "Full HD height (short side 1088)",
      "pos": [
       51,
       84
      ]
     },
     {
      "id": "28363e3a-230b-48fd-acc0-cbae4dcf4d5e",
      "name": "audio",
      "type": "AUDIO",
      "linkIds": [
       104
      ],
      "localized_name": "audio",
      "label": "Sound cut to the clip",
      "shape": 7,
      "pos": [
       51,
       104
      ]
     }
    ],
    "outputs": [
     {
      "id": "b191afff-2842-415d-a290-795514f0e83d",
      "name": "VIDEO",
      "type": "VIDEO",
      "linkIds": [
       108
      ],
      "localized_name": "VIDEO",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 68,
      "type": "ImageUpscaleWithModel",
      "pos": [
       30,
       60
      ],
      "size": [
       238.634375,
       46
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "upscale_model",
        "name": "upscale_model",
        "type": "UPSCALE_MODEL",
        "link": 98
       },
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 99
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         100
        ]
       }
      ],
      "title": "RealESRGAN x2 (every frame)",
      "properties": {
       "Node name for S&R": "ImageUpscaleWithModel"
      }
     },
     {
      "id": 69,
      "type": "ImageScale",
      "pos": [
       30,
       150
      ],
      "size": [
       270,
       130
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 100
       },
       {
        "localized_name": "upscale_method",
        "name": "upscale_method",
        "type": "COMBO",
        "widget": {
         "name": "upscale_method"
        },
        "link": null
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 101
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 102
       },
       {
        "localized_name": "crop",
        "name": "crop",
        "type": "COMBO",
        "widget": {
         "name": "crop"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         103
        ]
       }
      ],
      "title": "Lanczos to full HD",
      "properties": {
       "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
       "lanczos",
       512,
       512,
       "center"
      ],
      "widgets_values_named": {
       "upscale_method": "lanczos",
       "width": 512,
       "height": 512,
       "crop": "center"
      }
     },
     {
      "id": 70,
      "type": "CreateVideo",
      "pos": [
       440,
       60
      ],
      "size": [
       284.158203125,
       174
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 103
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 104
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "widget": {
         "name": "fps"
        },
        "link": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "bit_depth"
        },
        "link": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "color_space"
        },
        "link": null
       },
       {
        "localized_name": "chroma_subsampling",
        "name": "chroma_subsampling",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "chroma_subsampling"
        },
        "link": null
       },
       {
        "localized_name": "codec",
        "name": "codec",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         108
        ]
       }
      ],
      "title": "Full HD + original sound",
      "properties": {
       "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
       24,
       "auto",
       "sRGB",
       "auto",
       "none"
      ],
      "widgets_values_named": {
       "fps": 24,
       "bit_depth": "auto",
       "color_space": "sRGB",
       "chroma_subsampling": "auto",
       "codec": "none"
      }
     }
    ],
    "groups": [
     {
      "id": 7,
      "title": "RealESRGAN x2 + Lanczos to 1088p (no redraw)",
      "bounding": [
       0,
       0,
       340,
       334
      ],
      "color": "#8AA",
      "flags": {}
     },
     {
      "id": 8,
      "title": "Original sound",
      "bounding": [
       410,
       0,
       344.158203125,
       288
      ],
      "color": "#b58b2a",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 100,
      "origin_id": 68,
      "origin_slot": 0,
      "target_id": 69,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 103,
      "origin_id": 69,
      "origin_slot": 0,
      "target_id": 70,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 98,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 68,
      "target_slot": 0,
      "type": "UPSCALE_MODEL"
     },
     {
      "id": 99,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 68,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 101,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 69,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 102,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 69,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 104,
      "origin_id": -10,
      "origin_slot": 4,
      "target_id": 70,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 108,
      "origin_id": 70,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "VIDEO"
     }
    ],
    "extra": {}
   },
   {
    "id": "fee6ddf2-ad9f-4831-bd05-79aebea919ce",
    "version": 1,
    "state": {
     "lastGroupId": 20,
     "lastNodeId": 122,
     "lastLinkId": 268,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "Long clip: 5.2 s passes",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      128,
      308
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      3242.9458984375,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "7222dc4c-9243-4f57-917d-804146c25a45",
      "name": "values.a",
      "type": "FLOAT,INT,BOOLEAN",
      "linkIds": [
       121
      ],
      "localized_name": "a",
      "label": "Seconds (0 = whole clip up to 15 s; long clip: its length, up to 60)",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "baef9e7c-c599-433a-8b54-422b7b1cab2c",
      "name": "video",
      "type": "VIDEO",
      "linkIds": [
       129
      ],
      "localized_name": "video",
      "label": "Your video (24 fps)",
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "a9d0fc66-368f-407f-962b-c0580c37f51f",
      "name": "width",
      "type": "INT",
      "linkIds": [
       135,
       267
      ],
      "localized_name": "width",
      "label": "Width",
      "pos": [
       51,
       64
      ]
     },
     {
      "id": "f771bbfe-0497-45af-8303-58c2ef50d12f",
      "name": "height",
      "type": "INT",
      "linkIds": [
       136,
       268
      ],
      "localized_name": "height",
      "label": "Height",
      "pos": [
       51,
       84
      ]
     },
     {
      "id": "ba5a4e24-90b5-4940-8fde-f6c730045873",
      "name": "clip",
      "type": "CLIP",
      "linkIds": [
       146
      ],
      "localized_name": "clip",
      "label": "H3 text encoder",
      "pos": [
       51,
       104
      ]
     },
     {
      "id": "a5e2e0e5-0560-4d9c-b8e1-a14e79bbb149",
      "name": "vae",
      "type": "VAE",
      "linkIds": [
       147,
       156,
       170
      ],
      "localized_name": "vae",
      "label": "Video VAE",
      "shape": 7,
      "pos": [
       51,
       124
      ]
     },
     {
      "id": "3b8f6cdc-e4eb-49fa-af53-538decaf8841",
      "name": "audio_vae",
      "type": "VAE",
      "linkIds": [
       148
      ],
      "localized_name": "audio_vae",
      "label": "Audio VAE",
      "shape": 7,
      "pos": [
       51,
       144
      ]
     },
     {
      "id": "4cd2b883-f595-40e2-96c4-461dbd2ef612",
      "name": "ref_images.ref_image_0",
      "type": "IMAGE",
      "linkIds": [
       152
      ],
      "localized_name": "ref_image_0",
      "label": "Light sphere (from the preset)",
      "shape": 7,
      "pos": [
       51,
       164
      ]
     },
     {
      "id": "36fe9d78-0533-49db-afca-962849ef662f",
      "name": "prompt",
      "type": "STRING",
      "linkIds": [
       266
      ],
      "localized_name": "prompt",
      "label": "Qwen3-VL writes the prompt",
      "pos": [
       51,
       184
      ]
     },
     {
      "id": "09a3366e-73c3-443a-a6e9-f85bc3cc9f98",
      "name": "model",
      "type": "MODEL",
      "linkIds": [
       162
      ],
      "localized_name": "model",
      "label": "Sigma shift",
      "pos": [
       51,
       204
      ]
     },
     {
      "id": "1702c22c-b02e-4443-88ea-6eddc3d3b25a",
      "name": "noise",
      "type": "NOISE",
      "linkIds": [
       164
      ],
      "localized_name": "noise",
      "label": "Seed",
      "pos": [
       51,
       224
      ]
     },
     {
      "id": "2b53f188-5266-404f-aaa5-2e3d94893a4a",
      "name": "sampler",
      "type": "SAMPLER",
      "linkIds": [
       166
      ],
      "localized_name": "sampler",
      "label": "Sampler",
      "pos": [
       51,
       244
      ]
     },
     {
      "id": "8365e5ce-27dd-41c8-81c0-7ad9d6909aa8",
      "name": "sigmas",
      "type": "SIGMAS",
      "linkIds": [
       167
      ],
      "localized_name": "sigmas",
      "label": "Schedule",
      "pos": [
       51,
       264
      ]
     }
    ],
    "outputs": [
     {
      "id": "e9eba6c2-d2c6-4171-9d0d-f88a1c0459ff",
      "name": "VIDEO",
      "type": "VIDEO",
      "linkIds": [
       189
      ],
      "localized_name": "VIDEO",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 81,
      "type": "ComfyMathExpression",
      "pos": [
       30,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 121
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         122,
         126
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Frames to relight (Seconds x 24, 60 s max)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "124 if a <= 0 else max(5, min(1440, round(a * 24)))"
      ],
      "widgets_values_named": {
       "expression": "124 if a <= 0 else max(5, min(1440, round(a * 24)))"
      }
     },
     {
      "id": 82,
      "type": "ComfyMathExpression",
      "pos": [
       30,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 122
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         263
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Passes (124 frames, 22 overlap)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(1, ceil((a - 22 - 3) / 102))"
      ],
      "widgets_values_named": {
       "expression": "max(1, ceil((a - 22 - 3) / 102))"
      }
     },
     {
      "id": 83,
      "type": "StartLoop",
      "pos": [
       30,
       548
      ],
      "size": [
       349.177734375,
       186
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "parent_iteration",
        "name": "parent_iteration",
        "shape": 7,
        "type": "INT",
        "link": null
       },
       {
        "localized_name": "initial_iteration_value",
        "name": "initial_iteration_value",
        "shape": 7,
        "type": "*",
        "link": null
       },
       {
        "localized_name": "mode",
        "name": "mode",
        "type": "COMFY_DYNAMICCOMBO_V3",
        "widget": {
         "name": "mode"
        },
        "link": null
       },
       {
        "localized_name": "num_iterations",
        "name": "mode.num_iterations",
        "type": "INT",
        "widget": {
         "name": "mode.num_iterations"
        },
        "link": 263
       },
       {
        "localized_name": "cache_iterations",
        "name": "cache_iterations",
        "type": "BOOLEAN",
        "widget": {
         "name": "cache_iterations"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "iteration_index",
        "name": "iteration_index",
        "type": "INT",
        "links": [
         124
        ]
       },
       {
        "localized_name": "is_first",
        "name": "is_first",
        "type": "BOOLEAN",
        "links": [
         159,
         171
        ]
       },
       {
        "localized_name": "is_last",
        "name": "is_last",
        "type": "BOOLEAN",
        "links": null
       },
       {
        "localized_name": "list_item",
        "name": "list_item",
        "type": "*",
        "links": null
       },
       {
        "localized_name": "current_iteration_value",
        "name": "current_iteration_value",
        "type": "*",
        "links": [
         158
        ]
       }
      ],
      "title": "Start Loop (one 5.2 s pass per round)",
      "properties": {
       "Node name for S&R": "StartLoop"
      },
      "widgets_values": [
       "simple",
       4,
       false
      ],
      "widgets_values_named": {
       "mode": "simple",
       "mode.num_iterations": 4,
       "cache_iterations": false
      }
     },
     {
      "id": 84,
      "type": "ComfyMathExpression",
      "pos": [
       30,
       778
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 124
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         125,
         127
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Pass start (frame)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a * 102"
      ],
      "widgets_values_named": {
       "expression": "a * 102"
      }
     },
     {
      "id": 85,
      "type": "ComfyMathExpression",
      "pos": [
       30,
       1022
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 125
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         130
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Pass start (s)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 86,
      "type": "ComfyMathExpression",
      "pos": [
       470,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 126
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 127
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         128
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Window frames",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "min(124, a - b)"
      ],
      "widgets_values_named": {
       "expression": "min(124, a - b)"
      }
     },
     {
      "id": 87,
      "type": "ComfyMathExpression",
      "pos": [
       470,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 128
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         131
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Window (s)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 88,
      "type": "Video Slice",
      "pos": [
       1000,
       60
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 129
       },
       {
        "localized_name": "start_time",
        "name": "start_time",
        "type": "FLOAT",
        "widget": {
         "name": "start_time"
        },
        "link": 130
       },
       {
        "localized_name": "duration",
        "name": "duration",
        "type": "FLOAT",
        "widget": {
         "name": "duration"
        },
        "link": 131
       },
       {
        "localized_name": "strict_duration",
        "name": "strict_duration",
        "type": "BOOLEAN",
        "widget": {
         "name": "strict_duration"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         132
        ]
       }
      ],
      "title": "This pass's window of the clip",
      "properties": {
       "Node name for S&R": "Video Slice"
      },
      "widgets_values": [
       0,
       0,
       false
      ],
      "widgets_values_named": {
       "start_time": 0,
       "duration": 0,
       "strict_duration": false
      }
     },
     {
      "id": 89,
      "type": "GetVideoComponents",
      "pos": [
       1000,
       210
      ],
      "size": [
       193.530859375,
       106
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 132
       }
      ],
      "outputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "links": [
         133,
         134
        ]
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "links": [
         179,
         265
        ]
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "type": "COMBO",
        "links": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "type": "COMBO",
        "links": null
       }
      ],
      "title": "Decode the window",
      "properties": {
       "Node name for S&R": "GetVideoComponents"
      }
     },
     {
      "id": 90,
      "type": "GetImageSize",
      "pos": [
       1000,
       360
      ],
      "size": [
       177.6646484375,
       66
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 133
       }
      ],
      "outputs": [
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "batch_size",
        "name": "batch_size",
        "type": "INT",
        "links": [
         137,
         140,
         173
        ]
       }
      ],
      "title": "Window frame count",
      "properties": {
       "Node name for S&R": "GetImageSize"
      }
     },
     {
      "id": 91,
      "type": "ImageScale",
      "pos": [
       1000,
       470
      ],
      "size": [
       270,
       130
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 134
       },
       {
        "localized_name": "upscale_method",
        "name": "upscale_method",
        "type": "COMBO",
        "widget": {
         "name": "upscale_method"
        },
        "link": null
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 135
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 136
       },
       {
        "localized_name": "crop",
        "name": "crop",
        "type": "COMBO",
        "widget": {
         "name": "crop"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         138,
         143
        ]
       }
      ],
      "title": "Window at output size",
      "properties": {
       "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
       "area",
       512,
       512,
       "center"
      ],
      "widgets_values_named": {
       "upscale_method": "area",
       "width": 512,
       "height": 512,
       "crop": "center"
      }
     },
     {
      "id": 92,
      "type": "ComfyMathExpression",
      "pos": [
       1000,
       644
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 137
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         139
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Last frame index",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a - 1"
      ],
      "widgets_values_named": {
       "expression": "a - 1"
      }
     },
     {
      "id": 93,
      "type": "ImageFromBatch",
      "pos": [
       1000,
       888
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 138
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": 139
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         141
        ]
       }
      ],
      "title": "Last frame",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 94,
      "type": "ComfyMathExpression",
      "pos": [
       1000,
       1014
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 140
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         142
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Frames to pad (last pass)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(1, 124 - a)"
      ],
      "widgets_values_named": {
       "expression": "max(1, 124 - a)"
      }
     },
     {
      "id": 95,
      "type": "RepeatImageBatch",
      "pos": [
       1000,
       1258
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 141
       },
       {
        "localized_name": "amount",
        "name": "amount",
        "type": "INT",
        "widget": {
         "name": "amount"
        },
        "link": 142
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         144
        ]
       }
      ],
      "title": "Hold the last frame",
      "properties": {
       "Node name for S&R": "RepeatImageBatch"
      },
      "widgets_values": [
       1
      ],
      "widgets_values_named": {
       "amount": 1
      }
     },
     {
      "id": 96,
      "type": "BatchImagesNode",
      "pos": [
       1440,
       60
      ],
      "size": [
       189.1353515625,
       86
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image0",
        "name": "images.image0",
        "type": "IMAGE",
        "link": 143
       },
       {
        "localized_name": "image1",
        "name": "images.image1",
        "shape": 7,
        "type": "IMAGE",
        "link": 144
       },
       {
        "localized_name": "image2",
        "name": "images.image2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         145
        ]
       }
      ],
      "title": "Window + held frames",
      "properties": {
       "Node name for S&R": "BatchImagesNode"
      }
     },
     {
      "id": 97,
      "type": "ImageFromBatch",
      "pos": [
       1440,
       190
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 145
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": null
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         264
        ]
       }
      ],
      "title": "124 frames for H3",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       124
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 124
      }
     },
     {
      "id": 98,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
       1840,
       60
      ],
      "size": [
       400,
       424
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 146
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "shape": 7,
        "type": "VAE",
        "link": 147
       },
       {
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": 148
       },
       {
        "localized_name": "ref_image_0",
        "name": "ref_images.ref_image_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 152
       },
       {
        "localized_name": "ref_image_1",
        "name": "ref_images.ref_image_1",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_image_2",
        "name": "ref_images.ref_image_2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_image_3",
        "name": "ref_images.ref_image_3",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_0",
        "name": "ref_videos.ref_video_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 264
       },
       {
        "localized_name": "ref_video_1",
        "name": "ref_videos.ref_video_1",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_2",
        "name": "ref_videos.ref_video_2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_audio_0",
        "name": "ref_video_audios.ref_video_audio_0",
        "shape": 7,
        "type": "AUDIO",
        "link": 265
       },
       {
        "localized_name": "ref_audio_0",
        "name": "ref_audios.ref_audio_0",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 266
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 267
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 268
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       },
       {
        "localized_name": "ref_image_size",
        "name": "ref_image_size",
        "type": "COMBO",
        "widget": {
         "name": "ref_image_size"
        },
        "link": null
       },
       {
        "localized_name": "ref_video_audio_1",
        "name": "ref_video_audios.ref_video_audio_1",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "links": [
         155,
         160
        ]
       },
       {
        "localized_name": "LATENT",
        "name": "LATENT",
        "type": "LATENT",
        "links": [
         157,
         168
        ]
       }
      ],
      "title": "Sphere + window + prompt",
      "properties": {
       "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
       "",
       1344,
       768,
       124,
       "match"
      ],
      "widgets_values_named": {
       "prompt": "",
       "width": 1344,
       "height": 768,
       "length": 124,
       "ref_image_size": "match"
      }
     },
     {
      "id": 99,
      "type": "MiniMaxH3AddGuide",
      "pos": [
       1840,
       528
      ],
      "size": [
       274.640234375,
       158
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "link": 155
       },
       {
        "localized_name": "latent",
        "name": "latent",
        "type": "LATENT",
        "link": 157
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "shape": 7,
        "type": "VAE",
        "link": 156
       },
       {
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": null
       },
       {
        "localized_name": "image",
        "name": "image",
        "shape": 7,
        "type": "IMAGE",
        "link": 158
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "frame_idx",
        "name": "frame_idx",
        "type": "INT",
        "widget": {
         "name": "frame_idx"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "links": [
         161
        ]
       }
      ],
      "title": "Continue from the last 22 frames",
      "properties": {
       "Node name for S&R": "MiniMaxH3AddGuide"
      },
      "widgets_values": [
       0
      ],
      "widgets_values_named": {
       "frame_idx": 0
      }
     },
     {
      "id": 100,
      "type": "ComfySwitchNode",
      "pos": [
       1840,
       730
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 161
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 160
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 159
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         163
        ]
       }
      ],
      "title": "First pass? no guide",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 101,
      "type": "BasicGuider",
      "pos": [
       1840,
       852
      ],
      "size": [
       159.568359375,
       46
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 162
       },
       {
        "localized_name": "conditioning",
        "name": "conditioning",
        "type": "CONDITIONING",
        "link": 163
       }
      ],
      "outputs": [
       {
        "localized_name": "GUIDER",
        "name": "GUIDER",
        "type": "GUIDER",
        "links": [
         165
        ]
       }
      ],
      "title": "Guider",
      "properties": {
       "Node name for S&R": "BasicGuider"
      }
     },
     {
      "id": 102,
      "type": "SamplerCustomAdvanced",
      "pos": [
       1840,
       942
      ],
      "size": [
       251.4107421875,
       106
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 164
       },
       {
        "localized_name": "guider",
        "name": "guider",
        "type": "GUIDER",
        "link": 165
       },
       {
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 166
       },
       {
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "SIGMAS",
        "link": 167
       },
       {
        "localized_name": "latent_image",
        "name": "latent_image",
        "type": "LATENT",
        "link": 168
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "LATENT",
        "links": [
         169
        ]
       },
       {
        "localized_name": "denoised_output",
        "name": "denoised_output",
        "type": "LATENT",
        "links": null
       }
      ],
      "title": "Sample (same seed every pass)",
      "properties": {
       "Node name for S&R": "SamplerCustomAdvanced"
      }
     },
     {
      "id": 103,
      "type": "VAEDecode",
      "pos": [
       1840,
       1092
      ],
      "size": [
       140,
       46
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 169
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 170
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         174,
         184
        ]
       }
      ],
      "title": "Decode",
      "properties": {
       "Node name for S&R": "VAEDecode"
      }
     },
     {
      "id": 104,
      "type": "ComfyMathExpression",
      "pos": [
       2370,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 171
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         172,
         175,
         177
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Skip the 22 guided frames (not in pass 1)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "0 if a else 22"
      ],
      "widgets_values_named": {
       "expression": "0 if a else 22"
      }
     },
     {
      "id": 105,
      "type": "ComfyMathExpression",
      "pos": [
       2370,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 172
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 173
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         176,
         178
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "New frames in this pass",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "b - a"
      ],
      "widgets_values_named": {
       "expression": "b - a"
      }
     },
     {
      "id": 106,
      "type": "ImageFromBatch",
      "pos": [
       2370,
       548
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 174
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": 175
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": 176
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         182
        ]
       }
      ],
      "title": "New frames",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 107,
      "type": "ComfyMathExpression",
      "pos": [
       2370,
       674
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 177
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         180
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Sound start (s)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 108,
      "type": "ComfyMathExpression",
      "pos": [
       2370,
       918
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 178
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         181
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Sound length (s)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 109,
      "type": "TrimAudioDuration",
      "pos": [
       2370,
       1162
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "link": 179
       },
       {
        "localized_name": "start_index",
        "name": "start_index",
        "type": "FLOAT",
        "widget": {
         "name": "start_index"
        },
        "link": 180
       },
       {
        "localized_name": "duration",
        "name": "duration",
        "type": "FLOAT",
        "widget": {
         "name": "duration"
        },
        "link": 181
       }
      ],
      "outputs": [
       {
        "localized_name": "AUDIO",
        "name": "AUDIO",
        "type": "AUDIO",
        "links": [
         183
        ]
       }
      ],
      "title": "This pass's original sound",
      "properties": {
       "Node name for S&R": "TrimAudioDuration"
      },
      "widgets_values": [
       0,
       60
      ],
      "widgets_values_named": {
       "start_index": 0,
       "duration": 60
      }
     },
     {
      "id": 110,
      "type": "CreateVideo",
      "pos": [
       2810,
       60
      ],
      "size": [
       292.9458984375,
       174
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 182
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 183
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "widget": {
         "name": "fps"
        },
        "link": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "bit_depth"
        },
        "link": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "color_space"
        },
        "link": null
       },
       {
        "localized_name": "chroma_subsampling",
        "name": "chroma_subsampling",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "chroma_subsampling"
        },
        "link": null
       },
       {
        "localized_name": "codec",
        "name": "codec",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         185
        ]
       }
      ],
      "title": "Pass video + its sound (encoded now)",
      "properties": {
       "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
       24,
       "auto",
       "sRGB",
       "auto",
       "auto"
      ],
      "widgets_values_named": {
       "fps": 24,
       "bit_depth": "auto",
       "color_space": "sRGB",
       "chroma_subsampling": "auto",
       "codec": "auto"
      }
     },
     {
      "id": 111,
      "type": "ImageFromBatch",
      "pos": [
       2810,
       278
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 184
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": null
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         186
        ]
       }
      ],
      "title": "Last 22 frames -> next pass",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       102,
       22
      ],
      "widgets_values_named": {
       "batch_index": 102,
       "length": 22
      }
     },
     {
      "id": 112,
      "type": "EndLoop",
      "pos": [
       2810,
       404
      ],
      "size": [
       270,
       98
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "output_value",
        "name": "output_value",
        "shape": 7,
        "type": "*",
        "link": 185
       },
       {
        "localized_name": "next_iteration_value",
        "name": "next_iteration_value",
        "shape": 7,
        "type": "*",
        "link": 186
       },
       {
        "localized_name": "termination0",
        "name": "terminations.termination0",
        "shape": 7,
        "type": "*",
        "link": null
       },
       {
        "localized_name": "accumulate",
        "name": "accumulate",
        "type": "BOOLEAN",
        "widget": {
         "name": "accumulate"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "outputs",
        "name": "outputs",
        "shape": 6,
        "type": "*",
        "links": [
         187
        ]
       }
      ],
      "title": "End Loop (collects every pass)",
      "properties": {
       "Node name for S&R": "EndLoop"
      },
      "widgets_values": [
       true
      ],
      "widgets_values_named": {
       "accumulate": true
      }
     },
     {
      "id": 113,
      "type": "ConcatenateVideo",
      "pos": [
       2810,
       546
      ],
      "size": [
       270,
       118
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video0",
        "name": "videos.video0",
        "type": "VIDEO",
        "link": 187
       },
       {
        "localized_name": "video1",
        "name": "videos.video1",
        "shape": 7,
        "type": "VIDEO",
        "link": null
       },
       {
        "localized_name": "complete_audio",
        "name": "complete_audio",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "codec",
        "name": "codec",
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         189
        ]
       }
      ],
      "title": "Join the passes in order",
      "properties": {
       "Node name for S&R": "ConcatenateVideo"
      },
      "widgets_values": [
       "auto"
      ],
      "widgets_values_named": {
       "codec": "auto"
      }
     }
    ],
    "groups": [
     {
      "id": 9,
      "title": "How many passes (Seconds x 24 frames, 60 s max)",
      "bounding": [
       0,
       0,
       900,
       1276
      ],
      "color": "#444",
      "flags": {}
     },
     {
      "id": 10,
      "title": "This pass's 124-frame window (only it is decoded)",
      "bounding": [
       970,
       0,
       770,
       1370
      ],
      "color": "#8A8",
      "flags": {}
     },
     {
      "id": 11,
      "title": "Relight the window, continuing the last 22 frames",
      "bounding": [
       1810,
       0,
       460,
       1192
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 12,
      "title": "New frames + their sound -> join in order",
      "bounding": [
       2340,
       0,
       792.9458984375001,
       1298
      ],
      "color": "#b58b2a",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 130,
      "origin_id": 85,
      "origin_slot": 0,
      "target_id": 88,
      "target_slot": 1,
      "type": "FLOAT"
     },
     {
      "id": 131,
      "origin_id": 87,
      "origin_slot": 0,
      "target_id": 88,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 132,
      "origin_id": 88,
      "origin_slot": 0,
      "target_id": 89,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 133,
      "origin_id": 89,
      "origin_slot": 0,
      "target_id": 90,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 134,
      "origin_id": 89,
      "origin_slot": 0,
      "target_id": 91,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 138,
      "origin_id": 91,
      "origin_slot": 0,
      "target_id": 93,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 139,
      "origin_id": 92,
      "origin_slot": 1,
      "target_id": 93,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 141,
      "origin_id": 93,
      "origin_slot": 0,
      "target_id": 95,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 142,
      "origin_id": 94,
      "origin_slot": 1,
      "target_id": 95,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 145,
      "origin_id": 96,
      "origin_slot": 0,
      "target_id": 97,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 155,
      "origin_id": 98,
      "origin_slot": 0,
      "target_id": 99,
      "target_slot": 0,
      "type": "CONDITIONING"
     },
     {
      "id": 157,
      "origin_id": 98,
      "origin_slot": 1,
      "target_id": 99,
      "target_slot": 1,
      "type": "LATENT"
     },
     {
      "id": 158,
      "origin_id": 83,
      "origin_slot": 4,
      "target_id": 99,
      "target_slot": 4,
      "type": "IMAGE"
     },
     {
      "id": 161,
      "origin_id": 99,
      "origin_slot": 0,
      "target_id": 100,
      "target_slot": 0,
      "type": "CONDITIONING"
     },
     {
      "id": 160,
      "origin_id": 98,
      "origin_slot": 0,
      "target_id": 100,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 159,
      "origin_id": 83,
      "origin_slot": 1,
      "target_id": 100,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 163,
      "origin_id": 100,
      "origin_slot": 0,
      "target_id": 101,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 165,
      "origin_id": 101,
      "origin_slot": 0,
      "target_id": 102,
      "target_slot": 1,
      "type": "GUIDER"
     },
     {
      "id": 168,
      "origin_id": 98,
      "origin_slot": 1,
      "target_id": 102,
      "target_slot": 4,
      "type": "LATENT"
     },
     {
      "id": 169,
      "origin_id": 102,
      "origin_slot": 0,
      "target_id": 103,
      "target_slot": 0,
      "type": "LATENT"
     },
     {
      "id": 174,
      "origin_id": 103,
      "origin_slot": 0,
      "target_id": 106,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 175,
      "origin_id": 104,
      "origin_slot": 1,
      "target_id": 106,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 176,
      "origin_id": 105,
      "origin_slot": 1,
      "target_id": 106,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 179,
      "origin_id": 89,
      "origin_slot": 1,
      "target_id": 109,
      "target_slot": 0,
      "type": "AUDIO"
     },
     {
      "id": 180,
      "origin_id": 107,
      "origin_slot": 0,
      "target_id": 109,
      "target_slot": 1,
      "type": "FLOAT"
     },
     {
      "id": 181,
      "origin_id": 108,
      "origin_slot": 0,
      "target_id": 109,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 182,
      "origin_id": 106,
      "origin_slot": 0,
      "target_id": 110,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 183,
      "origin_id": 109,
      "origin_slot": 0,
      "target_id": 110,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 184,
      "origin_id": 103,
      "origin_slot": 0,
      "target_id": 111,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 185,
      "origin_id": 110,
      "origin_slot": 0,
      "target_id": 112,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 186,
      "origin_id": 111,
      "origin_slot": 0,
      "target_id": 112,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 129,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 88,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 135,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 91,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 136,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 91,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 156,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 99,
      "target_slot": 2,
      "type": "VAE"
     },
     {
      "id": 170,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 103,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 162,
      "origin_id": -10,
      "origin_slot": 9,
      "target_id": 101,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 164,
      "origin_id": -10,
      "origin_slot": 10,
      "target_id": 102,
      "target_slot": 0,
      "type": "NOISE"
     },
     {
      "id": 166,
      "origin_id": -10,
      "origin_slot": 11,
      "target_id": 102,
      "target_slot": 2,
      "type": "SAMPLER"
     },
     {
      "id": 167,
      "origin_id": -10,
      "origin_slot": 12,
      "target_id": 102,
      "target_slot": 3,
      "type": "SIGMAS"
     },
     {
      "id": 189,
      "origin_id": 113,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 121,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 81,
      "target_slot": 0,
      "type": "FLOAT"
     },
     {
      "id": 122,
      "origin_id": 81,
      "origin_slot": 1,
      "target_id": 82,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 263,
      "origin_id": 82,
      "origin_slot": 1,
      "target_id": 83,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 124,
      "origin_id": 83,
      "origin_slot": 0,
      "target_id": 84,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 125,
      "origin_id": 84,
      "origin_slot": 1,
      "target_id": 85,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 126,
      "origin_id": 81,
      "origin_slot": 1,
      "target_id": 86,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 127,
      "origin_id": 84,
      "origin_slot": 1,
      "target_id": 86,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 128,
      "origin_id": 86,
      "origin_slot": 1,
      "target_id": 87,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 137,
      "origin_id": 90,
      "origin_slot": 2,
      "target_id": 92,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 140,
      "origin_id": 90,
      "origin_slot": 2,
      "target_id": 94,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 143,
      "origin_id": 91,
      "origin_slot": 0,
      "target_id": 96,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 144,
      "origin_id": 95,
      "origin_slot": 0,
      "target_id": 96,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 146,
      "origin_id": -10,
      "origin_slot": 4,
      "target_id": 98,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 147,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 98,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 148,
      "origin_id": -10,
      "origin_slot": 6,
      "target_id": 98,
      "target_slot": 2,
      "type": "VAE"
     },
     {
      "id": 152,
      "origin_id": -10,
      "origin_slot": 7,
      "target_id": 98,
      "target_slot": 3,
      "type": "IMAGE"
     },
     {
      "id": 264,
      "origin_id": 97,
      "origin_slot": 0,
      "target_id": 98,
      "target_slot": 7,
      "type": "IMAGE"
     },
     {
      "id": 265,
      "origin_id": 89,
      "origin_slot": 1,
      "target_id": 98,
      "target_slot": 10,
      "type": "AUDIO"
     },
     {
      "id": 266,
      "origin_id": -10,
      "origin_slot": 8,
      "target_id": 98,
      "target_slot": 12,
      "type": "STRING"
     },
     {
      "id": 267,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 98,
      "target_slot": 13,
      "type": "INT"
     },
     {
      "id": 268,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 98,
      "target_slot": 14,
      "type": "INT"
     },
     {
      "id": 171,
      "origin_id": 83,
      "origin_slot": 1,
      "target_id": 104,
      "target_slot": 0,
      "type": "BOOLEAN"
     },
     {
      "id": 172,
      "origin_id": 104,
      "origin_slot": 1,
      "target_id": 105,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 173,
      "origin_id": 90,
      "origin_slot": 2,
      "target_id": 105,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 177,
      "origin_id": 104,
      "origin_slot": 1,
      "target_id": 107,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 178,
      "origin_id": 105,
      "origin_slot": 1,
      "target_id": 108,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 187,
      "origin_id": 112,
      "origin_slot": 0,
      "target_id": 113,
      "target_slot": 0,
      "type": "VIDEO"
     }
    ],
    "extra": {}
   },
   {
    "id": "81d29649-c7dc-47dc-abfa-0de0a29accd2",
    "version": 1,
    "state": {
     "lastGroupId": 20,
     "lastNodeId": 122,
     "lastLinkId": 268,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "H3 Relight",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      128,
      108
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      3079.604296875,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "6ab6c37b-7d46-4b09-bc68-1eb93b128c1b",
      "name": "video",
      "type": "VIDEO",
      "linkIds": [
       113,
       4,
       220
      ],
      "localized_name": "video",
      "label": "Your video (24 fps)",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "8b2de72e-4b84-4d23-9ca7-65330cf70595",
      "name": "ref_images.ref_image_0",
      "type": "IMAGE",
      "linkIds": [
       53,
       226
      ],
      "localized_name": "ref_image_0",
      "label": "Light sphere (from the preset)",
      "shape": 7,
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "3eb97e22-5c01-457d-8fe2-fa69c6cd468a",
      "name": "string_b",
      "type": "STRING",
      "linkIds": [
       194
      ],
      "localized_name": "string_b",
      "label": "Light text (master prompt)",
      "pos": [
       51,
       64
      ]
     },
     {
      "id": "8d69c5ca-4c0d-4ff2-8924-865664498a20",
      "name": "direction",
      "type": "STRING",
      "linkIds": [
       237
      ],
      "label": "Extra direction (can stay empty)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "ed09c539-1856-4ee9-aad5-5ed07964a20d",
      "name": "seconds",
      "type": "FLOAT",
      "linkIds": [
       238
      ],
      "label": "Seconds (0 = whole clip up to 15 s; long clip: its length, up to 60)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "4e515096-5234-4b7b-b997-f0908c29af2a",
      "name": "short_side",
      "type": "INT",
      "linkIds": [
       239
      ],
      "label": "Short side (480 / 736)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "e415225e-fe6e-4e50-9476-0ee5fb7c7a3d",
      "name": "steps",
      "type": "INT",
      "linkIds": [
       240
      ],
      "label": "Steps",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "26723bc1-34af-4dff-b02a-e8ca9e2b2949",
      "name": "seed",
      "type": "INT",
      "linkIds": [
       241
      ],
      "label": "Seed",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "698a4482-7028-48fc-87e0-d9d2f193c7e9",
      "name": "full_hd",
      "type": "COMBO",
      "linkIds": [
       242
      ],
      "label": "Full HD (1088p)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "0f7736a4-d2ab-4fb5-90ee-c2fcc3215a97",
      "name": "refine_sigmas",
      "type": "STRING",
      "linkIds": [
       243
      ],
      "label": "Gentle refine sigmas",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "5434f62d-b22d-4986-b7f2-d7da71a5be83",
      "name": "long_clip",
      "type": "BOOLEAN",
      "linkIds": [
       244
      ],
      "label": "Long clip (5.2 s passes, up to 60 s)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "4e5af24b-efbe-4348-b62f-1affad22cbd2",
      "name": "model_file",
      "type": "COMBO",
      "linkIds": [
       245
      ],
      "label": "H3 model (ref2va)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "b6608000-fd92-487a-9c7a-8324b05ebe45",
      "name": "turbo_lora",
      "type": "COMBO",
      "linkIds": [
       246
      ],
      "label": "Turbo LoRA",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "de6449db-4e9c-4c34-aedf-cad70ea90481",
      "name": "text_encoder",
      "type": "COMBO",
      "linkIds": [
       247
      ],
      "label": "H3 text encoder",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "8a6a1cbe-b796-4638-882d-ccc9d5c282db",
      "name": "video_vae",
      "type": "COMBO",
      "linkIds": [
       248
      ],
      "label": "Video VAE",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "4bfa1904-da80-4cd5-9ba4-1a051d31d1c6",
      "name": "audio_vae",
      "type": "COMBO",
      "linkIds": [
       249
      ],
      "label": "Audio VAE",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "a9858f06-3a5a-473f-b04d-f50a220985b3",
      "name": "describer",
      "type": "COMBO",
      "linkIds": [
       250
      ],
      "label": "Describer (Qwen3-VL 8B)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "8b2e6ac4-f4f0-48d9-9878-cb8964266772",
      "name": "latent_upscaler",
      "type": "COMBO",
      "linkIds": [
       251
      ],
      "label": "Latent upscaler (gentle)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "4574f0e1-733f-4741-beba-6885ca83f514",
      "name": "refine_model",
      "type": "COMBO",
      "linkIds": [
       252
      ],
      "label": "Refine model fl2va (gentle)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "7dd5d883-bdd9-4d72-b9f6-de31d61d4227",
      "name": "refine_lora",
      "type": "COMBO",
      "linkIds": [
       253
      ],
      "label": "Regenerate-2K LoRA (gentle)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "de4a4d8b-9efe-4e7f-99d4-8fa462bdd02c",
      "name": "esrgan",
      "type": "COMBO",
      "linkIds": [
       254
      ],
      "label": "RealESRGAN model",
      "pos": [
       0,
       0
      ]
     }
    ],
    "outputs": [
     {
      "id": "01a23486-1ddd-4f16-aa35-774131a94a33",
      "name": "output",
      "type": "VIDEO",
      "linkIds": [
       191
      ],
      "localized_name": "output",
      "label": "Result",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 4,
      "type": "PrimitiveStringMultiline",
      "pos": [
       30,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": 237
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         195
        ]
       }
      ],
      "title": "Extra direction (can stay empty)",
      "properties": {
       "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
       ""
      ],
      "widgets_values_named": {
       "value": ""
      }
     },
     {
      "id": 5,
      "type": "PrimitiveFloat",
      "pos": [
       30,
       304
      ],
      "size": [
       467.132421875,
       58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "FLOAT",
        "widget": {
         "name": "value"
        },
        "link": 238
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         7,
         219
        ]
       }
      ],
      "title": "Seconds (0 = whole clip up to 15 s; long clip: its length, up to 60)",
      "properties": {
       "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
       0
      ],
      "widgets_values_named": {
       "value": 0
      }
     },
     {
      "id": 6,
      "type": "PrimitiveInt",
      "pos": [
       30,
       406
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": 239
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         255,
         256
        ]
       }
      ],
      "title": "Short side (480 / 736)",
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       480,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 480,
       "control_after_generate": "fixed"
      }
     },
     {
      "id": 7,
      "type": "PrimitiveInt",
      "pos": [
       30,
       532
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": 240
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         58
        ]
       }
      ],
      "title": "Steps",
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       6,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 6,
       "control_after_generate": "fixed"
      }
     },
     {
      "id": 8,
      "type": "PrimitiveInt",
      "pos": [
       30,
       658
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": 241
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         56
        ]
       }
      ],
      "title": "Seed",
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       42,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 42,
       "control_after_generate": "fixed"
      }
     },
     {
      "id": 71,
      "type": "CustomCombo",
      "pos": [
       30,
       784
      ],
      "size": [
       270,
       174
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "choice",
        "name": "choice",
        "type": "COMBO",
        "widget": {
         "name": "choice"
        },
        "link": 242
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         105,
         106
        ]
       },
       {
        "localized_name": "INDEX",
        "name": "INDEX",
        "type": "INT",
        "links": null
       }
      ],
      "title": "Full HD",
      "properties": {
       "Node name for S&R": "CustomCombo"
      },
      "widgets_values": [
       "Off (draft size)",
       -1,
       "Off (draft size)",
       "Gentle H3 refine (sigma 0.55)",
       "RealESRGAN x2 (no redraw)",
       ""
      ],
      "widgets_values_named": {
       "choice": "Off (draft size)",
       "index": -1,
       "option1": "Off (draft size)",
       "option2": "Gentle H3 refine (sigma 0.55)",
       "option3": "RealESRGAN x2 (no redraw)",
       "option4": ""
      }
     },
     {
      "id": 66,
      "type": "PrimitiveString",
      "pos": [
       30,
       1002
      ],
      "size": [
       432.0845703125,
       58
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": 243
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         208
        ]
       }
      ],
      "title": "Gentle refine sigmas (lower start = keeps more of the draft)",
      "properties": {
       "Node name for S&R": "PrimitiveString"
      },
      "widgets_values": [
       "0.55, 0.4, 0.2, 0.0"
      ],
      "widgets_values_named": {
       "value": "0.55, 0.4, 0.2, 0.0"
      }
     },
     {
      "id": 76,
      "type": "PrimitiveBoolean",
      "pos": [
       537.132421875,
       60
      ],
      "size": [
       271.5494140625,
       58
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "BOOLEAN",
        "widget": {
         "name": "value"
        },
        "link": 244
       }
      ],
      "outputs": [
       {
        "localized_name": "BOOLEAN",
        "name": "BOOLEAN",
        "type": "BOOLEAN",
        "links": [
         115,
         118,
         188
        ]
       }
      ],
      "title": "Long clip (5.2 s passes, up to 60 s)",
      "properties": {
       "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "value": false
      }
     },
     {
      "id": 9,
      "type": "UNETLoader",
      "pos": [
       938.6818359375,
       60
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "unet_name",
        "name": "unet_name",
        "type": "COMBO",
        "widget": {
         "name": "unet_name"
        },
        "link": 245
       },
       {
        "localized_name": "weight_dtype",
        "name": "weight_dtype",
        "type": "COMBO",
        "widget": {
         "name": "weight_dtype"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         1
        ]
       }
      ],
      "title": "H3 model",
      "properties": {
       "Node name for S&R": "UNETLoader",
       "models": [
        {
         "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
         "directory": "diffusion_models"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
       "default"
      ],
      "widgets_values_named": {
       "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
       "weight_dtype": "default"
      }
     },
     {
      "id": 10,
      "type": "LoraLoaderModelOnly",
      "pos": [
       938.6818359375,
       186
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 1
       },
       {
        "localized_name": "lora_name",
        "name": "lora_name",
        "type": "COMBO",
        "widget": {
         "name": "lora_name"
        },
        "link": 246
       },
       {
        "localized_name": "strength_model",
        "name": "strength_model",
        "type": "FLOAT",
        "widget": {
         "name": "strength_model"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         2
        ]
       }
      ],
      "title": "ref2v turbo LoRA",
      "properties": {
       "Node name for S&R": "LoraLoaderModelOnly",
       "models": [
        {
         "name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
         "directory": "loras"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
       1
      ],
      "widgets_values_named": {
       "lora_name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
       "strength_model": 1
      }
     },
     {
      "id": 11,
      "type": "ModelAttentionBackend",
      "pos": [
       938.6818359375,
       312
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 2
       },
       {
        "localized_name": "backend",
        "name": "attention",
        "type": "COMBO",
        "widget": {
         "name": "attention"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "links": [
         3
        ]
       }
      ],
      "title": "Comfy Kitchen attention",
      "properties": {
       "Node name for S&R": "ModelAttentionBackend"
      },
      "widgets_values": [
       "comfy kitchen attention"
      ],
      "widgets_values_named": {
       "attention": "comfy kitchen attention"
      }
     },
     {
      "id": 12,
      "type": "MiniMaxH3SigmaShift",
      "pos": [
       938.6818359375,
       414
      ],
      "size": [
       277.2857421875,
       82
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 3
       },
       {
        "localized_name": "shift_video",
        "name": "shift_video",
        "type": "FLOAT",
        "widget": {
         "name": "shift_video"
        },
        "link": null
       },
       {
        "localized_name": "shift_audio",
        "name": "shift_audio",
        "type": "FLOAT",
        "widget": {
         "name": "shift_audio"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         57,
         59,
         228
        ]
       }
      ],
      "title": "Sigma shift",
      "properties": {
       "Node name for S&R": "MiniMaxH3SigmaShift"
      },
      "widgets_values": [
       12,
       2
      ],
      "widgets_values_named": {
       "shift_video": 12,
       "shift_audio": 2
      }
     },
     {
      "id": 13,
      "type": "CLIPLoader",
      "pos": [
       938.6818359375,
       540
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip_name",
        "name": "clip_name",
        "type": "COMBO",
        "widget": {
         "name": "clip_name"
        },
        "link": 247
       },
       {
        "localized_name": "type",
        "name": "type",
        "type": "COMBO",
        "widget": {
         "name": "type"
        },
        "link": null
       },
       {
        "localized_name": "device",
        "name": "device",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "device"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "CLIP",
        "name": "CLIP",
        "type": "CLIP",
        "links": [
         46,
         203,
         223
        ]
       }
      ],
      "title": "H3 text encoder",
      "properties": {
       "Node name for S&R": "CLIPLoader",
       "models": [
        {
         "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
         "directory": "text_encoders"
        }
       ]
      },
      "widgets_values": [
       "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
       "minimax",
       "default"
      ],
      "widgets_values_named": {
       "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
       "type": "minimax",
       "device": "default"
      }
     },
     {
      "id": 14,
      "type": "VAELoader",
      "pos": [
       938.6818359375,
       690
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "vae_name",
        "name": "vae_name",
        "type": "COMBO",
        "widget": {
         "name": "vae_name"
        },
        "link": 248
       }
      ],
      "outputs": [
       {
        "localized_name": "VAE",
        "name": "VAE",
        "type": "VAE",
        "links": [
         47,
         67,
         204,
         224
        ]
       }
      ],
      "title": "Video VAE",
      "properties": {
       "Node name for S&R": "VAELoader",
       "models": [
        {
         "name": "minimax_h3_video_vae_int8_convrot.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors",
         "directory": "vae"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_video_vae_int8_convrot.safetensors"
      ],
      "widgets_values_named": {
       "vae_name": "minimax_h3_video_vae_int8_convrot.safetensors"
      }
     },
     {
      "id": 15,
      "type": "VAELoader",
      "pos": [
       938.6818359375,
       792
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "vae_name",
        "name": "vae_name",
        "type": "COMBO",
        "widget": {
         "name": "vae_name"
        },
        "link": 249
       }
      ],
      "outputs": [
       {
        "localized_name": "VAE",
        "name": "VAE",
        "type": "VAE",
        "links": [
         48,
         225
        ]
       }
      ],
      "title": "Audio VAE",
      "properties": {
       "Node name for S&R": "VAELoader",
       "models": [
        {
         "name": "minimax_h3_audio_vae_fp32.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
         "directory": "vae"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_audio_vae_fp32.safetensors"
      ],
      "widgets_values_named": {
       "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
      }
     },
     {
      "id": 25,
      "type": "CLIPLoader",
      "pos": [
       938.6818359375,
       894
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip_name",
        "name": "clip_name",
        "type": "COMBO",
        "widget": {
         "name": "clip_name"
        },
        "link": 250
       },
       {
        "localized_name": "type",
        "name": "type",
        "type": "COMBO",
        "widget": {
         "name": "type"
        },
        "link": null
       },
       {
        "localized_name": "device",
        "name": "device",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "device"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "CLIP",
        "name": "CLIP",
        "type": "CLIP",
        "links": [
         193
        ]
       }
      ],
      "title": "Describer: Qwen3-VL 8B",
      "properties": {
       "Node name for S&R": "CLIPLoader",
       "models": [
        {
         "name": "qwen3vl_8b_int8_convrot.safetensors",
         "url": "https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",
         "directory": "text_encoders"
        }
       ]
      },
      "widgets_values": [
       "qwen3vl_8b_int8_convrot.safetensors",
       "stable_diffusion",
       "default"
      ],
      "widgets_values_named": {
       "clip_name": "qwen3vl_8b_int8_convrot.safetensors",
       "type": "stable_diffusion",
       "device": "default"
      }
     },
     {
      "id": 53,
      "type": "LatentUpscaleModelLoader",
      "pos": [
       938.6818359375,
       1044
      ],
      "size": [
       280.9224609375,
       58
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model_name",
        "name": "model_name",
        "type": "COMBO",
        "widget": {
         "name": "model_name"
        },
        "link": 251
       }
      ],
      "outputs": [
       {
        "localized_name": "LATENT_UPSCALE_MODEL",
        "name": "LATENT_UPSCALE_MODEL",
        "type": "LATENT_UPSCALE_MODEL",
        "links": [
         199
        ]
       }
      ],
      "title": "H3 latent upscaler",
      "properties": {
       "Node name for S&R": "LatentUpscaleModelLoader",
       "models": [
        {
         "name": "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
         "url": "https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/main/latent_upsampler/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
         "directory": "latent_upscale_models"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors"
      ],
      "widgets_values_named": {
       "model_name": "minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors"
      }
     },
     {
      "id": 55,
      "type": "UNETLoader",
      "pos": [
       1259.6042968749998,
       60
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "unet_name",
        "name": "unet_name",
        "type": "COMBO",
        "widget": {
         "name": "unet_name"
        },
        "link": 252
       },
       {
        "localized_name": "weight_dtype",
        "name": "weight_dtype",
        "type": "COMBO",
        "widget": {
         "name": "weight_dtype"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         74
        ]
       }
      ],
      "title": "H3 fl2va (refine)",
      "properties": {
       "Node name for S&R": "UNETLoader",
       "models": [
        {
         "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
         "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
         "directory": "diffusion_models"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
       "default"
      ],
      "widgets_values_named": {
       "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
       "weight_dtype": "default"
      }
     },
     {
      "id": 56,
      "type": "LoraLoaderModelOnly",
      "pos": [
       1259.6042968749998,
       186
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 74
       },
       {
        "localized_name": "lora_name",
        "name": "lora_name",
        "type": "COMBO",
        "widget": {
         "name": "lora_name"
        },
        "link": 253
       },
       {
        "localized_name": "strength_model",
        "name": "strength_model",
        "type": "FLOAT",
        "widget": {
         "name": "strength_model"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         75
        ]
       }
      ],
      "title": "Regenerate-2K refiner LoRA",
      "properties": {
       "Node name for S&R": "LoraLoaderModelOnly",
       "models": [
        {
         "name": "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
         "url": "https://huggingface.co/DrakenZA/Open-H3-Regenerate-2K-ComfyUI/resolve/main/minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
         "directory": "loras"
        }
       ]
      },
      "widgets_values": [
       "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
       1
      ],
      "widgets_values_named": {
       "lora_name": "minimax_h3_open_regenerate_2k_r128_comfyui_bf16_swiglu_fixed.safetensors",
       "strength_model": 1
      }
     },
     {
      "id": 57,
      "type": "ModelAttentionBackend",
      "pos": [
       1259.6042968749998,
       312
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 75
       },
       {
        "localized_name": "backend",
        "name": "attention",
        "type": "COMBO",
        "widget": {
         "name": "attention"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "links": [
         207
        ]
       }
      ],
      "title": "Comfy Kitchen attention (refine)",
      "properties": {
       "Node name for S&R": "ModelAttentionBackend"
      },
      "widgets_values": [
       "comfy kitchen attention"
      ],
      "widgets_values_named": {
       "attention": "comfy kitchen attention"
      }
     },
     {
      "id": 67,
      "type": "UpscaleModelLoader",
      "pos": [
       1259.6042968749998,
       414
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model_name",
        "name": "model_name",
        "type": "COMBO",
        "widget": {
         "name": "model_name"
        },
        "link": 254
       }
      ],
      "outputs": [
       {
        "localized_name": "UPSCALE_MODEL",
        "name": "UPSCALE_MODEL",
        "type": "UPSCALE_MODEL",
        "links": [
         213
        ]
       }
      ],
      "title": "RealESRGAN x2 model",
      "properties": {
       "Node name for S&R": "UpscaleModelLoader",
       "models": [
        {
         "name": "RealESRGAN_x2plus.pth",
         "url": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth",
         "directory": "upscale_models"
        }
       ]
      },
      "widgets_values": [
       "RealESRGAN_x2plus.pth"
      ],
      "widgets_values_named": {
       "model_name": "RealESRGAN_x2plus.pth"
      }
     },
     {
      "id": 77,
      "type": "Video Slice",
      "pos": [
       1659.6042968749998,
       60
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 113
       },
       {
        "localized_name": "start_time",
        "name": "start_time",
        "type": "FLOAT",
        "widget": {
         "name": "start_time"
        },
        "link": null
       },
       {
        "localized_name": "duration",
        "name": "duration",
        "type": "FLOAT",
        "widget": {
         "name": "duration"
        },
        "link": null
       },
       {
        "localized_name": "strict_duration",
        "name": "strict_duration",
        "type": "BOOLEAN",
        "widget": {
         "name": "strict_duration"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         114
        ]
       }
      ],
      "title": "First frame only (long clip)",
      "properties": {
       "Node name for S&R": "Video Slice"
      },
      "widgets_values": [
       0,
       0.05,
       false
      ],
      "widgets_values_named": {
       "start_time": 0,
       "duration": 0.05,
       "strict_duration": false
      }
     },
     {
      "id": 78,
      "type": "GetVideoComponents",
      "pos": [
       1659.6042968749998,
       210
      ],
      "size": [
       193.530859375,
       106
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 114
       }
      ],
      "outputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "links": [
         116,
         119
        ]
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "links": null
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "type": "COMBO",
        "links": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "type": "COMBO",
        "links": null
       }
      ],
      "title": "Decode the first frame",
      "properties": {
       "Node name for S&R": "GetVideoComponents"
      }
     },
     {
      "id": 79,
      "type": "ComfySwitchNode",
      "pos": [
       1659.6042968749998,
       360
      ],
      "size": [
       301.921484375,
       78
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 117
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 116
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 115
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         5
        ]
       }
      ],
      "title": "Size from: first frame (long) / whole clip",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 16,
      "type": "GetVideoComponents",
      "pos": [
       1659.6042968749998,
       482
      ],
      "size": [
       193.530859375,
       106
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 4
       }
      ],
      "outputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "links": [
         15,
         117
        ]
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "links": [
         20
        ]
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "type": "COMBO",
        "links": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "type": "COMBO",
        "links": null
       }
      ],
      "title": "Split video",
      "properties": {
       "Node name for S&R": "GetVideoComponents"
      }
     },
     {
      "id": 17,
      "type": "GetImageSize",
      "pos": [
       1659.6042968749998,
       632
      ],
      "size": [
       140,
       66
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 5
       }
      ],
      "outputs": [
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "links": [
         8,
         11,
         94,
         96
        ]
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "links": [
         9,
         12,
         95,
         97
        ]
       },
       {
        "localized_name": "batch_size",
        "name": "batch_size",
        "type": "INT",
        "links": [
         6
        ]
       }
      ],
      "title": "Clip size",
      "properties": {
       "Node name for S&R": "GetImageSize"
      }
     },
     {
      "id": 18,
      "type": "ComfyMathExpression",
      "pos": [
       1659.6042968749998,
       742
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 6
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 7
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         14,
         16,
         206,
         262
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Frames (H3 wants 17k + 5)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "(min(a if b <= 0 else min(a, round(b * 24)), 362) - 5) // 17 * 17 + 5"
      ],
      "widgets_values_named": {
       "expression": "(min(a if b <= 0 else min(a, round(b * 24)), 362) - 5) // 17 * 17 + 5"
      }
     },
     {
      "id": 19,
      "type": "ComfyMathExpression",
      "pos": [
       2099.604296875,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 8
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 9
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 255
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       },
       {
        "localized_name": "d",
        "name": "values.d",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         18,
         221,
         260
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Width",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(32, round(a * c / min(a, b) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(32, round(a * c / min(a, b) / 32) * 32)"
      }
     },
     {
      "id": 20,
      "type": "ComfyMathExpression",
      "pos": [
       2099.604296875,
       304
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 11
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 12
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 256
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       },
       {
        "localized_name": "d",
        "name": "values.d",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         19,
         222,
         261
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Height",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(32, round(b * c / min(a, b) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(32, round(b * c / min(a, b) / 32) * 32)"
      }
     },
     {
      "id": 21,
      "type": "ComfyMathExpression",
      "pos": [
       2099.604296875,
       548
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 14
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         21
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Length in seconds",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 64,
      "type": "ComfyMathExpression",
      "pos": [
       2099.604296875,
       792
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 94
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 95
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         201,
         215
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Full HD width (short side 1088)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(32, round(a * 1088 / min(a, b) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(32, round(a * 1088 / min(a, b) / 32) * 32)"
      }
     },
     {
      "id": 65,
      "type": "ComfyMathExpression",
      "pos": [
       2539.604296875,
       60
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 96
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 97
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": null
       },
       {
        "localized_name": "expression",
        "name": "expression",
        "type": "STRING",
        "widget": {
         "name": "expression"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         202,
         216
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "title": "Full HD height (short side 1088)",
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(32, round(b * 1088 / min(a, b) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(32, round(b * 1088 / min(a, b) / 32) * 32)"
      }
     },
     {
      "id": 22,
      "type": "ImageFromBatch",
      "pos": [
       2539.604296875,
       304
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 15
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": null
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": 16
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         17,
         120
        ]
       }
      ],
      "title": "Frames used",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 80,
      "type": "ComfySwitchNode",
      "pos": [
       2539.604296875,
       430
      ],
      "size": [
       302.5572265625,
       78
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 120
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 119
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 118
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         192
        ]
       }
      ],
      "title": "Describer frame: first frame (long) / clip",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 23,
      "type": "ImageScale",
      "pos": [
       2539.604296875,
       552
      ],
      "size": [
       270,
       130
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 17
       },
       {
        "localized_name": "upscale_method",
        "name": "upscale_method",
        "type": "COMBO",
        "widget": {
         "name": "upscale_method"
        },
        "link": null
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 18
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 19
       },
       {
        "localized_name": "crop",
        "name": "crop",
        "type": "COMBO",
        "widget": {
         "name": "crop"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         257
        ]
       }
      ],
      "title": "Frames at output size",
      "properties": {
       "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
       "area",
       512,
       512,
       "center"
      ],
      "widgets_values_named": {
       "upscale_method": "area",
       "width": 512,
       "height": 512,
       "crop": "center"
      }
     },
     {
      "id": 24,
      "type": "TrimAudioDuration",
      "pos": [
       2539.604296875,
       726
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "link": 20
       },
       {
        "localized_name": "start_index",
        "name": "start_index",
        "type": "FLOAT",
        "widget": {
         "name": "start_index"
        },
        "link": null
       },
       {
        "localized_name": "duration",
        "name": "duration",
        "type": "FLOAT",
        "widget": {
         "name": "duration"
        },
        "link": 21
       }
      ],
      "outputs": [
       {
        "localized_name": "AUDIO",
        "name": "AUDIO",
        "type": "AUDIO",
        "links": [
         69,
         211,
         217,
         258
        ]
       }
      ],
      "title": "Sound cut to the clip",
      "properties": {
       "Node name for S&R": "TrimAudioDuration"
      },
      "widgets_values": [
       0,
       60
      ],
      "widgets_values_named": {
       "start_index": 0,
       "duration": 60
      }
     },
     {
      "id": 45,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
       474.4609375,
       1286
      ],
      "size": [
       400,
       444
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 46
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "shape": 7,
        "type": "VAE",
        "link": 47
       },
       {
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": 48
       },
       {
        "localized_name": "ref_image_0",
        "name": "ref_images.ref_image_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 53
       },
       {
        "localized_name": "ref_image_1",
        "name": "ref_images.ref_image_1",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_image_2",
        "name": "ref_images.ref_image_2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_image_3",
        "name": "ref_images.ref_image_3",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_0",
        "name": "ref_videos.ref_video_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 257
       },
       {
        "localized_name": "ref_video_1",
        "name": "ref_videos.ref_video_1",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_2",
        "name": "ref_videos.ref_video_2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_audio_0",
        "name": "ref_video_audios.ref_video_audio_0",
        "shape": 7,
        "type": "AUDIO",
        "link": 258
       },
       {
        "localized_name": "ref_video_audio_1",
        "name": "ref_video_audios.ref_video_audio_1",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "ref_audio_0",
        "name": "ref_audios.ref_audio_0",
        "shape": 7,
        "type": "AUDIO",
        "link": null
       },
       {
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 259
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 260
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 261
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": 262
       },
       {
        "localized_name": "ref_image_size",
        "name": "ref_image_size",
        "type": "COMBO",
        "widget": {
         "name": "ref_image_size"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "links": [
         60
        ]
       },
       {
        "localized_name": "LATENT",
        "name": "LATENT",
        "type": "LATENT",
        "links": [
         65
        ]
       }
      ],
      "title": "Sphere + source clip + prompt",
      "properties": {
       "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
       "",
       1344,
       768,
       124,
       "match"
      ],
      "widgets_values_named": {
       "prompt": "",
       "width": 1344,
       "height": 768,
       "length": 124,
       "ref_image_size": "match"
      }
     },
     {
      "id": 46,
      "type": "RandomNoise",
      "pos": [
       474.4609375,
       1774
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise_seed",
        "name": "noise_seed",
        "type": "INT",
        "widget": {
         "name": "noise_seed"
        },
        "link": 56
       }
      ],
      "outputs": [
       {
        "localized_name": "NOISE",
        "name": "NOISE",
        "type": "NOISE",
        "links": [
         61,
         209,
         229
        ]
       }
      ],
      "title": "Seed",
      "properties": {
       "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
       0,
       "randomize"
      ],
      "widgets_values_named": {
       "noise_seed": 0,
       "control_after_generate": "randomize"
      }
     },
     {
      "id": 47,
      "type": "KSamplerSelect",
      "pos": [
       474.4609375,
       1900
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "sampler_name",
        "name": "sampler_name",
        "type": "COMBO",
        "widget": {
         "name": "sampler_name"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "SAMPLER",
        "name": "SAMPLER",
        "type": "SAMPLER",
        "links": [
         63,
         210,
         230
        ]
       }
      ],
      "title": "Sampler",
      "properties": {
       "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
       "euler"
      ],
      "widgets_values_named": {
       "sampler_name": "euler"
      }
     },
     {
      "id": 48,
      "type": "BasicScheduler",
      "pos": [
       474.4609375,
       2002
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 57
       },
       {
        "localized_name": "scheduler",
        "name": "scheduler",
        "type": "COMBO",
        "widget": {
         "name": "scheduler"
        },
        "link": null
       },
       {
        "localized_name": "steps",
        "name": "steps",
        "type": "INT",
        "widget": {
         "name": "steps"
        },
        "link": 58
       },
       {
        "localized_name": "denoise",
        "name": "denoise",
        "type": "FLOAT",
        "widget": {
         "name": "denoise"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "SIGMAS",
        "name": "SIGMAS",
        "type": "SIGMAS",
        "links": [
         64,
         231
        ]
       }
      ],
      "title": "Schedule",
      "properties": {
       "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
       "simple",
       20,
       1
      ],
      "widgets_values_named": {
       "scheduler": "simple",
       "steps": 20,
       "denoise": 1
      }
     },
     {
      "id": 49,
      "type": "BasicGuider",
      "pos": [
       474.4609375,
       2152
      ],
      "size": [
       159.568359375,
       46
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 59
       },
       {
        "localized_name": "conditioning",
        "name": "conditioning",
        "type": "CONDITIONING",
        "link": 60
       }
      ],
      "outputs": [
       {
        "localized_name": "GUIDER",
        "name": "GUIDER",
        "type": "GUIDER",
        "links": [
         62
        ]
       }
      ],
      "title": "Guider",
      "properties": {
       "Node name for S&R": "BasicGuider"
      }
     },
     {
      "id": 50,
      "type": "SamplerCustomAdvanced",
      "pos": [
       474.4609375,
       2242
      ],
      "size": [
       212.3638671875,
       106
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 61
       },
       {
        "localized_name": "guider",
        "name": "guider",
        "type": "GUIDER",
        "link": 62
       },
       {
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 63
       },
       {
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "SIGMAS",
        "link": 64
       },
       {
        "localized_name": "latent_image",
        "name": "latent_image",
        "type": "LATENT",
        "link": 65
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "LATENT",
        "links": [
         66,
         200
        ]
       },
       {
        "localized_name": "denoised_output",
        "name": "denoised_output",
        "type": "LATENT",
        "links": null
       }
      ],
      "title": "Sample",
      "properties": {
       "Node name for S&R": "SamplerCustomAdvanced"
      }
     },
     {
      "id": 51,
      "type": "VAEDecode",
      "pos": [
       914.4609375,
       1286
      ],
      "size": [
       140,
       46
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 66
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 67
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         68,
         214
        ]
       }
      ],
      "title": "Decode",
      "properties": {
       "Node name for S&R": "VAEDecode"
      }
     },
     {
      "id": 52,
      "type": "CreateVideo",
      "pos": [
       914.4609375,
       1376
      ],
      "size": [
       284.158203125,
       174
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 68
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 69
       },
       {
        "localized_name": "fps",
        "name": "fps",
        "type": "FLOAT",
        "widget": {
         "name": "fps"
        },
        "link": null
       },
       {
        "localized_name": "bit_depth",
        "name": "bit_depth",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "bit_depth"
        },
        "link": null
       },
       {
        "localized_name": "color_space",
        "name": "color_space",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "color_space"
        },
        "link": null
       },
       {
        "localized_name": "chroma_subsampling",
        "name": "chroma_subsampling",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "chroma_subsampling"
        },
        "link": null
       },
       {
        "localized_name": "codec",
        "name": "codec",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         109
        ]
       }
      ],
      "title": "Video + original sound",
      "properties": {
       "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
       24,
       "auto",
       "sRGB",
       "auto",
       "none"
      ],
      "widgets_values_named": {
       "fps": 24,
       "bit_depth": "auto",
       "color_space": "sRGB",
       "chroma_subsampling": "auto",
       "codec": "none"
      }
     },
     {
      "id": 72,
      "type": "StringCompare",
      "pos": [
       2476.52734375,
       1286
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 105
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": null
       },
       {
        "localized_name": "mode",
        "name": "mode",
        "type": "COMBO",
        "widget": {
         "name": "mode"
        },
        "link": null
       },
       {
        "localized_name": "case_sensitive",
        "name": "case_sensitive",
        "type": "BOOLEAN",
        "widget": {
         "name": "case_sensitive"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "BOOLEAN",
        "name": "BOOLEAN",
        "type": "BOOLEAN",
        "links": [
         110
        ]
       }
      ],
      "title": "Gentle refine chosen?",
      "properties": {
       "Node name for S&R": "StringCompare"
      },
      "widgets_values": [
       "",
       "Gentle H3 refine (sigma 0.55)",
       "Equal",
       true
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "Gentle H3 refine (sigma 0.55)",
       "mode": "Equal",
       "case_sensitive": true
      }
     },
     {
      "id": 73,
      "type": "StringCompare",
      "pos": [
       2476.52734375,
       1530
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string_a",
        "name": "string_a",
        "type": "STRING",
        "widget": {
         "name": "string_a"
        },
        "link": 106
       },
       {
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": null
       },
       {
        "localized_name": "mode",
        "name": "mode",
        "type": "COMBO",
        "widget": {
         "name": "mode"
        },
        "link": null
       },
       {
        "localized_name": "case_sensitive",
        "name": "case_sensitive",
        "type": "BOOLEAN",
        "widget": {
         "name": "case_sensitive"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "BOOLEAN",
        "name": "BOOLEAN",
        "type": "BOOLEAN",
        "links": [
         107
        ]
       }
      ],
      "title": "RealESRGAN chosen?",
      "properties": {
       "Node name for S&R": "StringCompare"
      },
      "widgets_values": [
       "",
       "RealESRGAN x2 (no redraw)",
       "Equal",
       true
      ],
      "widgets_values_named": {
       "string_a": "",
       "string_b": "RealESRGAN x2 (no redraw)",
       "mode": "Equal",
       "case_sensitive": true
      }
     },
     {
      "id": 74,
      "type": "ComfySwitchNode",
      "pos": [
       2476.52734375,
       1774
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 109
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 218
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 107
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         112
        ]
       }
      ],
      "title": "RealESRGAN or the draft",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 75,
      "type": "ComfySwitchNode",
      "pos": [
       2476.52734375,
       1896
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 112
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 212
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 110
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         190
        ]
       }
      ],
      "title": "Video that gets saved",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 114,
      "type": "ComfySwitchNode",
      "pos": [
       2476.52734375,
       2018
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 48,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 190
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 232
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 188
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         191
        ]
       }
      ],
      "title": "Long clip or one pass",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 116,
      "type": "ab3e3e79-4879-4c0d-84e2-c278df1d3d00",
      "pos": [
       30,
       1286
      ],
      "size": [
       314.4609375,
       162
      ],
      "flags": {},
      "order": 49,
      "mode": 0,
      "inputs": [
       {
        "label": "Describer frame: first frame (long) / clip",
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 192
       },
       {
        "label": "Describer: Qwen3-VL 8B",
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 193
       },
       {
        "label": "Light text (master prompt)",
        "localized_name": "string_b",
        "name": "string_b",
        "type": "STRING",
        "widget": {
         "name": "string_b"
        },
        "link": 194
       },
       {
        "label": "Extra direction (can stay empty)",
        "localized_name": "string_b_1",
        "name": "string_b_1",
        "type": "STRING",
        "widget": {
         "name": "string_b_1"
        },
        "link": 195
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         205,
         227,
         259
        ]
       }
      ],
      "properties": {
       "previewExposures": []
      },
      "widgets_values": [
       "",
       ""
      ],
      "widgets_values_named": {
       "string_b": "",
       "string_b_1": ""
      },
      "color": "#653",
      "bgcolor": "#864"
     },
     {
      "id": 117,
      "type": "341cd536-6d7c-40b6-8f0b-7f051b48f299",
      "pos": [
       1328.619140625,
       1286
      ],
      "size": [
       440.158203125,
       324
      ],
      "flags": {},
      "order": 50,
      "mode": 0,
      "inputs": [
       {
        "label": "H3 latent upscaler",
        "localized_name": "model",
        "name": "model",
        "type": "LATENT_UPSCALE_MODEL",
        "link": 199
       },
       {
        "label": "Sample",
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 200
       },
       {
        "label": "Full HD width (short side 1088)",
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 201
       },
       {
        "label": "Full HD height (short side 1088)",
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 202
       },
       {
        "label": "H3 text encoder",
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 203
       },
       {
        "label": "Video VAE",
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 204
       },
       {
        "label": "Qwen3-VL writes the prompt",
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 205
       },
       {
        "label": "Frames (H3 wants 17k + 5)",
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": 206
       },
       {
        "label": "Comfy Kitchen attention (refine)",
        "localized_name": "model_1",
        "name": "model_1",
        "type": "MODEL",
        "link": 207
       },
       {
        "label": "Gentle refine sigmas (lower start = keeps more of the draft)",
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "STRING",
        "widget": {
         "name": "sigmas"
        },
        "link": 208
       },
       {
        "label": "Seed",
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 209
       },
       {
        "label": "Sampler",
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 210
       },
       {
        "label": "Sound cut to the clip",
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 211
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         212
        ]
       }
      ],
      "properties": {
       "previewExposures": []
      },
      "widgets_values": [
       2560,
       1440,
       "",
       124,
       "1, 0.5"
      ],
      "widgets_values_named": {
       "width": 2560,
       "height": 1440,
       "prompt": "",
       "length": 124,
       "sigmas": "1, 0.5"
      },
      "color": "#653",
      "bgcolor": "#864"
     },
     {
      "id": 118,
      "type": "8c95e555-97e8-43c2-9de5-91aab9dad3cc",
      "pos": [
       1328.619140625,
       1654
      ],
      "size": [
       282.3125,
       122
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [
       {
        "label": "RealESRGAN x2 model",
        "localized_name": "upscale_model",
        "name": "upscale_model",
        "type": "UPSCALE_MODEL",
        "link": 213
       },
       {
        "label": "Decode",
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 214
       },
       {
        "label": "Full HD width (short side 1088)",
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 215
       },
       {
        "label": "Full HD height (short side 1088)",
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 216
       },
       {
        "label": "Sound cut to the clip",
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 217
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         218
        ]
       }
      ],
      "properties": {
       "previewExposures": []
      },
      "widgets_values": [
       512,
       512
      ],
      "widgets_values_named": {
       "width": 512,
       "height": 512
      },
      "color": "#653",
      "bgcolor": "#864"
     },
     {
      "id": 119,
      "type": "fee6ddf2-ad9f-4831-bd05-79aebea919ce",
      "pos": [
       1898.77734375,
       1286
      ],
      "size": [
       447.75,
       316
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [
       {
        "label": "Seconds (0 = whole clip up to 15 s; long clip: its length, up to 60)",
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 219
       },
       {
        "label": "Your video (24 fps)",
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 220
       },
       {
        "label": "Width",
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 221
       },
       {
        "label": "Height",
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 222
       },
       {
        "label": "H3 text encoder",
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 223
       },
       {
        "label": "Video VAE",
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 224
       },
       {
        "label": "Audio VAE",
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": 225
       },
       {
        "label": "Light sphere (from the preset)",
        "localized_name": "ref_image_0",
        "name": "ref_images.ref_image_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 226
       },
       {
        "label": "Qwen3-VL writes the prompt",
        "localized_name": "prompt",
        "name": "prompt",
        "type": "STRING",
        "widget": {
         "name": "prompt"
        },
        "link": 227
       },
       {
        "label": "Sigma shift",
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 228
       },
       {
        "label": "Seed",
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 229
       },
       {
        "label": "Sampler",
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 230
       },
       {
        "label": "Schedule",
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "SIGMAS",
        "link": 231
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         232
        ]
       }
      ],
      "properties": {
       "previewExposures": []
      },
      "widgets_values": [
       512,
       512,
       ""
      ],
      "widgets_values_named": {
       "width": 512,
       "height": 512,
       "prompt": ""
      },
      "color": "#653",
      "bgcolor": "#864"
     }
    ],
    "groups": [
     {
      "id": 13,
      "title": "Settings (shown on the node outside)",
      "bounding": [
       0,
       0,
       838.6818359375,
       1114
      ],
      "color": "#444",
      "flags": {}
     },
     {
      "id": 14,
      "title": "Load models (only the chosen path's models load)",
      "bounding": [
       908.6818359375,
       0,
       650.9224609374999,
       1156
      ],
      "color": "#3f789e",
      "flags": {}
     },
     {
      "id": 15,
      "title": "Your clip -> length + size (H3 wants 17k + 5 frames)",
      "bounding": [
       1629.6042968749998,
       0,
       1340,
       1046
      ],
      "color": "#8A8",
      "flags": {}
     },
     {
      "id": 16,
      "title": "Prompt (double-click)",
      "bounding": [
       0,
       1226,
       374.4609375,
       276
      ],
      "color": "#a1309b",
      "flags": {}
     },
     {
      "id": 17,
      "title": "Relight: sphere + clip + prompt",
      "bounding": [
       444.4609375,
       1226,
       784.158203125,
       1176
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 18,
      "title": "Full HD (double-click)",
      "bounding": [
       1298.619140625,
       1226,
       500.158203125,
       604
      ],
      "color": "#8AA",
      "flags": {}
     },
     {
      "id": 19,
      "title": "Long clip (double-click)",
      "bounding": [
       1868.77734375,
       1226,
       507.75,
       430
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 20,
      "title": "Switches: only the chosen path runs",
      "bounding": [
       2446.52734375,
       1226,
       460,
       924
      ],
      "color": "#444",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 1,
      "origin_id": 9,
      "origin_slot": 0,
      "target_id": 10,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 2,
      "origin_id": 10,
      "origin_slot": 0,
      "target_id": 11,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 3,
      "origin_id": 11,
      "origin_slot": 0,
      "target_id": 12,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 74,
      "origin_id": 55,
      "origin_slot": 0,
      "target_id": 56,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 75,
      "origin_id": 56,
      "origin_slot": 0,
      "target_id": 57,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 114,
      "origin_id": 77,
      "origin_slot": 0,
      "target_id": 78,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 117,
      "origin_id": 16,
      "origin_slot": 0,
      "target_id": 79,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 116,
      "origin_id": 78,
      "origin_slot": 0,
      "target_id": 79,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 115,
      "origin_id": 76,
      "origin_slot": 0,
      "target_id": 79,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 5,
      "origin_id": 79,
      "origin_slot": 0,
      "target_id": 17,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 15,
      "origin_id": 16,
      "origin_slot": 0,
      "target_id": 22,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 16,
      "origin_id": 18,
      "origin_slot": 1,
      "target_id": 22,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 120,
      "origin_id": 22,
      "origin_slot": 0,
      "target_id": 80,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 119,
      "origin_id": 78,
      "origin_slot": 0,
      "target_id": 80,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 118,
      "origin_id": 76,
      "origin_slot": 0,
      "target_id": 80,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 17,
      "origin_id": 22,
      "origin_slot": 0,
      "target_id": 23,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 18,
      "origin_id": 19,
      "origin_slot": 1,
      "target_id": 23,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 19,
      "origin_id": 20,
      "origin_slot": 1,
      "target_id": 23,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 20,
      "origin_id": 16,
      "origin_slot": 1,
      "target_id": 24,
      "target_slot": 0,
      "type": "AUDIO"
     },
     {
      "id": 21,
      "origin_id": 21,
      "origin_slot": 0,
      "target_id": 24,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 56,
      "origin_id": 8,
      "origin_slot": 0,
      "target_id": 46,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 57,
      "origin_id": 12,
      "origin_slot": 0,
      "target_id": 48,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 58,
      "origin_id": 7,
      "origin_slot": 0,
      "target_id": 48,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 59,
      "origin_id": 12,
      "origin_slot": 0,
      "target_id": 49,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 60,
      "origin_id": 45,
      "origin_slot": 0,
      "target_id": 49,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 61,
      "origin_id": 46,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 0,
      "type": "NOISE"
     },
     {
      "id": 62,
      "origin_id": 49,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 1,
      "type": "GUIDER"
     },
     {
      "id": 63,
      "origin_id": 47,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 2,
      "type": "SAMPLER"
     },
     {
      "id": 64,
      "origin_id": 48,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 3,
      "type": "SIGMAS"
     },
     {
      "id": 65,
      "origin_id": 45,
      "origin_slot": 1,
      "target_id": 50,
      "target_slot": 4,
      "type": "LATENT"
     },
     {
      "id": 66,
      "origin_id": 50,
      "origin_slot": 0,
      "target_id": 51,
      "target_slot": 0,
      "type": "LATENT"
     },
     {
      "id": 67,
      "origin_id": 14,
      "origin_slot": 0,
      "target_id": 51,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 68,
      "origin_id": 51,
      "origin_slot": 0,
      "target_id": 52,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 69,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 52,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 105,
      "origin_id": 71,
      "origin_slot": 0,
      "target_id": 72,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 106,
      "origin_id": 71,
      "origin_slot": 0,
      "target_id": 73,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 109,
      "origin_id": 52,
      "origin_slot": 0,
      "target_id": 74,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 218,
      "origin_id": 118,
      "origin_slot": 0,
      "target_id": 74,
      "target_slot": 1,
      "type": "VIDEO"
     },
     {
      "id": 107,
      "origin_id": 73,
      "origin_slot": 0,
      "target_id": 74,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 112,
      "origin_id": 74,
      "origin_slot": 0,
      "target_id": 75,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 212,
      "origin_id": 117,
      "origin_slot": 0,
      "target_id": 75,
      "target_slot": 1,
      "type": "VIDEO"
     },
     {
      "id": 110,
      "origin_id": 72,
      "origin_slot": 0,
      "target_id": 75,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 190,
      "origin_id": 75,
      "origin_slot": 0,
      "target_id": 114,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 232,
      "origin_id": 119,
      "origin_slot": 0,
      "target_id": 114,
      "target_slot": 1,
      "type": "VIDEO"
     },
     {
      "id": 188,
      "origin_id": 76,
      "origin_slot": 0,
      "target_id": 114,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 192,
      "origin_id": 80,
      "origin_slot": 0,
      "target_id": 116,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 193,
      "origin_id": 25,
      "origin_slot": 0,
      "target_id": 116,
      "target_slot": 1,
      "type": "CLIP"
     },
     {
      "id": 195,
      "origin_id": 4,
      "origin_slot": 0,
      "target_id": 116,
      "target_slot": 3,
      "type": "STRING"
     },
     {
      "id": 199,
      "origin_id": 53,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 0,
      "type": "LATENT_UPSCALE_MODEL"
     },
     {
      "id": 200,
      "origin_id": 50,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 1,
      "type": "LATENT"
     },
     {
      "id": 201,
      "origin_id": 64,
      "origin_slot": 1,
      "target_id": 117,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 202,
      "origin_id": 65,
      "origin_slot": 1,
      "target_id": 117,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 203,
      "origin_id": 13,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 4,
      "type": "CLIP"
     },
     {
      "id": 204,
      "origin_id": 14,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 5,
      "type": "VAE"
     },
     {
      "id": 205,
      "origin_id": 116,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 6,
      "type": "STRING"
     },
     {
      "id": 206,
      "origin_id": 18,
      "origin_slot": 1,
      "target_id": 117,
      "target_slot": 7,
      "type": "INT"
     },
     {
      "id": 207,
      "origin_id": 57,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 8,
      "type": "MODEL"
     },
     {
      "id": 208,
      "origin_id": 66,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 9,
      "type": "STRING"
     },
     {
      "id": 209,
      "origin_id": 46,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 10,
      "type": "NOISE"
     },
     {
      "id": 210,
      "origin_id": 47,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 11,
      "type": "SAMPLER"
     },
     {
      "id": 211,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 117,
      "target_slot": 12,
      "type": "AUDIO"
     },
     {
      "id": 213,
      "origin_id": 67,
      "origin_slot": 0,
      "target_id": 118,
      "target_slot": 0,
      "type": "UPSCALE_MODEL"
     },
     {
      "id": 214,
      "origin_id": 51,
      "origin_slot": 0,
      "target_id": 118,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 215,
      "origin_id": 64,
      "origin_slot": 1,
      "target_id": 118,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 216,
      "origin_id": 65,
      "origin_slot": 1,
      "target_id": 118,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 217,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 118,
      "target_slot": 4,
      "type": "AUDIO"
     },
     {
      "id": 219,
      "origin_id": 5,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 0,
      "type": "FLOAT"
     },
     {
      "id": 221,
      "origin_id": 19,
      "origin_slot": 1,
      "target_id": 119,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 222,
      "origin_id": 20,
      "origin_slot": 1,
      "target_id": 119,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 223,
      "origin_id": 13,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 4,
      "type": "CLIP"
     },
     {
      "id": 224,
      "origin_id": 14,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 5,
      "type": "VAE"
     },
     {
      "id": 225,
      "origin_id": 15,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 6,
      "type": "VAE"
     },
     {
      "id": 227,
      "origin_id": 116,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 8,
      "type": "STRING"
     },
     {
      "id": 228,
      "origin_id": 12,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 9,
      "type": "MODEL"
     },
     {
      "id": 229,
      "origin_id": 46,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 10,
      "type": "NOISE"
     },
     {
      "id": 230,
      "origin_id": 47,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 11,
      "type": "SAMPLER"
     },
     {
      "id": 231,
      "origin_id": 48,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 12,
      "type": "SIGMAS"
     },
     {
      "id": 113,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 77,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 4,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 16,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 220,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 119,
      "target_slot": 1,
      "type": "VIDEO"
     },
     {
      "id": 226,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 119,
      "target_slot": 7,
      "type": "IMAGE"
     },
     {
      "id": 194,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 116,
      "target_slot": 2,
      "type": "STRING"
     },
     {
      "id": 191,
      "origin_id": 114,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 237,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 4,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 238,
      "origin_id": -10,
      "origin_slot": 4,
      "target_id": 5,
      "target_slot": 0,
      "type": "FLOAT"
     },
     {
      "id": 239,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 6,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 240,
      "origin_id": -10,
      "origin_slot": 6,
      "target_id": 7,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 241,
      "origin_id": -10,
      "origin_slot": 7,
      "target_id": 8,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 242,
      "origin_id": -10,
      "origin_slot": 8,
      "target_id": 71,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 243,
      "origin_id": -10,
      "origin_slot": 9,
      "target_id": 66,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 244,
      "origin_id": -10,
      "origin_slot": 10,
      "target_id": 76,
      "target_slot": 0,
      "type": "BOOLEAN"
     },
     {
      "id": 245,
      "origin_id": -10,
      "origin_slot": 11,
      "target_id": 9,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 246,
      "origin_id": -10,
      "origin_slot": 12,
      "target_id": 10,
      "target_slot": 1,
      "type": "COMBO"
     },
     {
      "id": 247,
      "origin_id": -10,
      "origin_slot": 13,
      "target_id": 13,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 248,
      "origin_id": -10,
      "origin_slot": 14,
      "target_id": 14,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 249,
      "origin_id": -10,
      "origin_slot": 15,
      "target_id": 15,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 250,
      "origin_id": -10,
      "origin_slot": 16,
      "target_id": 25,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 251,
      "origin_id": -10,
      "origin_slot": 17,
      "target_id": 53,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 252,
      "origin_id": -10,
      "origin_slot": 18,
      "target_id": 55,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 253,
      "origin_id": -10,
      "origin_slot": 19,
      "target_id": 56,
      "target_slot": 1,
      "type": "COMBO"
     },
     {
      "id": 254,
      "origin_id": -10,
      "origin_slot": 20,
      "target_id": 67,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 6,
      "origin_id": 17,
      "origin_slot": 2,
      "target_id": 18,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 7,
      "origin_id": 5,
      "origin_slot": 0,
      "target_id": 18,
      "target_slot": 1,
      "type": "FLOAT"
     },
     {
      "id": 8,
      "origin_id": 17,
      "origin_slot": 0,
      "target_id": 19,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 9,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 19,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 255,
      "origin_id": 6,
      "origin_slot": 0,
      "target_id": 19,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 11,
      "origin_id": 17,
      "origin_slot": 0,
      "target_id": 20,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 12,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 20,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 256,
      "origin_id": 6,
      "origin_slot": 0,
      "target_id": 20,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 14,
      "origin_id": 18,
      "origin_slot": 1,
      "target_id": 21,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 94,
      "origin_id": 17,
      "origin_slot": 0,
      "target_id": 64,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 95,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 64,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 96,
      "origin_id": 17,
      "origin_slot": 0,
      "target_id": 65,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 97,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 65,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 46,
      "origin_id": 13,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 47,
      "origin_id": 14,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 48,
      "origin_id": 15,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 2,
      "type": "VAE"
     },
     {
      "id": 53,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 45,
      "target_slot": 3,
      "type": "IMAGE"
     },
     {
      "id": 257,
      "origin_id": 23,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 7,
      "type": "IMAGE"
     },
     {
      "id": 258,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 10,
      "type": "AUDIO"
     },
     {
      "id": 259,
      "origin_id": 116,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 13,
      "type": "STRING"
     },
     {
      "id": 260,
      "origin_id": 19,
      "origin_slot": 1,
      "target_id": 45,
      "target_slot": 14,
      "type": "INT"
     },
     {
      "id": 261,
      "origin_id": 20,
      "origin_slot": 1,
      "target_id": 45,
      "target_slot": 15,
      "type": "INT"
     },
     {
      "id": 262,
      "origin_id": 18,
      "origin_slot": 1,
      "target_id": 45,
      "target_slot": 16,
      "type": "INT"
     }
    ],
    "extra": {}
   }
  ]
 },
 "config": {},
 "extra": {
  "ds": {
   "scale": 1,
   "offset": [
    60,
    60
   ]
  }
 },
 "version": 0.4
}