Skip to content
Back to workflow

MiniMax H3 image to video · Auto Prompt + upscale: raw JSON

Animate an image with an assisted prompt, then upscale the video in latent space.

81 KB · JSON file

{
  "id": "f2c401be-8cad-4b93-83f5-8b3307974678",
  "revision": 0,
  "last_node_id": 219,
  "last_link_id": 451,
  "nodes": [
    {
      "id": 122,
      "type": "VAELoader",
      "pos": [
        -4098.587819310044,
        5175.428568861572
      ],
      "size": [
        650,
        70
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            235,
            451
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "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": 127,
      "type": "CLIPLoader",
      "pos": [
        -4098.587819310044,
        4855.42856886157
      ],
      "size": [
        640,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            258
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 135,
      "type": "UNETLoader",
      "pos": [
        -4098.587819310044,
        4705.4285688615755
      ],
      "size": [
        640,
        90
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            297
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "minimax_h3_fl2va_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_bf16.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_fl2va_bf16.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "minimax_h3_fl2va_bf16.safetensors",
        "weight_dtype": "default"
      }
    },
    {
      "id": 141,
      "type": "ModelPreviewOverrideKJ",
      "pos": [
        -3225.68374623997,
        4696.648794684282
      ],
      "size": [
        386.40436891616855,
        568.8653420124174
      ],
      "flags": {
        "collapsed": false
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 297
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "preview_frames",
          "type": "INT",
          "widget": {
            "name": "preview_frames"
          },
          "link": 345
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            278
          ]
        }
      ],
      "properties": {
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ver": "1289b52fbb6d64a339a4047b9ea74cf7758ccf1e",
        "Node name for S&R": "ModelPreviewOverrideKJ",
        "cnr_id": "comfyui-kjnodes",
        "kjPovPanelH": 165
      },
      "widgets_values": [
        1024,
        92,
        true,
        120,
        5,
        "taeh3.safetensors",
        ""
      ],
      "widgets_values_named": {
        "max_resolution": 1024,
        "jpeg_quality": 92,
        "suppress_default_preview": true,
        "preview_frames": 120,
        "preview_fps": 5,
        "tiny_vae": "taeh3.safetensors",
        "preview": ""
      }
    },
    {
      "id": 154,
      "type": "RandomNoise",
      "pos": [
        -1862.7902957560768,
        4698.894472371817
      ],
      "size": [
        360,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            284
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        863607528405235,
        "randomize"
      ],
      "widgets_values_named": {
        "noise_seed": 863607528405235,
        "control_after_generate": "randomize"
      }
    },
    {
      "id": 150,
      "type": "KSamplerSelect",
      "pos": [
        -1863.2572486293477,
        4832.309575078426
      ],
      "size": [
        370,
        70
      ],
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            286
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler"
      ],
      "widgets_values_named": {
        "sampler_name": "euler"
      }
    },
    {
      "id": 137,
      "type": "Power Lora Loader (rgthree)",
      "pos": [
        -2674.587941364853,
        4547.895464637985
      ],
      "size": [
        325.99505056499595,
        208.67168806000245
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "model",
          "type": "MODEL",
          "link": 278
        },
        {
          "dir": 3,
          "name": "clip",
          "type": "CLIP",
          "link": 258
        }
      ],
      "outputs": [
        {
          "dir": 4,
          "name": "MODEL",
          "shape": 3,
          "type": "MODEL",
          "links": [
            334
          ]
        },
        {
          "dir": 4,
          "name": "CLIP",
          "shape": 3,
          "type": "CLIP",
          "links": [
            259
          ]
        }
      ],
      "properties": {
        "aux_id": "rgthree/rgthree-comfy",
        "ver": "6b76ee6f2c5a007710b5a16f97c94330d6ecc871",
        "Show Strengths": "Single Strength",
        "Match": "",
        "cnr_id": "rgthree-comfy"
      },
      "widgets_values": [
        {},
        {
          "type": "PowerLoraLoaderHeaderWidget"
        },
        {
          "on": false,
          "lora": "Your_Character_LoRA_Here.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        {},
        ""
      ],
      "widgets_values_named": {
        "divider": {},
        "PowerLoraLoaderHeaderWidget": {
          "type": "PowerLoraLoaderHeaderWidget"
        },
        "lora_1": {
          "on": false,
          "lora": "Your_Character_LoRA_Here.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        "➕ Add Lora": ""
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 134,
      "type": "VAEDecodeAudio",
      "pos": [
        -1425.1411874720052,
        4780.626187878913
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 296
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 235
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            254
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "VAEDecodeAudio"
      }
    },
    {
      "id": 130,
      "type": "MiniMaxH3ImageToVideo",
      "pos": [
        -1823.4142390193242,
        4952.8212542587235
      ],
      "size": [
        536.2519535630349,
        543.3815573346956
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 259
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 246
        },
        {
          "name": "first_frame",
          "shape": 7,
          "type": "IMAGE",
          "link": 346
        },
        {
          "name": "last_frame",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 343
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 248
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 249
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 344
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            289,
            449
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            291
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "MiniMaxH3ImageToVideo"
      },
      "widgets_values": [
        "prompt",
        1344,
        768,
        73
      ],
      "widgets_values_named": {
        "prompt": "prompt",
        "width": 1344,
        "height": 768,
        "length": 73
      }
    },
    {
      "id": 173,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2328.2821414624987,
        4549.519905361853
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            338
          ]
        }
      ],
      "title": "Your Prompt Idea Here",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "prompt"
      ],
      "widgets_values_named": {
        "value": "prompt"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 175,
      "type": "LoadImage",
      "pos": [
        -2271.805583502805,
        4801.832755816379
      ],
      "size": [
        282.798828125,
        314
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            346,
            348
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "your_input_image.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "your_input_image.png",
        "upload": "image"
      }
    },
    {
      "id": 176,
      "type": "MarkdownNote",
      "pos": [
        -2693.786645333744,
        4093.3125294229812
      ],
      "size": [
        385.3668561610608,
        340
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: HearmemanAI",
      "properties": {},
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "text": ""
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 177,
      "type": "MarkdownNote",
      "pos": [
        -2288.4197891726835,
        4093.3125294229812
      ],
      "size": [
        385.3668561610608,
        340
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: OpenRouter API key",
      "properties": {},
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "text": ""
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 178,
      "type": "BasicScheduler",
      "pos": [
        -1848.4015526074531,
        4992.071808397967
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 349
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            350
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.34.0",
        "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
        "simple",
        8,
        1
      ],
      "widgets_values_named": {
        "scheduler": "simple",
        "steps": 8,
        "denoise": 1
      }
    },
    {
      "id": 148,
      "type": "ExtendIntermediateSigmas",
      "pos": [
        -1851.4229850314766,
        5140.002678964271
      ],
      "size": [
        277.1353515625,
        130
      ],
      "flags": {},
      "order": 22,
      "mode": 4,
      "inputs": [
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 350
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            316
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "ExtendIntermediateSigmas"
      },
      "widgets_values": [
        2,
        0.8,
        0,
        "linear"
      ],
      "widgets_values_named": {
        "steps": 2,
        "start_at_sigma": 0.8,
        "end_at_sigma": 0,
        "spacing": "linear"
      }
    },
    {
      "id": 179,
      "type": "Note",
      "pos": [
        -1841.152948354231,
        5342.286682349416
      ],
      "size": [
        234.61203972343515,
        88
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "text": ""
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 174,
      "type": "2af4e026-3781-4e28-963e-abf80e9930c3",
      "pos": [
        -2215.4702210924875,
        5181.614236633079
      ],
      "size": [
        210,
        172
      ],
      "flags": {
        "collapsed": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "api_key",
          "type": "STRING",
          "widget": {
            "name": "api_key"
          },
          "link": 337
        },
        {
          "name": "string_b",
          "type": "STRING",
          "widget": {
            "name": "string_b"
          },
          "link": 338
        },
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 339
        },
        {
          "name": "input",
          "type": "*",
          "link": 340
        },
        {
          "name": "input_1",
          "type": "*",
          "link": 341
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 348
        }
      ],
      "outputs": [
        {
          "name": "Output",
          "type": "STRING",
          "links": [
            342,
            343
          ]
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            344,
            345
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "previewExposures": []
      },
      "widgets_values": [
        "",
        "prompt"
      ],
      "widgets_values_named": {
        "api_key": "",
        "string_b": "prompt"
      }
    },
    {
      "id": 160,
      "type": "Display Any (rgthree)",
      "pos": [
        -2252.2751495422826,
        5246.410164058298
      ],
      "size": [
        263.77124145053494,
        112.70208152185387
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "source",
          "type": "*",
          "link": 342
        }
      ],
      "outputs": [],
      "title": "Generated Prompt",
      "properties": {
        "aux_id": "rgthree/rgthree-comfy",
        "ver": "6b76ee6f2c5a007710b5a16f97c94330d6ecc871",
        "Node name for S&R": "Display Any (rgthree)",
        "cnr_id": "rgthree-comfy"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "output": ""
      }
    },
    {
      "id": 161,
      "type": "StringConstant",
      "pos": [
        -2642.4432861678047,
        5270.135114347776
      ],
      "size": [
        270,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            337
          ]
        }
      ],
      "title": "OpenRouter API Key",
      "properties": {
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ver": "1.4.9",
        "Node name for S&R": "StringConstant",
        "cnr_id": "comfyui-kjnodes"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "string": ""
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 115,
      "type": "ResolutionSelector",
      "pos": [
        -2647.5098896988693,
        5092.351711581703
      ],
      "size": [
        272.85090151491295,
        127.05421216136529
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            248,
            340
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            249,
            341
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "ResolutionSelector"
      },
      "widgets_values": [
        "9:16 (Portrait Widescreen)",
        0.7,
        32
      ],
      "widgets_values_named": {
        "aspect_ratio": "9:16 (Portrait Widescreen)",
        "megapixels": 0.7,
        "multiple": 32
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 132,
      "type": "PrimitiveFloat",
      "pos": [
        -2644.0707409042475,
        4982.442246043766
      ],
      "size": [
        270,
        70
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            339
          ]
        }
      ],
      "title": "Float (duration)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
        5
      ],
      "widgets_values_named": {
        "value": 5
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 158,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -2666.615968646643,
        4830.309378214281
      ],
      "size": [
        325.180460840779,
        88.04226050868692
      ],
      "flags": {
        "collapsed": false
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 334
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            311,
            349,
            448
          ]
        }
      ],
      "title": "Turbo LoRA (Always On, Don't Touch)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
        0.8
      ],
      "widgets_values_named": {
        "lora_name": "minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
        "strength_model": 0.8
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 121,
      "type": "VAELoader",
      "pos": [
        -4098.587819310044,
        5045.428568861573
      ],
      "size": [
        640,
        70
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            236,
            246,
            450
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "minimax_h3_video_vae_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_video_vae_fp16.safetensors"
      }
    },
    {
      "id": 218,
      "type": "VHS_VideoCombine",
      "pos": [
        -705.5332423749456,
        4577.7224677731465
      ],
      "size": [
        265.3274906328395,
        488.1871375044797
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 445
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 446
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "title": "UpscaledVideo",
      "properties": {
        "aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite",
        "ver": "4ee72c065db22c9d96c2427954dc69e7b908444b",
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "Upscaled",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 12,
        "save_metadata": false,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true
      },
      "widgets_values_named": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "Upscaled",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 12,
        "save_metadata": false,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true
      }
    },
    {
      "id": 119,
      "type": "VHS_VideoCombine",
      "pos": [
        -1142.5069204020797,
        4580.386861644265
      ],
      "size": [
        334.7411177124782,
        334
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 253
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 254
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite",
        "ver": "4ee72c065db22c9d96c2427954dc69e7b908444b",
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 12,
        "save_metadata": false,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true
      },
      "widgets_values_named": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 12,
        "save_metadata": false,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true
      }
    },
    {
      "id": 153,
      "type": "SamplerCustomAdvanced",
      "pos": [
        -1446.8753516738282,
        4822.318739970053
      ],
      "size": [
        230,
        140
      ],
      "flags": {
        "collapsed": true
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 284
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 285
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 286
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 316
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 291
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            295,
            296
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": [
            447
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "SamplerCustomAdvanced"
      }
    },
    {
      "id": 149,
      "type": "BasicGuider",
      "pos": [
        -1408.8839850950883,
        4861.448117297588
      ],
      "size": [
        360,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 311
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 289
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            285
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "BasicGuider"
      }
    },
    {
      "id": 133,
      "type": "VAEDecode",
      "pos": [
        -1414.6474168941138,
        4734.827508373047
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 295
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 236
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            253
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.1",
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 219,
      "type": "3921f998-579e-4c77-ad0f-2458809bc887",
      "pos": [
        -1477.9782835205149,
        5052.094962910058
      ],
      "size": [
        230.93419623695036,
        158
      ],
      "flags": {
        "collapsed": false
      },
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "label": "av_latent",
          "name": "av_latent",
          "type": "LATENT",
          "link": 447
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 448
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 449
        },
        {
          "label": "upscale_by",
          "name": "mode.scale",
          "type": "FLOAT",
          "widget": {
            "name": "mode.scale"
          },
          "link": null
        },
        {
          "label": "video_vae",
          "name": "vae",
          "type": "VAE",
          "link": 450
        },
        {
          "label": "audio_vae",
          "name": "vae_1",
          "type": "VAE",
          "link": 451
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            445
          ]
        },
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            446
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.34.0",
        "previewExposures": []
      },
      "widgets_values": [
        2
      ],
      "widgets_values_named": {
        "mode.scale": 2
      },
      "color": "#232",
      "bgcolor": "#353"
    }
  ],
  "links": [
    [
      235,
      122,
      0,
      134,
      1,
      "VAE"
    ],
    [
      236,
      121,
      0,
      133,
      1,
      "VAE"
    ],
    [
      246,
      121,
      0,
      130,
      1,
      "VAE"
    ],
    [
      248,
      115,
      0,
      130,
      5,
      "INT"
    ],
    [
      249,
      115,
      1,
      130,
      6,
      "INT"
    ],
    [
      253,
      133,
      0,
      119,
      0,
      "IMAGE"
    ],
    [
      254,
      134,
      0,
      119,
      1,
      "AUDIO"
    ],
    [
      258,
      127,
      0,
      137,
      1,
      "CLIP"
    ],
    [
      259,
      137,
      1,
      130,
      0,
      "CLIP"
    ],
    [
      278,
      141,
      0,
      137,
      0,
      "MODEL"
    ],
    [
      284,
      154,
      0,
      153,
      0,
      "NOISE"
    ],
    [
      285,
      149,
      0,
      153,
      1,
      "GUIDER"
    ],
    [
      286,
      150,
      0,
      153,
      2,
      "SAMPLER"
    ],
    [
      289,
      130,
      0,
      149,
      1,
      "CONDITIONING"
    ],
    [
      291,
      130,
      1,
      153,
      4,
      "LATENT"
    ],
    [
      295,
      153,
      0,
      133,
      0,
      "LATENT"
    ],
    [
      296,
      153,
      0,
      134,
      0,
      "LATENT"
    ],
    [
      297,
      135,
      0,
      141,
      0,
      "MODEL"
    ],
    [
      311,
      158,
      0,
      149,
      0,
      "MODEL"
    ],
    [
      316,
      148,
      0,
      153,
      3,
      "SIGMAS"
    ],
    [
      334,
      137,
      0,
      158,
      0,
      "MODEL"
    ],
    [
      337,
      161,
      0,
      174,
      0,
      "STRING"
    ],
    [
      338,
      173,
      0,
      174,
      1,
      "STRING"
    ],
    [
      339,
      132,
      0,
      174,
      2,
      "FLOAT"
    ],
    [
      340,
      115,
      0,
      174,
      3,
      "INT"
    ],
    [
      341,
      115,
      1,
      174,
      4,
      "INT"
    ],
    [
      342,
      174,
      0,
      160,
      0,
      "STRING"
    ],
    [
      343,
      174,
      0,
      130,
      4,
      "STRING"
    ],
    [
      344,
      174,
      1,
      130,
      7,
      "INT"
    ],
    [
      345,
      174,
      1,
      141,
      2,
      "INT"
    ],
    [
      346,
      175,
      0,
      130,
      2,
      "IMAGE"
    ],
    [
      348,
      175,
      0,
      174,
      5,
      "IMAGE"
    ],
    [
      349,
      158,
      0,
      178,
      0,
      "MODEL"
    ],
    [
      350,
      178,
      0,
      148,
      0,
      "SIGMAS"
    ],
    [
      445,
      219,
      0,
      218,
      0,
      "IMAGE"
    ],
    [
      446,
      219,
      1,
      218,
      1,
      "AUDIO"
    ],
    [
      447,
      153,
      1,
      219,
      0,
      "LATENT"
    ],
    [
      448,
      158,
      0,
      219,
      1,
      "MODEL"
    ],
    [
      449,
      130,
      0,
      219,
      2,
      "CONDITIONING"
    ],
    [
      450,
      121,
      0,
      219,
      4,
      "VAE"
    ],
    [
      451,
      122,
      0,
      219,
      5,
      "VAE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Models",
      "bounding": [
        -4128.5878193100425,
        4615.4285688615755,
        700,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Sampling",
      "bounding": [
        -1891.054748571763,
        4621.400175398914,
        690,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "LoRAs And Settings",
      "bounding": [
        -2693.786645333744,
        4473.312529422981,
        790.7337123221216,
        915.5179681936352
      ],
      "color": "#b58b2a",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Decoding and create video",
      "bounding": [
        -1165.645353225121,
        4490.688658217578,
        383.86516632416533,
        1019.4868127517902
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Sampling Preview",
      "bounding": [
        -3407.6203518611796,
        4619.883623615898,
        700,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 7,
      "title": "Upscaled Video",
      "bounding": [
        -765.9083670194619,
        4492.586135098737,
        383.86516632416533,
        1019.4868127517902
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "2af4e026-3781-4e28-963e-abf80e9930c3",
        "version": 1,
        "state": {
          "lastGroupId": 7,
          "lastNodeId": 219,
          "lastLinkId": 451,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Auto Prompt Writing",
        "inputNode": {
          "id": -10,
          "bounding": [
            -2473.6430098681353,
            4795.9509309204805,
            128,
            168
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -1868.6547286181353,
            4825.9509309204805,
            128,
            88
          ]
        },
        "inputs": [
          {
            "id": "6ba35437-cb5d-4cee-ab1a-d8ec1d0e8634",
            "name": "api_key",
            "type": "STRING",
            "linkIds": [
              314
            ],
            "localized_name": "api_key",
            "pos": [
              -2369.6430098681353,
              4819.9509309204805
            ]
          },
          {
            "id": "a8b58e2f-b3ed-4b81-ac46-932902ea1176",
            "name": "string_b",
            "type": "STRING",
            "linkIds": [
              336
            ],
            "localized_name": "string_b",
            "pos": [
              -2369.6430098681353,
              4839.9509309204805
            ]
          },
          {
            "id": "cd897c9e-85fd-4509-8f0a-0d50690c998b",
            "name": "values.a",
            "type": "FLOAT,INT,BOOLEAN",
            "linkIds": [
              250,
              317
            ],
            "localized_name": "values.a",
            "label": "a",
            "pos": [
              -2369.6430098681353,
              4859.9509309204805
            ]
          },
          {
            "id": "d7511ed6-8ffe-4b4e-aef5-b8d49796dba6",
            "name": "input",
            "type": "*",
            "linkIds": [
              318
            ],
            "localized_name": "input",
            "pos": [
              -2369.6430098681353,
              4879.9509309204805
            ]
          },
          {
            "id": "001010e1-e163-4f35-8f17-0c051dad22f6",
            "name": "input_1",
            "type": "*",
            "linkIds": [
              319
            ],
            "localized_name": "input_1",
            "pos": [
              -2369.6430098681353,
              4899.9509309204805
            ]
          },
          {
            "id": "3928f7f0-526a-440b-a231-ea012d0593d8",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              347
            ],
            "pos": [
              -2369.6430098681353,
              4919.9509309204805
            ]
          }
        ],
        "outputs": [
          {
            "id": "0bf00c63-142c-4234-8a8b-f56ac8818b10",
            "name": "Output",
            "type": "STRING",
            "linkIds": [
              330,
              330
            ],
            "localized_name": "Output",
            "pos": [
              -1844.6547286181353,
              4849.9509309204805
            ]
          },
          {
            "id": "cea935d3-307f-4327-926d-d6e7e891e604",
            "name": "INT",
            "type": "INT",
            "linkIds": [
              247,
              247
            ],
            "localized_name": "INT",
            "pos": [
              -1844.6547286181353,
              4869.9509309204805
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 170,
            "type": "StringConcatenate",
            "pos": [
              -2140.3395374291326,
              4950.692981881479
            ],
            "size": [
              415.37870788981536,
              578.1922976850992
            ],
            "flags": {
              "collapsed": true
            },
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                },
                "link": 323
              },
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 336
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  324
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.30.1",
              "Node name for S&R": "StringConcatenate"
            },
            "widgets_values": [
              "prompt",
              "prompt",
              "      "
            ],
            "widgets_values_named": {
              "string_a": "prompt",
              "string_b": "prompt",
              "delimiter": "      "
            }
          },
          {
            "id": 131,
            "type": "ComfyMathExpression",
            "pos": [
              -2129.8301699096783,
              4713.27277606174
            ],
            "size": [
              360,
              160
            ],
            "flags": {
              "collapsed": true
            },
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "label": "a",
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN",
                "link": 250
              },
              {
                "label": "b",
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT",
                "links": []
              },
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  247
                ]
              },
              {
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN",
                "links": []
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.30.1",
              "Node name for S&R": "ComfyMathExpression"
            },
            "widgets_values": [
              "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
            ],
            "widgets_values_named": {
              "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
            }
          },
          {
            "id": 165,
            "type": "SomethingToString",
            "pos": [
              -2117.5326788507773,
              4763.773774750345
            ],
            "size": [
              270,
              82
            ],
            "flags": {
              "collapsed": true
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 317
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  320
                ]
              }
            ],
            "title": "Duration",
            "properties": {
              "aux_id": "kijai/ComfyUI-KJNodes",
              "ver": "1.5.0",
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes"
            },
            "widgets_values": [
              "",
              ""
            ],
            "widgets_values_named": {
              "prefix": "",
              "suffix": ""
            },
            "color": "#223",
            "bgcolor": "#335"
          },
          {
            "id": 166,
            "type": "SomethingToString",
            "pos": [
              -2104.5278933912746,
              4810.057109394067
            ],
            "size": [
              270,
              82
            ],
            "flags": {
              "collapsed": true
            },
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 318
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  321
                ]
              }
            ],
            "title": "Width",
            "properties": {
              "aux_id": "kijai/ComfyUI-KJNodes",
              "ver": "1.5.0",
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes"
            },
            "widgets_values": [
              "",
              ""
            ],
            "widgets_values_named": {
              "prefix": "",
              "suffix": ""
            },
            "color": "#223",
            "bgcolor": "#335"
          },
          {
            "id": 167,
            "type": "SomethingToString",
            "pos": [
              -2106.701533137442,
              4858.062975884519
            ],
            "size": [
              270,
              82
            ],
            "flags": {
              "collapsed": true
            },
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 319
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  322
                ]
              }
            ],
            "title": "Height",
            "properties": {
              "aux_id": "kijai/ComfyUI-KJNodes",
              "ver": "1.5.0",
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes"
            },
            "widgets_values": [
              "",
              ""
            ],
            "widgets_values_named": {
              "prefix": "",
              "suffix": ""
            },
            "color": "#223",
            "bgcolor": "#335"
          },
          {
            "id": 169,
            "type": "StringFormat",
            "pos": [
              -2121.110286595281,
              4906.283014537556
            ],
            "size": [
              399.0479295746677,
              200
            ],
            "flags": {
              "collapsed": true
            },
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "label": "a",
                "localized_name": "values.a",
                "name": "values.a",
                "shape": 7,
                "type": "*",
                "link": 320
              },
              {
                "label": "b",
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "*",
                "link": 321
              },
              {
                "label": "c",
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "*",
                "link": 322
              },
              {
                "label": "d",
                "localized_name": "values.d",
                "name": "values.d",
                "shape": 7,
                "type": "*",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  323
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.30.1",
              "Node name for S&R": "StringFormat"
            },
            "widgets_values": [
              "Duration: {a}\nWidth: {b}\nHeight: {c}"
            ],
            "widgets_values_named": {
              "f_string": "Duration: {a}\nWidth: {b}\nHeight: {c}"
            }
          },
          {
            "id": 159,
            "type": "OpenRouterNode",
            "pos": [
              -2285.6430098681353,
              5056.629085779221
            ],
            "size": [
              386.386328125,
              538
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pdf_data",
                "name": "pdf_data",
                "shape": 7,
                "type": "*",
                "link": null
              },
              {
                "localized_name": "user_message_input",
                "name": "user_message_input",
                "shape": 7,
                "type": "STRING",
                "link": null
              },
              {
                "localized_name": "api_key",
                "name": "api_key",
                "type": "STRING",
                "widget": {
                  "name": "api_key"
                },
                "link": 314
              },
              {
                "localized_name": "user_message_box",
                "name": "user_message_box",
                "type": "STRING",
                "widget": {
                  "name": "user_message_box"
                },
                "link": 324
              },
              {
                "color_off": "#666",
                "name": "image_1",
                "type": "IMAGE",
                "link": 347
              },
              {
                "color_off": "#666",
                "name": "image",
                "type": "IMAGE",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "Output",
                "name": "Output",
                "type": "STRING",
                "links": [
                  330
                ]
              },
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "links": null
              },
              {
                "localized_name": "Stats",
                "name": "Stats",
                "type": "STRING",
                "links": null
              },
              {
                "localized_name": "Credits",
                "name": "Credits",
                "type": "STRING",
                "links": null
              }
            ],
            "properties": {
              "aux_id": "gabe-init/ComfyUI-Openrouter_node",
              "ver": "1.0.2",
              "Node name for S&R": "OpenRouterNode",
              "cnr_id": "openrouter_node"
            },
            "widgets_values": [
              "",
              "prompt",
              "prompt",
              "google/gemini-3-flash-preview",
              false,
              true,
              false,
              false,
              0,
              "auto",
              false,
              "fixed",
              1,
              "auto",
              false,
              120
            ],
            "widgets_values_named": {
              "api_key": "",
              "system_prompt": "prompt",
              "user_message_box": "prompt",
              "model": "google/gemini-3-flash-preview",
              "web_search": false,
              "cheapest": true,
              "fastest": false,
              "aspect_ratio": false,
              "image_resolution": 0,
              "reasoning_effort": "auto",
              "seed": false,
              "fixed": "fixed",
              "temperature": 1,
              "pdf_engine": "auto",
              "chat_mode": false,
              "request_timeout": 120
            },
            "color": "#232",
            "bgcolor": "#353"
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 324,
            "origin_id": 170,
            "origin_slot": 0,
            "target_id": 159,
            "target_slot": 3,
            "type": "STRING"
          },
          {
            "id": 323,
            "origin_id": 169,
            "origin_slot": 0,
            "target_id": 170,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 320,
            "origin_id": 165,
            "origin_slot": 0,
            "target_id": 169,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 321,
            "origin_id": 166,
            "origin_slot": 0,
            "target_id": 169,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 322,
            "origin_id": 167,
            "origin_slot": 0,
            "target_id": 169,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 314,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 159,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 336,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 170,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 250,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 131,
            "target_slot": 0,
            "type": "FLOAT"
          },
          {
            "id": 317,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 165,
            "target_slot": 0,
            "type": "FLOAT"
          },
          {
            "id": 318,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 166,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 319,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 167,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 330,
            "origin_id": 159,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 247,
            "origin_id": 131,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 347,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 159,
            "target_slot": 4,
            "type": "IMAGE"
          }
        ],
        "extra": {}
      },
      {
        "id": "3921f998-579e-4c77-ad0f-2458809bc887",
        "version": 1,
        "state": {
          "lastGroupId": 7,
          "lastNodeId": 219,
          "lastLinkId": 451,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Latent Upscaling",
        "inputNode": {
          "id": -10,
          "bounding": [
            -334.031399241804,
            5877.806414631547,
            128,
            168
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            848.629478640967,
            5887.806414631547,
            128,
            88
          ]
        },
        "inputs": [
          {
            "id": "a61b89e6-71f3-4fd0-801e-5775c0b583f5",
            "name": "av_latent",
            "type": "LATENT",
            "linkIds": [
              422
            ],
            "localized_name": "av_latent",
            "label": "av_latent",
            "pos": [
              -230.03139924180402,
              5901.806414631547
            ]
          },
          {
            "id": "25a0853a-88a8-4e19-9a7d-00cffffb3a9e",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              424
            ],
            "pos": [
              -230.03139924180402,
              5921.806414631547
            ]
          },
          {
            "id": "db249935-2614-4a31-9b5b-afc205ece5e9",
            "name": "conditioning",
            "type": "CONDITIONING",
            "linkIds": [
              425
            ],
            "pos": [
              -230.03139924180402,
              5941.806414631547
            ]
          },
          {
            "id": "361d027c-8aa3-4c9f-99c6-1782911b71ab",
            "name": "mode.scale",
            "type": "FLOAT",
            "linkIds": [
              426
            ],
            "label": "upscale_by",
            "pos": [
              -230.03139924180402,
              5961.806414631547
            ]
          },
          {
            "id": "9a589a34-5f6e-47dc-a67e-3ebb8179915e",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              438
            ],
            "label": "video_vae",
            "pos": [
              -230.03139924180402,
              5981.806414631547
            ]
          },
          {
            "id": "fd4d6d68-f42b-49f4-a986-63a59213c414",
            "name": "vae_1",
            "type": "VAE",
            "linkIds": [
              439
            ],
            "label": "audio_vae",
            "pos": [
              -230.03139924180402,
              6001.806414631547
            ]
          }
        ],
        "outputs": [
          {
            "id": "f286827f-b954-4da2-94e8-a92547938a33",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              429
            ],
            "pos": [
              872.629478640967,
              5911.806414631547
            ]
          },
          {
            "id": "129e52fc-de06-4dcf-9b7c-51eac809ae73",
            "name": "AUDIO",
            "type": "AUDIO",
            "linkIds": [
              430
            ],
            "pos": [
              872.629478640967,
              5931.806414631547
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 199,
            "type": "LTXVSeparateAVLatent",
            "pos": [
              -146.03139924180405,
              5692.34213980175
            ],
            "size": [
              286.836067965115,
              48.43467905382113
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "label": "av_latent",
                "localized_name": "av_latent",
                "name": "av_latent",
                "type": "LATENT",
                "link": 422
              }
            ],
            "outputs": [
              {
                "label": "video_latent",
                "localized_name": "video_latent",
                "name": "video_latent",
                "type": "LATENT",
                "links": [
                  414
                ]
              },
              {
                "label": "audio_latent",
                "localized_name": "audio_latent",
                "name": "audio_latent",
                "type": "LATENT",
                "links": [
                  416
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "Node name for S&R": "LTXVSeparateAVLatent",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.5.2",
                "input_ue_unconnectable": {}
              },
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            }
          },
          {
            "id": 202,
            "type": "ManualSigmas",
            "pos": [
              245.4890843454942,
              6032.009171146886
            ],
            "size": [
              266.579898552601,
              58
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "label": "sigmas",
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "STRING",
                "widget": {
                  "name": "sigmas"
                },
                "link": null
              }
            ],
            "outputs": [
              {
                "label": "SIGMAS",
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": []
              }
            ],
            "title": "5 step Sigmas",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "Node name for S&R": "ManualSigmas",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.5.2",
                "input_ue_unconnectable": {}
              },
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "0.9231, 0.8780, 0.8000, 0.6316, 0.3158, 0.0000"
            ],
            "widgets_values_named": {
              "sigmas": "0.9231, 0.8780, 0.8000, 0.6316, 0.3158, 0.0000"
            }
          },
          {
            "id": 203,
            "type": "ManualSigmas",
            "pos": [
              245.4890843454942,
              5917.4157304925975
            ],
            "size": [
              266.579898552601,
              58
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "label": "sigmas",
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "STRING",
                "widget": {
                  "name": "sigmas"
                },
                "link": null
              }
            ],
            "outputs": [
              {
                "label": "SIGMAS",
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": []
              }
            ],
            "title": "4 step Sigmas",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "Node name for S&R": "ManualSigmas",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.5.2",
                "input_ue_unconnectable": {}
              },
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "0.9035, 0.8000, 0.6316, 0.3158, 0.0000"
            ],
            "widgets_values_named": {
              "sigmas": "0.9035, 0.8000, 0.6316, 0.3158, 0.0000"
            }
          },
          {
            "id": 205,
            "type": "ManualSigmas",
            "pos": [
              245.4890843454942,
              5814.785693739842
            ],
            "size": [
              266.579898552601,
              58
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "label": "sigmas",
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "STRING",
                "widget": {
                  "name": "sigmas"
                },
                "link": null
              }
            ],
            "outputs": [
              {
                "label": "SIGMAS",
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": [
                  419
                ]
              }
            ],
            "title": "3 step Sigmas",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "Node name for S&R": "ManualSigmas",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.5.2",
                "input_ue_unconnectable": {}
              },
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "0.9035, 0.6316, 0.3158, 0.0000"
            ],
            "widgets_values_named": {
              "sigmas": "0.9035, 0.6316, 0.3158, 0.0000"
            }
          },
          {
            "id": 201,
            "type": "LTXVConcatAVLatent",
            "pos": [
              -141.83525210592134,
              6095.565409773216
            ],
            "size": [
              286.8360679651149,
              46
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "label": "video_latent",
                "localized_name": "video_latent",
                "name": "video_latent",
                "type": "LATENT",
                "link": 415
              },
              {
                "label": "audio_latent",
                "localized_name": "audio_latent",
                "name": "audio_latent",
                "type": "LATENT",
                "link": 416
              }
            ],
            "outputs": [
              {
                "label": "latent",
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  420
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "Node name for S&R": "LTXVConcatAVLatent",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.5.2",
                "input_ue_unconnectable": {}
              },
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            }
          },
          {
            "id": 204,
            "type": "BasicGuider",
            "pos": [
              244.98402616744406,
              5693.207473292411
            ],
            "size": [
              270,
              60
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 424
              },
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 425
              }
            ],
            "outputs": [
              {
                "localized_name": "GUIDER",
                "name": "GUIDER",
                "type": "GUIDER",
                "links": [
                  418
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.2",
              "Node name for S&R": "BasicGuider",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 208,
            "type": "VAEDecode",
            "pos": [
              558.629478640967,
              5988.785273219627
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 421
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 438
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  429
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.2",
              "Node name for S&R": "VAEDecode",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 206,
            "type": "VAEDecodeAudio",
            "pos": [
              557.7175323659625,
              6110.3483613192575
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 417
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 439
              }
            ],
            "outputs": [
              {
                "localized_name": "AUDIO",
                "name": "AUDIO",
                "type": "AUDIO",
                "links": [
                  430
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.2",
              "Node name for S&R": "VAEDecodeAudio",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 215,
            "type": "RandomNoise",
            "pos": [
              12.962238875329176,
              5553.592843254486
            ],
            "size": [
              270,
              82
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "NOISE",
                "name": "NOISE",
                "type": "NOISE",
                "links": [
                  441
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.34.0",
              "Node name for S&R": "RandomNoise"
            },
            "widgets_values": [
              278291161107145,
              "randomize"
            ],
            "widgets_values_named": {
              "noise_seed": 278291161107145,
              "control_after_generate": "randomize"
            }
          },
          {
            "id": 207,
            "type": "SamplerCustomAdvanced",
            "pos": [
              558.507741533659,
              5683.264467943837
            ],
            "size": [
              230,
              244.65625
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "noise",
                "name": "noise",
                "type": "NOISE",
                "link": 441
              },
              {
                "localized_name": "guider",
                "name": "guider",
                "type": "GUIDER",
                "link": 418
              },
              {
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER",
                "link": 442
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 419
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 420
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": [
                  417,
                  421
                ]
              },
              {
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.2",
              "Node name for S&R": "SamplerCustomAdvanced",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 217,
            "type": "KSamplerSelect",
            "pos": [
              564.3983443943046,
              5624.750498011154
            ],
            "size": [
              270,
              58
            ],
            "flags": {
              "collapsed": true
            },
            "order": 4,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER",
                "links": [
                  442
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.34.0",
              "Node name for S&R": "KSamplerSelect"
            },
            "widgets_values": [
              "euler"
            ],
            "widgets_values_named": {
              "sampler_name": "euler"
            }
          },
          {
            "id": 200,
            "type": "MinimaxH3LatentUpscaler3D",
            "pos": [
              -143.70037624832477,
              5797.724759481557
            ],
            "size": [
              286.836067965115,
              226
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "*",
                "link": 414
              },
              {
                "localized_name": "mode.scale",
                "name": "mode.scale",
                "type": "FLOAT",
                "widget": {
                  "name": "mode.scale"
                },
                "link": 426
              }
            ],
            "outputs": [
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "*",
                "links": [
                  415
                ]
              }
            ],
            "properties": {
              "aux_id": "LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler",
              "ver": "d7c01b9011f2e8439493f6c02c29995a27df276f",
              "Node name for S&R": "MinimaxH3LatentUpscaler3D",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.8"
              }
            },
            "widgets_values": [
              "minimax_h3_latent_upscaler_3d_fp16.safetensors",
              "scale by multiplier",
              2,
              32,
              false,
              false,
              "cuda",
              "fp16"
            ],
            "widgets_values_named": {
              "model_name": "minimax_h3_latent_upscaler_3d_fp16.safetensors",
              "mode": "scale by multiplier",
              "mode.scale": 2,
              "align": 32,
              "enable_temporal_chunking": false,
              "force_unload": false,
              "device": "cuda",
              "precision": "fp16"
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 414,
            "origin_id": 199,
            "origin_slot": 0,
            "target_id": 200,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 415,
            "origin_id": 200,
            "origin_slot": 0,
            "target_id": 201,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 416,
            "origin_id": 199,
            "origin_slot": 1,
            "target_id": 201,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 417,
            "origin_id": 207,
            "origin_slot": 0,
            "target_id": 206,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 418,
            "origin_id": 204,
            "origin_slot": 0,
            "target_id": 207,
            "target_slot": 1,
            "type": "GUIDER"
          },
          {
            "id": 419,
            "origin_id": 205,
            "origin_slot": 0,
            "target_id": 207,
            "target_slot": 3,
            "type": "SIGMAS"
          },
          {
            "id": 420,
            "origin_id": 201,
            "origin_slot": 0,
            "target_id": 207,
            "target_slot": 4,
            "type": "LATENT"
          },
          {
            "id": 421,
            "origin_id": 207,
            "origin_slot": 0,
            "target_id": 208,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 422,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 199,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 424,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 204,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 425,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 204,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 426,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 200,
            "target_slot": 1,
            "type": "FLOAT"
          },
          {
            "id": 429,
            "origin_id": 208,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 430,
            "origin_id": 206,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 438,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 208,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 439,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 206,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 441,
            "origin_id": 215,
            "origin_slot": 0,
            "target_id": 207,
            "target_slot": 0,
            "type": "NOISE"
          },
          {
            "id": 442,
            "origin_id": 217,
            "origin_slot": 0,
            "target_id": 207,
            "target_slot": 2,
            "type": "SAMPLER"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "frontendVersion": "1.49.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ds": {
      "scale": 0.7052919463088908,
      "offset": [
        2762.106271965746,
        -4187.979903471949
      ]
    }
  },
  "version": 0.4
}