{ "id": "e3f2b845-8f2c-4b5a-9caf-eac1029d3e7e", "revision": 0, "last_node_id": 6194, "last_link_id": 15437, "nodes": [ { "id": 126, "type": "BasicGuider", "pos": [ 525.342794797087, 5152.674531790094 ], "size": [ 360, 60 ], "flags": {}, "order": 39, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15030 }, { "name": "conditioning", "type": "CONDITIONING", "link": 15407 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 254 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "BasicGuider" } }, { "id": 6079, "type": "Label (rgthree)", "pos": [ -1445.6629911735442, 4740.492085516962 ], "size": [ 1682.75390625, 60 ], "flags": { "allow_interaction": true }, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "More Tutorials: https://www.youtube.com/@BenjisAIPlayground", "properties": { "fontSize": 60, "fontFamily": "Arial", "fontColor": "#ffffff", "textAlign": "left", "backgroundColor": "transparent", "padding": 0, "borderRadius": 0, "angle": 0 }, "color": "#fff0", "bgcolor": "#fff0" }, { "id": 6129, "type": "ImageResizeKJv2", "pos": [ -1254.3690136094842, 5669.18208427743 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 26, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15366 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 123, "type": "KSamplerSelect", "pos": [ 525.342794797087, 5262.674531790094 ], "size": [ 370, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 15029 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "res_multistep" ], "widgets_values_named": { "sampler_name": "res_multistep" } }, { "id": 124, "type": "BasicScheduler", "pos": [ 525.342794797087, 5382.674531790094 ], "size": [ 370, 130 ], "flags": {}, "order": 40, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15031 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 256 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 8, 1 ], "widgets_values_named": { "scheduler": "simple", "steps": 8, "denoise": 1 } }, { "id": 5649, "type": "SetNode", "pos": [ -2461.0318683806836, 6128.41748906862 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 23, "mode": 0, "inputs": [ { "name": "FLOAT", "type": "FLOAT", "link": 14573 } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": null } ], "title": "Set_src_fps", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "src_fps" }, "widgets_values": [ "src_fps" ], "widgets_values_named": { "Constant": "src_fps" }, "color": "#232", "bgcolor": "#353" }, { "id": 131, "type": "ComfyMathExpression", "pos": [ -2282.0052155576977, 5891.953491884378 ], "size": [ 225, 116 ], "flags": { "collapsed": true }, "order": 21, "mode": 0, "inputs": [ { "label": "a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 261 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": null } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [] }, { "name": "INT", "type": "INT", "links": [ 15406 ] }, { "name": "BOOL", "type": "BOOLEAN", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "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": 129, "type": "RandomNoise", "pos": [ 525.342794797087, 5012.674531790094 ], "size": [ 360, 90 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 253 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "RandomNoise" }, "widgets_values": [ 731141596118309, "randomize" ], "widgets_values_named": { "noise_seed": 731141596118309, "control_after_generate": "randomize" } }, { "id": 142, "type": "PathchSageAttentionKJ", "pos": [ -968.2452156041213, 5080.925896019536 ], "size": [ 270, 82 ], "flags": {}, "order": 37, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15315 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15096 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "PathchSageAttentionKJ" }, "widgets_values": [ "auto", false ], "widgets_values_named": { "sage_attention": "auto", "allow_compile": false } }, { "id": 5960, "type": "MiniMaxH3SigmaShift", "pos": [ -950.8404673543616, 5262.443899779739 ], "size": [ 270, 82 ], "flags": {}, "order": 38, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15096 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15030, 15031 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "MiniMaxH3SigmaShift", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} } }, "widgets_values": [ 12, 3 ], "widgets_values_named": { "shift_video": 12, "shift_audio": 3 } }, { "id": 6131, "type": "ImageResizeKJv2", "pos": [ -896.3299177488892, 5677.301208648766 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 27, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15367 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 128, "type": "CLIPLoader", "pos": [ -2124.4375423471847, 5168.0800087504595 ], "size": [ 404.5454545454545, 109.09090909090901 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 15399 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "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": [ "minimax-h3\\qwen3vl_32b_h3_ultra_uncensored_heretic_int8_convrot.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "minimax-h3\\qwen3vl_32b_h3_ultra_uncensored_heretic_int8_convrot.safetensors", "type": "minimax", "device": "default" } }, { "id": 6126, "type": "LoraLoaderModelOnly", "pos": [ -1594.170534628604, 5388.857792640996 ], "size": [ 461.0493590559904, 83.84591996354084 ], "flags": {}, "order": 35, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15348 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15315 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "minimax-h3\\h3-realism-people-t2v-i2v-r2v(r34l1sm).safetensors", 1 ], "widgets_values_named": { "lora_name": "minimax-h3\\h3-realism-people-t2v-i2v-r2v(r34l1sm).safetensors", "strength_model": 1 } }, { "id": 6140, "type": "LoraLoaderModelOnly", "pos": [ -1593.1170647345268, 5160.069877170373 ], "size": [ 461.0493590559904, 83.84591996354084 ], "flags": {}, "order": 32, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 15347 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15348 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "minimax-h3\\HMNSFW-AIO-V2.5.safetensors", 0.7 ], "widgets_values_named": { "lora_name": "minimax-h3\\HMNSFW-AIO-V2.5.safetensors", "strength_model": 0.7 } }, { "id": 132, "type": "PrimitiveFloat", "pos": [ -2612.1823001355783, 5862.0475741508735 ], "size": [ 309.66942148760313, 65.86776859504062 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 261 ] } ], "title": "(input:duration) Duration", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveFloat" }, "widgets_values": [ 12 ], "widgets_values_named": { "value": 12 }, "color": "#232", "bgcolor": "#353" }, { "id": 6146, "type": "PrimitiveFloat", "pos": [ -2608.6028104594575, 5738.343948717386 ], "size": [ 270, 58 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 15363 ] } ], "title": "(input:Float) Megapixels", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "PrimitiveFloat" }, "widgets_values": [ 0.7 ], "widgets_values_named": { "value": 0.7 }, "color": "#232", "bgcolor": "#353" }, { "id": 5650, "type": "PrimitiveFloat", "pos": [ -2600.051733733349, 6023.884769440681 ], "size": [ 270, 58 ], "flags": { "collapsed": false }, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 14573 ] } ], "title": "(input:Float) FPS", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveFloat" }, "widgets_values": [ 24 ], "widgets_values_named": { "value": 24 }, "color": "#232", "bgcolor": "#353" }, { "id": 5959, "type": "LoraLoaderModelOnly", "pos": [ -1591.4153338680403, 4965.352760760474 ], "size": [ 461.0493590559904, 83.84591996354084 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15027 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15347 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "minimax-h3\\minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors", 1 ], "widgets_values_named": { "lora_name": "minimax-h3\\minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors", "strength_model": 1 } }, { "id": 127, "type": "UNETLoader", "pos": [ -2134.481083065705, 4975.547767549356 ], "size": [ 444.47545454545445, 86.36363636363603 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15027 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "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\\minimax_h3_ref2va_int8_convrot.safetensors", "default" ], "widgets_values_named": { "unet_name": "minimax-h3\\minimax_h3_ref2va_int8_convrot.safetensors", "weight_dtype": "default" } }, { "id": 6147, "type": "LoadImage", "pos": [ -1992.8544069812033, 6124.319573988142 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15364 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "(input:image) Ref 1", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "LoadImage" }, "widgets_values": [ "00027-2672012960.png", "image" ], "widgets_values_named": { "image": "00027-2672012960.png", "upload": "image" } }, { "id": 6149, "type": "LoadImage", "pos": [ -1285.779992918706, 6130.291573988143 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 9, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15366 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "(input:image) Ref 3", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "LoadImage" }, "widgets_values": [ "00027-2672012960.png", "image" ], "widgets_values_named": { "image": "00027-2672012960.png", "upload": "image" } }, { "id": 6150, "type": "LoadImage", "pos": [ -925.0789929187074, 6128.960573988142 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 10, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15367 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "(input:image) Ref 4", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "LoadImage" }, "widgets_values": [ "00027-2672012960.png", "image" ], "widgets_values_named": { "image": "00027-2672012960.png", "upload": "image" } }, { "id": 140, "type": "MarkdownNote", "pos": [ -2478.027552615378, 5145.1479045124615 ], "size": [ 268.74530428249454, 377.9263711495123 ], "flags": {}, "order": 11, "mode": 0, "inputs": [], "outputs": [], "title": "Note: Size Settings Reference", "properties": {}, "widgets_values": [ "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n" ], "widgets_values_named": { "text": "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n" }, "color": "#222", "bgcolor": "#000" }, { "id": 6152, "type": "ImageResizeKJv2", "pos": [ -523.0564909828058, 5689.861606917959 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 29, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15368 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 6090, "type": "ImageResizeKJv2", "pos": [ -1957.1341893550903, 5676.272193964289 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 25, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15364 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15405 ] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 119, "type": "VAELoader", "pos": [ -2119.0474943430354, 5334.329993979955 ], "size": [ 410.909090909091, 64.54545454545405 ], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 251, 15400, 15411 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "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\\minimax_h3_video_vae_fp16.safetensors" ], "widgets_values_named": { "vae_name": "minimax-h3\\minimax_h3_video_vae_fp16.safetensors" } }, { "id": 6188, "type": "ImageBatchMulti", "pos": [ -388.42672190618316, 5391.486909658747 ], "size": [ 270, 122 ], "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE", "link": 15405 }, { "name": "image_2", "shape": 7, "type": "IMAGE", "link": 15404 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 15402 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "c57d89f4452ce228e5c2f7e09339cb2f9fc58994", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} } }, "widgets_values": [ 2, null ], "widgets_values_named": { "inputcount": 2, "Update inputs": null } }, { "id": 6190, "type": "MiniMaxH3EncodeAVPatched", "pos": [ -404.7636831141462, 5228.979420015287 ], "size": [ 285.2759765625, 86 ], "flags": {}, "order": 34, "mode": 0, "inputs": [ { "name": "vae", "type": "VAE", "link": 15411 }, { "name": "images", "type": "IMAGE", "link": 15417 }, { "name": "audio_vae", "shape": 7, "type": "VAE", "link": 15412 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": 15418 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 15410 ] } ], "properties": { "cnr_id": "minimax-h3-extend", "ver": "3d9dd8a91894f0093ea1a9d7142431f663aab614", "Node name for S&R": "MiniMaxH3EncodeAVPatched" } }, { "id": 6164, "type": "MarkdownNote", "pos": [ -435.767211895036, 4989.8086734115395 ], "size": [ 319.57077700915056, 170.8164586381074 ], "flags": {}, "order": 13, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.2", "input_ue_unconnectable": {} } }, "widgets_values": [ "I find these default settings best but if the previous scene has more motion, try increasing context frames or ref ramp\n** note: context frames are in latent frames so 1 = roughly 24 decoded frames**\n\nDefault: 2 context_frames, increasing this pulls more context but may be slower.\n\n\npin_last_frame will use the last frame of the prior video as a start frame. use \"first_frame\" input if you want to override this (i.e. start the extended with with a novel view)\n" ], "widgets_values_named": { "text": "I find these default settings best but if the previous scene has more motion, try increasing context frames or ref ramp\n** note: context frames are in latent frames so 1 = roughly 24 decoded frames**\n\nDefault: 2 context_frames, increasing this pulls more context but may be slower.\n\n\npin_last_frame will use the last frame of the prior video as a start frame. use \"first_frame\" input if you want to override this (i.e. start the extended with with a novel view)\n" }, "color": "#432", "bgcolor": "#653" }, { "id": 6187, "type": "MiniMaxH3VideoExtendPatched", "pos": [ -53.41648216846119, 4979.361039841112 ], "size": [ 464.4101562499999, 528.641518235393 ], "flags": {}, "order": 36, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 15399 }, { "name": "vae", "type": "VAE", "link": 15400 }, { "name": "context_latent", "type": "LATENT", "link": 15410 }, { "name": "audio_vae", "shape": 7, "type": "VAE", "link": 15401 }, { "name": "first_frame", "shape": 7, "type": "IMAGE", "link": null }, { "name": "last_frame", "shape": 7, "type": "IMAGE", "link": null }, { "name": "ref_images", "shape": 7, "type": "IMAGE", "link": 15402 }, { "name": "ref_audio", "shape": 7, "type": "AUDIO", "link": null }, { "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 15413 }, { "name": "length", "type": "INT", "widget": { "name": "length" }, "link": 15406 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 15407 ] }, { "name": "latent", "type": "LATENT", "links": [ 15409 ] } ], "properties": { "cnr_id": "minimax-h3-extend", "ver": "51023c4b9a3e492700caef21c330977ce0825d26", "Node name for S&R": "MiniMaxH3VideoExtendPatched", "aux_id": "kat3ri/ComfyUI-MiniMax-H3-Extend", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.2" } }, "widgets_values": [ "", 124, 2, false, "match" ], "widgets_values_named": { "prompt": "", "length": 124, "context_frames": 2, "pin_last_frame": false, "ref_image_size": "match" } }, { "id": 6127, "type": "StringConcatenate", "pos": [ -2268.327931441249, 6041.474137701605 ], "size": [ 327.60056539373613, 195.21889747487785 ], "flags": { "collapsed": true }, "order": 30, "mode": 0, "inputs": [ { "name": "string_b", "type": "STRING", "widget": { "name": "string_b" }, "link": 15316 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 15413 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "StringConcatenate" }, "widgets_values": [ "r34i1sm , ultra realistic video. ", "", " " ], "widgets_values_named": { "string_a": "r34i1sm , ultra realistic video. ", "string_b": "", "delimiter": " " } }, { "id": 6091, "type": "ImageResizeKJv2", "pos": [ -1613.4169217032609, 5673.759609345455 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 28, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15365 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15404 ] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 115, "type": "ResolutionSelector", "pos": [ -2312.1111046757555, 5678.870071372252 ], "size": [ 319.67370584473247, 137.09116987786547 ], "flags": {}, "order": 22, "mode": 0, "showAdvanced": false, "inputs": [ { "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": 15363 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 15414 ] }, { "name": "height", "type": "INT", "links": [ 15415 ] } ], "title": "Resolution Selector (Size)", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "ResolutionSelector" }, "widgets_values": [ "16:9 (Widescreen)", 0.8, 32 ], "widgets_values_named": { "aspect_ratio": "16:9 (Widescreen)", "megapixels": 0.8, "multiple": 32 }, "color": "#232", "bgcolor": "#353" }, { "id": 6192, "type": "ImageResizeKJv2", "pos": [ -94.7626967208911, 5677.588149784292 ], "size": [ 270, 336 ], "flags": { "collapsed": false }, "order": 31, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 15416 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 15414 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 15415 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15417 ] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3df15ed824045ca45ba668869965a72c7d9d9825", "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 1024, 1024, "nvidia_rtx_vsr", "pad", "0, 0, 0", "center", 2, "cpu" ], "widgets_values_named": { "width": 1024, "height": 1024, "upscale_method": "nvidia_rtx_vsr", "keep_proportion": "pad", "pad_color": "0, 0, 0", "crop_position": "center", "divisible_by": 2, "device": "cpu" } }, { "id": 6148, "type": "LoadImage", "pos": [ -1634.7681929187047, 6130.690873988144 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 14, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15365 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "(input:image) Ref 2", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "LoadImage" }, "widgets_values": [ "00027-2672012960.png", "image" ], "widgets_values_named": { "image": "00027-2672012960.png", "upload": "image" } }, { "id": 122, "type": "VAEDecode", "pos": [ 601.4219450430065, 5685.7616988127165 ], "size": [ 230, 60 ], "flags": { "collapsed": false }, "order": 42, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 280 }, { "name": "vae", "type": "VAE", "link": 251 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14575 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "VAEDecode" } }, { "id": 6151, "type": "LoadImage", "pos": [ -551.805566152624, 6141.5209722573345 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 15, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15368 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "(input:image) Ref 5", "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "LoadImage" }, "widgets_values": [ "00027-2672012960.png", "image" ], "widgets_values_named": { "image": "00027-2672012960.png", "upload": "image" } }, { "id": 6191, "type": "VHS_LoadVideo", "pos": [ -197.40402700214258, 6145.872008784302 ], "size": [ 516.7317215624998, 603.1302121166918 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15416 ] }, { "name": "frame_count", "type": "INT", "links": null }, { "name": "audio", "type": "AUDIO", "links": [ 15418 ] }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": null } ], "title": "(input:video) Load Video", "properties": { "aux_id": "kosinkadink/ComfyUI-VideoHelperSuite", "ver": "449839959f0153fb8a57211a9364c55163935ca9", "Node name for S&R": "VHS_LoadVideo" }, "widgets_values": { "video": "20260410_Static_low_4071_0.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1, "format": "AnimateDiff", "videopreview": { "hidden": false, "paused": true, "params": { "filename": "20260410_Static_low_4071_0.mp4", "type": "input", "format": "video/mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1 } } }, "widgets_values_named": { "video": "20260410_Static_low_4071_0.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1, "format": "AnimateDiff", "choose video to upload": null, "videopreview": { "hidden": false, "paused": true, "params": { "filename": "20260410_Static_low_4071_0.mp4", "type": "input", "format": "video/mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1 } } } }, { "id": 138, "type": "PrimitiveStringMultiline", "pos": [ -2589.2824512640964, 6198.688060011042 ], "size": [ 544.7266355030816, 657.4515930846019 ], "flags": {}, "order": 17, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 15316 ] } ], "title": "(input:prompt) Text Prompt", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "" ], "widgets_values_named": { "value": "" }, "color": "#232", "bgcolor": "#353" }, { "id": 6078, "type": "Label (rgthree)", "pos": [ -1445.0819488313507, 4576.641735254644 ], "size": [ 2778.10546875, 120 ], "flags": { "allow_interaction": true }, "order": 18, "mode": 0, "inputs": [], "outputs": [], "title": "MiniMax-H3 R2V (Latent Upres+ extend) -20260825", "properties": { "fontSize": 120, "fontFamily": "Arial", "fontColor": "#ffffff", "textAlign": "left", "backgroundColor": "transparent", "padding": 0, "borderRadius": 0, "angle": 0 }, "color": "#fff0", "bgcolor": "#fff0" }, { "id": 6110, "type": "VHS_VideoCombine", "pos": [ 1246.3298251099538, 5635.231730935175 ], "size": [ 707.3653640454341, 334 ], "flags": {}, "order": 46, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 15433 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": 15437 }, { "name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": null }, { "name": "frame_rate", "type": "FLOAT", "widget": { "name": "frame_rate" }, "link": 15335 } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": null } ], "title": "(output:video) Output", "properties": { "aux_id": "kosinkadink/ComfyUI-VideoHelperSuite", "ver": "449839959f0153fb8a57211a9364c55163935ca9", "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 24, "loop_count": 0, "filename_prefix": "Calliope-h3\\video", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "videopreview": { "hidden": true, "paused": true, "params": { "filename": "stage2_00006-audio.mp4", "subfolder": "h3-nsfw", "type": "temp", "format": "video/h264-mp4", "frame_rate": 24, "workflow": "stage2_00006.png", "fullpath": "F:\\ComfyUI\\temp\\h3-nsfw\\stage2_00006-audio.mp4" } } }, "widgets_values_named": { "frame_rate": 24, "loop_count": 0, "filename_prefix": "Calliope-h3\\video", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "videopreview": { "hidden": true, "paused": true, "params": { "filename": "stage2_00006-audio.mp4", "subfolder": "h3-nsfw", "type": "temp", "format": "video/h264-mp4", "frame_rate": 24, "workflow": "stage2_00006.png", "fullpath": "F:\\ComfyUI\\temp\\h3-nsfw\\stage2_00006-audio.mp4" } } } }, { "id": 5651, "type": "SetNode", "pos": [ 894.4196845376381, 5686.533451312827 ], "size": [ 210, 60 ], "flags": { "collapsed": false }, "order": 44, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 14575 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15433 ] } ], "title": "Set_video_1", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "video_1" }, "widgets_values": [ "video_1" ], "widgets_values_named": { "Constant": "video_1" }, "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 6193, "type": "VAEDecodeAudio", "pos": [ 585.0280998868144, 5835.318866181411 ], "size": [ 230, 60 ], "flags": { "collapsed": false }, "order": 43, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 15435 }, { "name": "vae", "type": "VAE", "link": 15436 } ], "outputs": [ { "name": "AUDIO", "type": "AUDIO", "links": [ 15434 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "VAEDecodeAudio" } }, { "id": 125, "type": "SamplerCustomAdvanced", "pos": [ 935.342794797087, 5182.674531790094 ], "size": [ 239.76709241172045, 114.4552967693462 ], "flags": {}, "order": 41, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 253 }, { "name": "guider", "type": "GUIDER", "link": 254 }, { "name": "sampler", "type": "SAMPLER", "link": 15029 }, { "name": "sigmas", "type": "SIGMAS", "link": 256 }, { "name": "latent_image", "type": "LATENT", "link": 15409 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 280, 15435 ] }, { "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "SamplerCustomAdvanced" } }, { "id": 120, "type": "VAELoader", "pos": [ -2126.0875201914228, 5463.120005057831 ], "size": [ 412.72727272727263, 58 ], "flags": {}, "order": 19, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 15401, 15412, 15436 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "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\\minimax_h3_audio_vae_fp32.safetensors" ], "widgets_values_named": { "vae_name": "minimax-h3\\minimax_h3_audio_vae_fp32.safetensors" } }, { "id": 6194, "type": "SetNode", "pos": [ 908.9362980506742, 5830.039045773061 ], "size": [ 210, 58 ], "flags": { "collapsed": false }, "order": 45, "mode": 0, "inputs": [ { "name": "AUDIO", "type": "AUDIO", "link": 15434 } ], "outputs": [ { "name": "AUDIO", "type": "AUDIO", "links": [ 15437 ] } ], "title": "Set_src_audio", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "src_audio" }, "widgets_values": [ "src_audio" ], "widgets_values_named": { "Constant": "src_audio" } }, { "id": 6135, "type": "GetNode", "pos": [ 603.8143706507493, 5972.76974518579 ], "size": [ 210, 58 ], "flags": { "collapsed": false }, "order": 20, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 15335 ] } ], "title": "Get_src_fps", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "src_fps" ], "widgets_values_named": { "Constant": "src_fps" }, "color": "#232", "bgcolor": "#353" } ], "links": [ [ 251, 119, 0, 122, 1, "VAE" ], [ 253, 129, 0, 125, 0, "NOISE" ], [ 254, 126, 0, 125, 1, "GUIDER" ], [ 256, 124, 0, 125, 3, "SIGMAS" ], [ 261, 132, 0, 131, 0, "FLOAT" ], [ 280, 125, 0, 122, 0, "LATENT" ], [ 14573, 5650, 0, 5649, 0, "FLOAT" ], [ 14575, 122, 0, 5651, 0, "IMAGE" ], [ 15027, 127, 0, 5959, 0, "MODEL" ], [ 15029, 123, 0, 125, 2, "SAMPLER" ], [ 15030, 5960, 0, 126, 0, "MODEL" ], [ 15031, 5960, 0, 124, 0, "MODEL" ], [ 15096, 142, 0, 5960, 0, "MODEL" ], [ 15315, 6126, 0, 142, 0, "MODEL" ], [ 15316, 138, 0, 6127, 0, "STRING" ], [ 15335, 6135, 0, 6110, 4, "FLOAT" ], [ 15347, 5959, 0, 6140, 0, "MODEL" ], [ 15348, 6140, 0, 6126, 0, "MODEL" ], [ 15363, 6146, 0, 115, 0, "FLOAT" ], [ 15364, 6147, 0, 6090, 0, "IMAGE" ], [ 15365, 6148, 0, 6091, 0, "IMAGE" ], [ 15366, 6149, 0, 6129, 0, "IMAGE" ], [ 15367, 6150, 0, 6131, 0, "IMAGE" ], [ 15368, 6151, 0, 6152, 0, "IMAGE" ], [ 15399, 128, 0, 6187, 0, "CLIP" ], [ 15400, 119, 0, 6187, 1, "VAE" ], [ 15401, 120, 0, 6187, 3, "VAE" ], [ 15402, 6188, 0, 6187, 6, "IMAGE" ], [ 15404, 6091, 0, 6188, 1, "IMAGE" ], [ 15405, 6090, 0, 6188, 0, "IMAGE" ], [ 15406, 131, 1, 6187, 9, "INT" ], [ 15407, 6187, 0, 126, 1, "CONDITIONING" ], [ 15409, 6187, 1, 125, 4, "LATENT" ], [ 15410, 6190, 0, 6187, 2, "LATENT" ], [ 15411, 119, 0, 6190, 0, "VAE" ], [ 15412, 120, 0, 6190, 2, "VAE" ], [ 15413, 6127, 0, 6187, 8, "STRING" ], [ 15414, 115, 0, 6192, 2, "INT" ], [ 15415, 115, 1, 6192, 3, "INT" ], [ 15416, 6191, 0, 6192, 0, "IMAGE" ], [ 15417, 6192, 0, 6190, 1, "IMAGE" ], [ 15418, 6191, 2, 6190, 3, "AUDIO" ], [ 15433, 5651, 0, 6110, 0, "IMAGE" ], [ 15434, 6193, 0, 6194, 0, "AUDIO" ], [ 15435, 125, 0, 6193, 0, "LATENT" ], [ 15436, 120, 0, 6193, 1, "VAE" ], [ 15437, 6194, 0, 6110, 1, "AUDIO" ] ], "groups": [ { "id": 1, "title": "Models", "bounding": [ -2154.9875201914233, 4877.820005057832, 484.72727272727275, 657.2727272727279 ], "color": "#3f789e", "flags": {} }, { "id": 2, "title": "Sampling", "bounding": [ 505.34279479708704, 4912.674531790094, 681.1818181818182, 625.181818181818 ], "color": "#3f789e", "flags": {} }, { "id": 3, "title": "Conditioning", "bounding": [ -512.895589719868, 4900.880775087548, 981.3212171051963, 643.6724350005034 ], "color": "#3f789e", "flags": {} }, { "id": 4, "title": "Decoding and create video", "bounding": [ 514.8032221876347, 5587.6177498366915, 663.4158445458977, 507.837050952935 ], "color": "#3f789e", "flags": {} }, { "id": 5, "title": "User Inputs", "bounding": [ -2628.8661077493166, 5585.522678173105, 3090.2533864521547, 1363.2562299272731 ], "color": "#8AA", "flags": {} }, { "id": 6, "title": "Patches", "bounding": [ -1024.502722057643, 4892.710397021236, 410.00446129752083, 639.2320962176818 ], "color": "#3f789e", "flags": {} }, { "id": 192, "title": "LoRAs", "bounding": [ -1620.6152417049543, 4886.382786456276, 528.7641630561689, 627.4609338386854 ], "color": "#3f789e", "flags": {} } ], "config": {}, "extra": { "frontendVersion": "1.49.6", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "ds": { "scale": 0.7513148009015783, "offset": [ 1390.9963777451867, -5376.162655511068 ] } }, "version": 0.4 }