{
 "id": "00000000-0000-0000-0000-000000000000",
 "revision": 0,
 "last_node_id": 61,
 "last_link_id": 193,
 "nodes": [
  {
   "id": 1,
   "type": "LoadVideo",
   "pos": [
    0,
    0
   ],
   "size": [
    282.798828125,
    82
   ],
   "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": [
      179
     ]
    }
   ],
   "title": "Your video",
   "properties": {
    "Node name for S&R": "LoadVideo"
   },
   "widgets_values": [
    "swap.mp4",
    "image"
   ],
   "widgets_values_named": {
    "file": "swap.mp4",
    "upload": "image"
   }
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    322.798828125,
    0
   ],
   "size": [
    282.798828125,
    102
   ],
   "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": [
      180
     ]
    },
    {
     "localized_name": "MASK",
     "name": "MASK",
     "type": "MASK",
     "links": null
    }
   ],
   "title": "Character picture (sheet)",
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "character.png",
    "image"
   ],
   "widgets_values_named": {
    "image": "character.png",
    "upload": "image"
   }
  },
  {
   "id": 58,
   "type": "SaveVideo",
   "pos": [
    1305.59765625,
    0
   ],
   "size": [
    270,
    106
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "video",
     "name": "video",
     "type": "VIDEO",
     "link": 181
    },
    {
     "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": [
    "video/H3_character_swap",
    "auto",
    "auto",
    "auto"
   ],
   "widgets_values_named": {
    "filename_prefix": "video/H3_character_swap",
    "format": "auto",
    "format.codec": "auto",
    "codec": "auto"
   }
  },
  {
   "id": 59,
   "type": "127c66be-9558-48cc-8d96-e2d0eb545aca",
   "pos": [
    705.59765625,
    0
   ],
   "size": [
    520,
    338
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "label": "Your video",
     "localized_name": "video",
     "name": "video",
     "type": "VIDEO",
     "link": 179
    },
    {
     "label": "Character picture (sheet)",
     "localized_name": "ref_image_0",
     "name": "ref_images.ref_image_0",
     "shape": 7,
     "type": "IMAGE",
     "link": 180
    },
    {
     "label": "Who to replace",
     "name": "who",
     "type": "STRING",
     "widget": {
      "name": "who"
     },
     "link": null
    },
    {
     "label": "Seconds (0 = whole clip)",
     "name": "seconds",
     "type": "FLOAT",
     "widget": {
      "name": "seconds"
     },
     "link": null
    },
    {
     "label": "Megapixels",
     "name": "megapixels",
     "type": "FLOAT",
     "widget": {
      "name": "megapixels"
     },
     "link": null
    },
    {
     "label": "Turbo (4 steps)",
     "name": "turbo",
     "type": "BOOLEAN",
     "widget": {
      "name": "turbo"
     },
     "link": null
    },
    {
     "label": "Keep the original sound",
     "name": "keep_sound",
     "type": "BOOLEAN",
     "widget": {
      "name": "keep_sound"
     },
     "link": null
    },
    {
     "label": "Seed",
     "name": "seed",
     "type": "INT",
     "widget": {
      "name": "seed"
     },
     "link": null
    },
    {
     "label": "Model",
     "name": "model_file",
     "type": "COMBO",
     "widget": {
      "name": "model_file"
     },
     "link": null
    },
    {
     "label": "Turbo LoRA (4 steps)",
     "name": "turbo_lora",
     "type": "COMBO",
     "widget": {
      "name": "turbo_lora"
     },
     "link": null
    },
    {
     "label": "Character Swap LoRA",
     "name": "swap_lora",
     "type": "COMBO",
     "widget": {
      "name": "swap_lora"
     },
     "link": null
    },
    {
     "label": "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
    }
   ],
   "outputs": [
    {
     "label": "Result",
     "localized_name": "VIDEO",
     "name": "VIDEO",
     "type": "VIDEO",
     "links": [
      181
     ]
    }
   ],
   "title": "MiniMax H3 Character Swap",
   "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": "h3_character_swap_pro4500_1000.safetensors",
      "url": "https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.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"
     }
    ],
    "previewExposures": []
   },
   "widgets_values": [
    "person in the red jacket",
    0,
    0.4,
    true,
    true,
    42,
    "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
    "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
    "h3_character_swap_pro4500_1000.safetensors",
    "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
    "minimax_h3_video_vae_int8_convrot.safetensors",
    "minimax_h3_audio_vae_fp32.safetensors"
   ],
   "widgets_values_named": {
    "who": "person in the red jacket",
    "seconds": 0,
    "megapixels": 0.4,
    "turbo": true,
    "keep_sound": true,
    "seed": 42,
    "model_file": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
    "turbo_lora": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
    "swap_lora": "h3_character_swap_pro4500_1000.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"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 60,
   "type": "MarkdownNote",
   "pos": [
    -680,
    0
   ],
   "size": [
    620,
    462
   ],
   "flags": {},
   "order": 2,
   "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 + one picture of a character -> the same clip with that person swapped (the Higgsfield Genjutsu idea, run on your own PC: nothing is uploaded and nothing blocks the clip).\n\n1. Load **your video** and a **character picture** (best: a sheet with a front view, a back view and the face).\n2. **Who to replace**: one sentence, e.g. `big man in the black and gold patterned outfit`. It goes into the Character Swap LoRA card's prompt.\n3. **Seconds** = 0 does the whole clip: it runs in 5.2 s passes, and every pass continues from the last 22 frames of the one before (core Start Loop / End Loop nodes). Or set a number to do only the start.\n4. **Turbo** on = 4 steps (the Ref2V turbo LoRA). Off = 20 steps, much slower.\n5. **Keep the original sound** puts your clip's own audio back on.\n6. **Model files**: all six loaders are on the main node. If your files sit in a subfolder (e.g. `MiniMax-H3/`), pick them there once.\n\n| Clip (0.4 MP, Turbo) | Length | Passes | RTX 3060 |\n|---|---|---|---|\n| wheelbarrow -> penguin | 6.7 s | 2 | 11:56 |\n| van -> raccoon | 7.0 s | 2 | 10:53 |\n| wrestler -> penguin | 8.3 s | 2 | 11:25 |\n| gym guy -> dog | 8.1 s | 2 | 11:17 |\n| dance -> dog | 9.8 s | 3 | 17:27 |\n\nFrom the LoRA card: shots of 4-5 s work best, one person at a time, hard cuts in the clip confuse it. Megapixels is the time knob (0.4 MP fits 12 GB; more spills into RAM).\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 + one picture of a character -> the same clip with that person swapped (the Higgsfield Genjutsu idea, run on your own PC: nothing is uploaded and nothing blocks the clip).\n\n1. Load **your video** and a **character picture** (best: a sheet with a front view, a back view and the face).\n2. **Who to replace**: one sentence, e.g. `big man in the black and gold patterned outfit`. It goes into the Character Swap LoRA card's prompt.\n3. **Seconds** = 0 does the whole clip: it runs in 5.2 s passes, and every pass continues from the last 22 frames of the one before (core Start Loop / End Loop nodes). Or set a number to do only the start.\n4. **Turbo** on = 4 steps (the Ref2V turbo LoRA). Off = 20 steps, much slower.\n5. **Keep the original sound** puts your clip's own audio back on.\n6. **Model files**: all six loaders are on the main node. If your files sit in a subfolder (e.g. `MiniMax-H3/`), pick them there once.\n\n| Clip (0.4 MP, Turbo) | Length | Passes | RTX 3060 |\n|---|---|---|---|\n| wheelbarrow -> penguin | 6.7 s | 2 | 11:56 |\n| van -> raccoon | 7.0 s | 2 | 10:53 |\n| wrestler -> penguin | 8.3 s | 2 | 11:25 |\n| gym guy -> dog | 8.1 s | 2 | 11:17 |\n| dance -> dog | 9.8 s | 3 | 17:27 |\n\nFrom the LoRA card: shots of 4-5 s work best, one person at a time, hard cuts in the clip confuse it. Megapixels is the time knob (0.4 MP fits 12 GB; more spills into RAM).\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": 61,
   "type": "MarkdownNote",
   "pos": [
    -680,
    502
   ],
   "size": [
    620,
    483
   ],
   "flags": {},
   "order": 3,
   "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| Turbo (4 steps) | `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\n**[akatz-ai/MiniMax-H3-Character-Swap-LoRA](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| the swap | `loras/` | [h3_character_swap_pro4500_1000.safetensors](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors) | 0.2 GB |\n\n_Tested on: RTX 3060 12 GB · 32 GB RAM · ComfyUI 0.39.2._\n\nNo custom nodes: core ComfyUI **0.39 or newer** (loop nodes + MiniMax H3). License: MiniMax H3 Community License (the model and the LoRA) - read it before commercial use. Swap in characters, not real people's faces."
   ],
   "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| Turbo (4 steps) | `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\n**[akatz-ai/MiniMax-H3-Character-Swap-LoRA](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA)**\n\n| For | Folder | File (click = download) | Size |\n|---|---|---|---|\n| the swap | `loras/` | [h3_character_swap_pro4500_1000.safetensors](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors) | 0.2 GB |\n\n_Tested on: RTX 3060 12 GB · 32 GB RAM · ComfyUI 0.39.2._\n\nNo custom nodes: core ComfyUI **0.39 or newer** (loop nodes + MiniMax H3). License: MiniMax H3 Community License (the model and the LoRA) - read it before commercial use. Swap in characters, not real people's faces."
   },
   "color": "#432",
   "bgcolor": "#653"
  }
 ],
 "links": [
  [
   179,
   1,
   0,
   59,
   0,
   "VIDEO"
  ],
  [
   180,
   2,
   0,
   59,
   1,
   "IMAGE"
  ],
  [
   181,
   59,
   0,
   58,
   0,
   "VIDEO"
  ]
 ],
 "groups": [],
 "definitions": {
  "subgraphs": [
   {
    "id": "127c66be-9558-48cc-8d96-e2d0eb545aca",
    "version": 1,
    "state": {
     "lastGroupId": 8,
     "lastNodeId": 61,
     "lastLinkId": 193,
     "lastRerouteId": 0
    },
    "revision": 0,
    "config": {},
    "name": "MiniMax H3 Character Swap",
    "inputNode": {
     "id": -10,
     "bounding": [
      -360,
      0,
      128,
      88
     ]
    },
    "outputNode": {
     "id": -20,
     "bounding": [
      4230,
      0,
      128,
      68
     ]
    },
    "inputs": [
     {
      "id": "67fd9153-bbd2-400d-a428-21ffe67e5d61",
      "name": "video",
      "type": "VIDEO",
      "linkIds": [
       91
      ],
      "localized_name": "video",
      "label": "Your video",
      "pos": [
       51,
       24
      ]
     },
     {
      "id": "b006cdef-7857-4470-b99d-bf3123556ea7",
      "name": "ref_images.ref_image_0",
      "type": "IMAGE",
      "linkIds": [
       140
      ],
      "localized_name": "ref_image_0",
      "label": "Character picture (sheet)",
      "shape": 7,
      "pos": [
       51,
       44
      ]
     },
     {
      "id": "a63990f0-92b3-4e02-85ce-98e6ee3a007c",
      "name": "who",
      "type": "STRING",
      "linkIds": [
       182
      ],
      "label": "Who to replace",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "b986facf-8867-4a57-9038-93133cc228f0",
      "name": "seconds",
      "type": "FLOAT",
      "linkIds": [
       183
      ],
      "label": "Seconds (0 = whole clip)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "9eea3acd-cc39-474d-be03-c32998be6180",
      "name": "megapixels",
      "type": "FLOAT",
      "linkIds": [
       184
      ],
      "label": "Megapixels",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "eb979dd5-a5cc-40b3-af18-05c20fa2649f",
      "name": "turbo",
      "type": "BOOLEAN",
      "linkIds": [
       185
      ],
      "label": "Turbo (4 steps)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "5d543ba0-0e60-4be8-9033-8fc06ddebe0b",
      "name": "keep_sound",
      "type": "BOOLEAN",
      "linkIds": [
       186
      ],
      "label": "Keep the original sound",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "c2e3237c-574e-47ad-a4cd-c97b3e3b695e",
      "name": "seed",
      "type": "INT",
      "linkIds": [
       187
      ],
      "label": "Seed",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "9f2a406c-d48c-4dde-8016-5694d4ba10ec",
      "name": "model_file",
      "type": "COMBO",
      "linkIds": [
       188
      ],
      "label": "Model",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "15dd5873-eb3e-4192-9fb8-8c2bd866d107",
      "name": "turbo_lora",
      "type": "COMBO",
      "linkIds": [
       189
      ],
      "label": "Turbo LoRA (4 steps)",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "61a3131d-c559-43d6-a916-140ebfc506a6",
      "name": "swap_lora",
      "type": "COMBO",
      "linkIds": [
       190
      ],
      "label": "Character Swap LoRA",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "f4207419-28cc-4390-8f68-969fc5cb4b20",
      "name": "text_encoder",
      "type": "COMBO",
      "linkIds": [
       191
      ],
      "label": "Text encoder",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "3e0c972d-817d-4455-8d12-36b08e18ebdf",
      "name": "video_vae",
      "type": "COMBO",
      "linkIds": [
       192
      ],
      "label": "Video VAE",
      "pos": [
       0,
       0
      ]
     },
     {
      "id": "5fbc856e-72ff-4c66-8cb6-4a44f5a13aa7",
      "name": "audio_vae",
      "type": "COMBO",
      "linkIds": [
       193
      ],
      "label": "Audio VAE",
      "pos": [
       0,
       0
      ]
     }
    ],
    "outputs": [
     {
      "id": "c5ba5f94-aaaa-4e3c-8ae0-b54407799cf8",
      "name": "VIDEO",
      "type": "VIDEO",
      "linkIds": [
       178
      ],
      "localized_name": "VIDEO",
      "label": "Result",
      "pos": [
       24,
       24
      ]
     }
    ],
    "widgets": [],
    "nodes": [
     {
      "id": 3,
      "type": "PrimitiveString",
      "pos": [
       30,
       60
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "STRING",
        "widget": {
         "name": "value"
        },
        "link": 182
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         90
        ]
       }
      ],
      "title": "Who to replace (one sentence)",
      "properties": {
       "Node name for S&R": "PrimitiveString"
      },
      "widgets_values": [
       "person in the red jacket"
      ],
      "widgets_values_named": {
       "value": "person in the red jacket"
      }
     },
     {
      "id": 4,
      "type": "StringReplace",
      "pos": [
       30,
       162
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "string",
        "name": "string",
        "type": "STRING",
        "widget": {
         "name": "string"
        },
        "link": null
       },
       {
        "localized_name": "find",
        "name": "find",
        "type": "STRING",
        "widget": {
         "name": "find"
        },
        "link": null
       },
       {
        "localized_name": "replace",
        "name": "replace",
        "type": "STRING",
        "widget": {
         "name": "replace"
        },
        "link": 90
       }
      ],
      "outputs": [
       {
        "localized_name": "STRING",
        "name": "STRING",
        "type": "STRING",
        "links": [
         135
        ]
       }
      ],
      "title": "Prompt (LoRA card + your sentence)",
      "properties": {
       "Node name for S&R": "StringReplace"
      },
      "widgets_values": [
       "Replace only the {who} in <Video 1> with the character in <Picture 1>. Keep the replacement character's identity, outfit, and art style from <Picture 1>. Preserve the source video's camera, background, lighting, objects, and all other people. Match the target person's position, scale, pose, and movement. Do not show the reference sheet or its background.",
       "{who}",
       ""
      ],
      "widgets_values_named": {
       "string": "Replace only the {who} in <Video 1> with the character in <Picture 1>. Keep the replacement character's identity, outfit, and art style from <Picture 1>. Preserve the source video's camera, background, lighting, objects, and all other people. Match the target person's position, scale, pose, and movement. Do not show the reference sheet or its background.",
       "find": "{who}",
       "replace": ""
      }
     },
     {
      "id": 5,
      "type": "PrimitiveFloat",
      "pos": [
       30,
       406
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "FLOAT",
        "widget": {
         "name": "value"
        },
        "link": 184
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         99,
         102
        ]
       }
      ],
      "title": "Megapixels",
      "properties": {
       "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
       0.4
      ],
      "widgets_values_named": {
       "value": 0.4
      }
     },
     {
      "id": 6,
      "type": "PrimitiveFloat",
      "pos": [
       30,
       508
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "FLOAT",
        "widget": {
         "name": "value"
        },
        "link": 183
       }
      ],
      "outputs": [
       {
        "localized_name": "FLOAT",
        "name": "FLOAT",
        "type": "FLOAT",
        "links": [
         94
        ]
       }
      ],
      "title": "Seconds (0 = whole clip)",
      "properties": {
       "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
       0
      ],
      "widgets_values_named": {
       "value": 0
      }
     },
     {
      "id": 7,
      "type": "PrimitiveBoolean",
      "pos": [
       30,
       610
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "BOOLEAN",
        "widget": {
         "name": "value"
        },
        "link": 185
       }
      ],
      "outputs": [
       {
        "localized_name": "BOOLEAN",
        "name": "BOOLEAN",
        "type": "BOOLEAN",
        "links": [
         111,
         115
        ]
       }
      ],
      "title": "Turbo (4 steps)",
      "properties": {
       "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
       true
      ],
      "widgets_values_named": {
       "value": true
      }
     },
     {
      "id": 8,
      "type": "PrimitiveBoolean",
      "pos": [
       30,
       712
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "BOOLEAN",
        "widget": {
         "name": "value"
        },
        "link": 186
       }
      ],
      "outputs": [
       {
        "localized_name": "BOOLEAN",
        "name": "BOOLEAN",
        "type": "BOOLEAN",
        "links": [
         174
        ]
       }
      ],
      "title": "Keep the original sound",
      "properties": {
       "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
       true
      ],
      "widgets_values_named": {
       "value": true
      }
     },
     {
      "id": 9,
      "type": "PrimitiveInt",
      "pos": [
       30,
       814
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": 187
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         150
        ]
       }
      ],
      "title": "Seed",
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       42,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 42,
       "fixed": "fixed"
      }
     },
     {
      "id": 28,
      "type": "PrimitiveInt",
      "pos": [
       30,
       940
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         116
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       4,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 4,
       "fixed": "fixed"
      }
     },
     {
      "id": 29,
      "type": "PrimitiveInt",
      "pos": [
       470,
       60
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "value",
        "name": "value",
        "type": "INT",
        "widget": {
         "name": "value"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         117
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
       20,
       "fixed"
      ],
      "widgets_values_named": {
       "value": 20,
       "fixed": "fixed"
      }
     },
     {
      "id": 30,
      "type": "ComfySwitchNode",
      "pos": [
       470,
       186
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 15,
      "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": [
         152
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 21,
      "type": "UNETLoader",
      "pos": [
       870,
       60
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "unet_name",
        "name": "unet_name",
        "type": "COMBO",
        "widget": {
         "name": "unet_name"
        },
        "link": 188
       },
       {
        "localized_name": "weight_dtype",
        "name": "weight_dtype",
        "type": "COMBO",
        "widget": {
         "name": "weight_dtype"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         110,
         113
        ]
       }
      ],
      "title": "MiniMax H3 Ref2VA int8",
      "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": 25,
      "type": "CLIPLoader",
      "pos": [
       870,
       186
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip_name",
        "name": "clip_name",
        "type": "COMBO",
        "widget": {
         "name": "clip_name"
        },
        "link": 191
       },
       {
        "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": [
         134
        ]
       }
      ],
      "title": "Text encoder (nvfp4)",
      "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": 26,
      "type": "VAELoader",
      "pos": [
       870,
       336
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "vae_name",
        "name": "vae_name",
        "type": "COMBO",
        "widget": {
         "name": "vae_name"
        },
        "link": 192
       }
      ],
      "outputs": [
       {
        "localized_name": "VAE",
        "name": "VAE",
        "type": "VAE",
        "links": [
         138,
         145,
         161
        ]
       }
      ],
      "title": "Video VAE (int8)",
      "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": 27,
      "type": "VAELoader",
      "pos": [
       870,
       438
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "vae_name",
        "name": "vae_name",
        "type": "COMBO",
        "widget": {
         "name": "vae_name"
        },
        "link": 193
       }
      ],
      "outputs": [
       {
        "localized_name": "VAE",
        "name": "VAE",
        "type": "VAE",
        "links": [
         139
        ]
       }
      ],
      "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": 10,
      "type": "GetVideoComponents",
      "pos": [
       440,
       1206
      ],
      "size": [
       193.530859375,
       106
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "video",
        "name": "video",
        "type": "VIDEO",
        "link": 91
       }
      ],
      "outputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "links": [
         92,
         95
        ]
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "links": [
         132,
         172
        ]
       },
       {
        "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
       }
      ],
      "properties": {
       "Node name for S&R": "GetVideoComponents"
      }
     },
     {
      "id": 11,
      "type": "GetImageSize",
      "pos": [
       440,
       1356
      ],
      "size": [
       140,
       66
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 92
       }
      ],
      "outputs": [
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "links": [
         97,
         100
        ]
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "links": [
         98,
         101
        ]
       },
       {
        "localized_name": "batch_size",
        "name": "batch_size",
        "type": "INT",
        "links": [
         93
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "GetImageSize"
      }
     },
     {
      "id": 12,
      "type": "ComfyMathExpression",
      "pos": [
       2810,
       1206
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 93
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 94
       },
       {
        "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": [
         96,
         103,
         104,
         107,
         109
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a if b <= 0 else max(5, min(a, round(b * 24)))"
      ],
      "widgets_values_named": {
       "expression": "a if b <= 0 else max(5, min(a, round(b * 24)))"
      }
     },
     {
      "id": 13,
      "type": "ImageFromBatch",
      "pos": [
       440,
       1466
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 95
       },
       {
        "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": 96
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         118
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 14,
      "type": "ComfyMathExpression",
      "pos": [
       2810,
       1450
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 97
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 98
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 99
       },
       {
        "localized_name": "d",
        "name": "values.d",
        "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": [
         119,
         136
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(256, round(sqrt(c * 1000000 * a / b) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(256, round(sqrt(c * 1000000 * a / b) / 32) * 32)"
      }
     },
     {
      "id": 15,
      "type": "ComfyMathExpression",
      "pos": [
       2810,
       1694
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 100
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 101
       },
       {
        "localized_name": "c",
        "name": "values.c",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 102
       },
       {
        "localized_name": "d",
        "name": "values.d",
        "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": [
         120,
         137
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(256, round(sqrt(c * 1000000 * b / a) / 32) * 32)"
      ],
      "widgets_values_named": {
       "expression": "max(256, round(sqrt(c * 1000000 * b / a) / 32) * 32)"
      }
     },
     {
      "id": 16,
      "type": "ComfyMathExpression",
      "pos": [
       2810,
       1938
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 103
       },
       {
        "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": [
         105,
         108,
         127
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "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": 17,
      "type": "ComfyMathExpression",
      "pos": [
       3250,
       1206
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 104
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 105
       },
       {
        "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": [
         106,
         171
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "min(a, b * 102 + 22)"
      ],
      "widgets_values_named": {
       "expression": "min(a, b * 102 + 22)"
      }
     },
     {
      "id": 18,
      "type": "ComfyMathExpression",
      "pos": [
       3250,
       1450
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 106
       },
       {
        "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": [
         173
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 19,
      "type": "ComfyMathExpression",
      "pos": [
       3250,
       1694
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 107
       },
       {
        "localized_name": "b",
        "name": "values.b",
        "shape": 7,
        "type": "FLOAT,INT,BOOLEAN",
        "link": 108
       },
       {
        "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": [
         124
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "max(1, b * 102 + 22 - a)"
      ],
      "widgets_values_named": {
       "expression": "max(1, b * 102 + 22 - a)"
      }
     },
     {
      "id": 20,
      "type": "ComfyMathExpression",
      "pos": [
       3250,
       1938
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 109
       },
       {
        "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
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a - 1"
      ],
      "widgets_values_named": {
       "expression": "a - 1"
      }
     },
     {
      "id": 22,
      "type": "LoraLoaderModelOnly",
      "pos": [
       30,
       1206
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 110
       },
       {
        "localized_name": "lora_name",
        "name": "lora_name",
        "type": "COMBO",
        "widget": {
         "name": "lora_name"
        },
        "link": 189
       },
       {
        "localized_name": "strength_model",
        "name": "strength_model",
        "type": "FLOAT",
        "widget": {
         "name": "strength_model"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         112
        ]
       }
      ],
      "title": "Ref2V turbo LoRA (4 steps)",
      "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": 23,
      "type": "ComfySwitchNode",
      "pos": [
       3250,
       2182
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 113
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 112
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 111
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         114
        ]
       }
      ],
      "title": "Turbo on/off",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 24,
      "type": "LoraLoaderModelOnly",
      "pos": [
       30,
       1332
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 114
       },
       {
        "localized_name": "lora_name",
        "name": "lora_name",
        "type": "COMBO",
        "widget": {
         "name": "lora_name"
        },
        "link": 190
       },
       {
        "localized_name": "strength_model",
        "name": "strength_model",
        "type": "FLOAT",
        "widget": {
         "name": "strength_model"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "MODEL",
        "name": "MODEL",
        "type": "MODEL",
        "links": [
         151,
         153
        ]
       }
      ],
      "title": "Character Swap LoRA",
      "properties": {
       "Node name for S&R": "LoraLoaderModelOnly",
       "models": [
        {
         "name": "h3_character_swap_pro4500_1000.safetensors",
         "url": "https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors",
         "directory": "loras"
        }
       ]
      },
      "widgets_values": [
       "h3_character_swap_pro4500_1000.safetensors",
       1
      ],
      "widgets_values_named": {
       "lora_name": "h3_character_swap_pro4500_1000.safetensors",
       "strength_model": 1
      }
     },
     {
      "id": 31,
      "type": "ImageScale",
      "pos": [
       1150,
       1206
      ],
      "size": [
       270,
       130
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 118
       },
       {
        "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": 119
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 120
       },
       {
        "localized_name": "crop",
        "name": "crop",
        "type": "COMBO",
        "widget": {
         "name": "crop"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         121,
         125
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
       "lanczos",
       512,
       512,
       "disabled"
      ],
      "widgets_values_named": {
       "upscale_method": "lanczos",
       "width": 512,
       "height": 512,
       "crop": "disabled"
      }
     },
     {
      "id": 32,
      "type": "ImageFromBatch",
      "pos": [
       440,
       1592
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 121
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": 122
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         123
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 33,
      "type": "RepeatImageBatch",
      "pos": [
       440,
       1718
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 123
       },
       {
        "localized_name": "amount",
        "name": "amount",
        "type": "INT",
        "widget": {
         "name": "amount"
        },
        "link": 124
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         126
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "RepeatImageBatch"
      },
      "widgets_values": [
       1
      ],
      "widgets_values_named": {
       "amount": 1
      }
     },
     {
      "id": 34,
      "type": "BatchImagesNode",
      "pos": [
       2400,
       1206
      ],
      "size": [
       140,
       86
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image0",
        "name": "images.image0",
        "type": "IMAGE",
        "link": 125
       },
       {
        "localized_name": "image1",
        "name": "images.image1",
        "shape": 7,
        "type": "IMAGE",
        "link": 126
       },
       {
        "localized_name": "image2",
        "name": "images.image2",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         130
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "BatchImagesNode"
      }
     },
     {
      "id": 35,
      "type": "StartLoop",
      "pos": [
       1150,
       1380
      ],
      "size": [
       349.177734375,
       186
      ],
      "flags": {},
      "order": 35,
      "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": 127
       },
       {
        "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": [
         128
        ]
       },
       {
        "localized_name": "is_first",
        "name": "is_first",
        "type": "BOOLEAN",
        "links": [
         147,
         163
        ]
       },
       {
        "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": [
         146
        ]
       }
      ],
      "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": 36,
      "type": "ComfyMathExpression",
      "pos": [
       3690,
       1206
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 36,
      "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": null
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": [
         129,
         131
        ]
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a * 102"
      ],
      "widgets_values_named": {
       "expression": "a * 102"
      }
     },
     {
      "id": 37,
      "type": "ComfyMathExpression",
      "pos": [
       3690,
       1450
      ],
      "size": [
       400,
       200
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "a",
        "name": "values.a",
        "type": "FLOAT,INT,BOOLEAN",
        "link": 129
       },
       {
        "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": [
         133
        ]
       },
       {
        "localized_name": "INT",
        "name": "INT",
        "type": "INT",
        "links": null
       },
       {
        "localized_name": "BOOL",
        "name": "BOOL",
        "type": "BOOLEAN",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
       "a / 24"
      ],
      "widgets_values_named": {
       "expression": "a / 24"
      }
     },
     {
      "id": 38,
      "type": "ImageFromBatch",
      "pos": [
       440,
       1820
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 130
       },
       {
        "localized_name": "batch_index",
        "name": "batch_index",
        "type": "INT",
        "widget": {
         "name": "batch_index"
        },
        "link": 131
       },
       {
        "localized_name": "length",
        "name": "length",
        "type": "INT",
        "widget": {
         "name": "length"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         141
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       124
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 124
      }
     },
     {
      "id": 39,
      "type": "TrimAudioDuration",
      "pos": [
       440,
       1946
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "link": 132
       },
       {
        "localized_name": "start_index",
        "name": "start_index",
        "type": "FLOAT",
        "widget": {
         "name": "start_index"
        },
        "link": 133
       },
       {
        "localized_name": "duration",
        "name": "duration",
        "type": "FLOAT",
        "widget": {
         "name": "duration"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "AUDIO",
        "name": "AUDIO",
        "type": "AUDIO",
        "links": [
         142
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "TrimAudioDuration"
      },
      "widgets_values": [
       0,
       5.17
      ],
      "widgets_values_named": {
       "start_index": 0,
       "duration": 5.17
      }
     },
     {
      "id": 40,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
       1150,
       1610
      ],
      "size": [
       400,
       384
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "clip",
        "name": "clip",
        "type": "CLIP",
        "link": 134
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "shape": 7,
        "type": "VAE",
        "link": 138
       },
       {
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": 139
       },
       {
        "localized_name": "ref_image_0",
        "name": "ref_images.ref_image_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 140
       },
       {
        "localized_name": "ref_image_1",
        "name": "ref_images.ref_image_1",
        "shape": 7,
        "type": "IMAGE",
        "link": null
       },
       {
        "localized_name": "ref_video_0",
        "name": "ref_videos.ref_video_0",
        "shape": 7,
        "type": "IMAGE",
        "link": 141
       },
       {
        "localized_name": "ref_video_1",
        "name": "ref_videos.ref_video_1",
        "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": 142
       },
       {
        "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": 135
       },
       {
        "localized_name": "width",
        "name": "width",
        "type": "INT",
        "widget": {
         "name": "width"
        },
        "link": 136
       },
       {
        "localized_name": "height",
        "name": "height",
        "type": "INT",
        "widget": {
         "name": "height"
        },
        "link": 137
       },
       {
        "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
       }
      ],
      "outputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "links": [
         143,
         148
        ]
       },
       {
        "localized_name": "LATENT",
        "name": "LATENT",
        "type": "LATENT",
        "links": [
         144,
         159
        ]
       }
      ],
      "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": 41,
      "type": "MiniMaxH3AddGuide",
      "pos": [
       1150,
       2038
      ],
      "size": [
       274.640234375,
       158
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "positive",
        "name": "positive",
        "type": "CONDITIONING",
        "link": 143
       },
       {
        "localized_name": "latent",
        "name": "latent",
        "type": "LATENT",
        "link": 144
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "shape": 7,
        "type": "VAE",
        "link": 145
       },
       {
        "localized_name": "audio_vae",
        "name": "audio_vae",
        "shape": 7,
        "type": "VAE",
        "link": null
       },
       {
        "localized_name": "image",
        "name": "image",
        "shape": 7,
        "type": "IMAGE",
        "link": 146
       },
       {
        "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": [
         149
        ]
       }
      ],
      "title": "Continue from the last 22 frames",
      "properties": {
       "Node name for S&R": "MiniMaxH3AddGuide"
      },
      "widgets_values": [
       0
      ],
      "widgets_values_named": {
       "frame_idx": 0
      }
     },
     {
      "id": 42,
      "type": "ComfySwitchNode",
      "pos": [
       3690,
       1694
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 149
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 148
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 147
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         154
        ]
       }
      ],
      "title": "First pass? no guide",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 43,
      "type": "RandomNoise",
      "pos": [
       1990,
       1206
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise_seed",
        "name": "noise_seed",
        "type": "INT",
        "widget": {
         "name": "noise_seed"
        },
        "link": 150
       }
      ],
      "outputs": [
       {
        "localized_name": "NOISE",
        "name": "NOISE",
        "type": "NOISE",
        "links": [
         155
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
       0,
       "randomize"
      ],
      "widgets_values_named": {
       "noise_seed": 0,
       "control_after_generate": "randomize"
      }
     },
     {
      "id": 44,
      "type": "KSamplerSelect",
      "pos": [
       1990,
       1332
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 12,
      "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": [
         157
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
       "res_multistep"
      ],
      "widgets_values_named": {
       "sampler_name": "res_multistep"
      }
     },
     {
      "id": 45,
      "type": "BasicScheduler",
      "pos": [
       1990,
       1434
      ],
      "size": [
       270,
       106
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 151
       },
       {
        "localized_name": "scheduler",
        "name": "scheduler",
        "type": "COMBO",
        "widget": {
         "name": "scheduler"
        },
        "link": null
       },
       {
        "localized_name": "steps",
        "name": "steps",
        "type": "INT",
        "widget": {
         "name": "steps"
        },
        "link": 152
       },
       {
        "localized_name": "denoise",
        "name": "denoise",
        "type": "FLOAT",
        "widget": {
         "name": "denoise"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "SIGMAS",
        "name": "SIGMAS",
        "type": "SIGMAS",
        "links": [
         158
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
       "simple",
       20,
       1
      ],
      "widgets_values_named": {
       "scheduler": "simple",
       "steps": 20,
       "denoise": 1
      }
     },
     {
      "id": 46,
      "type": "BasicGuider",
      "pos": [
       1990,
       1584
      ],
      "size": [
       159.568359375,
       46
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "model",
        "name": "model",
        "type": "MODEL",
        "link": 153
       },
       {
        "localized_name": "conditioning",
        "name": "conditioning",
        "type": "CONDITIONING",
        "link": 154
       }
      ],
      "outputs": [
       {
        "localized_name": "GUIDER",
        "name": "GUIDER",
        "type": "GUIDER",
        "links": [
         156
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "BasicGuider"
      }
     },
     {
      "id": 47,
      "type": "SamplerCustomAdvanced",
      "pos": [
       1990,
       1674
      ],
      "size": [
       212.3638671875,
       106
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "noise",
        "name": "noise",
        "type": "NOISE",
        "link": 155
       },
       {
        "localized_name": "guider",
        "name": "guider",
        "type": "GUIDER",
        "link": 156
       },
       {
        "localized_name": "sampler",
        "name": "sampler",
        "type": "SAMPLER",
        "link": 157
       },
       {
        "localized_name": "sigmas",
        "name": "sigmas",
        "type": "SIGMAS",
        "link": 158
       },
       {
        "localized_name": "latent_image",
        "name": "latent_image",
        "type": "LATENT",
        "link": 159
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "LATENT",
        "links": [
         160
        ]
       },
       {
        "localized_name": "denoised_output",
        "name": "denoised_output",
        "type": "LATENT",
        "links": null
       }
      ],
      "properties": {
       "Node name for S&R": "SamplerCustomAdvanced"
      }
     },
     {
      "id": 48,
      "type": "VAEDecode",
      "pos": [
       2400,
       1336
      ],
      "size": [
       140,
       46
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "samples",
        "name": "samples",
        "type": "LATENT",
        "link": 160
       },
       {
        "localized_name": "vae",
        "name": "vae",
        "type": "VAE",
        "link": 161
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         162,
         164,
         166
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "VAEDecode"
      }
     },
     {
      "id": 49,
      "type": "ImageFromBatch",
      "pos": [
       440,
       2072
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 162
       },
       {
        "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": [
         165
        ]
       }
      ],
      "title": "Drop the 22 repeated frames",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       22,
       4096
      ],
      "widgets_values_named": {
       "batch_index": 22,
       "length": 4096
      }
     },
     {
      "id": 50,
      "type": "ComfySwitchNode",
      "pos": [
       3690,
       1816
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": 165
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 164
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 163
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         167
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 51,
      "type": "ImageFromBatch",
      "pos": [
       750,
       1206
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 48,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 166
       },
       {
        "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": [
         168
        ]
       }
      ],
      "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": 52,
      "type": "EndLoop",
      "pos": [
       1590,
       1206
      ],
      "size": [
       270,
       98
      ],
      "flags": {},
      "order": 49,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "output_value",
        "name": "output_value",
        "shape": 7,
        "type": "*",
        "link": 167
       },
       {
        "localized_name": "next_iteration_value",
        "name": "next_iteration_value",
        "shape": 7,
        "type": "*",
        "link": 168
       },
       {
        "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": [
         169
        ]
       }
      ],
      "title": "End Loop (collects every pass)",
      "properties": {
       "Node name for S&R": "EndLoop"
      },
      "widgets_values": [
       true
      ],
      "widgets_values_named": {
       "accumulate": true
      }
     },
     {
      "id": 53,
      "type": "RebatchImages",
      "pos": [
       1590,
       1348
      ],
      "size": [
       270,
       58
      ],
      "flags": {},
      "order": 50,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 169
       },
       {
        "localized_name": "batch_size",
        "name": "batch_size",
        "type": "INT",
        "widget": {
         "name": "batch_size"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "shape": 6,
        "type": "IMAGE",
        "links": [
         170
        ]
       }
      ],
      "title": "Join the passes",
      "properties": {
       "Node name for S&R": "RebatchImages"
      },
      "widgets_values": [
       4096
      ],
      "widgets_values_named": {
       "batch_size": 4096
      }
     },
     {
      "id": 54,
      "type": "ImageFromBatch",
      "pos": [
       750,
       1332
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "image",
        "name": "image",
        "type": "IMAGE",
        "link": 170
       },
       {
        "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": 171
       }
      ],
      "outputs": [
       {
        "localized_name": "IMAGE",
        "name": "IMAGE",
        "type": "IMAGE",
        "links": [
         176
        ]
       }
      ],
      "title": "Cut to the clip's length",
      "properties": {
       "Node name for S&R": "ImageFromBatch"
      },
      "widgets_values": [
       0,
       1
      ],
      "widgets_values_named": {
       "batch_index": 0,
       "length": 1
      }
     },
     {
      "id": 55,
      "type": "TrimAudioDuration",
      "pos": [
       750,
       1458
      ],
      "size": [
       270,
       82
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "audio",
        "name": "audio",
        "type": "AUDIO",
        "link": 172
       },
       {
        "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": 173
       }
      ],
      "outputs": [
       {
        "localized_name": "AUDIO",
        "name": "AUDIO",
        "type": "AUDIO",
        "links": [
         175
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "TrimAudioDuration"
      },
      "widgets_values": [
       0,
       60
      ],
      "widgets_values_named": {
       "start_index": 0,
       "duration": 60
      }
     },
     {
      "id": 56,
      "type": "ComfySwitchNode",
      "pos": [
       3690,
       1938
      ],
      "size": [
       270,
       78
      ],
      "flags": {},
      "order": 53,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "on_false",
        "name": "on_false",
        "shape": 7,
        "type": "*",
        "link": null
       },
       {
        "localized_name": "on_true",
        "name": "on_true",
        "shape": 7,
        "type": "*",
        "link": 175
       },
       {
        "localized_name": "switch",
        "name": "switch",
        "type": "BOOLEAN",
        "widget": {
         "name": "switch"
        },
        "link": 174
       }
      ],
      "outputs": [
       {
        "localized_name": "output",
        "name": "output",
        "type": "*",
        "links": [
         177
        ]
       }
      ],
      "title": "Original sound (if on)",
      "properties": {
       "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
       false
      ],
      "widgets_values_named": {
       "switch": false
      }
     },
     {
      "id": 57,
      "type": "CreateVideo",
      "pos": [
       2400,
       1426
      ],
      "size": [
       270,
       150
      ],
      "flags": {},
      "order": 54,
      "mode": 0,
      "inputs": [
       {
        "localized_name": "images",
        "name": "images",
        "type": "IMAGE",
        "link": 176
       },
       {
        "localized_name": "audio",
        "name": "audio",
        "shape": 7,
        "type": "AUDIO",
        "link": 177
       },
       {
        "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": "codec",
        "name": "codec",
        "shape": 7,
        "type": "COMBO",
        "widget": {
         "name": "codec"
        },
        "link": null
       }
      ],
      "outputs": [
       {
        "localized_name": "VIDEO",
        "name": "VIDEO",
        "type": "VIDEO",
        "links": [
         178
        ]
       }
      ],
      "properties": {
       "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
       24,
       "auto",
       "sRGB",
       "none"
      ],
      "widgets_values_named": {
       "fps": 24,
       "bit_depth": "auto",
       "color_space": "sRGB",
       "codec": "none"
      }
     }
    ],
    "groups": [
     {
      "id": 1,
      "title": "Settings (shown on the node outside)",
      "bounding": [
       0,
       0,
       770,
       1076
      ],
      "color": "#444",
      "flags": {}
     },
     {
      "id": 2,
      "title": "Load models (only the chosen mode's models load)",
      "bounding": [
       840,
       0,
       340,
       550
      ],
      "color": "#3f789e",
      "flags": {}
     },
     {
      "id": 3,
      "title": "Model + LoRAs / patches",
      "bounding": [
       0,
       1146,
       340,
       322
      ],
      "color": "#3f789e",
      "flags": {}
     },
     {
      "id": 4,
      "title": "Your inputs -> frames / pose / size",
      "bounding": [
       410,
       1146,
       640,
       1062
      ],
      "color": "#8A8",
      "flags": {}
     },
     {
      "id": 5,
      "title": "Prompt + conditioning",
      "bounding": [
       1120,
       1146,
       770,
       1104
      ],
      "color": "#a1309b",
      "flags": {}
     },
     {
      "id": 6,
      "title": "Sampling",
      "bounding": [
       1960,
       1146,
       340,
       688
      ],
      "color": "#b06634",
      "flags": {}
     },
     {
      "id": 7,
      "title": "Decode + output",
      "bounding": [
       2370,
       1146,
       340,
       484
      ],
      "color": "#b58b2a",
      "flags": {}
     },
     {
      "id": 8,
      "title": "Switches + settings",
      "bounding": [
       2780,
       1146,
       1340,
       1168
      ],
      "color": "#444",
      "flags": {}
     }
    ],
    "links": [
     {
      "id": 90,
      "origin_id": 3,
      "origin_slot": 0,
      "target_id": 4,
      "target_slot": 2,
      "type": "STRING"
     },
     {
      "id": 117,
      "origin_id": 29,
      "origin_slot": 0,
      "target_id": 30,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 116,
      "origin_id": 28,
      "origin_slot": 0,
      "target_id": 30,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 115,
      "origin_id": 7,
      "origin_slot": 0,
      "target_id": 30,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 92,
      "origin_id": 10,
      "origin_slot": 0,
      "target_id": 11,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 93,
      "origin_id": 11,
      "origin_slot": 2,
      "target_id": 12,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 94,
      "origin_id": 6,
      "origin_slot": 0,
      "target_id": 12,
      "target_slot": 1,
      "type": "FLOAT"
     },
     {
      "id": 95,
      "origin_id": 10,
      "origin_slot": 0,
      "target_id": 13,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 96,
      "origin_id": 12,
      "origin_slot": 1,
      "target_id": 13,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 97,
      "origin_id": 11,
      "origin_slot": 0,
      "target_id": 14,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 98,
      "origin_id": 11,
      "origin_slot": 1,
      "target_id": 14,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 99,
      "origin_id": 5,
      "origin_slot": 0,
      "target_id": 14,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 100,
      "origin_id": 11,
      "origin_slot": 0,
      "target_id": 15,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 101,
      "origin_id": 11,
      "origin_slot": 1,
      "target_id": 15,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 102,
      "origin_id": 5,
      "origin_slot": 0,
      "target_id": 15,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 103,
      "origin_id": 12,
      "origin_slot": 1,
      "target_id": 16,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 104,
      "origin_id": 12,
      "origin_slot": 1,
      "target_id": 17,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 105,
      "origin_id": 16,
      "origin_slot": 1,
      "target_id": 17,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 106,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 18,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 107,
      "origin_id": 12,
      "origin_slot": 1,
      "target_id": 19,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 108,
      "origin_id": 16,
      "origin_slot": 1,
      "target_id": 19,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 109,
      "origin_id": 12,
      "origin_slot": 1,
      "target_id": 20,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 110,
      "origin_id": 21,
      "origin_slot": 0,
      "target_id": 22,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 113,
      "origin_id": 21,
      "origin_slot": 0,
      "target_id": 23,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 112,
      "origin_id": 22,
      "origin_slot": 0,
      "target_id": 23,
      "target_slot": 1,
      "type": "MODEL"
     },
     {
      "id": 111,
      "origin_id": 7,
      "origin_slot": 0,
      "target_id": 23,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 114,
      "origin_id": 23,
      "origin_slot": 0,
      "target_id": 24,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 118,
      "origin_id": 13,
      "origin_slot": 0,
      "target_id": 31,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 119,
      "origin_id": 14,
      "origin_slot": 1,
      "target_id": 31,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 120,
      "origin_id": 15,
      "origin_slot": 1,
      "target_id": 31,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 121,
      "origin_id": 31,
      "origin_slot": 0,
      "target_id": 32,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 122,
      "origin_id": 20,
      "origin_slot": 1,
      "target_id": 32,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 123,
      "origin_id": 32,
      "origin_slot": 0,
      "target_id": 33,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 124,
      "origin_id": 19,
      "origin_slot": 1,
      "target_id": 33,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 125,
      "origin_id": 31,
      "origin_slot": 0,
      "target_id": 34,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 126,
      "origin_id": 33,
      "origin_slot": 0,
      "target_id": 34,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 127,
      "origin_id": 16,
      "origin_slot": 1,
      "target_id": 35,
      "target_slot": 3,
      "type": "INT"
     },
     {
      "id": 128,
      "origin_id": 35,
      "origin_slot": 0,
      "target_id": 36,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 129,
      "origin_id": 36,
      "origin_slot": 1,
      "target_id": 37,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 130,
      "origin_id": 34,
      "origin_slot": 0,
      "target_id": 38,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 131,
      "origin_id": 36,
      "origin_slot": 1,
      "target_id": 38,
      "target_slot": 1,
      "type": "INT"
     },
     {
      "id": 132,
      "origin_id": 10,
      "origin_slot": 1,
      "target_id": 39,
      "target_slot": 0,
      "type": "AUDIO"
     },
     {
      "id": 133,
      "origin_id": 37,
      "origin_slot": 0,
      "target_id": 39,
      "target_slot": 1,
      "type": "FLOAT"
     },
     {
      "id": 134,
      "origin_id": 25,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 0,
      "type": "CLIP"
     },
     {
      "id": 138,
      "origin_id": 26,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 139,
      "origin_id": 27,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 2,
      "type": "VAE"
     },
     {
      "id": 141,
      "origin_id": 38,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 5,
      "type": "IMAGE"
     },
     {
      "id": 142,
      "origin_id": 39,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 7,
      "type": "AUDIO"
     },
     {
      "id": 135,
      "origin_id": 4,
      "origin_slot": 0,
      "target_id": 40,
      "target_slot": 10,
      "type": "STRING"
     },
     {
      "id": 136,
      "origin_id": 14,
      "origin_slot": 1,
      "target_id": 40,
      "target_slot": 11,
      "type": "INT"
     },
     {
      "id": 137,
      "origin_id": 15,
      "origin_slot": 1,
      "target_id": 40,
      "target_slot": 12,
      "type": "INT"
     },
     {
      "id": 143,
      "origin_id": 40,
      "origin_slot": 0,
      "target_id": 41,
      "target_slot": 0,
      "type": "CONDITIONING"
     },
     {
      "id": 144,
      "origin_id": 40,
      "origin_slot": 1,
      "target_id": 41,
      "target_slot": 1,
      "type": "LATENT"
     },
     {
      "id": 145,
      "origin_id": 26,
      "origin_slot": 0,
      "target_id": 41,
      "target_slot": 2,
      "type": "VAE"
     },
     {
      "id": 146,
      "origin_id": 35,
      "origin_slot": 4,
      "target_id": 41,
      "target_slot": 4,
      "type": "IMAGE"
     },
     {
      "id": 149,
      "origin_id": 41,
      "origin_slot": 0,
      "target_id": 42,
      "target_slot": 0,
      "type": "CONDITIONING"
     },
     {
      "id": 148,
      "origin_id": 40,
      "origin_slot": 0,
      "target_id": 42,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 147,
      "origin_id": 35,
      "origin_slot": 1,
      "target_id": 42,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 150,
      "origin_id": 9,
      "origin_slot": 0,
      "target_id": 43,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 151,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 152,
      "origin_id": 30,
      "origin_slot": 0,
      "target_id": 45,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 153,
      "origin_id": 24,
      "origin_slot": 0,
      "target_id": 46,
      "target_slot": 0,
      "type": "MODEL"
     },
     {
      "id": 154,
      "origin_id": 42,
      "origin_slot": 0,
      "target_id": 46,
      "target_slot": 1,
      "type": "CONDITIONING"
     },
     {
      "id": 155,
      "origin_id": 43,
      "origin_slot": 0,
      "target_id": 47,
      "target_slot": 0,
      "type": "NOISE"
     },
     {
      "id": 156,
      "origin_id": 46,
      "origin_slot": 0,
      "target_id": 47,
      "target_slot": 1,
      "type": "GUIDER"
     },
     {
      "id": 157,
      "origin_id": 44,
      "origin_slot": 0,
      "target_id": 47,
      "target_slot": 2,
      "type": "SAMPLER"
     },
     {
      "id": 158,
      "origin_id": 45,
      "origin_slot": 0,
      "target_id": 47,
      "target_slot": 3,
      "type": "SIGMAS"
     },
     {
      "id": 159,
      "origin_id": 40,
      "origin_slot": 1,
      "target_id": 47,
      "target_slot": 4,
      "type": "LATENT"
     },
     {
      "id": 160,
      "origin_id": 47,
      "origin_slot": 0,
      "target_id": 48,
      "target_slot": 0,
      "type": "LATENT"
     },
     {
      "id": 161,
      "origin_id": 26,
      "origin_slot": 0,
      "target_id": 48,
      "target_slot": 1,
      "type": "VAE"
     },
     {
      "id": 162,
      "origin_id": 48,
      "origin_slot": 0,
      "target_id": 49,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 165,
      "origin_id": 49,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 164,
      "origin_id": 48,
      "origin_slot": 0,
      "target_id": 50,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 163,
      "origin_id": 35,
      "origin_slot": 1,
      "target_id": 50,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 166,
      "origin_id": 48,
      "origin_slot": 0,
      "target_id": 51,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 167,
      "origin_id": 50,
      "origin_slot": 0,
      "target_id": 52,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 168,
      "origin_id": 51,
      "origin_slot": 0,
      "target_id": 52,
      "target_slot": 1,
      "type": "IMAGE"
     },
     {
      "id": 169,
      "origin_id": 52,
      "origin_slot": 0,
      "target_id": 53,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 170,
      "origin_id": 53,
      "origin_slot": 0,
      "target_id": 54,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 171,
      "origin_id": 17,
      "origin_slot": 1,
      "target_id": 54,
      "target_slot": 2,
      "type": "INT"
     },
     {
      "id": 172,
      "origin_id": 10,
      "origin_slot": 1,
      "target_id": 55,
      "target_slot": 0,
      "type": "AUDIO"
     },
     {
      "id": 173,
      "origin_id": 18,
      "origin_slot": 0,
      "target_id": 55,
      "target_slot": 2,
      "type": "FLOAT"
     },
     {
      "id": 175,
      "origin_id": 55,
      "origin_slot": 0,
      "target_id": 56,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 174,
      "origin_id": 8,
      "origin_slot": 0,
      "target_id": 56,
      "target_slot": 2,
      "type": "BOOLEAN"
     },
     {
      "id": 176,
      "origin_id": 54,
      "origin_slot": 0,
      "target_id": 57,
      "target_slot": 0,
      "type": "IMAGE"
     },
     {
      "id": 177,
      "origin_id": 56,
      "origin_slot": 0,
      "target_id": 57,
      "target_slot": 1,
      "type": "AUDIO"
     },
     {
      "id": 91,
      "origin_id": -10,
      "origin_slot": 0,
      "target_id": 10,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 140,
      "origin_id": -10,
      "origin_slot": 1,
      "target_id": 40,
      "target_slot": 3,
      "type": "IMAGE"
     },
     {
      "id": 178,
      "origin_id": 57,
      "origin_slot": 0,
      "target_id": -20,
      "target_slot": 0,
      "type": "VIDEO"
     },
     {
      "id": 182,
      "origin_id": -10,
      "origin_slot": 2,
      "target_id": 3,
      "target_slot": 0,
      "type": "STRING"
     },
     {
      "id": 183,
      "origin_id": -10,
      "origin_slot": 3,
      "target_id": 6,
      "target_slot": 0,
      "type": "FLOAT"
     },
     {
      "id": 184,
      "origin_id": -10,
      "origin_slot": 4,
      "target_id": 5,
      "target_slot": 0,
      "type": "FLOAT"
     },
     {
      "id": 185,
      "origin_id": -10,
      "origin_slot": 5,
      "target_id": 7,
      "target_slot": 0,
      "type": "BOOLEAN"
     },
     {
      "id": 186,
      "origin_id": -10,
      "origin_slot": 6,
      "target_id": 8,
      "target_slot": 0,
      "type": "BOOLEAN"
     },
     {
      "id": 187,
      "origin_id": -10,
      "origin_slot": 7,
      "target_id": 9,
      "target_slot": 0,
      "type": "INT"
     },
     {
      "id": 188,
      "origin_id": -10,
      "origin_slot": 8,
      "target_id": 21,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 189,
      "origin_id": -10,
      "origin_slot": 9,
      "target_id": 22,
      "target_slot": 1,
      "type": "COMBO"
     },
     {
      "id": 190,
      "origin_id": -10,
      "origin_slot": 10,
      "target_id": 24,
      "target_slot": 1,
      "type": "COMBO"
     },
     {
      "id": 191,
      "origin_id": -10,
      "origin_slot": 11,
      "target_id": 25,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 192,
      "origin_id": -10,
      "origin_slot": 12,
      "target_id": 26,
      "target_slot": 0,
      "type": "COMBO"
     },
     {
      "id": 193,
      "origin_id": -10,
      "origin_slot": 13,
      "target_id": 27,
      "target_slot": 0,
      "type": "COMBO"
     }
    ],
    "extra": {}
   }
  ]
 },
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.9,
   "offset": [
    416,
    110
   ]
  }
 },
 "version": 0.4
}