{ "id": "7768a9bb-116e-4c0a-a8a2-c20202d4ccf5", "revision": 0, "last_node_id": 96, "last_link_id": 240, "nodes": [ { "id": 1, "type": "CLIPLoader", "pos": [ 1169.74560546875, 974.6312255859375 ], "size": [ 318.0999450683594, 106 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" } }, { "name": "type", "type": "COMBO", "widget": { "name": "type" } }, { "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" } } ], "outputs": [ { "label": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 155 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", "directory": "text_encoders", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors" } ], "widget_ue_connectable": {} }, "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": 2, "type": "VAELoader", "pos": [ 1555.703857421875, 1033.6461181640625 ], "size": [ 284.4346923828125, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" } } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 154, 157, 180, 181 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "VAELoader", "models": [ { "directory_invalid": true, "name": "minimax_h3_audio_vae_fp32.safetensors", "directory": "vae", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors" } ], "widget_ue_connectable": {} }, "widgets_values": [ "minimax_h3_audio_vae_fp32.safetensors" ], "widgets_values_named": { "vae_name": "minimax_h3_audio_vae_fp32.safetensors" } }, { "id": 6, "type": "UniBlockSwap", "pos": [ 1917.879638671875, 566.4727783203125 ], "size": [ 270, 58 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "label": "model", "name": "model", "type": "MODEL", "link": 222 }, { "label": "num_blocks", "name": "num_blocks", "shape": 7, "type": "INT", "widget": { "name": "num_blocks" } } ], "outputs": [ { "label": "model", "name": "model", "type": "MODEL", "links": [ 8 ] } ], "properties": { "cnr_id": "uniblockswap", "ver": "a019e82c45185beb5f3a2273a6b47b9f88e001b9", "Node name for S&R": "UniBlockSwap", "widget_ue_connectable": {} }, "widgets_values": [ -1 ], "widgets_values_named": { "num_blocks": -1 } }, { "id": 35, "type": "easy mergeVideosFromPaths", "pos": [ 2703.69677734375, 176.0471649169922 ], "size": [ 270, 102 ], "flags": {}, "order": 49, "mode": 0, "inputs": [ { "label": "paths", "name": "paths", "type": "STRING", "link": 60 }, { "label": "audio", "name": "audio", "shape": 7, "type": "AUDIO" }, { "label": "frame_count", "name": "frame_count", "type": "INT", "widget": { "name": "frame_count" } }, { "label": "audio_mode", "name": "audio_mode", "type": "COMBO", "widget": { "name": "audio_mode" } } ], "outputs": [ { "label": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 226 ] } ], "properties": { "cnr_id": "comfyui-easy-media", "ver": "1254e0e0afa9afee268027b9540fdc91c888ebc5", "Node name for S&R": "easy mergeVideosFromPaths", "widget_ue_connectable": {} }, "widgets_values": [ -1, "merge" ], "widgets_values_named": { "frame_count": -1, "audio_mode": "merge" } }, { "id": 41, "type": "ComfyMathExpression", "pos": [ 2321.67822265625, 137.3386688232422 ], "size": [ 276.9344787597656, 128.14254760742188 ], "flags": { "collapsed": true }, "order": 24, "mode": 0, "inputs": [ { "label": "values.a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 74 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": 75 }, { "label": "c", "name": "values.c", "shape": 7, "type": "FLOAT,INT,BOOLEAN" }, { "label": "expression", "name": "expression", "type": "STRING", "widget": { "name": "expression" } } ], "outputs": [ { "label": "FLOAT", "name": "FLOAT", "type": "FLOAT" }, { "label": "INT", "name": "INT", "type": "INT", "links": [ 76 ] }, { "label": "BOOL", "name": "BOOL", "type": "BOOLEAN" } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "ComfyMathExpression", "widget_ue_connectable": {} }, "widgets_values": [ "(a<=-1)*b+(a>-1)*a" ], "widgets_values_named": { "expression": "(a<=-1)*b+(a>-1)*a" } }, { "id": 31, "type": "easy forLoopEnd", "pos": [ 2504.874755859375, 151.6279296875 ], "size": [ 163.08984375, 166 ], "flags": {}, "order": 48, "mode": 0, "inputs": [ { "label": "流", "name": "flow", "shape": 5, "type": "FLOW_CONTROL", "link": 53 }, { "label": "初始值1", "name": "initial_value1", "shape": 7, "type": "*", "link": 59 }, { "label": "初始值2", "name": "initial_value2", "type": "*" }, { "label": "初始值3", "name": "initial_value3", "type": "*" }, { "label": "初始值4", "name": "initial_value4", "type": "*" }, { "label": "初始值5", "name": "initial_value5", "type": "*" }, { "name": "initial_value6", "type": "*" }, { "name": "initial_value7", "type": "*", "link": null } ], "outputs": [ { "label": "值1", "name": "value1", "type": "*", "links": [ 60 ] }, { "label": "值2", "name": "value2", "type": "*" }, { "label": "值3", "name": "value3", "type": "*" }, { "label": "值4", "name": "value4", "type": "*" }, { "label": "值5", "name": "value5", "type": "*" }, { "name": "value6", "type": "*" }, { "name": "value7", "type": "*", "links": null } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7", "Node name for S&R": "easy forLoopEnd", "widget_ue_connectable": {} }, "color": "#223", "bgcolor": "#335" }, { "id": 38, "type": "ComfyMathExpression", "pos": [ 2043.7784423828125, 98.46134948730469 ], "size": [ 276.9344787597656, 128 ], "flags": { "collapsed": true }, "order": 19, "mode": 0, "inputs": [ { "label": "values.a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 71 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": 72 }, { "label": "c", "name": "values.c", "shape": 7, "type": "FLOAT,INT,BOOLEAN" }, { "label": "expression", "name": "expression", "type": "STRING", "widget": { "name": "expression" } } ], "outputs": [ { "label": "FLOAT", "name": "FLOAT", "type": "FLOAT" }, { "label": "INT", "name": "INT", "type": "INT", "links": [ 73 ] }, { "label": "BOOL", "name": "BOOL", "type": "BOOLEAN" } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "ComfyMathExpression", "widget_ue_connectable": {} }, "widgets_values": [ "(a<=-1)*b+(a>-1)*1" ], "widgets_values_named": { "expression": "(a<=-1)*b+(a>-1)*1" } }, { "id": 32, "type": "easy forLoopStart", "pos": [ 2021.247802734375, 142.70419311523438 ], "size": [ 270, 218 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "label": "初始值1", "name": "initial_value1", "shape": 7, "type": "*" }, { "label": "总量", "name": "total", "type": "INT", "widget": { "name": "total" }, "link": 73 }, { "label": "初始值2", "name": "initial_value2", "type": "*" }, { "label": "初始值3", "name": "initial_value3", "type": "*" }, { "label": "初始值4", "name": "initial_value4", "type": "*" }, { "label": "初始值5", "name": "initial_value5", "type": "*" }, { "name": "initial_value6", "type": "*" }, { "name": "initial_value7", "type": "*", "link": null } ], "outputs": [ { "label": "流", "name": "flow", "shape": 5, "type": "FLOW_CONTROL", "links": [ 53 ] }, { "label": "索引", "name": "index", "type": "INT", "links": [ 66, 75 ] }, { "label": "值1", "name": "value1", "type": "*", "links": [ 58 ] }, { "label": "值2", "name": "value2", "type": "*" }, { "label": "值3", "name": "value3", "type": "*" }, { "label": "值4", "name": "value4", "type": "*" }, { "label": "值5", "name": "value5", "type": "*" }, { "name": "value6", "type": "*" }, { "name": "value7", "type": "*", "links": null } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7", "Node name for S&R": "easy forLoopStart", "widget_ue_connectable": {} }, "widgets_values": [ 1 ], "widgets_values_named": { "total": 1 }, "color": "#223", "bgcolor": "#335" }, { "id": 68, "type": "KSamplerSelect", "pos": [ 3303.470703125, 518.082763671875 ], "size": [ 210, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" } } ], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 125 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.31.0", "Node name for S&R": "KSamplerSelect", "widget_ue_connectable": { "sampler_name": true } }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 65, "type": "BasicGuider", "pos": [ 3343.397216796875, 648.375732421875 ], "size": [ 140, 46 ], "flags": {}, "order": 34, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 179 }, { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 164 } ], "outputs": [ { "label": "引导", "name": "GUIDER", "type": "GUIDER", "links": [ 124 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "BasicGuider", "widget_ue_connectable": {} } }, { "id": 7, "type": "easy ifElse", "pos": [ 1919.099365234375, 684.06982421875 ], "size": [ 270, 78 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "label": "真时", "name": "on_true", "type": "*", "link": 8 }, { "label": "假时", "name": "on_false", "type": "*", "link": 223 }, { "label": "布尔", "name": "boolean", "type": "BOOLEAN", "widget": { "name": "boolean" }, "link": 10 } ], "outputs": [ { "label": "*", "name": "*", "type": "*", "links": [ 46, 176, 179 ] } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7", "Node name for S&R": "easy ifElse", "widget_ue_connectable": {} }, "widgets_values": [ false ], "widgets_values_named": { "boolean": false } }, { "id": 66, "type": "BasicGuider", "pos": [ 2822.558837890625, 489.5196533203125 ], "size": [ 140, 46 ], "flags": {}, "order": 35, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 177 }, { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 165 } ], "outputs": [ { "label": "引导", "name": "GUIDER", "type": "GUIDER", "links": [ 145 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "BasicGuider", "widget_ue_connectable": {} } }, { "id": 34, "type": "easy batchAnything", "pos": [ 2323.621826171875, 250.47927856445312 ], "size": [ 140, 46 ], "flags": {}, "order": 47, "mode": 0, "inputs": [ { "label": "任意_1", "name": "any_1", "type": "*", "link": 58 }, { "label": "任意_2", "name": "any_2", "type": "*", "link": 57 } ], "outputs": [ { "label": "batch", "name": "batch", "type": "*", "links": [ 59 ] } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7", "Node name for S&R": "easy batchAnything", "widget_ue_connectable": {} } }, { "id": 8, "type": "VAELoader", "pos": [ 1551.593505859375, 915.9638671875 ], "size": [ 284.6875, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" } } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 153, 156, 182, 183 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "VAELoader", "models": [ { "directory_invalid": true, "name": "minimax_h3_video_vae_fp16.safetensors", "directory": "vae", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors" } ], "widget_ue_connectable": {} }, "widgets_values": [ "minimax_h3_video_vae_fp16.safetensors" ], "widgets_values_named": { "vae_name": "minimax_h3_video_vae_fp16.safetensors" } }, { "id": 67, "type": "BasicScheduler", "pos": [ 3564.44775390625, 668.78857421875 ], "size": [ 210, 106 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 176 }, { "name": "scheduler", "type": "COMBO", "widget": { "name": "scheduler" } }, { "name": "steps", "type": "INT", "widget": { "name": "steps" } }, { "name": "denoise", "type": "FLOAT", "widget": { "name": "denoise" } } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 126 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.31.0", "Node name for S&R": "BasicScheduler", "widget_ue_connectable": { "scheduler": true, "denoise": true, "steps": true } }, "widgets_values": [ "beta", 4, 0.2 ], "widgets_values_named": { "scheduler": "beta", "steps": 4, "denoise": 0.2 } }, { "id": 58, "type": "VAEDecodeAudio", "pos": [ 3590.927734375, 1020.4344482421875 ], "size": [ 158.71542358398438, 46 ], "flags": { "collapsed": false }, "order": 44, "mode": 0, "inputs": [ { "label": "Latent", "name": "samples", "type": "LATENT", "link": 131 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 180 } ], "outputs": [ { "label": "音频", "name": "AUDIO", "type": "AUDIO", "links": [ 175, 204, 239 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "VAEDecodeAudio", "widget_ue_connectable": {} } }, { "id": 72, "type": "KSamplerSelect", "pos": [ 2296.680419921875, 453.9066162109375 ], "size": [ 234.31468200683594, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" } } ], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 146 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.31.0", "Node name for S&R": "KSamplerSelect", "widget_ue_connectable": { "sampler_name": true } }, "widgets_values": [ "er_sde" ], "widgets_values_named": { "sampler_name": "er_sde" } }, { "id": 37, "type": "ComfyMathExpression", "pos": [ 2729.76953125, 439.9652099609375 ], "size": [ 210, 128 ], "flags": { "collapsed": true }, "order": 23, "mode": 0, "inputs": [ { "label": "values.a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 65 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": 66 }, { "label": "c", "name": "values.c", "shape": 7, "type": "FLOAT,INT,BOOLEAN" }, { "label": "expression", "name": "expression", "type": "STRING", "widget": { "name": "expression" } } ], "outputs": [ { "label": "FLOAT", "name": "FLOAT", "type": "FLOAT" }, { "label": "INT", "name": "INT", "type": "INT", "links": [ 171 ] }, { "label": "BOOL", "name": "BOOL", "type": "BOOLEAN" } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "ComfyMathExpression", "widget_ue_connectable": {} }, "widgets_values": [ "a+b" ], "widgets_values_named": { "expression": "a+b" } }, { "id": 83, "type": "MiniMaxH3HybridLoader", "pos": [ 1209.3497314453125, 521.16552734375 ], "size": [ 303.171875, 250 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "base_model", "type": "COMBO", "widget": { "name": "base_model" } }, { "name": "overlay_model", "type": "COMBO", "widget": { "name": "overlay_model" } }, { "name": "overlay_preset", "type": "COMBO", "widget": { "name": "overlay_preset" } }, { "name": "block_range_start", "shape": 7, "type": "INT", "widget": { "name": "block_range_start" } }, { "name": "block_range_end", "shape": 7, "type": "INT", "widget": { "name": "block_range_end" } }, { "name": "final_adaln_from_overlay", "shape": 7, "type": "BOOLEAN", "widget": { "name": "final_adaln_from_overlay" } }, { "name": "custom_overlays", "shape": 7, "type": "STRING", "widget": { "name": "custom_overlays" } }, { "name": "custom_base", "shape": 7, "type": "STRING", "widget": { "name": "custom_base" } }, { "name": "weight_dtype", "shape": 7, "type": "COMBO", "widget": { "name": "weight_dtype" } } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 200 ] } ], "properties": { "aux_id": "scottmudge/ComfyUI_MinimaxH3HybridLoader", "ver": "a44c69b02242e41fbd01e22abe2a492adc853038", "Node name for S&R": "MiniMaxH3HybridLoader", "widget_ue_connectable": { "weight_dtype": true, "base_model": true, "overlay_preset": true, "block_range_end": true, "final_adaln_from_overlay": true, "custom_overlays": true, "custom_base": true, "overlay_model": true, "block_range_start": true } }, "widgets_values": [ "minimax_h3_fl2va_pruned_int8_convrot.safetensors", "minimax_h3_ref2va_pruned_int8_convrot.safetensors", "block_range_adaln", 25, 49, false, "", "", "default" ], "widgets_values_named": { "base_model": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", "overlay_model": "minimax_h3_ref2va_pruned_int8_convrot.safetensors", "overlay_preset": "block_range_adaln", "block_range_start": 25, "block_range_end": 49, "final_adaln_from_overlay": false, "custom_overlays": "", "custom_base": "", "weight_dtype": "default" } }, { "id": 21, "type": "easy seed", "pos": [ 1990.9669189453125, 1831.77294921875 ], "size": [ 210, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "label": "随机种子", "name": "seed", "type": "INT", "widget": { "name": "seed" } } ], "outputs": [ { "label": "随机种子", "name": "seed", "type": "INT", "links": [ 65 ] } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7", "Node name for S&R": "easy seed", "widget_ue_connectable": {} }, "widgets_values": [ 675084531497780, "fixed", null ], "widgets_values_named": { "seed": 675084531497780, "control_after_generate": "fixed", "🎲 Manual Random Seed": null } }, { "id": 39, "type": "PrimitiveInt", "pos": [ 1983.380126953125, 1669.67626953125 ], "size": [ 224.23788452148438, 82.27592468261719 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "label": "value", "name": "value", "type": "INT", "widget": { "name": "value" } } ], "outputs": [ { "label": "INT", "name": "INT", "type": "INT", "links": [ 71, 74 ] } ], "title": "指定跑某索引片段(-1:全部)", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveInt", "widget_ue_connectable": {} }, "widgets_values": [ -1, "fixed" ], "widgets_values_named": { "value": -1, "fixed": "fixed" } }, { "id": 85, "type": "PreviewAny", "pos": [ 2848.1171875, 2172.07080078125 ], "size": [ 280.9091491699219, 527.2858276367188 ], "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 209 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 211 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.32.0", "Node name for S&R": "PreviewAny", "widget_ue_connectable": {} }, "widgets_values": [], "widgets_values_named": {} }, { "id": 88, "type": "llama_cpp_model_loader", "pos": [ 2265.22900390625, 2101.006591796875 ], "size": [ 257.33758544921875, 226 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "COMBO", "widget": { "name": "model" } }, { "name": "mmproj", "type": "COMBO", "widget": { "name": "mmproj" } }, { "name": "chat_handler", "type": "COMBO", "widget": { "name": "chat_handler" } }, { "name": "n_ctx", "type": "INT", "widget": { "name": "n_ctx" } }, { "name": "vram_limit", "type": "INT", "widget": { "name": "vram_limit" } }, { "name": "image_min_tokens", "type": "INT", "widget": { "name": "image_min_tokens" } }, { "name": "image_max_tokens", "type": "INT", "widget": { "name": "image_max_tokens" } }, { "name": "load_mtp", "type": "BOOLEAN", "widget": { "name": "load_mtp" } } ], "outputs": [ { "name": "llama_model", "type": "LLAMACPPMODEL", "links": [ 210 ] } ], "properties": { "cnr_id": "llama-cpp_vllm", "ver": "8b7c18bc437ae414e73d31723629b01f66a4ade4", "Node name for S&R": "llama_cpp_model_loader", "widget_ue_connectable": { "image_min_tokens": true, "load_mtp": true, "vram_limit": true, "mmproj": true, "model": true, "n_ctx": true, "chat_handler": true, "image_max_tokens": true }, "aux_id": "yolain/ComfyUI-llama-cpp_vlm" }, "widgets_values": [ "Qwen3.8-27B-IQ4_XS.gguf", "Qwen3.8-27B-mmproj-BF16.gguf", "None", 16384, -1, 0, 0, false ], "widgets_values_named": { "model": "Qwen3.8-27B-IQ4_XS.gguf", "mmproj": "Qwen3.8-27B-mmproj-BF16.gguf", "chat_handler": "None", "n_ctx": 16384, "vram_limit": -1, "image_min_tokens": 0, "image_max_tokens": 0, "load_mtp": false } }, { "id": 86, "type": "llama_cpp_instruct_adv", "pos": [ 2545.2802734375, 2191.163818359375 ], "size": [ 268.19586181640625, 518.0087280273438 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "llama_model", "type": "LLAMACPPMODEL", "link": 210 }, { "name": "parameters", "shape": 7, "type": "LLAMACPPARAMS" }, { "name": "images", "shape": 7, "type": "IMAGE", "link": 214 }, { "name": "queue_handler", "shape": 7, "type": "*" }, { "name": "preset_prompt", "type": "COMBO", "widget": { "name": "preset_prompt" } }, { "name": "custom_prompt", "type": "STRING", "widget": { "name": "custom_prompt" }, "link": 212 }, { "name": "system_prompt", "type": "STRING", "widget": { "name": "system_prompt" }, "link": 213 }, { "name": "inference_mode", "type": "COMBO", "widget": { "name": "inference_mode" } }, { "name": "max_frames", "type": "INT", "widget": { "name": "max_frames" } }, { "name": "max_size", "type": "INT", "widget": { "name": "max_size" } }, { "name": "seed", "type": "INT", "widget": { "name": "seed" } }, { "name": "force_offload", "type": "BOOLEAN", "widget": { "name": "force_offload" } }, { "name": "save_states", "type": "BOOLEAN", "widget": { "name": "save_states" } } ], "outputs": [ { "name": "output", "type": "STRING", "links": [ 208 ] }, { "name": "output_list", "shape": 6, "type": "STRING" }, { "name": "state_uid", "type": "INT" } ], "properties": { "cnr_id": "llama-cpp_vllm", "ver": "8b7c18bc437ae414e73d31723629b01f66a4ade4", "Node name for S&R": "llama_cpp_instruct_adv", "widget_ue_connectable": {} }, "widgets_values": [ "Normal - Describe", "", "", "images", 24, 512, 42, "fixed", true, false ], "widgets_values_named": { "preset_prompt": "Normal - Describe", "custom_prompt": "", "system_prompt": "", "inference_mode": "images", "max_frames": 24, "max_size": 512, "seed": 42, "control_after_generate": "fixed", "force_offload": true, "save_states": false } }, { "id": 20, "type": "PrimitiveBoolean", "pos": [ 1992.5484619140625, 1996.7518310546875 ], "size": [ 210, 58.972347259521484 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "label": "value", "name": "value", "type": "BOOLEAN", "widget": { "name": "value" } } ], "outputs": [ { "label": "BOOLEAN", "name": "BOOLEAN", "type": "BOOLEAN", "links": [ 216 ] } ], "title": "Using Prompt Enhance", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveBoolean", "widget_ue_connectable": {} }, "widgets_values": [ false ], "widgets_values_named": { "value": false } }, { "id": 14, "type": "PrimitiveBoolean", "pos": [ 1994.580810546875, 2104.218505859375 ], "size": [ 210, 58.972347259521484 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "label": "value", "name": "value", "type": "BOOLEAN", "widget": { "name": "value" } } ], "outputs": [ { "label": "BOOLEAN", "name": "BOOLEAN", "type": "BOOLEAN", "links": [ 10 ] } ], "title": "Using low vram improve", "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "PrimitiveBoolean", "widget_ue_connectable": {} }, "widgets_values": [ false ], "widgets_values_named": { "value": false } }, { "id": 26, "type": "LoraLoaderModelOnly", "pos": [ 1922.348388671875, 956.6793212890625 ], "size": [ 270, 82 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 46 }, { "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" } }, { "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" } } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "links": [ 177 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "LoraLoaderModelOnly", "widget_ue_connectable": {} }, "widgets_values": [ "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors", 1.0000000000000002 ], "widgets_values_named": { "lora_name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors", "strength_model": 1.0000000000000002 } }, { "id": 70, "type": "RandomNoise", "pos": [ 2739.798095703125, 603.7977294921875 ], "size": [ 210, 82 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": 171 } ], "outputs": [ { "label": "噪波生成", "name": "NOISE", "type": "NOISE", "links": [ 123, 144 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "RandomNoise", "widget_ue_connectable": {} }, "widgets_values": [ 0, "fixed" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "fixed" } }, { "id": 63, "type": "VAEDecode", "pos": [ 2849.03564453125, 868.4815673828125 ], "size": [ 140, 46 ], "flags": { "collapsed": false }, "order": 37, "mode": 0, "inputs": [ { "label": "Latent", "name": "samples", "type": "LATENT", "link": 139 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 182 } ], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "links": [ 138 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "VAEDecode", "widget_ue_connectable": {} } }, { "id": 57, "type": "PT_H3ConcatAVLatent", "pos": [ 3071.600830078125, 1056.0926513671875 ], "size": [ 199.7447265625, 46 ], "flags": {}, "order": 42, "mode": 0, "inputs": [ { "name": "video_latent", "type": "LATENT", "link": 129 }, { "name": "audio_latent", "type": "LATENT", "link": 130 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 190 ] } ], "properties": { "aux_id": "ptmaster/ComfyUI-PT_H3ConcatAVLatent", "ver": "2387e990a025f9b2f98ccac4ff1c466086e34a6e", "Node name for S&R": "PT_H3ConcatAVLatent", "widget_ue_connectable": {} } }, { "id": 55, "type": "SamplerCustomAdvanced", "pos": [ 3322.264404296875, 758.3532104492188 ], "size": [ 219.67437744140625, 338 ], "flags": {}, "order": 43, "mode": 0, "inputs": [ { "label": "噪波生成", "name": "noise", "type": "NOISE", "link": 123 }, { "label": "引导", "name": "guider", "type": "GUIDER", "link": 124 }, { "label": "采样器", "name": "sampler", "type": "SAMPLER", "link": 125 }, { "label": "Sigmas", "name": "sigmas", "type": "SIGMAS", "link": 126 }, { "label": "Latent", "name": "latent_image", "type": "LATENT", "link": 190 } ], "outputs": [ { "label": "输出", "name": "output", "type": "LATENT" }, { "label": "降噪输出", "name": "denoised_output", "type": "LATENT", "links": [ 131, 136 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "SamplerCustomAdvanced", "widget_ue_connectable": {} } }, { "id": 56, "type": "VAEEncodeAudio", "pos": [ 3101.974365234375, 949.774658203125 ], "size": [ 157.94296264648438, 46 ], "flags": {}, "order": 40, "mode": 0, "inputs": [ { "name": "audio", "type": "AUDIO", "link": 128 }, { "name": "vae", "type": "VAE", "link": 154 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 130 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "VAEEncodeAudio", "widget_ue_connectable": {} } }, { "id": 59, "type": "VAEEncode", "pos": [ 3111.3369140625, 861.0856323242188 ], "size": [ 140, 46 ], "flags": {}, "order": 41, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 132 }, { "name": "vae", "type": "VAE", "link": 153 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 129 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.30.0", "Node name for S&R": "VAEEncode", "widget_ue_connectable": {} } }, { "id": 9, "type": "PathchSageAttentionKJ", "pos": [ 1563.7113037109375, 687.6027221679688 ], "size": [ 270, 82 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 200 }, { "label": "SAGE注意力", "name": "sage_attention", "type": "COMBO", "widget": { "name": "sage_attention" } }, { "label": "allow_compile", "name": "allow_compile", "shape": 7, "type": "BOOLEAN", "widget": { "name": "allow_compile" } } ], "outputs": [ { "label": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 224 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "d40331fc90608257bce1af743263bb74b14c1dce", "Node name for S&R": "PathchSageAttentionKJ", "widget_ue_connectable": {} }, "widgets_values": [ "auto", false ], "widgets_values_named": { "sage_attention": "auto", "allow_compile": false } }, { "id": 93, "type": "MiniMaxH3MemoryEfficientSageAttentionPatch", "pos": [ 1501.8779296875, 594.5887451171875 ], "size": [ 357.1148376464844, 26 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 224 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 222, 223 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3f20054214fec9f9234fd3841ae6f1e4287948f6", "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch", "widget_ue_connectable": {} } }, { "id": 61, "type": "VAEDecode", "pos": [ 3581.356201171875, 834.6806030273438 ], "size": [ 142.0826873779297, 46 ], "flags": { "collapsed": false }, "order": 45, "mode": 0, "inputs": [ { "label": "Latent", "name": "samples", "type": "LATENT", "link": 136 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 183 } ], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "links": [ 238 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.29.0", "Node name for S&R": "VAEDecode", "widget_ue_connectable": {} } }, { "id": 94, "type": "SaveVideo", "pos": [ 2329.276611328125, 1294.8778076171875 ], "size": [ 210, 126 ], "flags": {}, "order": 50, "mode": 0, "inputs": [ { "name": "video", "type": "VIDEO", "link": 226 }, { "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" } }, { "name": "format", "type": "COMBO", "widget": { "name": "format" } }, { "name": "codec", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "codec" } } ], "outputs": [ { "name": "video", "type": "VIDEO" }, { "name": "video", "type": "VIDEO" } ], "properties": { "cnr_id": "comfy-core", "ver": "0.33.0", "Node name for S&R": "SaveVideo", "widget_ue_connectable": {} }, "widgets_values": [ "video/ComfyUI", "auto", "auto" ], "widgets_values_named": { "filename_prefix": "video/ComfyUI", "format": "auto", "codec": "auto" } }, { "id": 28, "type": "easy multiTrackEditor", "pos": [ 1004.4900512695312, 1248.292724609375 ], "size": [ 961.2371826171875, 906.306640625 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "label": "prompt_override", "name": "prompt_override", "shape": 7, "type": "*" }, { "label": "image", "name": "image", "shape": 7, "type": "IMAGE" }, { "label": "audio", "name": "audio", "shape": 7, "type": "AUDIO" }, { "label": "video", "name": "video", "shape": 7, "type": "VIDEO" }, { "label": "resolution", "name": "resolution", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "resolution" } }, { "label": "format", "name": "format", "type": "COMBO", "widget": { "name": "format" } }, { "label": "track_data", "name": "track_data", "type": "TRACK_DATA", "widget": { "name": "track_data" } } ], "outputs": [ { "label": "TRACKS_INFO", "name": "TRACKS_INFO", "type": "TRACKS_INFO", "links": [ 16, 26 ] }, { "label": "IMAGES", "name": "IMAGES", "shape": 6, "type": "IMAGE", "links": [ 27 ] }, { "label": "AUDIO", "name": "AUDIO", "shape": 6, "type": "AUDIO", "links": [ 28 ] }, { "label": "VIDEO", "name": "VIDEO", "shape": 6, "type": "VIDEO", "links": [ 29 ] } ], "properties": { "easyMediaTimelineHeight": 906.306640625, "cnr_id": "comfyui-easy-media", "ver": "74c6f8b64a86bd280061c20ed42cb067322e1822", "Node name for S&R": "easy multiTrackEditor", "easyMediaTimelineSize": [ 961.2371826171875, 906.306640625 ], "widget_ue_connectable": {} }, "widgets_values": [ "width x height (megapixels)", "16:9 (Widescreen)", 0.5, "MiniMax", "{\"muted\":false,\"volume_db\":0,\"tracks\":[{\"id\":\"mqqqqfz1-d0bnh7h9p\",\"name\":\"Task 0\",\"type\":\"task\",\"task_mode\":\"default\",\"color\":\"var(--multitrack-task-bg)\",\"muted\":false,\"solo\":false,\"volume_db\":0,\"locked\":false,\"segments\":[{\"id\":\"mrhal5il-gerx98rwl\",\"start_frame\":0,\"end_frame\":240,\"color\":\"var(--multitrack-task-bg)\",\"content\":{\"media_type\":\"none\",\"task_mode\":\"ref\",\"muted\":false,\"volume_db\":0,\"images\":[{\"id\":\"40702ebc-aec9-417e-b1ce-aa2a027450f6\",\"source_type\":\"url\",\"url\":\"https://rh-images-switch.xiaoyaoyou.com/input/9ab7c7b51646c0e24b794ea55a97698fc8bf18105a13ca3b9f71043dfaacd362.png\",\"file_name\":\"9ab7c7b51646c0e24b794ea55a97698fc8bf18105a13ca3b9f71043dfaacd362.png\"},{\"id\":\"6381c90f-f4c7-47b4-9f49-d8b0d34aa2d2\",\"source_type\":\"url\",\"url\":\"https://rh-images-switch.xiaoyaoyou.com/input/b3279bfb016d361f03b12417fa5a5a0d39070c7d8fb961c34094e801212f5b67.png\",\"file_name\":\"b3279bfb016d361f03b12417fa5a5a0d39070c7d8fb961c34094e801212f5b67.png\"},{\"id\":\"79e40c24-18fe-4ce6-a7a9-a77dae74c5eb\",\"source_type\":\"url\",\"url\":\"https://rh-images-switch.xiaoyaoyou.com/input/0b4b5a893fe445a6843b361715042597ffe7926c7fd8ab5c16bca499347c4b2c.png\",\"file_name\":\"0b4b5a893fe445a6843b361715042597ffe7926c7fd8ab5c16bca499347c4b2c.png\"}],\"user_prompt\":\"subject_definitions:\\n is the magical book from , an old leather-bound book with brown textured leather cover, gold embossed title \\\"SUPERI PROMPT\\\", yellowed aged pages with mysterious symbols, and soft golden magical light emanating from between the pages with floating golden particles.\\n is the girl Xiao Xiao whose appearance comes from , with long straight black hair with bangs, cream-colored lace blouse, brown pleated mini skirt, white knee-high socks, small brown leather shoes, big shiny black eyes, rosy cheeks, Q-version 2.5 head tall proportions.\\n is the kitchen countertop environment from , seen from a tiny miniature perspective, with warm daylight, tile grout lines like canyons, and a wine cork like a boulder.\\n is the magical book close-up reference image.\\n is the character design sheet for Xiao Xiao.\\n is the daytime kitchen countertop environment reference.\\n\\nsummary:\\n[reference generation + keyframe completion] The target video shows a magical book on a kitchen countertop. The pages flip by themselves, golden light bursts forth, and a girl's hand reaches in to touch the light. She is enveloped in the golden glow, shrinks, and falls onto the countertop. She lands with a soft plop, sits up dizzy, then freezes in shock as she discovers the giant miniature world around her. The camera reveals the vast kitchen from her tiny viewpoint. Uses for the book, for the character, and for the environment. Pixar 3D animation style.\\n\\nretention_analysis:\\n (appears in first half): fully_preserved - the book's leather texture, gold embossed title, yellowed pages, magical golden glow, and floating particles are all retained.\\n (appears throughout): fully_preserved - Xiao Xiao's facial features, hair style, clothing, and proportions are preserved from the reference.\\n (appears in second half): fully_preserved - the kitchen counter layout, tile texture, wine cork landmark, and warm lighting are retained.\\n (book reference): fully_preserved - serves as the key visual anchor for the opening sequence.\\n (character reference): fully_preserved - the character's complete visual identity is retained.\\n (environment reference): fully_preserved - the environment layout and lighting serve as the scene anchor.\\n\\ndetailed_description:\\nThe target video is in Pixar-style 3D animation with cinematic quality, warm lighting, subsurface scattering, cute stylized characters, expressive faces, squash and stretch animation, high detail textures, Disney quality.\\n[Shot 1] The scene opens with a close-up of , the old leather-bound magical book resting on a kitchen countertop. The gold embossed title \\\"SUPERI PROMPT\\\" is visible on the cover. The book's pages begin to flip by themselves, slowly at first then faster and faster. Golden magical light starts emanating from between the pages, growing brighter, with tiny golden particles swirling into the air around it. A girl's hand enters from the top of the frame, fingers outstretched, curious to touch the glowing light. As her fingertips make contact with the golden glow, the light bursts outward in a bright flash, wrapping around her entire hand and arm. The camera pulls back smoothly to reveal , Xiao Xiao, as her whole body is enveloped in the glowing golden cocoon of light. Her eyes are wide with surprise and wonder. She begins to shrink rapidly, getting smaller and smaller as the magical light carries her downward toward the countertop surface. She falls through the air, trailing golden sparkles behind her. She lands with a soft \\\"plop\\\" onto the kitchen counter of , landing on her bottom, her hair bouncing and settling messily around her shoulders. She sits there for a moment with a dizzy, cross-eyed expression, stars circling around her head briefly. She rubs her bottom with a little pout. Suddenly she freezes completely, her eyes going wide as she takes in her surroundings. Over-the-shoulder POV shot revealing her perspective: everything is gigantic! A wine cork lies like a massive boulder in the distance, tile grout lines look like deep canyons in the counter surface, bread crumbs are the size of rocks. The camera slowly pans around to show the scale of the world from her tiny viewpoint. She slowly stands up, her mouth hanging open in complete amazement, eyes huge with wonder. The camera arcs around her, revealing more of the giant kitchen items all around. Warm golden sunlight streams in, dust motes dancing visibly in the light beams. Sense of overwhelming wonder and scale discovery. Magical and mysterious atmosphere transitioning to awe and discovery.\\n\\noverall_soundscape:\\nThe clip opens with the soft rustle of turning book pages that gradually increase in speed and intensity. A magical shimmering hum builds as golden light pours from the book, with tiny tinkling sounds from the floating particles. A soft gasp is heard as the hand approaches and touches the light. The moment of contact triggers a bright whooshing burst of magical energy that fills the sound space. The shrinking effect is accompanied by a descending, ethereal whistle that fades as the girl gets smaller. She lands with a gentle bouncy \\\"plop\\\" sound. A quiet dizzy \\\"whoa\\\" sound accompanies her cross-eyed expression. The soft rustle of her clothes and a small groan as she rubs her bottom. Then sudden silence as she freezes, emphasizing the shock of discovery. The ambient sound of the kitchen suddenly feels huge and vast from her tiny perspective, with distant, echoing environmental sounds. Soft wind-like sounds drift across the counter surface.\\n\\nnon_diegetic_music:\\nOpens with a soft, mysterious piano melody with gentle harp arpeggios that create a sense of magic and wonder. As the pages flip faster and the light grows, the strings swell with rising, ethereal quality. At the moment the hand touches the light and the burst happens, the music reaches a brief, shimmering climax with chimes and glockenspiel. As the girl shrinks and falls, the music descends gently with a whimsical, fairy-tale quality. After she lands, there's a brief playful pause for her dizziness, then the music opens up into a wide, awe-struck melody with warm strings and woodwinds that swells with wonder and discovery as she realizes the scale of her new world. The orchestration feels expansive and cinematic, emphasizing the vastness of the kitchen from her tiny viewpoint. The phrase ends on a warm, hopeful chord full of possibility.\",\"system_prompt\":\"# Role & Task\\nYou are an expert AI Video Prompt Engineer. Your task is to process the user's input and rewrite it into a strictly standardized 6-section Full-Reference video prompt based on the \\\"Full-Reference Mode Rewrite Output Format Guide\\\" provided below.\\n\\n# Core Execution Rules\\n1. **Absolute Pure Output**: Output ONLY the final standardized 6-section prompt. Do NOT output any greetings, explanations, markdown code fences (like ```text or ```markdown), apologies, notes, or conversational filler. The output must start directly with `subject_definitions:` and end with the content of `non_diegetic_music:`.\\n2. **Strict Rewrite vs. Expansion**: \\n - By default, strictly rewrite the user's provided materials into the full-reference format. Do NOT invent new plot points, actions, characters, or scenes that are not explicitly stated or strongly implied by the user's input.\\n - For tasks that activate Digital Human Mode under Rule 5, adding necessary playback details is NOT considered forbidden invention. You may add only the minimal visual, auditory, temporal, mouth-movement, facial-expression, posture, and camera details required to make the speaking video executable and coherent.\\n - **ONLY** if the user explicitly says \\\"帮我写提示词\\\" (help me write a prompt) or gives a similar explicit expansion request, you are allowed to expand the brief idea into a complete, detailed, and playable video prompt by adding necessary visual, auditory, and temporal details. This does not override the Digital Human Mode exception above; that exception permits only required speaking-video execution details, not new plot points, new characters, or unrelated scene content.\\n3. **Image Order Consistency**: If the user provides multiple pictures or image references, their order must remain exactly the same as the user's input order. Map them consistently as ``, ``, etc., following the user's original sequence.\\n4. **Audio Reference Handling**: If the user mentions reference audio, handle it strictly according to the template rules (define as `