diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..9e3968e5b0d7d27f94d3a3118d51b429cd416d0a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,61 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +MiniMax-H3-Simple-WF/Image-1.jpg filter=lfs diff=lfs merge=lfs -text +MiniMax-H3-Simple-WF/Image-2.png filter=lfs diff=lfs merge=lfs -text +MiniMax-H3-Simple-WF/T-Rex.mp4 filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/Boy-1.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/Boy-2.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/Boy-3.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/car-1.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/car-2.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/car-3.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/1-KeyFrames/car-4.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/3-Image-To-Long-Video/face.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/3-Image-To-Long-Video/full-body.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/4-Video-Extend-with-Reference-Image/body-1.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/4-Video-Extend-with-Reference-Image/face-1.png filter=lfs diff=lfs merge=lfs -text +MiniMax-Long-Video-&-Extend-Video/4-Video-Extend-with-Reference-Image/test-video.mp4 filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-1/Girl-left.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-1/Girl-Right.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-1/ltx-girl-crop.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-2/character-sheet-1.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-2/Girl-left.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-2/Girl-Right.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-2/ltx-girl-crop.png filter=lfs diff=lfs merge=lfs -text +Face-&-Body[[:space:]]Swap/Workflow-2/Old-Man.png filter=lfs diff=lfs merge=lfs -text +H3-Context-Loop-Long-Video/The[[:space:]]Clockmaker.png filter=lfs diff=lfs merge=lfs -text +H3-Context-Loop-Long-Video/Young[[:space:]]Courier.png filter=lfs diff=lfs merge=lfs -text +P-H3/ref_subject_station.png filter=lfs diff=lfs merge=lfs -text diff --git a/ComfyUI-Dial/dial_maker_h3.json b/ComfyUI-Dial/dial_maker_h3.json new file mode 100644 index 0000000000000000000000000000000000000000..aa065c0a2d6bb26a9e506811eb6a246bf0ee942a --- /dev/null +++ b/ComfyUI-Dial/dial_maker_h3.json @@ -0,0 +1 @@ +{"id":"81b081fb-3521-4564-9794-b48c0e491bb4","revision":0,"last_node_id":19,"last_link_id":22,"nodes":[{"id":1,"type":"UNETLoader","pos":[-1383.2011234099757,1133.8300540131995],"size":[320,124],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[2,3]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"UNETLoader"},"widgets_values":["minimax_h3_fl2va_pruned_int8_convrot.safetensors","default"],"widgets_values_named":{"unet_name":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","weight_dtype":"default"}},{"id":2,"type":"DialsMakeDial","pos":[-955.8476071447276,1324.7366854420618],"size":[420,586],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":22},{"localized_name":"model","name":"model","type":"MODEL","link":2},{"localized_name":"pairs","name":"pairs","type":"STRING","widget":{"name":"pairs"},"link":null},{"localized_name":"subjects","name":"subjects","type":"STRING","widget":{"name":"subjects"},"link":null},{"localized_name":"name","name":"name","type":"STRING","widget":{"name":"name"},"link":null},{"localized_name":"inject","name":"inject","type":"COMBO","widget":{"name":"inject"},"link":null},{"localized_name":"save","name":"save","type":"BOOLEAN","widget":{"name":"save"},"link":null},{"localized_name":"debias","name":"debias","shape":7,"type":"BOOLEAN","widget":{"name":"debias"},"link":null},{"localized_name":"calibrate","name":"calibrate","shape":7,"type":"BOOLEAN","widget":{"name":"calibrate"},"link":null},{"localized_name":"nuisance_dims","name":"nuisance_dims","shape":7,"type":"INT","widget":{"name":"nuisance_dims"},"link":null}],"outputs":[{"localized_name":"dial","name":"dial","type":"DIAL","links":[4]},{"localized_name":"report","name":"report","type":"STRING","links":[1]}],"title":"Make Dial (A ||| B per line)","properties":{"aux_id":"matlowai/ComfyUI-Dials","ver":"75d825eac5b766fe270ce7cda32bd7ee5eebfd4f","Node name for S&R":"DialsMakeDial"},"widgets_values":["{subject} stands perfectly still, posing for a photograph. ||| {subject} runs quickly across the scene, moving energetically.\n{subject} sits motionless, frozen in place. ||| {subject} jumps up and spins around, full of movement.","A young woman\nAn old man\nA golden dog\nA horse","my_dial","post_refiner (hook)",true,true,true,3],"widgets_values_named":{"pairs":"{subject} stands perfectly still, posing for a photograph. ||| {subject} runs quickly across the scene, moving energetically.\n{subject} sits motionless, frozen in place. ||| {subject} jumps up and spins around, full of movement.","subjects":"A young woman\nAn old man\nA golden dog\nA horse","name":"my_dial","inject":"post_refiner (hook)","save":true,"debias":true,"calibrate":true,"nuisance_dims":3},"color":"#323","bgcolor":"#535"},{"id":3,"type":"PreviewAny","pos":[-449.5254478282716,1124.5710557928244],"size":[434.81030464157607,190.32588340773327],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":1}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"PreviewAny"},"widgets_values":[],"widgets_values_named":{}},{"id":4,"type":"DialsApplyDial","pos":[-445.37142391220493,1360.7998389113227],"size":[420,120],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":3},{"localized_name":"dial","name":"dial","type":"DIAL","link":4},{"localized_name":"strength","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[7,8]}],"title":"Preview strength","properties":{"aux_id":"matlowai/ComfyUI-Dials","ver":"75d825eac5b766fe270ce7cda32bd7ee5eebfd4f","Node name for S&R":"DialsApplyDial"},"widgets_values":[2],"widgets_values_named":{"strength":2},"color":"#323","bgcolor":"#535"},{"id":5,"type":"CLIPLoader","pos":[-1382.347741719232,1308.9237034846908],"size":[320,152],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[5,22]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","type":"minimax","device":"default"}},{"id":6,"type":"VAELoader","pos":[-429.97647058823577,1535.181962769688],"size":[320,96],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[6,16]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_video_vae_fp16.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_fp16.safetensors"}},{"id":7,"type":"MiniMaxH3ImageToVideo","pos":[-428.4493189416682,729.7636858940194],"size":[420,294],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":5},{"localized_name":"vae","name":"vae","type":"VAE","link":6},{"localized_name":"first_frame","name":"first_frame","shape":7,"type":"IMAGE","link":null},{"localized_name":"last_frame","name":"last_frame","shape":7,"type":"IMAGE","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[9]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[14]}],"title":"Prompt (MiniMax H3)","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"MiniMaxH3ImageToVideo"},"widgets_values":["A busker plays guitar on a busy city sidewalk at sunset while people walk past and a dog watches.",832,480,124],"widgets_values_named":{"prompt":"A busker plays guitar on a busy city sidewalk at sunset while people walk past and a dog watches.","width":832,"height":480,"length":124}},{"id":8,"type":"RandomNoise","pos":[154.5069418533341,746.1708563021051],"size":[420,124],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[10]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"RandomNoise"},"widgets_values":[1001,"fixed"],"widgets_values_named":{"noise_seed":1001,"control_after_generate":"fixed"}},{"id":9,"type":"BasicGuider","pos":[154.5069418533341,910.1708563021053],"size":[420,92],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":7},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":9}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[11]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"BasicGuider"}},{"id":10,"type":"KSamplerSelect","pos":[154.5069418533341,1042.170856302105],"size":[420,96],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[12]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"KSamplerSelect"},"widgets_values":["res_multistep"],"widgets_values_named":{"sampler_name":"res_multistep"}},{"id":11,"type":"BasicScheduler","pos":[154.5069418533341,1178.1708563021052],"size":[420,152],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":8},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"BasicScheduler"},"widgets_values":["simple",20,1],"widgets_values_named":{"scheduler":"simple","steps":20,"denoise":1}},{"id":12,"type":"SamplerCustomAdvanced","pos":[617.0257553684306,835.9701683217804],"size":[350.17999240399877,168.65466717306674],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":10},{"localized_name":"guider","name":"guider","type":"GUIDER","link":11},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":12},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":13},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":14}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[15,18]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"SamplerCustomAdvanced"}},{"id":13,"type":"VAEDecode","pos":[617.0257553684306,1039.9701683217816],"size":[352.5073259905316,93.5515320494942],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":15},{"localized_name":"vae","name":"vae","type":"VAE","link":16}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[17]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAEDecode"}},{"id":14,"type":"VAELoader","pos":[-429.97647058823577,1671.181962769688],"size":[320,96],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[19]}],"title":"Audio VAE","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"}},{"id":15,"type":"VAEDecodeAudio","pos":[617.0257553684306,1171.9701683217816],"size":[356.3861206019751,98.20627024714531],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":18},{"localized_name":"vae","name":"vae","type":"VAE","link":19}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[20]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAEDecodeAudio"}},{"id":16,"type":"CreateVideo","pos":[578.6841191430877,1379.398093986119],"size":[375.0047892942421,174],"flags":{},"order":17,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":17},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":20},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"COMBO","widget":{"name":"bit_depth"},"link":null},{"localized_name":"color_space","name":"color_space","shape":7,"type":"COMBO","widget":{"name":"color_space"},"link":null},{"localized_name":"chroma_subsampling","name":"chroma_subsampling","shape":7,"type":"COMBO","widget":{"name":"chroma_subsampling"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMBO","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[21]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"CreateVideo"},"widgets_values":[24,8,"sRGB","auto","none"],"widgets_values_named":{"fps":24,"bit_depth":8,"color_space":"sRGB","chroma_subsampling":"auto","codec":"none"}},{"id":17,"type":"SaveVideo","pos":[87.56672976432027,1422.5586168408825],"size":[420,340.30769230769226],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":21},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"codec","name":"format.codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format.codec"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"SaveVideo"},"widgets_values":["video/dials","auto","auto","auto"],"widgets_values_named":{"filename_prefix":"video/dials","format":"auto","format.codec":"auto","codec":"auto"}},{"id":18,"type":"MarkdownNote","pos":[-900,754.296622941371],"size":[320,330],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[],"properties":{"Node name for S&R":"MarkdownNote"},"widgets_values":["**Dial Maker — MiniMax H3**\n\n1. Write pairs, one per line: `A ||| B`. Keep A and B identical except for the quality you want to steer.\n2. Optional: `{subject}` expands over the subjects list, so subject details cancel out.\n3. Run: the report shows how well the pairs agree (cos > 0.6 is a clean direction) and how much generic wording shift was removed (debias). The dial is saved to `models/loras/dials/.safetensors`.\n4. Preview with the strength slider, then use the dial anywhere."],"widgets_values_named":{"text":"**Dial Maker — MiniMax H3**\n\n1. Write pairs, one per line: `A ||| B`. Keep A and B identical except for the quality you want to steer.\n2. Optional: `{subject}` expands over the subjects list, so subject details cancel out.\n3. Run: the report shows how well the pairs agree (cos > 0.6 is a clean direction) and how much generic wording shift was removed (debias). The dial is saved to `models/loras/dials/.safetensors`.\n4. Preview with the strength slider, then use the dial anywhere."},"color":"#432","bgcolor":"#653"},{"id":19,"type":"Note","pos":[-1297.9981564301,970.5196498058923],"size":[311.31401947293466,88],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"title":"Note - Custom Node Link","properties":{},"widgets_values":["https://github.com/matlowai/ComfyUI-Dials"],"widgets_values_named":{"text":"https://github.com/matlowai/ComfyUI-Dials"},"color":"#432","bgcolor":"#653"}],"links":[[1,2,1,3,0,"STRING"],[2,1,0,2,1,"MODEL"],[3,1,0,4,0,"MODEL"],[4,2,0,4,1,"DIAL"],[5,5,0,7,0,"CLIP"],[6,6,0,7,1,"VAE"],[7,4,0,9,0,"MODEL"],[8,4,0,11,0,"MODEL"],[9,7,0,9,1,"CONDITIONING"],[10,8,0,12,0,"NOISE"],[11,9,0,12,1,"GUIDER"],[12,10,0,12,2,"SAMPLER"],[13,11,0,12,3,"SIGMAS"],[14,7,1,12,4,"LATENT"],[15,12,0,13,0,"LATENT"],[16,6,0,13,1,"VAE"],[17,13,0,16,0,"IMAGE"],[18,12,0,15,0,"LATENT"],[19,14,0,15,1,"VAE"],[20,15,0,16,1,"AUDIO"],[22,5,0,2,0,"CLIP"],[21,16,0,17,0,"VIDEO"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8593525275330439,"offset":[1494.2699259675042,-341.36377990484186]}},"version":0.4} \ No newline at end of file diff --git a/ComfyUI-Dial/dials_pika_h3_flex.json b/ComfyUI-Dial/dials_pika_h3_flex.json new file mode 100644 index 0000000000000000000000000000000000000000..e5b2f84cd64675b34912eafe214fbf6cb0778fc0 --- /dev/null +++ b/ComfyUI-Dial/dials_pika_h3_flex.json @@ -0,0 +1 @@ +{"id":"7262ac13-4f49-47d9-a13e-b2081aab908e","revision":0,"last_node_id":27,"last_link_id":34,"nodes":[{"id":1,"type":"UNETLoader","pos":[-2013.1460290224645,1275.2461965876882],"size":[431.44262927058793,85.99992796634452],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[1]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"UNETLoader"},"widgets_values":["minimax_h3_fl2va_pruned_int8_convrot.safetensors","default"],"widgets_values_named":{"unet_name":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","weight_dtype":"default"}},{"id":2,"type":"LoraLoaderModelOnly","pos":[-1559.458149697478,1276.0903429590244],"size":[381.7972766483981,90.0000083811359],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":1},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[31]}],"title":"Pika H3 Flex LoRA (FL2VA)","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["pika_h3_flex_fl2va_v1_bf16.safetensors",4.23],"widgets_values_named":{"lora_name":"pika_h3_flex_fl2va_v1_bf16.safetensors","strength_model":4.23},"color":"#223","bgcolor":"#335"},{"id":3,"type":"DialsLoadDial","pos":[-1143.4069690360584,1432.695653205768],"size":[313.74547139925704,105.99998631128688],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"dial_name","name":"dial_name","type":"COMBO","widget":{"name":"dial_name"},"link":null}],"outputs":[{"localized_name":"dial","name":"dial","type":"DIAL","links":[32]},{"localized_name":"report","name":"report","type":"STRING","links":[]}],"title":"Dial: Freeze ↔ Zoomies","properties":{"aux_id":"matlowai/ComfyUI-Dials","ver":"75d825eac5b766fe270ce7cda32bd7ee5eebfd4f","Node name for S&R":"DialsLoadDial"},"widgets_values":["dials\\h3_motion.safetensors"],"widgets_values_named":{"dial_name":"dials\\h3_motion.safetensors"},"color":"#323","bgcolor":"#535"},{"id":7,"type":"CLIPLoader","pos":[-1298.0891402171437,1664.5987062605507],"size":[417.07485464500945,113.99995208903215],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[6]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","type":"minimax","device":"default"}},{"id":8,"type":"VAELoader","pos":[-1294.2154068343489,1827.2525964652941],"size":[403.578250646281,62.00000642553752],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[7,16]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_video_vae_fp16.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_fp16.safetensors"}},{"id":9,"type":"MiniMaxH3ImageToVideo","pos":[-831.9750938876439,1665.3441723888418],"size":[420,744],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":6},{"localized_name":"vae","name":"vae","type":"VAE","link":7},{"localized_name":"first_frame","name":"first_frame","shape":7,"type":"IMAGE","link":null},{"localized_name":"last_frame","name":"last_frame","shape":7,"type":"IMAGE","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":22},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":27},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":28}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[9]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[14]}],"title":"Prompt (MiniMax H3)","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"MiniMaxH3ImageToVideo"},"widgets_values":["integrated_multimodal_description: [Shot 1] 2D anime, cel-shaded, cinematic, a ruined stone throne hall lit by green torch flames, dust hanging in the shafts of light. A cute young magical girl spellblade with big bright eyes, long silver twin tails and a confident grin, wearing ornate fantasy plate armor with a small breastplate, pauldrons, gauntlets and thigh-high boots, sprints straight at a towering skeleton king slumped on a throne of bones, its rusted iron crown tilted, a huge notched cleaver resting in its bony fist. Glowing blue runes ignite along her longsword as she runs. She launches a fast three-strike combination without slowing: a low sweeping slash that throws sparks off the throne steps, a rising diagonal cut that shears through the king's raised forearm so the bones burst apart in a spray of splinters, and a spinning overhead strike that detonates a burst of blue arcane fire on impact as the king catches it on the flat of its cleaver with a hard metallic clang. The camera tracks with her in a fast lateral arc around the throne at chest height, matching her speed, then snaps to a tight two-shot as the blades lock, blue rune light and green flame reflections sliding across both weapons and her armor. The king's jaw drops open in a silent roar and its skull tilts down toward her; she keeps grinning. Bone fragments, sparks and blue embers scatter through the frame and settle on the flagstones. Every frame is crisp and sharp as if shot at a very high shutter speed, with fine detail held on the blade runes, the armor edges, her twin tails and the flying bone splinters throughout the movement.\n\noverall_soundscape: Rapid footfalls on flagstone under a full sprint; a rising crystalline hum as the runes ignite; three sharp steel impacts in fast succession, the first with a scrape of sparks off stone, the second with dry bone cracking and splinters skittering across the floor, the third a deep ringing clang wrapped in a whooshing burst of arcane fire that decays slowly; the low roar and flutter of torch flames throughout; a rumbling exhale of dust and grit from the throne as the king leans forward.\n\nnon_diegetic_music: N/A",1280,704,141],"widgets_values_named":{"prompt":"integrated_multimodal_description: [Shot 1] 2D anime, cel-shaded, cinematic, a ruined stone throne hall lit by green torch flames, dust hanging in the shafts of light. A cute young magical girl spellblade with big bright eyes, long silver twin tails and a confident grin, wearing ornate fantasy plate armor with a small breastplate, pauldrons, gauntlets and thigh-high boots, sprints straight at a towering skeleton king slumped on a throne of bones, its rusted iron crown tilted, a huge notched cleaver resting in its bony fist. Glowing blue runes ignite along her longsword as she runs. She launches a fast three-strike combination without slowing: a low sweeping slash that throws sparks off the throne steps, a rising diagonal cut that shears through the king's raised forearm so the bones burst apart in a spray of splinters, and a spinning overhead strike that detonates a burst of blue arcane fire on impact as the king catches it on the flat of its cleaver with a hard metallic clang. The camera tracks with her in a fast lateral arc around the throne at chest height, matching her speed, then snaps to a tight two-shot as the blades lock, blue rune light and green flame reflections sliding across both weapons and her armor. The king's jaw drops open in a silent roar and its skull tilts down toward her; she keeps grinning. Bone fragments, sparks and blue embers scatter through the frame and settle on the flagstones. Every frame is crisp and sharp as if shot at a very high shutter speed, with fine detail held on the blade runes, the armor edges, her twin tails and the flying bone splinters throughout the movement.\n\noverall_soundscape: Rapid footfalls on flagstone under a full sprint; a rising crystalline hum as the runes ignite; three sharp steel impacts in fast succession, the first with a scrape of sparks off stone, the second with dry bone cracking and splinters skittering across the floor, the third a deep ringing clang wrapped in a whooshing burst of arcane fire that decays slowly; the low roar and flutter of torch flames throughout; a rumbling exhale of dust and grit from the throne as the king leans forward.\n\nnon_diegetic_music: N/A","width":1280,"height":704,"length":141}},{"id":10,"type":"RandomNoise","pos":[-376.3317834205495,1483.3043237633483],"size":[420,124],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[10]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"RandomNoise"},"widgets_values":[42,"fixed"],"widgets_values_named":{"noise_seed":42,"control_after_generate":"fixed"}},{"id":11,"type":"BasicGuider","pos":[-376.3317834205495,1647.3043237633483],"size":[420,92],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":34},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":9}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[11]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"BasicGuider"}},{"id":12,"type":"KSamplerSelect","pos":[-376.3317834205495,1779.3043237633483],"size":[420,96],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[12]}],"title":"Sampler: lcm (Pika)","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"KSamplerSelect"},"widgets_values":["lcm"],"widgets_values_named":{"sampler_name":"lcm"},"color":"#223","bgcolor":"#335"},{"id":13,"type":"ManualSigmas","pos":[-376.3317834205495,1915.3043237633483],"size":[420,96],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"sigmas","name":"sigmas","type":"STRING","widget":{"name":"sigmas"},"link":null}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[13]}],"title":"Pika 6-step schedule (keep as is)","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"ManualSigmas"},"widgets_values":["1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0"],"widgets_values_named":{"sigmas":"1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0"},"color":"#223","bgcolor":"#335"},{"id":14,"type":"SamplerCustomAdvanced","pos":[140.3077669803372,1849.9147226371508],"size":[225,114.00001226015854],"flags":{},"order":17,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":10},{"localized_name":"guider","name":"guider","type":"GUIDER","link":11},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":12},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":13},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":14}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[15,18]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"SamplerCustomAdvanced"}},{"id":15,"type":"VAEDecode","pos":[402.4265288614621,1691.2618060526504],"size":[420,92],"flags":{"collapsed":true},"order":18,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":15},{"localized_name":"vae","name":"vae","type":"VAE","link":16}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[17]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAEDecode"}},{"id":16,"type":"VAELoader","pos":[-1298.2605953284374,1928.1942138836243],"size":[404.0848011025099,62.00000642553752],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[19]}],"title":"Audio VAE","properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"}},{"id":17,"type":"VAEDecodeAudio","pos":[399.46400300240725,1728.1463863457818],"size":[420,92],"flags":{"collapsed":true},"order":19,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":18},{"localized_name":"vae","name":"vae","type":"VAE","link":19}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[20]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"VAEDecodeAudio"}},{"id":18,"type":"CreateVideo","pos":[386.67612659536485,1770.8441092845358],"size":[420,174],"flags":{"collapsed":false},"order":20,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":17},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":20},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"COMBO","widget":{"name":"bit_depth"},"link":null},{"localized_name":"color_space","name":"color_space","shape":7,"type":"COMBO","widget":{"name":"color_space"},"link":null},{"localized_name":"chroma_subsampling","name":"chroma_subsampling","shape":7,"type":"COMBO","widget":{"name":"chroma_subsampling"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMBO","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[29]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"CreateVideo"},"widgets_values":[24,8,"sRGB","auto","none"],"widgets_values_named":{"fps":24,"bit_depth":8,"color_space":"sRGB","chroma_subsampling":"auto","codec":"none"}},{"id":20,"type":"MarkdownNote","pos":[-1654.9739497544056,1653.6632106343757],"size":[320,560],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[],"properties":{"Node name for S&R":"MarkdownNote"},"widgets_values":["**Pika H3 Flex + Dials — MiniMax H3, 6 steps**\n\nPika H3 Flex is a 6-step, no-CFG LoRA for MiniMax H3. Keep the **lcm** sampler and the **6-step schedule** as they are; the motion dial sits between the LoRA and the sampler. Size: 1280x704 (about 0.9 MP).\n\n**Motion dial on Pika** (1280x704, spellblade prompt, seed 42, one take per strength; camera-removed optical flow):\n- **+0.5**: +20 % motion, same scene.\n- **+1.0**: +23 %, still the same scene.\n- **+1.5 / +2.0**: about +90 %; the scene restages and characters morph.\n- **+3**: loses the prompt.\n\n**Evil** (off at 0): dread +0.5 to +1 darkens the scene and turns the characters menacing while keeping the prompt. Other flavours: pick another `h3_evil_*` file.\n\n**No background music:** write `non_diegetic_music: N/A` (Pika's prompt guide).\n\n**Models:** the LoRA is `loras/pika_h3_flex_fl2va_v1_bf16.safetensors` in [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) (same weights as [Pika-Labs/Pika-H3-Flex](https://huggingface.co/Pika-Labs/Pika-H3-Flex) `comfy/loras/`). Base model, text encoder and VAEs as in the other Dials workflows."],"widgets_values_named":{"text":"**Pika H3 Flex + Dials — MiniMax H3, 6 steps**\n\nPika H3 Flex is a 6-step, no-CFG LoRA for MiniMax H3. Keep the **lcm** sampler and the **6-step schedule** as they are; the motion dial sits between the LoRA and the sampler. Size: 1280x704 (about 0.9 MP).\n\n**Motion dial on Pika** (1280x704, spellblade prompt, seed 42, one take per strength; camera-removed optical flow):\n- **+0.5**: +20 % motion, same scene.\n- **+1.0**: +23 %, still the same scene.\n- **+1.5 / +2.0**: about +90 %; the scene restages and characters morph.\n- **+3**: loses the prompt.\n\n**Evil** (off at 0): dread +0.5 to +1 darkens the scene and turns the characters menacing while keeping the prompt. Other flavours: pick another `h3_evil_*` file.\n\n**No background music:** write `non_diegetic_music: N/A` (Pika's prompt guide).\n\n**Models:** the LoRA is `loras/pika_h3_flex_fl2va_v1_bf16.safetensors` in [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) (same weights as [Pika-Labs/Pika-H3-Flex](https://huggingface.co/Pika-Labs/Pika-H3-Flex) `comfy/loras/`). Base model, text encoder and VAEs as in the other Dials workflows."},"color":"#432","bgcolor":"#653"},{"id":21,"type":"ResolutionSelector","pos":[-1158.0632551747333,2326.363369906752],"size":[270,150],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"aspect_ratio","name":"aspect_ratio","type":"COMBO","widget":{"name":"aspect_ratio"},"link":null},{"localized_name":"megapixels","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null},{"localized_name":"multiple","name":"multiple","type":"INT","widget":{"name":"multiple"},"link":null},{"localized_name":"preview","name":"preview","shape":7,"type":"RESOLUTION_PREVIEW","widget":{"name":"preview"},"link":null}],"outputs":[{"localized_name":"width","name":"width","type":"INT","links":[22]},{"localized_name":"height","name":"height","type":"INT","links":[27]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"ResolutionSelector"},"widgets_values":["16:9 (Widescreen)",0.6,8],"widgets_values_named":{"aspect_ratio":"16:9 (Widescreen)","megapixels":0.6,"multiple":8}},{"id":22,"type":"PrimitiveFloat","pos":[-1518.9803621038866,2555.3571889204322],"size":[270,90],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"FLOAT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[24]}],"title":"Float (duration)","properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"PrimitiveFloat"},"widgets_values":[5.5],"widgets_values_named":{"value":5.5}},{"id":23,"type":"ComfyMathExpression","pos":[-1208.9803621038866,2555.3571889204322],"size":[360,170],"flags":{"collapsed":false},"order":13,"mode":0,"inputs":[{"label":"a","localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":24},{"label":"b","localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[]},{"localized_name":"INT","name":"INT","type":"INT","links":[28]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.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":24,"type":"SaveVideo","pos":[375.49894927969126,2005.5403049285853],"size":[763.5085608184692,568.2509047744729],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":29},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"codec","name":"format.codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format.codec"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.43.0","Node name for S&R":"SaveVideo"},"widgets_values":["video/dials_pika","auto","auto","auto"],"widgets_values_named":{"filename_prefix":"video/dials_pika","format":"auto","format.codec":"auto","codec":"auto"}},{"id":26,"type":"DialsApplyDial","pos":[-728.7151419443966,1415.7873533100226],"size":[270,78],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":31},{"localized_name":"dial","name":"dial","type":"DIAL","link":32},{"localized_name":"strength","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[34]}],"properties":{"aux_id":"matlowai/ComfyUI-Dials","ver":"75d825eac5b766fe270ce7cda32bd7ee5eebfd4f","Node name for S&R":"DialsApplyDial"},"widgets_values":[0.5],"widgets_values_named":{"strength":0.5}},{"id":27,"type":"Note","pos":[-967.5450419416572,1259.3193670151427],"size":[347.7755908327217,88],"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[],"title":"Note - Custom Node Link","properties":{},"widgets_values":["https://github.com/matlowai/ComfyUI-Dials"],"widgets_values_named":{"text":"https://github.com/matlowai/ComfyUI-Dials"},"color":"#432","bgcolor":"#653"}],"links":[[1,1,0,2,0,"MODEL"],[6,7,0,9,0,"CLIP"],[7,8,0,9,1,"VAE"],[9,9,0,11,1,"CONDITIONING"],[10,10,0,14,0,"NOISE"],[11,11,0,14,1,"GUIDER"],[12,12,0,14,2,"SAMPLER"],[13,13,0,14,3,"SIGMAS"],[14,9,1,14,4,"LATENT"],[15,14,0,15,0,"LATENT"],[16,8,0,15,1,"VAE"],[17,15,0,18,0,"IMAGE"],[18,14,0,17,0,"LATENT"],[19,16,0,17,1,"VAE"],[20,17,0,18,1,"AUDIO"],[22,21,0,9,5,"INT"],[27,21,1,9,6,"INT"],[28,23,1,9,7,"INT"],[31,2,0,26,0,"MODEL"],[32,3,0,26,1,"DIAL"],[34,26,0,11,0,"MODEL"],[24,22,0,23,0,"FLOAT"],[29,18,0,24,0,"VIDEO"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.7517710263330855,"offset":[1452.3694406726868,-972.553972192015]}},"version":0.4} \ No newline at end of file diff --git a/Face-&-Body Swap/Video-Files.zip b/Face-&-Body Swap/Video-Files.zip new file mode 100644 index 0000000000000000000000000000000000000000..a8158d27f824c0d707f070946ac69224f2d8d713 --- /dev/null +++ b/Face-&-Body Swap/Video-Files.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4992193bf7a2ea102bf9994c0d2c32212541024f56413631fa21d486db2a7a6 +size 68034547 diff --git a/Face-&-Body Swap/Workflow-1/Girl-Right.png b/Face-&-Body Swap/Workflow-1/Girl-Right.png new file mode 100644 index 0000000000000000000000000000000000000000..ffaa566cf822c51dea838bad08a59a10a8185414 --- /dev/null +++ b/Face-&-Body Swap/Workflow-1/Girl-Right.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27cb609c14470cdc9bfe3d8423a2649d6acc2fe4471d62a0e3cac9d16d366ba0 +size 1315176 diff --git a/Face-&-Body Swap/Workflow-1/Girl-left.png b/Face-&-Body Swap/Workflow-1/Girl-left.png new file mode 100644 index 0000000000000000000000000000000000000000..808412fb88d5ef3736aefdc3abbdaffbc7afd4d5 --- /dev/null +++ b/Face-&-Body Swap/Workflow-1/Girl-left.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6c325a51a08f5f3e3e224027ebc643e970910d5ce799de9e6be050e4e2b5ec7 +size 1343670 diff --git a/Face-&-Body Swap/Workflow-1/Workflow-1-updated.json b/Face-&-Body Swap/Workflow-1/Workflow-1-updated.json new file mode 100644 index 0000000000000000000000000000000000000000..d97e66f62f2fb2b16e3646c6cced0d13e870df03 --- /dev/null +++ b/Face-&-Body Swap/Workflow-1/Workflow-1-updated.json @@ -0,0 +1,5618 @@ +{ + "id": "b5da00bb-5033-496e-bbf6-0d8f1665f260", + "revision": 0, + "last_node_id": 1279, + "last_link_id": 3138, + "nodes": [ + { + "id": 1122, + "type": "SolidMask", + "pos": [ + -1778.9009702550898, + 6246.889130367156 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 2915 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SolidMask" + }, + "widgets_values": [ + 0, + 32, + 32 + ], + "widgets_values_named": { + "value": 0, + "width": 32, + "height": 32 + } + }, + { + "id": 1137, + "type": "DrawBBoxes", + "pos": [ + -3129.5442268033203, + 7370.342470366385 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "link": 2932 + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 3080 + } + ], + "outputs": [ + { + "name": "out_image", + "type": "IMAGE", + "links": [ + 2936 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "DrawBBoxes" + } + }, + { + "id": 1140, + "type": "ResizeImageMaskNode", + "pos": [ + -2869.5442268033303, + 7370.342470366385 + ], + "size": [ + 230, + 106 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "input", + "type": "IMAGE,MASK", + "link": 2936 + } + ], + "outputs": [ + { + "name": "resized", + "type": "IMAGE", + "links": [ + 2934 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ResizeImageMaskNode" + }, + "widgets_values": [ + "scale by multiplier", + 0.5, + "area" + ], + "widgets_values_named": { + "resize_type": "scale by multiplier", + "resize_type.multiplier": 0.5, + "scale_method": "area" + } + }, + { + "id": 1180, + "type": "MarkdownNote", + "pos": [ + -2048.9009702550825, + 6246.889130367156 + ], + "size": [ + 240, + 100 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Set audio mask to 1.0 to regenerate new audio or 0.0 to keep existing audio." + ], + "widgets_values_named": { + "text": "## Set audio mask to 1.0 to regenerate new audio or 0.0 to keep existing audio." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1188, + "type": "CLIPLoader", + "pos": [ + -2932.8063558211347, + 5290.2052892442725 + ], + "size": [ + 460, + 120 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 3018 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ], + "widgets_values_named": { + "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "type": "minimax", + "device": "default" + } + }, + { + "id": 1199, + "type": "UNETLoader", + "pos": [ + -2932.8063558211347, + 5160.2052892442725 + ], + "size": [ + 460, + 90 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2991 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "directory": "diffusion_models" + } + ] + }, + "widgets_values": [ + "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "default" + ], + "widgets_values_named": { + "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "weight_dtype": "default" + } + }, + { + "id": 1121, + "type": "SetLatentNoiseMask", + "pos": [ + -1508.9009702550925, + 6126.889130367158 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 2914 + }, + { + "name": "mask", + "type": "MASK", + "link": 2915 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2938 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 1220, + "type": "Reroute", + "pos": [ + -2273.2776162453256, + 6528.568830471097 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3036 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3038, + 3041 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1219, + "type": "Reroute", + "pos": [ + -2260.877070870439, + 6408.006002436187 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3035 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3037, + 3042, + 3043 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1222, + "type": "Reroute", + "pos": [ + -912.0315387934912, + 6529.664660193733 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3038 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3040 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1182, + "type": "MarkdownNote", + "pos": [ + -2415.919958992465, + 5943.288863679082 + ], + "size": [ + 240, + 120 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "Write your own prompt for best effects, but you don't have to use the full ref2va template because the masking and cropped processing focuses the models attention pretty well. Prompt for specific actions, expressions, audio, etc." + ], + "widgets_values_named": { + "text": "Write your own prompt for best effects, but you don't have to use the full ref2va template because the masking and cropped processing focuses the models attention pretty well. Prompt for specific actions, expressions, audio, etc." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1221, + "type": "Reroute", + "pos": [ + -915.2255066476937, + 6410.135789382051 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3037 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3039 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1175, + "type": "SetNode", + "pos": [ + -3898.8695820771813, + 5589.402985039005 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "link": 2971 + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2913 + ] + } + ], + "title": "Set_duration_sec", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "duration_sec" + }, + "widgets_values": [ + "duration_sec" + ], + "widgets_values_named": { + "Constant": "duration_sec" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 1120, + "type": "PreviewAny", + "pos": [ + -3661.761844957186, + 5590.183695563215 + ], + "size": [ + 224.0773684370497, + 122 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 2913 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "title": "Duration seconds", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [], + "widgets_values_named": {} + }, + { + "id": 1207, + "type": "VAEEncodeAudio", + "pos": [ + -1778.9009702550898, + 6126.889130367158 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "AUDIO", + "link": 3074 + }, + { + "name": "vae", + "type": "VAE", + "link": 3041 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2914 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEEncodeAudio" + } + }, + { + "id": 1117, + "type": "VAELoader", + "pos": [ + -3010.319617395011, + 6407.963808260519 + ], + "size": [ + 386.7074344084822, + 67.55691448028301 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 3035, + 3082 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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_video_vae_fp16.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_video_vae_fp16.safetensors" + } + }, + { + "id": 1118, + "type": "VAELoader", + "pos": [ + -3015.088846074235, + 6529.156115430331 + ], + "size": [ + 398.92286200706894, + 69.18563816009464 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 3036, + 3083 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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_audio_vae_fp32.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_audio_vae_fp32.safetensors" + } + }, + { + "id": 1224, + "type": "Reroute", + "pos": [ + -4195.356952320184, + 6777.068112949527 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3060 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 3056, + 3057, + 3078 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1178, + "type": "MarkdownNote", + "pos": [ + -4202.6524880772095, + 7275.45345220194 + ], + "size": [ + 270, + 90 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Use whatever detection technique you prefer (SAM3, Mediapipe, etc.)" + ], + "widgets_values_named": { + "text": "## Use whatever detection technique you prefer (SAM3, Mediapipe, etc.)" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1141, + "type": "MarkdownNote", + "pos": [ + -2988.7781178084583, + 6803.93056687541 + ], + "size": [ + 295.5394774815695, + 88 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Read Tooltips on how to use the Subject Crop node.\nThis stage also resizes the cropped image to be larger so it can be sampled at upscale_megapixels resolution before being pasted back in via the uncrop node." + ], + "widgets_values_named": { + "text": "## Read Tooltips on how to use the Subject Crop node.\nThis stage also resizes the cropped image to be larger so it can be sampled at upscale_megapixels resolution before being pasted back in via the uncrop node." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1138, + "type": "PreviewAnimation", + "pos": [ + -2589.544226803332, + 7370.342470366385 + ], + "size": [ + 300, + 350 + ], + "flags": { + "collapsed": false + }, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 2934 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [], + "title": "Preview Animation 107x512x512", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "16cbf238a74cac17082d6888bc8934899c850645", + "Node name for S&R": "PreviewAnimation" + }, + "widgets_values": [ + 24 + ], + "widgets_values_named": { + "fps": 24 + } + }, + { + "id": 1129, + "type": "SAM3_TrackPreview", + "pos": [ + -3917.799162347315, + 7191.100827008162 + ], + "size": [ + 658, + 1263.7777777777778 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 2922 + }, + { + "label": "images", + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 3056 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackPreview" + }, + "widgets_values": [ + 0.5, + 25 + ], + "widgets_values_named": { + "opacity": 0.5, + "fps": 25 + } + }, + { + "id": 1185, + "type": "VHS_VideoInfoLoaded", + "pos": [ + -4320.022174746465, + 5641.259787908648 + ], + "size": [ + 260, + 140 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "link": 2976 + } + ], + "outputs": [ + { + "name": "fps🟦", + "type": "FLOAT", + "links": [ + 2977 + ] + }, + { + "name": "frame_count🟦", + "type": "INT", + "links": null + }, + { + "name": "duration🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "width🟦", + "type": "INT", + "links": null + }, + { + "name": "height🟦", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoInfoLoaded" + }, + "widgets_values": {} + }, + { + "id": 1269, + "type": "LoadImage", + "pos": [ + -3696.485383845081, + 4725.332223149442 + ], + "size": [ + 222.798828125, + 326 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3123 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "Old-Man.png", + "image" + ], + "widgets_values_named": { + "image": "Old-Man.png", + "upload": "image" + } + }, + { + "id": 1244, + "type": "e3e20216-7046-47e4-8295-98692d608061", + "pos": [ + -4220.7610254571155, + 4813.9329043529115 + ], + "size": [ + 300, + 90 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3088 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3090 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1256, + "type": "4f26d012-372e-42bd-bb6b-9ade41e3a6eb", + "pos": [ + -3426.4853838450845, + 4725.332223149442 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3123 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1236, + "type": "PreviewAny", + "pos": [ + -4321.066988459242, + 6126.955797610424 + ], + "size": [ + 323.7663490348277, + 328.03354549614505 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 3084 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [], + "widgets_values_named": {} + }, + { + "id": 1234, + "type": "Reroute", + "pos": [ + -3420.104488888339, + 6128.062631802868 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3073 + } + ], + "outputs": [ + { + "name": "", + "type": "AUDIO", + "links": [ + 3074 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1189, + "type": "MarkdownNote", + "pos": [ + -2946.478059755334, + 4899.079105174724 + ], + "size": [ + 490, + 170 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "⚠️⚠️⚠️", + "properties": {}, + "widgets_values": [ + "# droz MiniMaxH3 LatentMaskInpainting w Reference v3\n# This WF uses [MaskVidExperiments](https://github.com/drozbay/MaskVidExperiments) custom node pack.\n\n❤️💀 drozbay (ablejones)" + ], + "widgets_values_named": { + "text": "# droz MiniMaxH3 LatentMaskInpainting w Reference v3\n# This WF uses [MaskVidExperiments](https://github.com/drozbay/MaskVidExperiments) custom node pack.\n\n❤️💀 drozbay (ablejones)" + }, + "color": "#944c14", + "bgcolor": "#803800" + }, + { + "id": 1200, + "type": "ModelAttentionBackend", + "pos": [ + -2446.407739697487, + 5190.554926293874 + ], + "size": [ + 270, + 70 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2991 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2992 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ModelAttentionBackend" + }, + "widgets_values": [ + "comfy kitchen attention" + ], + "widgets_values_named": { + "attention": "comfy kitchen attention" + } + }, + { + "id": 1201, + "type": "LoraLoaderModelOnly", + "pos": [ + -2223.612932350308, + 5191.181297457586 + ], + "size": [ + 627.5564586750302, + 82 + ], + "flags": { + "collapsed": true + }, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2992 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2993 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "minimax_h3_fl2v_lightx2v_turbo_8step_v1.0_resized_avg_rank_24_bf16.safetensors", + 1 + ], + "widgets_values_named": { + "lora_name": "minimax_h3_fl2v_lightx2v_turbo_8step_v1.0_resized_avg_rank_24_bf16.safetensors", + "strength_model": 1 + } + }, + { + "id": 1202, + "type": "MiniMaxH3SigmaShift", + "pos": [ + -2057.849843125207, + 5192.06576219089 + ], + "size": [ + 400, + 85 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2993 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 3032 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3SigmaShift" + }, + "widgets_values": [ + 12, + 1.5 + ], + "widgets_values_named": { + "shift_video": 12, + "shift_audio": 1.5 + } + }, + { + "id": 1246, + "type": "ImageStitch", + "pos": [ + -3901.8340720445835, + 5176.297891723835 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 3090 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 3091 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3121 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageStitch" + }, + "widgets_values": [ + "right", + true, + 0, + "white" + ], + "widgets_values_named": { + "direction": "right", + "match_image_size": true, + "spacing_width": 0, + "spacing_color": "white" + } + }, + { + "id": 1198, + "type": "KSampler", + "pos": [ + -944.373356676159, + 5398.059386564369 + ], + "size": [ + 270.5943965693766, + 266.0700397952819 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 3032 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 2988 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 2989 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 2990 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 3005, + 3008 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 123, + "fixed", + 8, + 1, + "er_sde", + "simple", + 1 + ], + "widgets_values_named": { + "seed": 123, + "control_after_generate": "fixed", + "steps": 8, + "cfg": 1, + "sampler_name": "er_sde", + "scheduler": "simple", + "denoise": 1 + } + }, + { + "id": 1258, + "type": "ImageResizeKJv2", + "pos": [ + -4331.996729342076, + 5733.905621730096 + ], + "size": [ + 260.57763160439754, + 348 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 3105 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3106 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "35e5956193769d18a13136cdedb73a36a05c73e6", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 1024, + 1024, + "nearest-exact", + "resize", + "0, 0, 0", + "center", + 32, + "cpu" + ], + "widgets_values_named": { + "width": 1024, + "height": 1024, + "upscale_method": "nearest-exact", + "keep_proportion": "resize", + "pad_color": "0, 0, 0", + "crop_position": "center", + "divisible_by": 32, + "device": "cpu" + } + }, + { + "id": 1183, + "type": "GetImageSize", + "pos": [ + -3139.401813111006, + 5692.742421879411 + ], + "size": [ + 230, + 160 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 2975 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 3124 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 3125 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 1186, + "type": "2afec46d-a025-42da-b4b8-dfad1f93be71", + "pos": [ + -4031.1037536099366, + 5715.965708759515 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "label": "fps", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2977 + }, + { + "name": "image", + "type": "IMAGE", + "link": 3106 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 2979 + } + ], + "outputs": [ + { + "label": "duration_sec", + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2971 + ] + }, + { + "label": "num_frames", + "name": "INT", + "type": "INT", + "links": [ + 3077 + ] + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3060 + ] + }, + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 3073 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + } + }, + { + "id": 1190, + "type": "CheckpointLoaderSimple", + "pos": [ + -4209.639935806947, + 6965.656888377931 + ], + "size": [ + 286.83390894819286, + 112.8957613814764 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2928 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2921 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sam3.1_multiplex_fp16.safetensors" + ], + "widgets_values_named": { + "ckpt_name": "sam3.1_multiplex_fp16.safetensors" + } + }, + { + "id": 1209, + "type": "Note", + "pos": [ + -4205.05279993833, + 7136.818864245684 + ], + "size": [ + 258.38665910608916, + 88 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - sam3-1-multiplex-fp16", + "properties": {}, + "widgets_values": [ + "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + ], + "widgets_values_named": { + "text": "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1127, + "type": "CLIPTextEncode", + "pos": [ + -3903.521514770842, + 7020.972677891281 + ], + "size": [ + 260, + 130 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2921 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 2929 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "head" + ], + "widgets_values_named": { + "text": "head" + } + }, + { + "id": 1134, + "type": "SAM3_VideoTrack", + "pos": [ + -3625.7703185384985, + 6953.610835724872 + ], + "size": [ + 228.16447368916852, + 192.25657899529233 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 3057 + }, + { + "label": "model", + "name": "model", + "type": "MODEL", + "link": 2928 + }, + { + "label": "initial_mask", + "name": "initial_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "label": "conditioning", + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": 2929 + } + ], + "outputs": [ + { + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "links": [ + 2922, + 2924 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_VideoTrack" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ], + "widgets_values_named": { + "detection_threshold": 0.5, + "max_objects": 0, + "detect_interval": 1 + } + }, + { + "id": 1130, + "type": "SAM3_TrackToMask", + "pos": [ + -3237.7131222458293, + 6955.517466733623 + ], + "size": [ + 232.443085519717, + 58 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 2924 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 2931 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackToMask" + }, + "widgets_values": [ + "" + ], + "widgets_values_named": { + "object_indices": "" + } + }, + { + "id": 1136, + "type": "MVEx_MaskCleanup", + "pos": [ + -3244.1087405248927, + 7074.713007473253 + ], + "size": [ + 250, + 154 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "masks", + "type": "MASK", + "link": 2931 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 3001 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_MaskCleanup" + }, + "widgets_values": [ + 0.3, + "shrink_grow", + 12, + 4, + 16 + ], + "widgets_values_named": { + "threshold": 0.3, + "method": "shrink_grow", + "method.shrink": 12, + "method.min_frames": 4, + "edge_grow": 16 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1181, + "type": "MarkdownNote", + "pos": [ + -2052.8079630001716, + 5962.635768273677 + ], + "size": [ + 240, + 100 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Use grow_spatial and grow_temporal to eliminate edge artifacts and flicker" + ], + "widgets_values_named": { + "text": "## Use grow_spatial and grow_temporal to eliminate edge artifacts and flicker" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1206, + "type": "VAEEncode", + "pos": [ + -1781.251964544344, + 5763.600023488213 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 3047 + }, + { + "name": "vae", + "type": "VAE", + "link": 3042 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2939 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 1150, + "type": "MVEx_MaskToLatentSpace", + "pos": [ + -1789.148246580964, + 5905.277112031535 + ], + "size": [ + 270, + 174 + ], + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "masks", + "type": "MASK", + "link": 3045 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 3043 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 2940 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_MaskToLatentSpace" + }, + "widgets_values": [ + "auto", + "max", + "max", + 36, + 1 + ], + "widgets_values_named": { + "compression": "auto", + "spatial_method": "max", + "temporal_method": "max", + "grow_spatial": 36, + "grow_temporal": 1 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1144, + "type": "SetLatentNoiseMask", + "pos": [ + -1515.9211327091223, + 5763.244059870753 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 2939 + }, + { + "name": "mask", + "type": "MASK", + "link": 2940 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 3072 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 1143, + "type": "LTXVConcatAVLatent", + "pos": [ + -1252.5500380859535, + 5764.587756906599 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "video_latent", + "type": "LATENT", + "link": 3072 + }, + { + "name": "audio_latent", + "type": "LATENT", + "link": 2938 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 2990 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LTXVConcatAVLatent" + } + }, + { + "id": 1125, + "type": "PreviewAnimation", + "pos": [ + -2589.107288339638, + 6940.957083692439 + ], + "size": [ + 300, + 350 + ], + "flags": { + "collapsed": false + }, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 3048 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": 3046 + } + ], + "outputs": [], + "title": "Preview Animation 107x736x704", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "16cbf238a74cac17082d6888bc8934899c850645", + "Node name for S&R": "PreviewAnimation" + }, + "widgets_values": [ + 22.18 + ], + "widgets_values_named": { + "fps": 22.18 + } + }, + { + "id": 1247, + "type": "PreviewImage", + "pos": [ + -2810.8034298665384, + 5498.419300351005 + ], + "size": [ + 304.75517255499244, + 258 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3121 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 3104 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "widgets_values_named": {} + }, + { + "id": 1154, + "type": "MiniMaxH3ReferenceToVideo", + "pos": [ + -2422.200254171614, + 5430.131131924363 + ], + "size": [ + 318.8995215070627, + 364.0478467817802 + ], + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3018 + }, + { + "name": "vae", + "type": "VAE", + "link": 3082 + }, + { + "name": "audio_vae", + "type": "VAE", + "link": 3083 + }, + { + "label": "ref_image_0", + "name": "ref_images.ref_image_0", + "shape": 7, + "type": "IMAGE", + "link": 3104 + }, + { + "label": "ref_image_1", + "name": "ref_images.ref_image_1", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_0", + "name": "ref_videos.ref_video_0", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_audio_0", + "name": "ref_video_audios.ref_video_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "ref_audio_0", + "name": "ref_audios.ref_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 3124 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 3125 + }, + { + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 3077 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 2988, + 2989 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "MiniMaxH3ReferenceToVideo" + }, + "widgets_values": [ + " is the character represented in . The video is a close up face of .", + 1344, + 768, + 5, + "match" + ], + "widgets_values_named": { + "prompt": " is the character represented in . The video is a close up face of .", + "width": 1344, + "height": 768, + "length": 5, + "ref_image_size": "match" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 1245, + "type": "64057283-3371-4659-8343-95bb1227e0ae", + "pos": [ + -4227.108868829164, + 5193.3531331127015 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3089 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3091 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1218, + "type": "VAEDecodeAudio", + "pos": [ + -615.5304904641815, + 5514.481855734489 + ], + "size": [ + 230, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 3008 + }, + { + "name": "vae", + "type": "VAE", + "link": 3040 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 3127, + 3133 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEDecodeAudio" + } + }, + { + "id": 1216, + "type": "VAEDecode", + "pos": [ + -613.1458761245703, + 5398.134012362442 + ], + "size": [ + 230, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 3005 + }, + { + "name": "vae", + "type": "VAE", + "link": 3039 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3126, + 3134 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 1235, + "type": "Reroute", + "pos": [ + -3346.659347285355, + 6780.851105568059 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3078 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 3079, + 3080, + 3136 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1278, + "type": "Reroute", + "pos": [ + -2353.6061230206196, + 6801.792654051588 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3137 + } + ], + "outputs": [ + { + "name": "", + "type": "BOUNDING_BOX", + "links": [ + 3138 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1273, + "type": "MVEx_SubjectUncrop", + "pos": [ + -1150.8405952538537, + 6761.845830990634 + ], + "size": [ + 290.45923068486945, + 140.6924175864351 + ], + "flags": { + "collapsed": false + }, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "link": 3134 + }, + { + "name": "original_images", + "type": "IMAGE", + "link": 3136 + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "link": 3138 + }, + { + "name": "cropped_masks", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 3132 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "328cca9698accb5d135b182dfba0623af5ab3c43", + "Node name for S&R": "MVEx_SubjectUncrop", + "aux_id": "drozbay/MaskVidExperiments" + }, + "widgets_values": [ + 16 + ], + "widgets_values_named": { + "feather": 16 + } + }, + { + "id": 1270, + "type": "VHS_VideoCombine", + "pos": [ + -453.0216094870345, + 6760.64903539178 + ], + "size": [ + 263.6230888693947, + 581.0307806576818 + ], + "flags": {}, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3126 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 3127 + }, + { + "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": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Test-3", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Test-3_00003-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Test-3_00003.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Test-3_00003-audio.mp4" + } + } + }, + "widgets_values_named": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Test-3", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Test-3_00003-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Test-3_00003.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Test-3_00003-audio.mp4" + } + } + } + }, + { + "id": 1277, + "type": "VHS_VideoCombine", + "pos": [ + -809.3685647846238, + 6766.357916383322 + ], + "size": [ + 263.6230888693947, + 591.6230888693947 + ], + "flags": {}, + "order": 64, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3132 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 3133 + }, + { + "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": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Uncrop", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Uncrop_00001-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Uncrop_00001.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Uncrop_00001-audio.mp4" + } + } + }, + "widgets_values_named": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Uncrop", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Uncrop_00001-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Uncrop_00001.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Uncrop_00001-audio.mp4" + } + } + } + }, + { + "id": 1242, + "type": "LoadImage", + "pos": [ + -4500.7610254571155, + 4813.9329043529115 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3088 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "peter.jpg", + "image" + ], + "widgets_values_named": { + "image": "peter.jpg", + "upload": "image" + } + }, + { + "id": 1243, + "type": "LoadImage", + "pos": [ + -4497.108868829164, + 5193.3531331127015 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3089 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "peter.jpg", + "image" + ], + "widgets_values_named": { + "image": "peter.jpg", + "upload": "image" + } + }, + { + "id": 1191, + "type": "VHS_LoadVideo", + "pos": [ + -4617.145898713617, + 5679.09793563822 + ], + "size": [ + 260, + 751 + ], + "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": [ + 3105 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 2979 + ] + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": [ + 2976, + 3084 + ] + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "Video-1.mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "None", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Video-1.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + }, + "widgets_values_named": { + "video": "Video-1.mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "None", + "choose video to upload": null, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Video-1.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 1271, + "type": "Note", + "pos": [ + -4227.2068279408395, + 5360.678973909334 + ], + "size": [ + 370.5741553292637, + 118.10908026460311 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - BiRefNet Download it", + "properties": {}, + "widgets_values": [ + "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + ], + "widgets_values_named": { + "text": "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1211, + "type": "MVEx_SubjectCrop", + "pos": [ + -2974.6462741161904, + 6949.875462596523 + ], + "size": [ + 270, + 286 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "original_images", + "type": "IMAGE", + "link": 3079 + }, + { + "name": "masks", + "type": "MASK", + "link": 3001 + } + ], + "outputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "links": [ + 2975, + 3047, + 3048 + ] + }, + { + "name": "cropped_masks", + "type": "MASK", + "links": [ + 3045, + 3046 + ] + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "links": [ + 2932, + 3137 + ] + }, + { + "name": "debug", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_SubjectCrop" + }, + "widgets_values": [ + "tracked", + 1.75, + "firm", + "stillness", + 0, + false, + 32, + 0.5 + ], + "widgets_values_named": { + "mode": "tracked", + "mode.crop_scale": 1.75, + "mode.padding": "firm", + "mode.prefer": "stillness", + "mode.aspect_ratio": 0, + "mode.seamless_loop": false, + "divisible_by": 32, + "upscale_megapixels": 0.5 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1279, + "type": "Note", + "pos": [ + -3019.6594914905268, + 7512.840021574012 + ], + "size": [ + 365.9524168053799, + 94.0760399404071 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - MVEx Subject Crop - IMP", + "properties": {}, + "widgets_values": [ + "Subject Crop is most useful when the subject occupies only part of a larger frame. My example was not ideal because its resolution and framing caused the crop box to cover nearly the whole image, so it did not demonstrate the node’s real advantage" + ], + "widgets_values_named": { + "text": "Subject Crop is most useful when the subject occupies only part of a larger frame. My example was not ideal because its resolution and framing caused the crop box to cover nearly the whole image, so it did not demonstrate the node’s real advantage" + }, + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 2913, + 1175, + 0, + 1120, + 0, + "*" + ], + [ + 2914, + 1207, + 0, + 1121, + 0, + "LATENT" + ], + [ + 2915, + 1122, + 0, + 1121, + 1, + "MASK" + ], + [ + 2921, + 1190, + 1, + 1127, + 0, + "CLIP" + ], + [ + 2922, + 1134, + 0, + 1129, + 0, + "SAM3_TRACK_DATA" + ], + [ + 2924, + 1134, + 0, + 1130, + 0, + "SAM3_TRACK_DATA" + ], + [ + 2928, + 1190, + 0, + 1134, + 1, + "MODEL" + ], + [ + 2929, + 1127, + 0, + 1134, + 3, + "CONDITIONING" + ], + [ + 2931, + 1130, + 0, + 1136, + 0, + "MASK" + ], + [ + 2932, + 1211, + 2, + 1137, + 0, + "BOUNDING_BOX" + ], + [ + 2934, + 1140, + 0, + 1138, + 0, + "IMAGE" + ], + [ + 2936, + 1137, + 0, + 1140, + 0, + "IMAGE" + ], + [ + 2938, + 1121, + 0, + 1143, + 1, + "LATENT" + ], + [ + 2939, + 1206, + 0, + 1144, + 0, + "LATENT" + ], + [ + 2940, + 1150, + 0, + 1144, + 1, + "MASK" + ], + [ + 2971, + 1186, + 0, + 1175, + 0, + "FLOAT" + ], + [ + 2975, + 1211, + 0, + 1183, + 0, + "IMAGE" + ], + [ + 2976, + 1191, + 3, + 1185, + 0, + "VHS_VIDEOINFO" + ], + [ + 2977, + 1185, + 0, + 1186, + 0, + "FLOAT" + ], + [ + 2979, + 1191, + 2, + 1186, + 2, + "AUDIO" + ], + [ + 2988, + 1154, + 0, + 1198, + 1, + "CONDITIONING" + ], + [ + 2989, + 1154, + 0, + 1198, + 2, + "CONDITIONING" + ], + [ + 2990, + 1143, + 0, + 1198, + 3, + "LATENT" + ], + [ + 2991, + 1199, + 0, + 1200, + 0, + "MODEL" + ], + [ + 2992, + 1200, + 0, + 1201, + 0, + "MODEL" + ], + [ + 2993, + 1201, + 0, + 1202, + 0, + "MODEL" + ], + [ + 3001, + 1136, + 0, + 1211, + 1, + "MASK" + ], + [ + 3005, + 1198, + 0, + 1216, + 0, + "LATENT" + ], + [ + 3008, + 1198, + 0, + 1218, + 0, + "LATENT" + ], + [ + 3018, + 1188, + 0, + 1154, + 0, + "CLIP" + ], + [ + 3032, + 1202, + 0, + 1198, + 0, + "MODEL" + ], + [ + 3035, + 1117, + 0, + 1219, + 0, + "VAE" + ], + [ + 3036, + 1118, + 0, + 1220, + 0, + "VAE" + ], + [ + 3037, + 1219, + 0, + 1221, + 0, + "VAE" + ], + [ + 3038, + 1220, + 0, + 1222, + 0, + "VAE" + ], + [ + 3039, + 1221, + 0, + 1216, + 1, + "VAE" + ], + [ + 3040, + 1222, + 0, + 1218, + 1, + "VAE" + ], + [ + 3041, + 1220, + 0, + 1207, + 1, + "VAE" + ], + [ + 3042, + 1219, + 0, + 1206, + 1, + "VAE" + ], + [ + 3043, + 1219, + 0, + 1150, + 1, + "VAE" + ], + [ + 3045, + 1211, + 1, + 1150, + 0, + "MASK" + ], + [ + 3046, + 1211, + 1, + 1125, + 1, + "MASK" + ], + [ + 3047, + 1211, + 0, + 1206, + 0, + "IMAGE" + ], + [ + 3048, + 1211, + 0, + 1125, + 0, + "IMAGE" + ], + [ + 3056, + 1224, + 0, + 1129, + 1, + "IMAGE" + ], + [ + 3057, + 1224, + 0, + 1134, + 0, + "IMAGE" + ], + [ + 3060, + 1186, + 2, + 1224, + 0, + "IMAGE" + ], + [ + 3072, + 1144, + 0, + 1143, + 0, + "LATENT" + ], + [ + 3073, + 1186, + 3, + 1234, + 0, + "AUDIO" + ], + [ + 3074, + 1234, + 0, + 1207, + 0, + "AUDIO" + ], + [ + 3077, + 1186, + 1, + 1154, + 10, + "INT" + ], + [ + 3078, + 1224, + 0, + 1235, + 0, + "IMAGE" + ], + [ + 3079, + 1235, + 0, + 1211, + 0, + "IMAGE" + ], + [ + 3080, + 1235, + 0, + 1137, + 1, + "IMAGE" + ], + [ + 3082, + 1117, + 0, + 1154, + 1, + "VAE" + ], + [ + 3083, + 1118, + 0, + 1154, + 2, + "VAE" + ], + [ + 3084, + 1191, + 3, + 1236, + 0, + "VHS_VIDEOINFO" + ], + [ + 3088, + 1242, + 0, + 1244, + 0, + "IMAGE" + ], + [ + 3089, + 1243, + 0, + 1245, + 0, + "IMAGE" + ], + [ + 3090, + 1244, + 0, + 1246, + 0, + "IMAGE" + ], + [ + 3091, + 1245, + 0, + 1246, + 1, + "IMAGE" + ], + [ + 3104, + 1247, + 0, + 1154, + 3, + "IMAGE" + ], + [ + 3105, + 1191, + 0, + 1258, + 0, + "IMAGE" + ], + [ + 3106, + 1258, + 0, + 1186, + 1, + "IMAGE" + ], + [ + 3121, + 1246, + 0, + 1247, + 0, + "IMAGE" + ], + [ + 3123, + 1269, + 0, + 1256, + 0, + "IMAGE" + ], + [ + 3124, + 1183, + 0, + 1154, + 8, + "INT" + ], + [ + 3125, + 1183, + 1, + 1154, + 9, + "INT" + ], + [ + 3126, + 1216, + 0, + 1270, + 0, + "IMAGE" + ], + [ + 3127, + 1218, + 0, + 1270, + 1, + "AUDIO" + ], + [ + 3132, + 1273, + 0, + 1277, + 0, + "IMAGE" + ], + [ + 3133, + 1218, + 0, + 1277, + 1, + "AUDIO" + ], + [ + 3134, + 1216, + 0, + 1273, + 0, + "IMAGE" + ], + [ + 3136, + 1235, + 0, + 1273, + 1, + "IMAGE" + ], + [ + 3137, + 1211, + 2, + 1278, + 0, + "BOUNDING_BOX" + ], + [ + 3138, + 1278, + 0, + 1273, + 2, + "BOUNDING_BOX" + ] + ], + "groups": [ + { + "id": 46, + "title": "input parameters", + "bounding": [ + -4627.682701176613, + 5522.485445556998, + 1305.9616716994751, + 791.7538892079865 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 47, + "title": "Models", + "bounding": [ + -2942.8063558211347, + 5090.2052892442725, + 1679.845926035428, + 561.6538498113578 + ], + "color": "#8A8", + "flags": {} + }, + { + "id": 50, + "title": "Empty-Latent", + "bounding": [ + -2085.709091852379, + 5678.229180089417, + 1097.3452592509857, + 718.2779566519685 + ], + "color": "#a1309b", + "flags": {} + }, + { + "id": 51, + "title": "SAM3", + "bounding": [ + -4219.6399358069475, + 6739.803295013788, + 1960.5817140120912, + 1017.2975319943744 + ], + "color": "#3f789e", + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "2afec46d-a025-42da-b4b8-dfad1f93be71", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1279, + "lastLinkId": 3138, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "MiniMax H3 Compatible", + "inputNode": { + "id": -10, + "bounding": [ + -7590, + 6600, + 128, + 108 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -5550, + 6596, + 128, + 128 + ] + }, + "inputs": [ + { + "id": "5cd7d12e-2067-4782-9ece-5883dad56e0a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "linkIds": [ + 2879 + ], + "localized_name": "values.a", + "label": "fps", + "pos": [ + -7486, + 6624 + ] + }, + { + "id": "e6fe1870-8456-47b2-bcc9-3d0166b31f55", + "name": "image", + "type": "IMAGE", + "linkIds": [ + 2877, + 2888 + ], + "localized_name": "image", + "pos": [ + -7486, + 6644 + ] + }, + { + "id": "acb68d13-0d30-4736-9345-fdfa9202f26f", + "name": "audio", + "type": "AUDIO", + "linkIds": [ + 2875 + ], + "localized_name": "audio", + "pos": [ + -7486, + 6664 + ] + } + ], + "outputs": [ + { + "id": "1a7c5b2f-e3fb-4aa3-9fd3-7ab405b1dd7b", + "name": "FLOAT", + "type": "FLOAT", + "linkIds": [ + 2869 + ], + "localized_name": "FLOAT", + "label": "duration_sec", + "pos": [ + -5526, + 6620 + ] + }, + { + "id": "2a1ee44f-5f67-4aa1-805a-210f183221ce", + "name": "INT", + "type": "INT", + "linkIds": [ + 2870 + ], + "localized_name": "INT", + "label": "num_frames", + "pos": [ + -5526, + 6640 + ] + }, + { + "id": "20a2c576-df27-4ce3-89ca-6b1da1768e0a", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 2861 + ], + "localized_name": "IMAGE", + "pos": [ + -5526, + 6660 + ] + }, + { + "id": "d69cff2f-0c5f-4228-8d8a-e130369011a8", + "name": "AUDIO", + "type": "AUDIO", + "linkIds": [ + 2872 + ], + "localized_name": "AUDIO", + "pos": [ + -5526, + 6680 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1085, + "type": "ComfyMathExpression", + "pos": [ + -6660, + 6510 + ], + "size": [ + 250, + 150 + ], + "flags": { + "collapsed": false + }, + "order": 0, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2854 + }, + { + "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": [ + 2855 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": 1094, + "type": "ComfyMathExpression", + "pos": [ + -6930, + 6510 + ], + "size": [ + 240, + 150 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2879 + }, + { + "label": "b", + "localized_name": "values.b", + "name": "values.b", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": 2889 + }, + { + "label": "c", + "localized_name": "values.c", + "name": "values.c", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": null + } + ], + "outputs": [ + { + "localized_name": "FLOAT", + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2854 + ] + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "b / a" + ], + "widgets_values_named": { + "expression": "b / a" + } + }, + { + "id": 1086, + "type": "ComfyMathExpression", + "pos": [ + -6380, + 6530 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2855 + }, + { + "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": [ + 2856, + 2866, + 2869 + ] + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": null + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "min(a / 24, (a - 17) / 24)" + ], + "widgets_values_named": { + "expression": "min(a / 24, (a - 17) / 24)" + } + }, + { + "id": 1087, + "type": "ComfyMathExpression", + "pos": [ + -6120, + 6520 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2856 + }, + { + "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": [ + 2859, + 2870 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": 1089, + "type": "ImageFromBatch", + "pos": [ + -5840, + 6610 + ], + "size": [ + 230, + 90 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 2877 + }, + { + "localized_name": "length", + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 2859 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2861 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageFromBatch" + }, + "widgets_values": [ + 0, + 1 + ], + "widgets_values_named": { + "batch_index": 0, + "length": 1 + } + }, + { + "id": 1093, + "type": "TrimAudioDuration", + "pos": [ + -5840, + 6750 + ], + "size": [ + 230, + 90 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "audio", + "name": "audio", + "type": "AUDIO", + "link": 2875 + }, + { + "localized_name": "duration", + "name": "duration", + "type": "FLOAT", + "widget": { + "name": "duration" + }, + "link": 2866 + } + ], + "outputs": [ + { + "localized_name": "AUDIO", + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 2872 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "TrimAudioDuration" + }, + "widgets_values": [ + 0, + 60 + ], + "widgets_values_named": { + "start_index": 0, + "duration": 60 + } + }, + { + "id": 1106, + "type": "GetImageSize", + "pos": [ + -7270, + 6630 + ], + "size": [ + 140, + 70 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 2888 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": null + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": [ + 2889 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + } + ], + "groups": [], + "links": [ + { + "id": 2854, + "origin_id": 1094, + "origin_slot": 0, + "target_id": 1085, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2855, + "origin_id": 1085, + "origin_slot": 1, + "target_id": 1086, + "target_slot": 0, + "type": "INT" + }, + { + "id": 2856, + "origin_id": 1086, + "origin_slot": 0, + "target_id": 1087, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2859, + "origin_id": 1087, + "origin_slot": 1, + "target_id": 1089, + "target_slot": 1, + "type": "INT" + }, + { + "id": 2866, + "origin_id": 1086, + "origin_slot": 0, + "target_id": 1093, + "target_slot": 1, + "type": "FLOAT" + }, + { + "id": 2879, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1094, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2877, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1089, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 2875, + "origin_id": -10, + "origin_slot": 2, + "target_id": 1093, + "target_slot": 0, + "type": "AUDIO" + }, + { + "id": 2869, + "origin_id": 1086, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2870, + "origin_id": 1087, + "origin_slot": 1, + "target_id": -20, + "target_slot": 1, + "type": "INT" + }, + { + "id": 2861, + "origin_id": 1089, + "origin_slot": 0, + "target_id": -20, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 2872, + "origin_id": 1093, + "origin_slot": 0, + "target_id": -20, + "target_slot": 3, + "type": "AUDIO" + }, + { + "id": 2888, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1106, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 2889, + "origin_id": 1106, + "origin_slot": 2, + "target_id": 1094, + "target_slot": 1, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "e3e20216-7046-47e4-8295-98692d608061", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1279, + "lastLinkId": 3138, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 216, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 219, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 224, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 217, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 220, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 217, + "origin_slot": 0, + "target_id": 216, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 224, + "origin_slot": 0, + "target_id": 216, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 220, + "origin_slot": 0, + "target_id": 219, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 219, + "origin_slot": 0, + "target_id": 224, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 216, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 219, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 216, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 217, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "64057283-3371-4659-8343-95bb1227e0ae", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1279, + "lastLinkId": 3138, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 986, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 987, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 988, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 989, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 990, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 989, + "origin_slot": 0, + "target_id": 986, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 988, + "origin_slot": 0, + "target_id": 986, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 990, + "origin_slot": 0, + "target_id": 987, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 987, + "origin_slot": 0, + "target_id": 988, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 986, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 987, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 986, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 989, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "4f26d012-372e-42bd-bb6b-9ade41e3a6eb", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1279, + "lastLinkId": 3138, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1250, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 1251, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 1252, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 1253, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 1254, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 1253, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 1252, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 1254, + "origin_slot": 0, + "target_id": 1251, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 1251, + "origin_slot": 0, + "target_id": 1252, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1251, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 1250, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1253, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + } + ] + }, + "config": {}, + "extra": { + "ds": { + "scale": 0.4170976867656655, + "offset": [ + 5821.360527196712, + -4714.804556654165 + ] + }, + "frontendVersion": "1.49.6", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/Face-&-Body Swap/Workflow-1/Workflow-1.json b/Face-&-Body Swap/Workflow-1/Workflow-1.json new file mode 100644 index 0000000000000000000000000000000000000000..387e288d234612890e7b52fecbc329e061943d60 --- /dev/null +++ b/Face-&-Body Swap/Workflow-1/Workflow-1.json @@ -0,0 +1,5339 @@ +{ + "id": "b5da00bb-5033-496e-bbf6-0d8f1665f260", + "revision": 0, + "last_node_id": 1271, + "last_link_id": 3127, + "nodes": [ + { + "id": 1122, + "type": "SolidMask", + "pos": [ + -1778.9009702550898, + 6246.889130367156 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 2915 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SolidMask" + }, + "widgets_values": [ + 0, + 32, + 32 + ], + "widgets_values_named": { + "value": 0, + "width": 32, + "height": 32 + } + }, + { + "id": 1137, + "type": "DrawBBoxes", + "pos": [ + -3129.5442268033203, + 7370.342470366385 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "link": 2932 + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 3080 + } + ], + "outputs": [ + { + "name": "out_image", + "type": "IMAGE", + "links": [ + 2936 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "DrawBBoxes" + } + }, + { + "id": 1140, + "type": "ResizeImageMaskNode", + "pos": [ + -2869.5442268033303, + 7370.342470366385 + ], + "size": [ + 230, + 106 + ], + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "input", + "type": "IMAGE,MASK", + "link": 2936 + } + ], + "outputs": [ + { + "name": "resized", + "type": "IMAGE", + "links": [ + 2934 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ResizeImageMaskNode" + }, + "widgets_values": [ + "scale by multiplier", + 0.5, + "area" + ], + "widgets_values_named": { + "resize_type": "scale by multiplier", + "resize_type.multiplier": 0.5, + "scale_method": "area" + } + }, + { + "id": 1180, + "type": "MarkdownNote", + "pos": [ + -2048.9009702550825, + 6246.889130367156 + ], + "size": [ + 240, + 100 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Set audio mask to 1.0 to regenerate new audio or 0.0 to keep existing audio." + ], + "widgets_values_named": { + "text": "## Set audio mask to 1.0 to regenerate new audio or 0.0 to keep existing audio." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1188, + "type": "CLIPLoader", + "pos": [ + -2932.8063558211347, + 5290.2052892442725 + ], + "size": [ + 460, + 120 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 3018 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ], + "widgets_values_named": { + "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "type": "minimax", + "device": "default" + } + }, + { + "id": 1199, + "type": "UNETLoader", + "pos": [ + -2932.8063558211347, + 5160.2052892442725 + ], + "size": [ + 460, + 90 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2991 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "directory": "diffusion_models" + } + ] + }, + "widgets_values": [ + "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "default" + ], + "widgets_values_named": { + "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "weight_dtype": "default" + } + }, + { + "id": 1121, + "type": "SetLatentNoiseMask", + "pos": [ + -1508.9009702550925, + 6126.889130367158 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 2914 + }, + { + "name": "mask", + "type": "MASK", + "link": 2915 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2938 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 1220, + "type": "Reroute", + "pos": [ + -2273.2776162453256, + 6528.568830471097 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3036 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3038, + 3041 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1219, + "type": "Reroute", + "pos": [ + -2260.877070870439, + 6408.006002436187 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3035 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3037, + 3042, + 3043 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1222, + "type": "Reroute", + "pos": [ + -912.0315387934912, + 6529.664660193733 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3038 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3040 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1182, + "type": "MarkdownNote", + "pos": [ + -2415.919958992465, + 5943.288863679082 + ], + "size": [ + 240, + 120 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "Write your own prompt for best effects, but you don't have to use the full ref2va template because the masking and cropped processing focuses the models attention pretty well. Prompt for specific actions, expressions, audio, etc." + ], + "widgets_values_named": { + "text": "Write your own prompt for best effects, but you don't have to use the full ref2va template because the masking and cropped processing focuses the models attention pretty well. Prompt for specific actions, expressions, audio, etc." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1221, + "type": "Reroute", + "pos": [ + -915.2255066476937, + 6410.135789382051 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3037 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3039 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1175, + "type": "SetNode", + "pos": [ + -3898.8695820771813, + 5589.402985039005 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "link": 2971 + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2913 + ] + } + ], + "title": "Set_duration_sec", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "duration_sec" + }, + "widgets_values": [ + "duration_sec" + ], + "widgets_values_named": { + "Constant": "duration_sec" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 1120, + "type": "PreviewAny", + "pos": [ + -3661.761844957186, + 5590.183695563215 + ], + "size": [ + 224.0773684370497, + 122 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 2913 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "title": "Duration seconds", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [], + "widgets_values_named": {} + }, + { + "id": 1207, + "type": "VAEEncodeAudio", + "pos": [ + -1778.9009702550898, + 6126.889130367158 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "AUDIO", + "link": 3074 + }, + { + "name": "vae", + "type": "VAE", + "link": 3041 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2914 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEEncodeAudio" + } + }, + { + "id": 1117, + "type": "VAELoader", + "pos": [ + -3010.319617395011, + 6407.963808260519 + ], + "size": [ + 386.7074344084822, + 67.55691448028301 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 3035, + 3082 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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_video_vae_fp16.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_video_vae_fp16.safetensors" + } + }, + { + "id": 1118, + "type": "VAELoader", + "pos": [ + -3015.088846074235, + 6529.156115430331 + ], + "size": [ + 398.92286200706894, + 69.18563816009464 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 3036, + 3083 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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_audio_vae_fp32.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_audio_vae_fp32.safetensors" + } + }, + { + "id": 1224, + "type": "Reroute", + "pos": [ + -4195.356952320184, + 6777.068112949527 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3060 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 3056, + 3057, + 3078 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1235, + "type": "Reroute", + "pos": [ + -3346.659347285355, + 6780.851105568059 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3078 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 3079, + 3080 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1178, + "type": "MarkdownNote", + "pos": [ + -4202.6524880772095, + 7275.45345220194 + ], + "size": [ + 270, + 90 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Use whatever detection technique you prefer (SAM3, Mediapipe, etc.)" + ], + "widgets_values_named": { + "text": "## Use whatever detection technique you prefer (SAM3, Mediapipe, etc.)" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1141, + "type": "MarkdownNote", + "pos": [ + -2988.7781178084583, + 6803.93056687541 + ], + "size": [ + 295.5394774815695, + 88 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Read Tooltips on how to use the Subject Crop node.\nThis stage also resizes the cropped image to be larger so it can be sampled at upscale_megapixels resolution before being pasted back in via the uncrop node." + ], + "widgets_values_named": { + "text": "## Read Tooltips on how to use the Subject Crop node.\nThis stage also resizes the cropped image to be larger so it can be sampled at upscale_megapixels resolution before being pasted back in via the uncrop node." + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1138, + "type": "PreviewAnimation", + "pos": [ + -2589.544226803332, + 7370.342470366385 + ], + "size": [ + 300, + 350 + ], + "flags": { + "collapsed": false + }, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 2934 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [], + "title": "Preview Animation 226x288x512", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "16cbf238a74cac17082d6888bc8934899c850645", + "Node name for S&R": "PreviewAnimation" + }, + "widgets_values": [ + 24 + ], + "widgets_values_named": { + "fps": 24 + } + }, + { + "id": 1242, + "type": "LoadImage", + "pos": [ + -4500.7610254571155, + 4813.9329043529115 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3088 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00004_ (1).png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00004_ (1).png", + "upload": "image" + } + }, + { + "id": 1243, + "type": "LoadImage", + "pos": [ + -4497.108868829164, + 5193.3531331127015 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3089 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00003_.png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00003_.png", + "upload": "image" + } + }, + { + "id": 1129, + "type": "SAM3_TrackPreview", + "pos": [ + -3917.799162347315, + 7191.100827008162 + ], + "size": [ + 658, + 1263.7777777777778 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 2922 + }, + { + "label": "images", + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 3056 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackPreview" + }, + "widgets_values": [ + 0.5, + 25 + ], + "widgets_values_named": { + "opacity": 0.5, + "fps": 25 + } + }, + { + "id": 1185, + "type": "VHS_VideoInfoLoaded", + "pos": [ + -4320.022174746465, + 5641.259787908648 + ], + "size": [ + 260, + 140 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "link": 2976 + } + ], + "outputs": [ + { + "name": "fps🟦", + "type": "FLOAT", + "links": [ + 2977 + ] + }, + { + "name": "frame_count🟦", + "type": "INT", + "links": null + }, + { + "name": "duration🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "width🟦", + "type": "INT", + "links": null + }, + { + "name": "height🟦", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoInfoLoaded" + }, + "widgets_values": {} + }, + { + "id": 1269, + "type": "LoadImage", + "pos": [ + -3696.485383845081, + 4725.332223149442 + ], + "size": [ + 222.798828125, + 326 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3123 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "Old-Man.png", + "image" + ], + "widgets_values_named": { + "image": "Old-Man.png", + "upload": "image" + } + }, + { + "id": 1244, + "type": "e3e20216-7046-47e4-8295-98692d608061", + "pos": [ + -4220.7610254571155, + 4813.9329043529115 + ], + "size": [ + 300, + 90 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3088 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3090 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1256, + "type": "4f26d012-372e-42bd-bb6b-9ade41e3a6eb", + "pos": [ + -3426.4853838450845, + 4725.332223149442 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3123 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1236, + "type": "PreviewAny", + "pos": [ + -4321.066988459242, + 6126.955797610424 + ], + "size": [ + 323.7663490348277, + 328.03354549614505 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 3084 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [], + "widgets_values_named": {} + }, + { + "id": 1234, + "type": "Reroute", + "pos": [ + -3420.104488888339, + 6128.062631802868 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3073 + } + ], + "outputs": [ + { + "name": "", + "type": "AUDIO", + "links": [ + 3074 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 1216, + "type": "VAEDecode", + "pos": [ + -613.1458761245703, + 5398.134012362442 + ], + "size": [ + 230, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 58, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 3005 + }, + { + "name": "vae", + "type": "VAE", + "link": 3039 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3126 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 1218, + "type": "VAEDecodeAudio", + "pos": [ + -615.5304904641815, + 5514.481855734489 + ], + "size": [ + 230, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 59, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 3008 + }, + { + "name": "vae", + "type": "VAE", + "link": 3040 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 3127 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEDecodeAudio" + } + }, + { + "id": 1189, + "type": "MarkdownNote", + "pos": [ + -2946.478059755334, + 4899.079105174724 + ], + "size": [ + 490, + 170 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "⚠️⚠️⚠️", + "properties": {}, + "widgets_values": [ + "# droz MiniMaxH3 LatentMaskInpainting w Reference v3\n# This WF uses [MaskVidExperiments](https://github.com/drozbay/MaskVidExperiments) custom node pack.\n\n❤️💀 drozbay (ablejones)" + ], + "widgets_values_named": { + "text": "# droz MiniMaxH3 LatentMaskInpainting w Reference v3\n# This WF uses [MaskVidExperiments](https://github.com/drozbay/MaskVidExperiments) custom node pack.\n\n❤️💀 drozbay (ablejones)" + }, + "color": "#944c14", + "bgcolor": "#803800" + }, + { + "id": 1200, + "type": "ModelAttentionBackend", + "pos": [ + -2446.407739697487, + 5190.554926293874 + ], + "size": [ + 270, + 70 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2991 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2992 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ModelAttentionBackend" + }, + "widgets_values": [ + "comfy kitchen attention" + ], + "widgets_values_named": { + "attention": "comfy kitchen attention" + } + }, + { + "id": 1201, + "type": "LoraLoaderModelOnly", + "pos": [ + -2223.612932350308, + 5191.181297457586 + ], + "size": [ + 627.5564586750302, + 82 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2992 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2993 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "minimax_h3_fl2v_lightx2v_turbo_8step_v1.0_resized_avg_rank_24_bf16.safetensors", + 1 + ], + "widgets_values_named": { + "lora_name": "minimax_h3_fl2v_lightx2v_turbo_8step_v1.0_resized_avg_rank_24_bf16.safetensors", + "strength_model": 1 + } + }, + { + "id": 1202, + "type": "MiniMaxH3SigmaShift", + "pos": [ + -2057.849843125207, + 5192.06576219089 + ], + "size": [ + 400, + 85 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2993 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 3032 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3SigmaShift" + }, + "widgets_values": [ + 12, + 1.5 + ], + "widgets_values_named": { + "shift_video": 12, + "shift_audio": 1.5 + } + }, + { + "id": 1246, + "type": "ImageStitch", + "pos": [ + -3901.8340720445835, + 5176.297891723835 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 3090 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 3091 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3121 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageStitch" + }, + "widgets_values": [ + "right", + true, + 0, + "white" + ], + "widgets_values_named": { + "direction": "right", + "match_image_size": true, + "spacing_width": 0, + "spacing_color": "white" + } + }, + { + "id": 1198, + "type": "KSampler", + "pos": [ + -944.373356676159, + 5398.059386564369 + ], + "size": [ + 270.5943965693766, + 266.0700397952819 + ], + "flags": {}, + "order": 57, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 3032 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 2988 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 2989 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 2990 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 3005, + 3008 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 123, + "fixed", + 8, + 1, + "er_sde", + "simple", + 1 + ], + "widgets_values_named": { + "seed": 123, + "control_after_generate": "fixed", + "steps": 8, + "cfg": 1, + "sampler_name": "er_sde", + "scheduler": "simple", + "denoise": 1 + } + }, + { + "id": 1258, + "type": "ImageResizeKJv2", + "pos": [ + -4331.996729342076, + 5733.905621730096 + ], + "size": [ + 260.57763160439754, + 348 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 3105 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3106 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "35e5956193769d18a13136cdedb73a36a05c73e6", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 1024, + 1024, + "nearest-exact", + "resize", + "0, 0, 0", + "center", + 32, + "cpu" + ], + "widgets_values_named": { + "width": 1024, + "height": 1024, + "upscale_method": "nearest-exact", + "keep_proportion": "resize", + "pad_color": "0, 0, 0", + "crop_position": "center", + "divisible_by": 32, + "device": "cpu" + } + }, + { + "id": 1183, + "type": "GetImageSize", + "pos": [ + -3139.401813111006, + 5692.742421879411 + ], + "size": [ + 230, + 160 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 2975 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 3124 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 3125 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 1186, + "type": "2afec46d-a025-42da-b4b8-dfad1f93be71", + "pos": [ + -4031.1037536099366, + 5715.965708759515 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "label": "fps", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2977 + }, + { + "name": "image", + "type": "IMAGE", + "link": 3106 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 2979 + } + ], + "outputs": [ + { + "label": "duration_sec", + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2971 + ] + }, + { + "label": "num_frames", + "name": "INT", + "type": "INT", + "links": [ + 3077 + ] + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3060 + ] + }, + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 3073 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + } + }, + { + "id": 1190, + "type": "CheckpointLoaderSimple", + "pos": [ + -4209.639935806947, + 6965.656888377931 + ], + "size": [ + 286.83390894819286, + 112.8957613814764 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2928 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2921 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sam3.1_multiplex_fp16.safetensors" + ], + "widgets_values_named": { + "ckpt_name": "sam3.1_multiplex_fp16.safetensors" + } + }, + { + "id": 1209, + "type": "Note", + "pos": [ + -4205.05279993833, + 7136.818864245684 + ], + "size": [ + 258.38665910608916, + 88 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - sam3-1-multiplex-fp16", + "properties": {}, + "widgets_values": [ + "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + ], + "widgets_values_named": { + "text": "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1127, + "type": "CLIPTextEncode", + "pos": [ + -3903.521514770842, + 7020.972677891281 + ], + "size": [ + 260, + 130 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2921 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 2929 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "head" + ], + "widgets_values_named": { + "text": "head" + } + }, + { + "id": 1134, + "type": "SAM3_VideoTrack", + "pos": [ + -3625.7703185384985, + 6953.610835724872 + ], + "size": [ + 228.16447368916852, + 192.25657899529233 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 3057 + }, + { + "label": "model", + "name": "model", + "type": "MODEL", + "link": 2928 + }, + { + "label": "initial_mask", + "name": "initial_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "label": "conditioning", + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": 2929 + } + ], + "outputs": [ + { + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "links": [ + 2922, + 2924 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_VideoTrack" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ], + "widgets_values_named": { + "detection_threshold": 0.5, + "max_objects": 0, + "detect_interval": 1 + } + }, + { + "id": 1130, + "type": "SAM3_TrackToMask", + "pos": [ + -3237.7131222458293, + 6955.517466733623 + ], + "size": [ + 232.443085519717, + 58 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 2924 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 2931 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackToMask" + }, + "widgets_values": [ + "" + ], + "widgets_values_named": { + "object_indices": "" + } + }, + { + "id": 1136, + "type": "MVEx_MaskCleanup", + "pos": [ + -3244.1087405248927, + 7074.713007473253 + ], + "size": [ + 250, + 154 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "masks", + "type": "MASK", + "link": 2931 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 3001 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_MaskCleanup" + }, + "widgets_values": [ + 0.3, + "shrink_grow", + 12, + 4, + 16 + ], + "widgets_values_named": { + "threshold": 0.3, + "method": "shrink_grow", + "method.shrink": 12, + "method.min_frames": 4, + "edge_grow": 16 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1211, + "type": "MVEx_SubjectCrop", + "pos": [ + -2974.6462741161904, + 6949.875462596523 + ], + "size": [ + 270, + 286 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "original_images", + "type": "IMAGE", + "link": 3079 + }, + { + "name": "masks", + "type": "MASK", + "link": 3001 + } + ], + "outputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "links": [ + 2975, + 3047, + 3048 + ] + }, + { + "name": "cropped_masks", + "type": "MASK", + "links": [ + 3045, + 3046 + ] + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "links": [ + 2932 + ] + }, + { + "name": "debug", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_SubjectCrop" + }, + "widgets_values": [ + "tracked", + 1.75, + "firm", + "stillness", + 0, + false, + 32, + 0.5 + ], + "widgets_values_named": { + "mode": "tracked", + "mode.crop_scale": 1.75, + "mode.padding": "firm", + "mode.prefer": "stillness", + "mode.aspect_ratio": 0, + "mode.seamless_loop": false, + "divisible_by": 32, + "upscale_megapixels": 0.5 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1181, + "type": "MarkdownNote", + "pos": [ + -2052.8079630001716, + 5962.635768273677 + ], + "size": [ + 240, + 100 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note", + "properties": {}, + "widgets_values": [ + "## Use grow_spatial and grow_temporal to eliminate edge artifacts and flicker" + ], + "widgets_values_named": { + "text": "## Use grow_spatial and grow_temporal to eliminate edge artifacts and flicker" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1206, + "type": "VAEEncode", + "pos": [ + -1781.251964544344, + 5763.600023488213 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 3047 + }, + { + "name": "vae", + "type": "VAE", + "link": 3042 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2939 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 1150, + "type": "MVEx_MaskToLatentSpace", + "pos": [ + -1789.148246580964, + 5905.277112031535 + ], + "size": [ + 270, + 174 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "masks", + "type": "MASK", + "link": 3045 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 3043 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 2940 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "d98cc899c1fac718acf81cde1735bf57281097cf", + "Node name for S&R": "MVEx_MaskToLatentSpace" + }, + "widgets_values": [ + "auto", + "max", + "max", + 36, + 1 + ], + "widgets_values_named": { + "compression": "auto", + "spatial_method": "max", + "temporal_method": "max", + "grow_spatial": 36, + "grow_temporal": 1 + }, + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 1144, + "type": "SetLatentNoiseMask", + "pos": [ + -1515.9211327091223, + 5763.244059870753 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 2939 + }, + { + "name": "mask", + "type": "MASK", + "link": 2940 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 3072 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 1143, + "type": "LTXVConcatAVLatent", + "pos": [ + -1252.5500380859535, + 5764.587756906599 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "video_latent", + "type": "LATENT", + "link": 3072 + }, + { + "name": "audio_latent", + "type": "LATENT", + "link": 2938 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 2990 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LTXVConcatAVLatent" + } + }, + { + "id": 1125, + "type": "PreviewAnimation", + "pos": [ + -2589.107288339638, + 6940.957083692439 + ], + "size": [ + 300, + 350 + ], + "flags": { + "collapsed": false + }, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 3048 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": 3046 + } + ], + "outputs": [], + "title": "Preview Animation 226x576x960", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "16cbf238a74cac17082d6888bc8934899c850645", + "Node name for S&R": "PreviewAnimation" + }, + "widgets_values": [ + 22.18 + ], + "widgets_values_named": { + "fps": 22.18 + } + }, + { + "id": 1247, + "type": "PreviewImage", + "pos": [ + -2810.8034298665384, + 5498.419300351005 + ], + "size": [ + 304.75517255499244, + 258 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3121 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 3104 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 1270, + "type": "VHS_VideoCombine", + "pos": [ + -623.027565307475, + 5668.687703775871 + ], + "size": [ + 263.6230888693947, + 781.1077135455905 + ], + "flags": {}, + "order": 60, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3126 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 3127 + }, + { + "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": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Test-3", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Test-3_00002-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Test-3_00002.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Test-3_00002-audio.mp4" + } + } + }, + "widgets_values_named": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "H3-Test-3", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "H3-Test-3_00002-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "H3-Test-3_00002.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\H3-Test-3_00002-audio.mp4" + } + } + } + }, + { + "id": 1154, + "type": "MiniMaxH3ReferenceToVideo", + "pos": [ + -2422.200254171614, + 5430.131131924363 + ], + "size": [ + 318.8995215070627, + 364.0478467817802 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3018 + }, + { + "name": "vae", + "type": "VAE", + "link": 3082 + }, + { + "name": "audio_vae", + "type": "VAE", + "link": 3083 + }, + { + "label": "ref_image_0", + "name": "ref_images.ref_image_0", + "shape": 7, + "type": "IMAGE", + "link": 3104 + }, + { + "label": "ref_image_1", + "name": "ref_images.ref_image_1", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_0", + "name": "ref_videos.ref_video_0", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_audio_0", + "name": "ref_video_audios.ref_video_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "ref_audio_0", + "name": "ref_audios.ref_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 3124 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 3125 + }, + { + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 3077 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 2988, + 2989 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "MiniMaxH3ReferenceToVideo" + }, + "widgets_values": [ + " is the character represented in . The video is a close up face of .", + 1344, + 768, + 5, + "match" + ], + "widgets_values_named": { + "prompt": " is the character represented in . The video is a close up face of .", + "width": 1344, + "height": 768, + "length": 5, + "ref_image_size": "match" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 1191, + "type": "VHS_LoadVideo", + "pos": [ + -4617.145898713617, + 5679.09793563822 + ], + "size": [ + 260, + 751 + ], + "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": [ + 3105 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 2979 + ] + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": [ + 2976, + 3084 + ] + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "Hailuo_Template_Upload your photos to generate_539548087632777219.mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "None", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Hailuo_Template_Upload your photos to generate_539548087632777219.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + }, + "widgets_values_named": { + "video": "Hailuo_Template_Upload your photos to generate_539548087632777219.mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "None", + "choose video to upload": null, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Hailuo_Template_Upload your photos to generate_539548087632777219.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 1245, + "type": "64057283-3371-4659-8343-95bb1227e0ae", + "pos": [ + -4227.108868829164, + 5193.3531331127015 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3089 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3091 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1271, + "type": "Note", + "pos": [ + -4227.2068279408395, + 5360.678973909334 + ], + "size": [ + 370.5741553292637, + 118.10908026460311 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - BiRefNet Download it", + "properties": {}, + "widgets_values": [ + "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + ], + "widgets_values_named": { + "text": "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + }, + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 2913, + 1175, + 0, + 1120, + 0, + "*" + ], + [ + 2914, + 1207, + 0, + 1121, + 0, + "LATENT" + ], + [ + 2915, + 1122, + 0, + 1121, + 1, + "MASK" + ], + [ + 2921, + 1190, + 1, + 1127, + 0, + "CLIP" + ], + [ + 2922, + 1134, + 0, + 1129, + 0, + "SAM3_TRACK_DATA" + ], + [ + 2924, + 1134, + 0, + 1130, + 0, + "SAM3_TRACK_DATA" + ], + [ + 2928, + 1190, + 0, + 1134, + 1, + "MODEL" + ], + [ + 2929, + 1127, + 0, + 1134, + 3, + "CONDITIONING" + ], + [ + 2931, + 1130, + 0, + 1136, + 0, + "MASK" + ], + [ + 2932, + 1211, + 2, + 1137, + 0, + "BOUNDING_BOX" + ], + [ + 2934, + 1140, + 0, + 1138, + 0, + "IMAGE" + ], + [ + 2936, + 1137, + 0, + 1140, + 0, + "IMAGE" + ], + [ + 2938, + 1121, + 0, + 1143, + 1, + "LATENT" + ], + [ + 2939, + 1206, + 0, + 1144, + 0, + "LATENT" + ], + [ + 2940, + 1150, + 0, + 1144, + 1, + "MASK" + ], + [ + 2971, + 1186, + 0, + 1175, + 0, + "FLOAT" + ], + [ + 2975, + 1211, + 0, + 1183, + 0, + "IMAGE" + ], + [ + 2976, + 1191, + 3, + 1185, + 0, + "VHS_VIDEOINFO" + ], + [ + 2977, + 1185, + 0, + 1186, + 0, + "FLOAT" + ], + [ + 2979, + 1191, + 2, + 1186, + 2, + "AUDIO" + ], + [ + 2988, + 1154, + 0, + 1198, + 1, + "CONDITIONING" + ], + [ + 2989, + 1154, + 0, + 1198, + 2, + "CONDITIONING" + ], + [ + 2990, + 1143, + 0, + 1198, + 3, + "LATENT" + ], + [ + 2991, + 1199, + 0, + 1200, + 0, + "MODEL" + ], + [ + 2992, + 1200, + 0, + 1201, + 0, + "MODEL" + ], + [ + 2993, + 1201, + 0, + 1202, + 0, + "MODEL" + ], + [ + 3001, + 1136, + 0, + 1211, + 1, + "MASK" + ], + [ + 3005, + 1198, + 0, + 1216, + 0, + "LATENT" + ], + [ + 3008, + 1198, + 0, + 1218, + 0, + "LATENT" + ], + [ + 3018, + 1188, + 0, + 1154, + 0, + "CLIP" + ], + [ + 3032, + 1202, + 0, + 1198, + 0, + "MODEL" + ], + [ + 3035, + 1117, + 0, + 1219, + 0, + "VAE" + ], + [ + 3036, + 1118, + 0, + 1220, + 0, + "VAE" + ], + [ + 3037, + 1219, + 0, + 1221, + 0, + "VAE" + ], + [ + 3038, + 1220, + 0, + 1222, + 0, + "VAE" + ], + [ + 3039, + 1221, + 0, + 1216, + 1, + "VAE" + ], + [ + 3040, + 1222, + 0, + 1218, + 1, + "VAE" + ], + [ + 3041, + 1220, + 0, + 1207, + 1, + "VAE" + ], + [ + 3042, + 1219, + 0, + 1206, + 1, + "VAE" + ], + [ + 3043, + 1219, + 0, + 1150, + 1, + "VAE" + ], + [ + 3045, + 1211, + 1, + 1150, + 0, + "MASK" + ], + [ + 3046, + 1211, + 1, + 1125, + 1, + "MASK" + ], + [ + 3047, + 1211, + 0, + 1206, + 0, + "IMAGE" + ], + [ + 3048, + 1211, + 0, + 1125, + 0, + "IMAGE" + ], + [ + 3056, + 1224, + 0, + 1129, + 1, + "IMAGE" + ], + [ + 3057, + 1224, + 0, + 1134, + 0, + "IMAGE" + ], + [ + 3060, + 1186, + 2, + 1224, + 0, + "IMAGE" + ], + [ + 3072, + 1144, + 0, + 1143, + 0, + "LATENT" + ], + [ + 3073, + 1186, + 3, + 1234, + 0, + "AUDIO" + ], + [ + 3074, + 1234, + 0, + 1207, + 0, + "AUDIO" + ], + [ + 3077, + 1186, + 1, + 1154, + 10, + "INT" + ], + [ + 3078, + 1224, + 0, + 1235, + 0, + "IMAGE" + ], + [ + 3079, + 1235, + 0, + 1211, + 0, + "IMAGE" + ], + [ + 3080, + 1235, + 0, + 1137, + 1, + "IMAGE" + ], + [ + 3082, + 1117, + 0, + 1154, + 1, + "VAE" + ], + [ + 3083, + 1118, + 0, + 1154, + 2, + "VAE" + ], + [ + 3084, + 1191, + 3, + 1236, + 0, + "VHS_VIDEOINFO" + ], + [ + 3088, + 1242, + 0, + 1244, + 0, + "IMAGE" + ], + [ + 3089, + 1243, + 0, + 1245, + 0, + "IMAGE" + ], + [ + 3090, + 1244, + 0, + 1246, + 0, + "IMAGE" + ], + [ + 3091, + 1245, + 0, + 1246, + 1, + "IMAGE" + ], + [ + 3104, + 1247, + 0, + 1154, + 3, + "IMAGE" + ], + [ + 3105, + 1191, + 0, + 1258, + 0, + "IMAGE" + ], + [ + 3106, + 1258, + 0, + 1186, + 1, + "IMAGE" + ], + [ + 3121, + 1246, + 0, + 1247, + 0, + "IMAGE" + ], + [ + 3123, + 1269, + 0, + 1256, + 0, + "IMAGE" + ], + [ + 3124, + 1183, + 0, + 1154, + 8, + "INT" + ], + [ + 3125, + 1183, + 1, + 1154, + 9, + "INT" + ], + [ + 3126, + 1216, + 0, + 1270, + 0, + "IMAGE" + ], + [ + 3127, + 1218, + 0, + 1270, + 1, + "AUDIO" + ] + ], + "groups": [ + { + "id": 46, + "title": "input parameters", + "bounding": [ + -4627.682701176613, + 5522.485445556998, + 1305.9616716994751, + 791.7538892079865 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 47, + "title": "Models", + "bounding": [ + -2942.8063558211347, + 5090.2052892442725, + 1679.845926035428, + 561.6538498113578 + ], + "color": "#8A8", + "flags": {} + }, + { + "id": 50, + "title": "Empty-Latent", + "bounding": [ + -2085.709091852379, + 5678.229180089417, + 1097.3452592509857, + 718.2779566519685 + ], + "color": "#a1309b", + "flags": {} + }, + { + "id": 51, + "title": "SAM3", + "bounding": [ + -4219.6399358069475, + 6739.803295013788, + 1960.5817140120912, + 1017.2975319943744 + ], + "color": "#3f789e", + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "2afec46d-a025-42da-b4b8-dfad1f93be71", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1271, + "lastLinkId": 3127, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "MiniMax H3 Compatible", + "inputNode": { + "id": -10, + "bounding": [ + -7590, + 6600, + 128, + 108 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -5550, + 6596, + 128, + 128 + ] + }, + "inputs": [ + { + "id": "5cd7d12e-2067-4782-9ece-5883dad56e0a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "linkIds": [ + 2879 + ], + "localized_name": "values.a", + "label": "fps", + "pos": [ + -7486, + 6624 + ] + }, + { + "id": "e6fe1870-8456-47b2-bcc9-3d0166b31f55", + "name": "image", + "type": "IMAGE", + "linkIds": [ + 2877, + 2888 + ], + "localized_name": "image", + "pos": [ + -7486, + 6644 + ] + }, + { + "id": "acb68d13-0d30-4736-9345-fdfa9202f26f", + "name": "audio", + "type": "AUDIO", + "linkIds": [ + 2875 + ], + "localized_name": "audio", + "pos": [ + -7486, + 6664 + ] + } + ], + "outputs": [ + { + "id": "1a7c5b2f-e3fb-4aa3-9fd3-7ab405b1dd7b", + "name": "FLOAT", + "type": "FLOAT", + "linkIds": [ + 2869 + ], + "localized_name": "FLOAT", + "label": "duration_sec", + "pos": [ + -5526, + 6620 + ] + }, + { + "id": "2a1ee44f-5f67-4aa1-805a-210f183221ce", + "name": "INT", + "type": "INT", + "linkIds": [ + 2870 + ], + "localized_name": "INT", + "label": "num_frames", + "pos": [ + -5526, + 6640 + ] + }, + { + "id": "20a2c576-df27-4ce3-89ca-6b1da1768e0a", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 2861 + ], + "localized_name": "IMAGE", + "pos": [ + -5526, + 6660 + ] + }, + { + "id": "d69cff2f-0c5f-4228-8d8a-e130369011a8", + "name": "AUDIO", + "type": "AUDIO", + "linkIds": [ + 2872 + ], + "localized_name": "AUDIO", + "pos": [ + -5526, + 6680 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1085, + "type": "ComfyMathExpression", + "pos": [ + -6660, + 6510 + ], + "size": [ + 250, + 150 + ], + "flags": { + "collapsed": false + }, + "order": 0, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2854 + }, + { + "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": [ + 2855 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": 1094, + "type": "ComfyMathExpression", + "pos": [ + -6930, + 6510 + ], + "size": [ + 240, + 150 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2879 + }, + { + "label": "b", + "localized_name": "values.b", + "name": "values.b", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": 2889 + }, + { + "label": "c", + "localized_name": "values.c", + "name": "values.c", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": null + } + ], + "outputs": [ + { + "localized_name": "FLOAT", + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 2854 + ] + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "b / a" + ], + "widgets_values_named": { + "expression": "b / a" + } + }, + { + "id": 1086, + "type": "ComfyMathExpression", + "pos": [ + -6380, + 6530 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2855 + }, + { + "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": [ + 2856, + 2866, + 2869 + ] + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": null + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "min(a / 24, (a - 17) / 24)" + ], + "widgets_values_named": { + "expression": "min(a / 24, (a - 17) / 24)" + } + }, + { + "id": 1087, + "type": "ComfyMathExpression", + "pos": [ + -6120, + 6520 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 2856 + }, + { + "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": [ + 2859, + 2870 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.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": 1089, + "type": "ImageFromBatch", + "pos": [ + -5840, + 6610 + ], + "size": [ + 230, + 90 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 2877 + }, + { + "localized_name": "length", + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 2859 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2861 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageFromBatch" + }, + "widgets_values": [ + 0, + 1 + ], + "widgets_values_named": { + "batch_index": 0, + "length": 1 + } + }, + { + "id": 1093, + "type": "TrimAudioDuration", + "pos": [ + -5840, + 6750 + ], + "size": [ + 230, + 90 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "audio", + "name": "audio", + "type": "AUDIO", + "link": 2875 + }, + { + "localized_name": "duration", + "name": "duration", + "type": "FLOAT", + "widget": { + "name": "duration" + }, + "link": 2866 + } + ], + "outputs": [ + { + "localized_name": "AUDIO", + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 2872 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "TrimAudioDuration" + }, + "widgets_values": [ + 0, + 60 + ], + "widgets_values_named": { + "start_index": 0, + "duration": 60 + } + }, + { + "id": 1106, + "type": "GetImageSize", + "pos": [ + -7270, + 6630 + ], + "size": [ + 140, + 70 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 2888 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": null + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": [ + 2889 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + } + ], + "groups": [], + "links": [ + { + "id": 2854, + "origin_id": 1094, + "origin_slot": 0, + "target_id": 1085, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2855, + "origin_id": 1085, + "origin_slot": 1, + "target_id": 1086, + "target_slot": 0, + "type": "INT" + }, + { + "id": 2856, + "origin_id": 1086, + "origin_slot": 0, + "target_id": 1087, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2859, + "origin_id": 1087, + "origin_slot": 1, + "target_id": 1089, + "target_slot": 1, + "type": "INT" + }, + { + "id": 2866, + "origin_id": 1086, + "origin_slot": 0, + "target_id": 1093, + "target_slot": 1, + "type": "FLOAT" + }, + { + "id": 2879, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1094, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2877, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1089, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 2875, + "origin_id": -10, + "origin_slot": 2, + "target_id": 1093, + "target_slot": 0, + "type": "AUDIO" + }, + { + "id": 2869, + "origin_id": 1086, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "FLOAT" + }, + { + "id": 2870, + "origin_id": 1087, + "origin_slot": 1, + "target_id": -20, + "target_slot": 1, + "type": "INT" + }, + { + "id": 2861, + "origin_id": 1089, + "origin_slot": 0, + "target_id": -20, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 2872, + "origin_id": 1093, + "origin_slot": 0, + "target_id": -20, + "target_slot": 3, + "type": "AUDIO" + }, + { + "id": 2888, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1106, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 2889, + "origin_id": 1106, + "origin_slot": 2, + "target_id": 1094, + "target_slot": 1, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "e3e20216-7046-47e4-8295-98692d608061", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1271, + "lastLinkId": 3127, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 216, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 219, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 224, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 217, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 220, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 217, + "origin_slot": 0, + "target_id": 216, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 224, + "origin_slot": 0, + "target_id": 216, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 220, + "origin_slot": 0, + "target_id": 219, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 219, + "origin_slot": 0, + "target_id": 224, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 216, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 219, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 216, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 217, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "64057283-3371-4659-8343-95bb1227e0ae", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1271, + "lastLinkId": 3127, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 986, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 987, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 988, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 989, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 990, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 989, + "origin_slot": 0, + "target_id": 986, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 988, + "origin_slot": 0, + "target_id": 986, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 990, + "origin_slot": 0, + "target_id": 987, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 987, + "origin_slot": 0, + "target_id": 988, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 986, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 987, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 986, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 989, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "4f26d012-372e-42bd-bb6b-9ade41e3a6eb", + "version": 1, + "state": { + "lastGroupId": 51, + "lastNodeId": 1271, + "lastLinkId": 3127, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1250, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 1251, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 1252, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 1253, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 1254, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 1253, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 1252, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 1254, + "origin_slot": 0, + "target_id": 1251, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 1251, + "origin_slot": 0, + "target_id": 1252, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1250, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1251, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 1250, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1253, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + } + ] + }, + "config": {}, + "extra": { + "ds": { + "scale": 0.4170976867656611, + "offset": [ + 5684.970690240279, + -4370.120208003719 + ] + }, + "frontendVersion": "1.49.6", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/Face-&-Body Swap/Workflow-1/ltx-girl-crop.png b/Face-&-Body Swap/Workflow-1/ltx-girl-crop.png new file mode 100644 index 0000000000000000000000000000000000000000..2fe84cacdead3422893689ee162e37670f136b47 --- /dev/null +++ b/Face-&-Body Swap/Workflow-1/ltx-girl-crop.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc11ab2a36ea958b93e17e7ea4c346b5f4eed6f025aa1592b1c38348ec12533e +size 1090822 diff --git a/Face-&-Body Swap/Workflow-2/Girl-Right.png b/Face-&-Body Swap/Workflow-2/Girl-Right.png new file mode 100644 index 0000000000000000000000000000000000000000..ffaa566cf822c51dea838bad08a59a10a8185414 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/Girl-Right.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27cb609c14470cdc9bfe3d8423a2649d6acc2fe4471d62a0e3cac9d16d366ba0 +size 1315176 diff --git a/Face-&-Body Swap/Workflow-2/Girl-left.png b/Face-&-Body Swap/Workflow-2/Girl-left.png new file mode 100644 index 0000000000000000000000000000000000000000..808412fb88d5ef3736aefdc3abbdaffbc7afd4d5 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/Girl-left.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6c325a51a08f5f3e3e224027ebc643e970910d5ce799de9e6be050e4e2b5ec7 +size 1343670 diff --git a/Face-&-Body Swap/Workflow-2/Old-Man.png b/Face-&-Body Swap/Workflow-2/Old-Man.png new file mode 100644 index 0000000000000000000000000000000000000000..9e46993a75374262d4eb37760f01e54f44c9e53c --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/Old-Man.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e85826d278375cc14b451a97d11ae92495b0d9c4ca448cf59d5174765569bb91 +size 1169148 diff --git a/Face-&-Body Swap/Workflow-2/Workflow-2-Updated.json b/Face-&-Body Swap/Workflow-2/Workflow-2-Updated.json new file mode 100644 index 0000000000000000000000000000000000000000..1b4951e01c62ba75cf32b5f8262f6a4e8c1ec035 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/Workflow-2-Updated.json @@ -0,0 +1,4812 @@ +{ + "id": "d0a50949-ff65-4208-ad43-4936440fc536", + "revision": 0, + "last_node_id": 1310, + "last_link_id": 3152, + "nodes": [ + { + "id": 521, + "type": "CheckpointLoaderSimple", + "pos": [ + 381.3423104204202, + 4847.589779592881 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1230 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1228 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sam3.1_multiplex_fp16.safetensors" + ], + "widgets_values_named": { + "ckpt_name": "sam3.1_multiplex_fp16.safetensors" + } + }, + { + "id": 522, + "type": "CLIPTextEncode", + "pos": [ + 381.3423104204202, + 5007.589779592881 + ], + "size": [ + 230, + 130 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1228 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1231 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "head" + ], + "widgets_values_named": { + "text": "head" + } + }, + { + "id": 523, + "type": "SAM3_VideoTrack", + "pos": [ + 666.3423104204198, + 4827.589779592881 + ], + "size": [ + 230, + 210 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 1229 + }, + { + "label": "model", + "name": "model", + "type": "MODEL", + "link": 1230 + }, + { + "label": "initial_mask", + "name": "initial_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "label": "conditioning", + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": 1231 + } + ], + "outputs": [ + { + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "links": [ + 1232, + 1244 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_VideoTrack" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ], + "widgets_values_named": { + "detection_threshold": 0.5, + "max_objects": 0, + "detect_interval": 1 + } + }, + { + "id": 524, + "type": "SAM3_TrackToMask", + "pos": [ + 916.3423104204202, + 4827.589779592881 + ], + "size": [ + 230, + 100 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 1232 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 1221 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackToMask" + }, + "widgets_values": [ + "" + ], + "widgets_values_named": { + "object_indices": "" + } + }, + { + "id": 532, + "type": "SAM3_TrackPreview", + "pos": [ + 666.3423104204198, + 5077.589779592881 + ], + "size": [ + 480, + 575 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 1244 + }, + { + "label": "images", + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 1245 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackPreview" + }, + "widgets_values": [ + 0.5, + 25 + ], + "widgets_values_named": { + "opacity": 0.5, + "fps": 25 + } + }, + { + "id": 551, + "type": "UNETLoader", + "pos": [ + -166.4312274594607, + 3672.5413666056743 + ], + "size": [ + 516.7953873414365, + 83.28326218239317 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1277 + ] + } + ], + "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_ref2va_pruned_int8_convrot.safetensors", + "default" + ], + "widgets_values_named": { + "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "weight_dtype": "default" + } + }, + { + "id": 530, + "type": "BasicGuider", + "pos": [ + 1903.1691040562519, + 3886.203932068459 + ], + "size": [ + 225, + 50 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1279 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 1241 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 1249 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "BasicGuider" + } + }, + { + "id": 552, + "type": "ModelAttentionBackend", + "pos": [ + 419.24827587565164, + 3673.6858584840807 + ], + "size": [ + 210, + 60 + ], + "flags": {}, + "order": 31, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1277 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1278 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "ModelAttentionBackend" + }, + "widgets_values": [ + "comfy kitchen attention" + ], + "widgets_values_named": { + "attention": "comfy kitchen attention" + } + }, + { + "id": 536, + "type": "SamplerCustomAdvanced", + "pos": [ + 2625.87529347296, + 4423.92519635447 + ], + "size": [ + 232.23029089425836, + 111.39518333853357 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 1248 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 1249 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 1250 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 1251 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1252 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 1257 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "SamplerCustomAdvanced" + } + }, + { + "id": 540, + "type": "GetNode", + "pos": [ + 3153.276361571153, + 4450.741556576521 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1258 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 544, + "type": "GetNode", + "pos": [ + 3163.602489531831, + 4487.725805005866 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 1302 + ] + } + ], + "title": "Get_fps", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 543, + "type": "GetNode", + "pos": [ + 3151.9518324624783, + 4522.825111766846 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 1303 + ] + } + ], + "title": "Get_audio", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 539, + "type": "VAEDecode", + "pos": [ + 2909.1343728393213, + 4424.313675002541 + ], + "size": [ + 225, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1257 + }, + { + "name": "vae", + "type": "VAE", + "link": 1258 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1253 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 506, + "type": "MiniMaxH3SigmaShift", + "pos": [ + 1428.1617450350086, + 3720.489426087513 + ], + "size": [ + 399.4277540607977, + 85 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1275 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1279 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3SigmaShift" + }, + "widgets_values": [ + 12, + 1.5 + ], + "widgets_values_named": { + "shift_video": 12, + "shift_audio": 1.5 + } + }, + { + "id": 528, + "type": "GetNode", + "pos": [ + 2139.5675878385746, + 4656.284062701477 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1236 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 527, + "type": "GetNode", + "pos": [ + 2137.963256290805, + 4676.932857979972 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1237 + ] + } + ], + "title": "Get_audio vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 529, + "type": "GetNode", + "pos": [ + 2157.985203220153, + 4637.946557326513 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 1235 + ] + } + ], + "title": "Get_audio", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 526, + "type": "NKDAVLatent", + "pos": [ + 2355.4717884987317, + 4588.8245428261125 + ], + "size": [ + 210, + 255 + ], + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1234 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 1235 + }, + { + "label": "video vae", + "name": "video_vae", + "type": "VAE", + "link": 1236 + }, + { + "label": "audio vae", + "name": "audio_vae", + "type": "VAE", + "link": 1237 + }, + { + "label": "latent mask", + "name": "latent_mask", + "shape": 7, + "type": "MASK", + "link": 1238 + }, + { + "label": "audio mask", + "name": "audio_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": 1239 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 1252 + ] + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "0d4b054ad375ca037f27a64c7730699dc8278811", + "Node name for S&R": "NKDAVLatent", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + "keep", + 24, + 0, + 0, + "cosine" + ], + "widgets_values_named": { + "audio_mode": "keep", + "fps": 24, + "ramp_ticks": 0, + "ramp_out_ticks": 0, + "ramp_shape": "cosine" + } + }, + { + "id": 509, + "type": "GetNode", + "pos": [ + 1531.0213410499457, + 4655.100294227418 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1212 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 507, + "type": "GetImageSize", + "pos": [ + 1143.8473271656576, + 4174.100983287906 + ], + "size": [ + 140, + 125 + ], + "flags": { + "collapsed": false + }, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1210 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 1218 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 1219 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 538, + "type": "GetNode", + "pos": [ + 3148.0841228915788, + 4409.1362151455005 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1254 + ] + } + ], + "title": "Get_original video", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "original video" + ], + "widgets_values_named": { + "Constant": "original video" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 504, + "type": "SetNode", + "pos": [ + 394.708685126036, + 4612.892514672451 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 3152 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1220, + 1229, + 1245 + ] + } + ], + "title": "Set_original video", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "original video" + }, + "widgets_values": [ + "original video" + ], + "widgets_values_named": { + "Constant": "original video" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 533, + "type": "SetNode", + "pos": [ + 396.5358637061862, + 4646.446083381571 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 1292 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": null + } + ], + "title": "Set_frame count", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "frame count" + }, + "widgets_values": [ + "frame count" + ], + "widgets_values_named": { + "Constant": "frame count" + }, + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 515, + "type": "SetNode", + "pos": [ + 397.37173103446736, + 4682.79144081635 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "link": 1291 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [] + } + ], + "title": "Set_audio", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "audio" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 564, + "type": "VHS_VideoInfo", + "pos": [ + 401.3556315590113, + 4727.234912538606 + ], + "size": [ + 234.931640625, + 206 + ], + "flags": { + "collapsed": true + }, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "link": 1293 + } + ], + "outputs": [ + { + "name": "source_fps🟨", + "type": "FLOAT", + "links": null + }, + { + "name": "source_frame_count🟨", + "type": "INT", + "links": null + }, + { + "name": "source_duration🟨", + "type": "FLOAT", + "links": null + }, + { + "name": "source_width🟨", + "type": "INT", + "links": null + }, + { + "name": "source_height🟨", + "type": "INT", + "links": null + }, + { + "name": "loaded_fps🟦", + "type": "FLOAT", + "links": [ + 1294 + ] + }, + { + "name": "loaded_frame_count🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_duration🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "loaded_width🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_height🟦", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoInfo" + }, + "widgets_values": {} + }, + { + "id": 508, + "type": "NKDMaskOps", + "pos": [ + 1733.8629674254187, + 4607.507418539522 + ], + "size": [ + 210, + 598 + ], + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1211 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 1212 + }, + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": 1276 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 1259 + ] + }, + { + "name": "mask_inverted", + "type": "MASK", + "links": [] + }, + { + "name": "latent_mask", + "type": "MASK", + "links": [ + 1238 + ] + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "f08a8550cc7e1736501c4d378912a3549b30b19e", + "Node name for S&R": "NKDMaskOps", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + false, + 0, + 1, + 2, + false, + 0, + 1, + 0, + 30, + 0, + 0.05, + 0, + 0, + 1 + ], + "widgets_values_named": { + "invert": false, + "black_point": 0, + "white_point": 1, + "despeckle": 2, + "fill_holes": false, + "close_gaps": 0, + "temporal_expand": 1, + "temporal_smooth": 0, + "expand": 30, + "blockify": 0, + "blockify_threshold": 0.05, + "feather": 0, + "edge_low": 0, + "edge_high": 1 + } + }, + { + "id": 542, + "type": "NKDMaskOpsLean", + "pos": [ + 2696.56686642573, + 4611.740805014201 + ], + "size": [ + 280, + 340 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1259 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 1256 + ] + }, + { + "name": "mask_inverted", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "651256620bd582d755639abaed3a9962dbe5663e", + "Node name for S&R": "NKDMaskOpsLean", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + false, + 10, + 20 + ], + "widgets_values_named": { + "fill_holes": false, + "expand": 10, + "feather": 20 + } + }, + { + "id": 555, + "type": "VAELoader", + "pos": [ + -149.06056687523133, + 3959.801669972296 + ], + "size": [ + 385, + 90 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1274 + ] + } + ], + "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_audio_vae_fp32.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_audio_vae_fp32.safetensors" + } + }, + { + "id": 510, + "type": "MiniMaxH3ReferenceToVideo", + "pos": [ + 1427.4043096490766, + 3905.2116980083106 + ], + "size": [ + 400, + 345 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1270 + }, + { + "name": "vae", + "type": "VAE", + "link": 1300 + }, + { + "name": "audio_vae", + "type": "VAE", + "link": 1299 + }, + { + "label": "ref_image_0", + "name": "ref_images.ref_image_0", + "shape": 7, + "type": "IMAGE", + "link": 1217 + }, + { + "label": "ref_image_1", + "name": "ref_images.ref_image_1", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_0", + "name": "ref_videos.ref_video_0", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_audio_0", + "name": "ref_video_audios.ref_video_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "ref_audio_0", + "name": "ref_audios.ref_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 1218 + }, + { + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 1219 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 1241 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3ReferenceToVideo" + }, + "widgets_values": [ + " is the character represented in . The video is a close up face of .", + 1344, + 768, + 124, + "max" + ], + "widgets_values_named": { + "prompt": " is the character represented in . The video is a close up face of .", + "width": 1344, + "height": 768, + "length": 124, + "ref_image_size": "max" + } + }, + { + "id": 569, + "type": "GetNode", + "pos": [ + 1230.055049939824, + 3973.851698240446 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1299 + ] + } + ], + "title": "Get_audio vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 570, + "type": "GetNode", + "pos": [ + 1231.229444643715, + 3953.6328398058295 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1300 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 553, + "type": "CLIPLoader", + "pos": [ + 728.3186917468914, + 3809.9377210420203 + ], + "size": [ + 385, + 110 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1270 + ] + } + ], + "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": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ], + "widgets_values_named": { + "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "type": "minimax", + "device": "default" + } + }, + { + "id": 556, + "type": "LoraLoaderModelOnly", + "pos": [ + 669.2998134092105, + 3675.2091771742375 + ], + "size": [ + 579.2231329949642, + 82 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1278 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1275, + 1276 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors", + 0.5 + ], + "widgets_values_named": { + "lora_name": "minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors", + "strength_model": 0.5 + } + }, + { + "id": 541, + "type": "RandomNoise", + "pos": [ + 2339.310866458737, + 4343.387941424728 + ], + "size": [ + 230, + 85 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 1248 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "RandomNoise" + }, + "widgets_values": [ + 2, + "fixed" + ], + "widgets_values_named": { + "noise_seed": 2, + "control_after_generate": "fixed" + } + }, + { + "id": 554, + "type": "VAELoader", + "pos": [ + -149.06056687523133, + 3829.8016699722943 + ], + "size": [ + 385, + 90 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1272 + ] + } + ], + "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_video_vae_fp16.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_video_vae_fp16.safetensors" + } + }, + { + "id": 513, + "type": "SetNode", + "pos": [ + 255.9090431309638, + 3860.5678854952325 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 1272 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "title": "Set_video vae", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "video vae" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 512, + "type": "SetNode", + "pos": [ + 252.39586030716276, + 3987.357355328988 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 1274 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "title": "Set_audio vae", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "audio vae" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 534, + "type": "GetNode", + "pos": [ + 2223.783174369741, + 4762.583482934949 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 1239 + ] + } + ], + "title": "Get_fps", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 535, + "type": "SetNode", + "pos": [ + 594.7884955612559, + 4727.349692289025 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "link": 1294 + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + } + ], + "title": "Set_fps", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "fps" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 511, + "type": "MVEx_SubjectCrop", + "pos": [ + 1180.9174019261004, + 4584.897912986291 + ], + "size": [ + 230, + 286 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "original_images", + "type": "IMAGE", + "link": 1220 + }, + { + "name": "masks", + "type": "MASK", + "link": 1221 + } + ], + "outputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "links": [ + 1210, + 1234 + ] + }, + { + "name": "cropped_masks", + "type": "MASK", + "links": [ + 1211 + ] + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "links": [ + 1255 + ] + }, + { + "name": "debug", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "328cca9698accb5d135b182dfba0623af5ab3c43", + "Node name for S&R": "MVEx_SubjectCrop", + "aux_id": "drozbay/MaskVidExperiments" + }, + "widgets_values": [ + "tracked", + 1.75, + "firm", + "stillness", + 0, + false, + 32, + 0.3 + ], + "widgets_values_named": { + "mode": "tracked", + "mode.crop_scale": 1.75, + "mode.padding": "firm", + "mode.prefer": "stillness", + "mode.aspect_ratio": 0, + "mode.seamless_loop": false, + "divisible_by": 32, + "upscale_megapixels": 0.3 + } + }, + { + "id": 537, + "type": "MVEx_SubjectUncrop", + "pos": [ + 2998.2318643862227, + 4591.98968677579 + ], + "size": [ + 290.45923068486945, + 140.6924175864351 + ], + "flags": { + "collapsed": false + }, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "link": 1253 + }, + { + "name": "original_images", + "type": "IMAGE", + "link": 1254 + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "link": 1255 + }, + { + "name": "cropped_masks", + "shape": 7, + "type": "MASK", + "link": 1256 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 1301 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "328cca9698accb5d135b182dfba0623af5ab3c43", + "Node name for S&R": "MVEx_SubjectUncrop", + "aux_id": "drozbay/MaskVidExperiments" + }, + "widgets_values": [ + 16 + ], + "widgets_values_named": { + "feather": 16 + } + }, + { + "id": 572, + "type": "VHS_VideoCombine", + "pos": [ + 3004.231481348579, + 4778.110976533651 + ], + "size": [ + 348.9206662141705, + 676.9206662141705 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1301 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 1303 + }, + { + "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": 1302 + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 8, + "loop_count": 0, + "filename_prefix": "NKD-Inpaint", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "NKD-Inpaint_00035-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "NKD-Inpaint_00035.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\NKD-Inpaint_00035-audio.mp4" + } + } + }, + "widgets_values_named": { + "frame_rate": 8, + "loop_count": 0, + "filename_prefix": "NKD-Inpaint", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "NKD-Inpaint_00035-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "NKD-Inpaint_00035.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\NKD-Inpaint_00035-audio.mp4" + } + } + } + }, + { + "id": 519, + "type": "KSamplerSelect", + "pos": [ + 2399.0206211834084, + 4481.091254059624 + ], + "size": [ + 405, + 65 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 1250 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "sa_solver_pece" + ], + "widgets_values_named": { + "sampler_name": "sa_solver_pece" + } + }, + { + "id": 520, + "type": "NKDSigmasCurve", + "pos": [ + 2364.685864831269, + 4513.057716895677 + ], + "size": [ + 400, + 163 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "reference_sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 1251 + ] + }, + { + "name": "floats", + "type": "FLOAT", + "links": null + } + ], + "properties": { + "cnr_id": "nkd-sigmas-curve", + "ver": "334bf7b4c032199d04ceba830d7f7e42a9c9d847", + "Node name for S&R": "NKDSigmasCurve", + "aux_id": "Nekodificador/ComfyUI-NKD-Sigmas-Curve" + }, + "widgets_values": [ + "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}", + 8, + 1, + "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}" + ], + "widgets_values_named": { + "curve_data": "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}", + "steps": 8, + "max_sigma": 1, + "sigma_curve_editor": "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}" + } + }, + { + "id": 1297, + "type": "LoadImage", + "pos": [ + -815.5433247525432, + 3769.0797054589534 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3146 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00004_ (1).png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00004_ (1).png", + "upload": "image" + } + }, + { + "id": 1299, + "type": "LoadImage", + "pos": [ + -815.4150676568516, + 4151.113194212006 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3147 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00003_.png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00003_.png", + "upload": "image" + } + }, + { + "id": 1300, + "type": "baa0d1aa-4f72-48c6-af2c-258656248e7e", + "pos": [ + -545.4150676568523, + 4151.113194212006 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3147 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3149 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 514, + "type": "LoadImage", + "pos": [ + 857.1851609309841, + 3967.6491940780934 + ], + "size": [ + 265, + 495 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1217 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage", + "#sdppp_variant": "default", + "#sdppp_simple_content": "canvas", + "#sdppp_simple_mask": "canvas", + "#sdppp_simple_boundary": "canvas", + "#sdppp_label": "" + }, + "widgets_values": [ + "Old-Man.png", + "image" + ], + "widgets_values_named": { + "image": "Old-Man.png", + "upload": "image" + } + }, + { + "id": 1304, + "type": "94c1486b-cabf-4a0b-abe4-fd1f82ec7d47", + "pos": [ + -204.1301552680218, + 5366.1427187033405 + ], + "size": [ + 270, + 104 + ], + "flags": {}, + "order": 22, + "mode": 4, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": null + }, + { + "label": "frame_index", + "name": "value", + "type": "INT", + "widget": { + "name": "value" + }, + "link": null + }, + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3150 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 0 + ], + "widgets_values_named": { + "value": 0 + } + }, + { + "id": 1305, + "type": "PreviewImage", + "pos": [ + -224.2171506525069, + 5529.224869935865 + ], + "size": [ + 140, + 246 + ], + "flags": {}, + "order": 36, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3150 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 1306, + "type": "LoadImage", + "pos": [ + -17.079921852642272, + 5518.071676498349 + ], + "size": [ + 282.798828125, + 314 + ], + "flags": {}, + "order": 23, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage", + "image": "clipspace-painted-masked-1787433077387.png [input]" + }, + "widgets_values": [ + "clipspace-painted-masked-1787433077387.png [input]", + "image" + ], + "widgets_values_named": { + "image": "clipspace-painted-masked-1787433077387.png [input]", + "upload": "image" + } + }, + { + "id": 1303, + "type": "Note", + "pos": [ + 293.1564249412963, + 4077.346936092816 + ], + "size": [ + 486.034972215798, + 149.11788486112073 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - Custom Nodes", + "properties": {}, + "widgets_values": [ + "Need all three nodes packs\nhttps://github.com/Nekodificador/ComfyUI-NKD-Basic-Tools\nhttps://github.com/Nekodificador/ComfyUI-NKD-Sigmas-Curve.git\nhttps://github.com/drozbay/MaskVidExperiments\n\n\nA better preview / save node (optional)\nhttps://github.com/Nekodificador/ComfyUI-NKD-Preview-Tools.git" + ], + "widgets_values_named": { + "text": "Need all three nodes packs\nhttps://github.com/Nekodificador/ComfyUI-NKD-Basic-Tools\nhttps://github.com/Nekodificador/ComfyUI-NKD-Sigmas-Curve.git\nhttps://github.com/drozbay/MaskVidExperiments\n\n\nA better preview / save node (optional)\nhttps://github.com/Nekodificador/ComfyUI-NKD-Preview-Tools.git" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1302, + "type": "ImageStitch", + "pos": [ + -220.14027087227257, + 4134.05795282314 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 3148 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 3149 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageStitch" + }, + "widgets_values": [ + "right", + true, + 0, + "white" + ], + "widgets_values_named": { + "direction": "right", + "match_image_size": true, + "spacing_width": 0, + "spacing_color": "white" + } + }, + { + "id": 1298, + "type": "40c32957-02e2-4ae4-ae95-91c56e70e14a", + "pos": [ + -556.5777726281525, + 3770.7713576446686 + ], + "size": [ + 300, + 90 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3146 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3148 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1307, + "type": "ImageResizeKJv2", + "pos": [ + 79.98404443758858, + 4582.08178833076 + ], + "size": [ + 270, + 336 + ], + "flags": {}, + "order": 37, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 3151 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3152 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "35e5956193769d18a13136cdedb73a36a05c73e6", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 1024, + 1024, + "nearest-exact", + "resize", + "0, 0, 0", + "center", + 32, + "cpu" + ], + "widgets_values_named": { + "width": 1024, + "height": 1024, + "upscale_method": "nearest-exact", + "keep_proportion": "resize", + "pad_color": "0, 0, 0", + "crop_position": "center", + "divisible_by": 32, + "device": "cpu" + } + }, + { + "id": 563, + "type": "VHS_LoadVideo", + "pos": [ + -208.3484373693796, + 4581.177940713124 + ], + "size": [ + 255.8291015625, + 456.68516329949574 + ], + "flags": {}, + "order": 25, + "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": [ + 3151 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": [ + 1292 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 1291 + ] + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": [ + 1293 + ] + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "edd928fd-73cd-4f23-bed3-4719c9b61b11.mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "AnimateDiff", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "edd928fd-73cd-4f23-bed3-4719c9b61b11.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + }, + "widgets_values_named": { + "video": "edd928fd-73cd-4f23-bed3-4719c9b61b11.mp4", + "force_rate": 24, + "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": false, + "params": { + "filename": "edd928fd-73cd-4f23-bed3-4719c9b61b11.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 1309, + "type": "PrimitiveStringMultiline", + "pos": [ + 1320.9855499641947, + 3482.7437058602777 + ], + "size": [ + 405.728693495415, + 114.0695975687695 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [] + } + ], + "title": "Text (Multiline) ice skiing prompt", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + " is the character represented in . The video is of the woman wearing a casual outfit from Skiing on ice .\n" + ], + "widgets_values_named": { + "value": " is the character represented in . The video is of the woman wearing a casual outfit from Skiing on ice .\n" + } + }, + { + "id": 1308, + "type": "PrimitiveStringMultiline", + "pos": [ + 713.6316642300883, + 3493.7505116108573 + ], + "size": [ + 405.728693495415, + 114.0695975687695 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + " is the character represented in . In the video is the old man from speaking to other peoples.\n" + ], + "widgets_values_named": { + "value": " is the character represented in . In the video is the old man from speaking to other peoples.\n" + } + }, + { + "id": 1301, + "type": "Note", + "pos": [ + -531.8063879643809, + 4334.456062596598 + ], + "size": [ + 370.5741553292637, + 118.10908026460311 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - BiRefNet Download it", + "properties": {}, + "widgets_values": [ + "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + ], + "widgets_values_named": { + "text": "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1310, + "type": "Note", + "pos": [ + 69.85724324399786, + 4431.372405676992 + ], + "size": [ + 275.8850066447126, + 88 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Use it when loading large video" + ], + "widgets_values_named": { + "text": "Use it when loading large video" + }, + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 1210, + 511, + 0, + 507, + 0, + "IMAGE" + ], + [ + 1211, + 511, + 1, + 508, + 0, + "MASK" + ], + [ + 1212, + 509, + 0, + 508, + 1, + "VAE" + ], + [ + 1217, + 514, + 0, + 510, + 3, + "IMAGE" + ], + [ + 1218, + 507, + 0, + 510, + 8, + "INT" + ], + [ + 1219, + 507, + 1, + 510, + 9, + "INT" + ], + [ + 1220, + 504, + 0, + 511, + 0, + "IMAGE" + ], + [ + 1221, + 524, + 0, + 511, + 1, + "MASK" + ], + [ + 1228, + 521, + 1, + 522, + 0, + "CLIP" + ], + [ + 1229, + 504, + 0, + 523, + 0, + "IMAGE" + ], + [ + 1230, + 521, + 0, + 523, + 1, + "MODEL" + ], + [ + 1231, + 522, + 0, + 523, + 3, + "CONDITIONING" + ], + [ + 1232, + 523, + 0, + 524, + 0, + "SAM3_TRACK_DATA" + ], + [ + 1234, + 511, + 0, + 526, + 0, + "IMAGE" + ], + [ + 1235, + 529, + 0, + 526, + 1, + "AUDIO" + ], + [ + 1236, + 528, + 0, + 526, + 2, + "VAE" + ], + [ + 1237, + 527, + 0, + 526, + 3, + "VAE" + ], + [ + 1238, + 508, + 2, + 526, + 4, + "MASK" + ], + [ + 1239, + 534, + 0, + 526, + 6, + "FLOAT" + ], + [ + 1241, + 510, + 0, + 530, + 1, + "CONDITIONING" + ], + [ + 1244, + 523, + 0, + 532, + 0, + "SAM3_TRACK_DATA" + ], + [ + 1245, + 504, + 0, + 532, + 1, + "IMAGE" + ], + [ + 1248, + 541, + 0, + 536, + 0, + "NOISE" + ], + [ + 1249, + 530, + 0, + 536, + 1, + "GUIDER" + ], + [ + 1250, + 519, + 0, + 536, + 2, + "SAMPLER" + ], + [ + 1251, + 520, + 0, + 536, + 3, + "SIGMAS" + ], + [ + 1252, + 526, + 0, + 536, + 4, + "LATENT" + ], + [ + 1253, + 539, + 0, + 537, + 0, + "IMAGE" + ], + [ + 1254, + 538, + 0, + 537, + 1, + "IMAGE" + ], + [ + 1255, + 511, + 2, + 537, + 2, + "BOUNDING_BOX" + ], + [ + 1256, + 542, + 0, + 537, + 3, + "MASK" + ], + [ + 1257, + 536, + 0, + 539, + 0, + "LATENT" + ], + [ + 1258, + 540, + 0, + 539, + 1, + "VAE" + ], + [ + 1259, + 508, + 0, + 542, + 0, + "MASK" + ], + [ + 1270, + 553, + 0, + 510, + 0, + "CLIP" + ], + [ + 1272, + 554, + 0, + 513, + 0, + "VAE" + ], + [ + 1274, + 555, + 0, + 512, + 0, + "VAE" + ], + [ + 1275, + 556, + 0, + 506, + 0, + "MODEL" + ], + [ + 1276, + 556, + 0, + 508, + 2, + "MODEL" + ], + [ + 1277, + 551, + 0, + 552, + 0, + "MODEL" + ], + [ + 1278, + 552, + 0, + 556, + 0, + "MODEL" + ], + [ + 1279, + 506, + 0, + 530, + 0, + "MODEL" + ], + [ + 1291, + 563, + 2, + 515, + 0, + "AUDIO" + ], + [ + 1292, + 563, + 1, + 533, + 0, + "INT" + ], + [ + 1293, + 563, + 3, + 564, + 0, + "VHS_VIDEOINFO" + ], + [ + 1294, + 564, + 5, + 535, + 0, + "FLOAT" + ], + [ + 1299, + 569, + 0, + 510, + 2, + "VAE" + ], + [ + 1300, + 570, + 0, + 510, + 1, + "VAE" + ], + [ + 1301, + 537, + 0, + 572, + 0, + "IMAGE" + ], + [ + 1302, + 544, + 0, + 572, + 4, + "FLOAT" + ], + [ + 1303, + 543, + 0, + 572, + 1, + "AUDIO" + ], + [ + 3146, + 1297, + 0, + 1298, + 0, + "IMAGE" + ], + [ + 3147, + 1299, + 0, + 1300, + 0, + "IMAGE" + ], + [ + 3148, + 1298, + 0, + 1302, + 0, + "IMAGE" + ], + [ + 3149, + 1300, + 0, + 1302, + 1, + "IMAGE" + ], + [ + 3150, + 1304, + 0, + 1305, + 0, + "IMAGE" + ], + [ + 3151, + 563, + 0, + 1307, + 0, + "IMAGE" + ], + [ + 3152, + 1307, + 0, + 504, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "id": 12, + "title": "SAM3", + "bounding": [ + 371.3423104204202, + 4757.589779592881, + 785, + 810 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 53, + "title": "Select using reference mask", + "bounding": [ + -234.21715065250686, + 5296.1427187033405, + 509.9360569248644, + 545.9289577950085 + ], + "color": "#3f789e", + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "40c32957-02e2-4ae4-ae95-91c56e70e14a", + "version": 1, + "state": { + "lastGroupId": 53, + "lastNodeId": 1310, + "lastLinkId": 3152, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 216, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 219, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 224, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 217, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 220, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 217, + "origin_slot": 0, + "target_id": 216, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 224, + "origin_slot": 0, + "target_id": 216, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 220, + "origin_slot": 0, + "target_id": 219, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 219, + "origin_slot": 0, + "target_id": 224, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 216, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 219, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 216, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 217, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "baa0d1aa-4f72-48c6-af2c-258656248e7e", + "version": 1, + "state": { + "lastGroupId": 53, + "lastNodeId": 1310, + "lastLinkId": 3152, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 986, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 987, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 988, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 989, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 990, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 989, + "origin_slot": 0, + "target_id": 986, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 988, + "origin_slot": 0, + "target_id": 986, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 990, + "origin_slot": 0, + "target_id": 987, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 987, + "origin_slot": 0, + "target_id": 988, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 986, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 987, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 986, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 989, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "94c1486b-cabf-4a0b-abe4-fd1f82ec7d47", + "version": 1, + "state": { + "lastGroupId": 53, + "lastNodeId": 1310, + "lastLinkId": 3152, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Get Any Video Frame", + "description": "Extracts one image frame from a video at a chosen index, with optional trim and FPS control.", + "inputNode": { + "id": -10, + "bounding": [ + 380, + -57, + 128, + 108 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 1460, + -57, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "2ceec378-8dcf-4340-8570-155967f59a93", + "name": "video", + "type": "VIDEO", + "linkIds": [ + 4 + ], + "pos": [ + 484, + -33 + ] + }, + { + "id": "819955f6-c686-4896-8032-ff2d0059109a", + "name": "value", + "type": "INT", + "linkIds": [ + 283 + ], + "label": "frame_index", + "pos": [ + 484, + -13 + ] + }, + { + "id": "ca1cbd9a-bf9a-4a53-a104-3435b29813e7", + "name": "", + "type": "*", + "linkIds": [ + 3141 + ], + "pos": [ + 484, + 7 + ] + } + ], + "outputs": [ + { + "id": "1ab0684d-6a44-45b6-8aa4-a0b971a1d41e", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 5 + ], + "pos": [ + 1484, + -33 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1, + "type": "GetVideoComponents", + "pos": [ + 560, + -150 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "VIDEO", + "link": 4 + } + ], + "outputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "links": [] + }, + { + "localized_name": "audio", + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "links": null + }, + { + "localized_name": "bit_depth", + "name": "bit_depth", + "type": "INT", + "links": null + }, + { + "localized_name": "color_space", + "name": "color_space", + "type": "COMBO", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetVideoComponents" + } + }, + { + "id": 2, + "type": "GetImageSize", + "pos": [ + 560, + 50 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 3140 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": null + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": [ + 285 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 3, + "type": "ImageFromBatch", + "pos": [ + 1130, + -150 + ], + "size": [ + 270, + 140 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 3139 + }, + { + "localized_name": "batch_index", + "name": "batch_index", + "type": "INT", + "widget": { + "name": "batch_index" + }, + "link": 286 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageFromBatch" + }, + "widgets_values": [ + 0, + 1 + ], + "widgets_values_named": { + "batch_index": 0, + "length": 1 + } + }, + { + "id": 99, + "type": "ComfyMathExpression", + "pos": [ + 910, + 100 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 284 + }, + { + "label": "b", + "localized_name": "values.b", + "name": "values.b", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": 285 + }, + { + "label": "c", + "localized_name": "values.c", + "name": "values.c", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": null + } + ], + "outputs": [ + { + "localized_name": "FLOAT", + "name": "FLOAT", + "type": "FLOAT", + "links": null + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [ + 286 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "min(max(int(a if a >= 0 else b + a), 0), b - 1)" + ], + "widgets_values_named": { + "expression": "min(max(int(a if a >= 0 else b + a), 0), b - 1)" + } + }, + { + "id": 100, + "type": "PrimitiveInt", + "pos": [ + 560, + 250 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "value", + "name": "value", + "type": "INT", + "widget": { + "name": "value" + }, + "link": 283 + } + ], + "outputs": [ + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [ + 284 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PrimitiveInt" + }, + "widgets_values": [ + 0, + "fixed" + ], + "widgets_values_named": { + "value": 0, + "fixed": "fixed" + } + }, + { + "id": 1290, + "type": "Reroute", + "pos": [ + 566.0205992509366, + -23.395744638050086 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3141 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 3139, + 3140 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + } + ], + "groups": [], + "links": [ + { + "id": 4, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1, + "target_slot": 0, + "type": "VIDEO" + }, + { + "id": 5, + "origin_id": 3, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 283, + "origin_id": -10, + "origin_slot": 1, + "target_id": 100, + "target_slot": 0, + "type": "INT" + }, + { + "id": 284, + "origin_id": 100, + "origin_slot": 0, + "target_id": 99, + "target_slot": 0, + "type": "INT" + }, + { + "id": 285, + "origin_id": 2, + "origin_slot": 2, + "target_id": 99, + "target_slot": 1, + "type": "INT" + }, + { + "id": 286, + "origin_id": 99, + "origin_slot": 1, + "target_id": 3, + "target_slot": 1, + "type": "INT" + }, + { + "id": 3139, + "origin_id": 1290, + "origin_slot": 0, + "target_id": 3, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 3140, + "origin_id": 1290, + "origin_slot": 0, + "target_id": 2, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 3141, + "origin_id": -10, + "origin_slot": 2, + "target_id": 1290, + "target_slot": 0, + "type": "*" + } + ], + "extra": { + "ds": { + "scale": 1.197015527856339, + "offset": [ + -168.76833554248222, + 540.6638955283997 + ] + }, + "frontendVersion": "1.42.8" + } + } + ] + }, + "config": {}, + "extra": { + "ds": { + "scale": 0.492672483268239, + "offset": [ + 2421.687954816053, + -3491.5109798302046 + ] + }, + "frontendVersion": "1.49.6", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/Face-&-Body Swap/Workflow-2/Workflow-2.json b/Face-&-Body Swap/Workflow-2/Workflow-2.json new file mode 100644 index 0000000000000000000000000000000000000000..d8c905103052199a38d44f27d8a05bf8dcb59441 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/Workflow-2.json @@ -0,0 +1,5349 @@ +{ + "id": "d0a50949-ff65-4208-ad43-4936440fc536", + "revision": 0, + "last_node_id": 1295, + "last_link_id": 3145, + "nodes": [ + { + "id": 521, + "type": "CheckpointLoaderSimple", + "pos": [ + 381.3423104204202, + 4847.589779592881 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1230 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1228 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sam3.1_multiplex_fp16.safetensors" + ], + "widgets_values_named": { + "ckpt_name": "sam3.1_multiplex_fp16.safetensors" + } + }, + { + "id": 524, + "type": "SAM3_TrackToMask", + "pos": [ + 916.3423104204202, + 4827.589779592881 + ], + "size": [ + 230, + 100 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 1232 + } + ], + "outputs": [ + { + "name": "masks", + "type": "MASK", + "links": [ + 1221 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackToMask" + }, + "widgets_values": [ + "" + ], + "widgets_values_named": { + "object_indices": "" + } + }, + { + "id": 530, + "type": "BasicGuider", + "pos": [ + 1903.1691040562519, + 3886.203932068459 + ], + "size": [ + 225, + 50 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1279 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 1241 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 1249 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "BasicGuider" + } + }, + { + "id": 540, + "type": "GetNode", + "pos": [ + 3153.276361571153, + 4450.741556576521 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1258 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 544, + "type": "GetNode", + "pos": [ + 3163.602489531831, + 4487.725805005866 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 1302 + ] + } + ], + "title": "Get_fps", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 528, + "type": "GetNode", + "pos": [ + 2139.5675878385746, + 4656.284062701477 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1236 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 527, + "type": "GetNode", + "pos": [ + 2137.963256290805, + 4676.932857979972 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1237 + ] + } + ], + "title": "Get_audio vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 529, + "type": "GetNode", + "pos": [ + 2157.985203220153, + 4637.946557326513 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 1235 + ] + } + ], + "title": "Get_audio", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 509, + "type": "GetNode", + "pos": [ + 1531.0213410499457, + 4655.100294227418 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1212 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 504, + "type": "SetNode", + "pos": [ + 394.708685126036, + 4612.892514672451 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 1305 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1220, + 1229, + 1245 + ] + } + ], + "title": "Set_original video", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "original video" + }, + "widgets_values": [ + "original video" + ], + "widgets_values_named": { + "Constant": "original video" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 533, + "type": "SetNode", + "pos": [ + 396.5358637061862, + 4646.446083381571 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 1292 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": null + } + ], + "title": "Set_frame count", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "frame count" + }, + "widgets_values": [ + "frame count" + ], + "widgets_values_named": { + "Constant": "frame count" + }, + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 515, + "type": "SetNode", + "pos": [ + 397.37173103446736, + 4682.79144081635 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "link": 1291 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [] + } + ], + "title": "Set_audio", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "audio" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 564, + "type": "VHS_VideoInfo", + "pos": [ + 401.3556315590113, + 4727.234912538606 + ], + "size": [ + 234.931640625, + 206 + ], + "flags": { + "collapsed": true + }, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "link": 1293 + } + ], + "outputs": [ + { + "name": "source_fps🟨", + "type": "FLOAT", + "links": null + }, + { + "name": "source_frame_count🟨", + "type": "INT", + "links": null + }, + { + "name": "source_duration🟨", + "type": "FLOAT", + "links": null + }, + { + "name": "source_width🟨", + "type": "INT", + "links": null + }, + { + "name": "source_height🟨", + "type": "INT", + "links": null + }, + { + "name": "loaded_fps🟦", + "type": "FLOAT", + "links": [ + 1294 + ] + }, + { + "name": "loaded_frame_count🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_duration🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "loaded_width🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_height🟦", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoInfo" + }, + "widgets_values": {} + }, + { + "id": 555, + "type": "VAELoader", + "pos": [ + -149.06056687523133, + 3959.801669972296 + ], + "size": [ + 385, + 90 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1274 + ] + } + ], + "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_audio_vae_fp32.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_audio_vae_fp32.safetensors" + } + }, + { + "id": 569, + "type": "GetNode", + "pos": [ + 1230.055049939824, + 3973.851698240446 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1299 + ] + } + ], + "title": "Get_audio vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 570, + "type": "GetNode", + "pos": [ + 1231.229444643715, + 3953.6328398058295 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1300 + ] + } + ], + "title": "Get_video vae", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 553, + "type": "CLIPLoader", + "pos": [ + 728.3186917468914, + 3809.9377210420203 + ], + "size": [ + 385, + 110 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1270 + ] + } + ], + "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": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ], + "widgets_values_named": { + "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "type": "minimax", + "device": "default" + } + }, + { + "id": 541, + "type": "RandomNoise", + "pos": [ + 2339.310866458737, + 4343.387941424728 + ], + "size": [ + 230, + 85 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 1248 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "RandomNoise" + }, + "widgets_values": [ + 2, + "fixed" + ], + "widgets_values_named": { + "noise_seed": 2, + "control_after_generate": "fixed" + } + }, + { + "id": 554, + "type": "VAELoader", + "pos": [ + -149.06056687523133, + 3829.8016699722943 + ], + "size": [ + 385, + 90 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 1272 + ] + } + ], + "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_video_vae_fp16.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_video_vae_fp16.safetensors" + } + }, + { + "id": 513, + "type": "SetNode", + "pos": [ + 255.9090431309638, + 3860.5678854952325 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 1272 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "title": "Set_video vae", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "video vae" + }, + "widgets_values": [ + "video vae" + ], + "widgets_values_named": { + "Constant": "video vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 512, + "type": "SetNode", + "pos": [ + 252.39586030716276, + 3987.357355328988 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 1274 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": null + } + ], + "title": "Set_audio vae", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "audio vae" + }, + "widgets_values": [ + "audio vae" + ], + "widgets_values_named": { + "Constant": "audio vae" + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 534, + "type": "GetNode", + "pos": [ + 2223.783174369741, + 4762.583482934949 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 1239 + ] + } + ], + "title": "Get_fps", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 535, + "type": "SetNode", + "pos": [ + 594.7884955612559, + 4727.349692289025 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "link": 1294 + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + } + ], + "title": "Set_fps", + "properties": { + "Node name for S&R": "SetNode", + "aux_id": "kijai/ComfyUI-KJNodes", + "previousName": "fps" + }, + "widgets_values": [ + "fps" + ], + "widgets_values_named": { + "Constant": "fps" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 573, + "type": "ImageResizeKJv2", + "pos": [ + 30.442524728794137, + 4566.260709387724 + ], + "size": [ + 270, + 336 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1304 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1305 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "35e5956193769d18a13136cdedb73a36a05c73e6", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 1024, + 1024, + "nearest-exact", + "resize", + "0, 0, 0", + "center", + 32, + "cpu" + ], + "widgets_values_named": { + "width": 1024, + "height": 1024, + "upscale_method": "nearest-exact", + "keep_proportion": "resize", + "pad_color": "0, 0, 0", + "crop_position": "center", + "divisible_by": 32, + "device": "cpu" + } + }, + { + "id": 508, + "type": "NKDMaskOps", + "pos": [ + 1733.8629674254187, + 4607.507418539522 + ], + "size": [ + 210, + 386 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1211 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 1212 + }, + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": 1276 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 1259, + 3110 + ] + }, + { + "name": "mask_inverted", + "type": "MASK", + "links": [] + }, + { + "name": "latent_mask", + "type": "MASK", + "links": [ + 1238 + ] + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "f08a8550cc7e1736501c4d378912a3549b30b19e", + "Node name for S&R": "NKDMaskOps", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + false, + 0, + 1, + 2, + false, + 0, + 1, + 0, + 30, + 0, + 0.05, + 0, + 0, + 1 + ], + "widgets_values_named": { + "invert": false, + "black_point": 0, + "white_point": 1, + "despeckle": 2, + "fill_holes": false, + "close_gaps": 0, + "temporal_expand": 1, + "temporal_smooth": 0, + "expand": 30, + "blockify": 0, + "blockify_threshold": 0.05, + "feather": 0, + "edge_low": 0, + "edge_high": 1 + } + }, + { + "id": 526, + "type": "NKDAVLatent", + "pos": [ + 2355.4717884987317, + 4588.8245428261125 + ], + "size": [ + 210, + 255 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1234 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 1235 + }, + { + "label": "video vae", + "name": "video_vae", + "type": "VAE", + "link": 1236 + }, + { + "label": "audio vae", + "name": "audio_vae", + "type": "VAE", + "link": 1237 + }, + { + "label": "latent mask", + "name": "latent_mask", + "shape": 7, + "type": "MASK", + "link": 1238 + }, + { + "label": "audio mask", + "name": "audio_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": 1239 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 1252 + ] + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "0d4b054ad375ca037f27a64c7730699dc8278811", + "Node name for S&R": "NKDAVLatent", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + "keep", + 24, + 0, + 0, + "cosine" + ], + "widgets_values_named": { + "audio_mode": "keep", + "fps": 24, + "ramp_ticks": 0, + "ramp_out_ticks": 0, + "ramp_shape": "cosine" + } + }, + { + "id": 1262, + "type": "PreviewAnimation", + "pos": [ + 1997.19474740368, + 4986.799982582989 + ], + "size": [ + 295.80501861124867, + 292.76482342263444 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 3109 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": 3110 + } + ], + "outputs": [], + "title": "Preview Animation 49x768x672", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "35e5956193769d18a13136cdedb73a36a05c73e6", + "Node name for S&R": "PreviewAnimation" + }, + "widgets_values": [ + 8 + ], + "widgets_values_named": { + "fps": 8 + } + }, + { + "id": 507, + "type": "GetImageSize", + "pos": [ + 1243.4578124449197, + 4151.424571180114 + ], + "size": [ + 140, + 125 + ], + "flags": { + "collapsed": false + }, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1210 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 3124 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 3125 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [ + 3126 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 1278, + "type": "LoadImage", + "pos": [ + -1059.497567942025, + 3984.9032923938316 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3131 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00003_.png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00003_.png", + "upload": "image" + } + }, + { + "id": 1277, + "type": "9cecb6ea-9304-4501-b59c-3145a2e1fea8", + "pos": [ + -783.149724569977, + 3605.4830636340416 + ], + "size": [ + 300, + 90 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3130 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3132 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1280, + "type": "ImageStitch", + "pos": [ + -464.2227711574451, + 3967.8480510049653 + ], + "size": [ + 230, + 150 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 3132 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 3133 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageStitch" + }, + "widgets_values": [ + "right", + true, + 0, + "white" + ], + "widgets_values_named": { + "direction": "right", + "match_image_size": true, + "spacing_width": 0, + "spacing_color": "white" + } + }, + { + "id": 1276, + "type": "LoadImage", + "pos": [ + -1042.1152766943676, + 3603.7914114483265 + ], + "size": [ + 230, + 330 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3130 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00004_ (1).png", + "image" + ], + "widgets_values_named": { + "image": "ComfyUI_00004_ (1).png", + "upload": "image" + } + }, + { + "id": 551, + "type": "UNETLoader", + "pos": [ + -166.4312274594607, + 3672.5413666056743 + ], + "size": [ + 516.7953873414365, + 83.28326218239317 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1277 + ] + } + ], + "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_ref2va_pruned_int8_convrot.safetensors", + "default" + ], + "widgets_values_named": { + "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "weight_dtype": "default" + } + }, + { + "id": 552, + "type": "ModelAttentionBackend", + "pos": [ + 419.24827587565164, + 3673.6858584840807 + ], + "size": [ + 210, + 60 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1277 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1278 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "ModelAttentionBackend" + }, + "widgets_values": [ + "comfy kitchen attention" + ], + "widgets_values_named": { + "attention": "comfy kitchen attention" + } + }, + { + "id": 556, + "type": "LoraLoaderModelOnly", + "pos": [ + 669.2998134092105, + 3675.2091771742375 + ], + "size": [ + 579.2231329949642, + 82 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1278 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1275, + 1276 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors", + 0.5 + ], + "widgets_values_named": { + "lora_name": "minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors", + "strength_model": 0.5 + } + }, + { + "id": 506, + "type": "MiniMaxH3SigmaShift", + "pos": [ + 1428.1617450350086, + 3720.489426087513 + ], + "size": [ + 399.4277540607977, + 85 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1275 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1279 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3SigmaShift" + }, + "widgets_values": [ + 12, + 1.5 + ], + "widgets_values_named": { + "shift_video": 12, + "shift_audio": 1.5 + } + }, + { + "id": 519, + "type": "KSamplerSelect", + "pos": [ + 2385.4799670097, + 4475.535367379407 + ], + "size": [ + 405, + 65 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 1250 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "sa_solver_pece" + ], + "widgets_values_named": { + "sampler_name": "sa_solver_pece" + } + }, + { + "id": 520, + "type": "NKDSigmasCurve", + "pos": [ + 2378.2332391525597, + 4511.176122773512 + ], + "size": [ + 400, + 163 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "reference_sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 1251 + ] + }, + { + "name": "floats", + "type": "FLOAT", + "links": null + } + ], + "properties": { + "cnr_id": "nkd-sigmas-curve", + "ver": "334bf7b4c032199d04ceba830d7f7e42a9c9d847", + "Node name for S&R": "NKDSigmasCurve", + "aux_id": "Nekodificador/ComfyUI-NKD-Sigmas-Curve" + }, + "widgets_values": [ + "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}", + 8, + 1, + "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}" + ], + "widgets_values_named": { + "curve_data": "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}", + "steps": 8, + "max_sigma": 1, + "sigma_curve_editor": "{\"points\":[[0,1,1],[1,1,1],[1,0,1]],\"interpolation\":\"smooth\",\"tension\":1,\"endpointsLocked\":true,\"snapToSteps\":true}" + } + }, + { + "id": 536, + "type": "SamplerCustomAdvanced", + "pos": [ + 2625.87529347296, + 4423.92519635447 + ], + "size": [ + 232.23029089425836, + 111.39518333853357 + ], + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 1248 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 1249 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 1250 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 1251 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1252 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 1257 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "SamplerCustomAdvanced" + } + }, + { + "id": 539, + "type": "VAEDecode", + "pos": [ + 2909.1343728393213, + 4424.313675002541 + ], + "size": [ + 225, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1257 + }, + { + "name": "vae", + "type": "VAE", + "link": 1258 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1253 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 543, + "type": "GetNode", + "pos": [ + 3151.9518324624783, + 4522.825111766846 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 1303 + ] + } + ], + "title": "Get_audio", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "audio" + ], + "widgets_values_named": { + "Constant": "audio" + } + }, + { + "id": 542, + "type": "NKDMaskOpsLean", + "pos": [ + 2696.56686642573, + 4611.740805014201 + ], + "size": [ + 280, + 340 + ], + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1259 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 1256 + ] + }, + { + "name": "mask_inverted", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-nkd-basic-tools", + "ver": "651256620bd582d755639abaed3a9962dbe5663e", + "Node name for S&R": "NKDMaskOpsLean", + "nkdSchema": 1, + "aux_id": "Nekodificador/ComfyUI-NKD-Basic-Tools" + }, + "widgets_values": [ + false, + 10, + 20 + ], + "widgets_values_named": { + "fill_holes": false, + "expand": 10, + "feather": 20 + } + }, + { + "id": 537, + "type": "MVEx_SubjectUncrop", + "pos": [ + 2998.2318643862227, + 4591.98968677579 + ], + "size": [ + 290.45923068486945, + 140.6924175864351 + ], + "flags": { + "collapsed": false + }, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "link": 1253 + }, + { + "name": "original_images", + "type": "IMAGE", + "link": 1254 + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "link": 1255 + }, + { + "name": "cropped_masks", + "shape": 7, + "type": "MASK", + "link": 1256 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 1301 + ] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "328cca9698accb5d135b182dfba0623af5ab3c43", + "Node name for S&R": "MVEx_SubjectUncrop", + "aux_id": "drozbay/MaskVidExperiments" + }, + "widgets_values": [ + 16 + ], + "widgets_values_named": { + "feather": 16 + } + }, + { + "id": 538, + "type": "GetNode", + "pos": [ + 3152.5999143320073, + 4407.630939847774 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1254 + ] + } + ], + "title": "Get_original video", + "properties": { + "Node name for S&R": "GetNode", + "aux_id": "kijai/ComfyUI-KJNodes" + }, + "widgets_values": [ + "original video" + ], + "widgets_values_named": { + "Constant": "original video" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 572, + "type": "VHS_VideoCombine", + "pos": [ + 3007.2353715074937, + 4801.711042584791 + ], + "size": [ + 348.9206662141705, + 533.0178747454709 + ], + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1301 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 1303 + }, + { + "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": 1302 + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 8, + "loop_count": 0, + "filename_prefix": "NKD-Inpaint", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "NKD-Inpaint_00031-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "NKD-Inpaint_00031.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\NKD-Inpaint_00031-audio.mp4" + } + } + }, + "widgets_values_named": { + "frame_rate": 8, + "loop_count": 0, + "filename_prefix": "NKD-Inpaint", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "NKD-Inpaint_00031-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "NKD-Inpaint_00031.png", + "fullpath": "E:\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\NKD-Inpaint_00031-audio.mp4" + } + } + } + }, + { + "id": 511, + "type": "MVEx_SubjectCrop", + "pos": [ + 1180.5411089412341, + 4584.897912986291 + ], + "size": [ + 230, + 286 + ], + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "original_images", + "type": "IMAGE", + "link": 1220 + }, + { + "name": "masks", + "type": "MASK", + "link": 1221 + } + ], + "outputs": [ + { + "name": "cropped_images", + "type": "IMAGE", + "links": [ + 1210, + 1234, + 3109 + ] + }, + { + "name": "cropped_masks", + "type": "MASK", + "links": [ + 1211 + ] + }, + { + "name": "bboxes", + "type": "BOUNDING_BOX", + "links": [ + 1255 + ] + }, + { + "name": "debug", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "maskvidexperiments", + "ver": "328cca9698accb5d135b182dfba0623af5ab3c43", + "Node name for S&R": "MVEx_SubjectCrop", + "aux_id": "drozbay/MaskVidExperiments" + }, + "widgets_values": [ + "tracked", + 1.75, + "firm", + "stillness", + 0, + false, + 32, + 0.5 + ], + "widgets_values_named": { + "mode": "tracked", + "mode.crop_scale": 1.75, + "mode.padding": "firm", + "mode.prefer": "stillness", + "mode.aspect_ratio": 0, + "mode.seamless_loop": false, + "divisible_by": 32, + "upscale_megapixels": 0.5 + } + }, + { + "id": 1279, + "type": "5cac9df3-53ae-45e0-8420-428a69bbd297", + "pos": [ + -789.4975679420254, + 3984.9032923938316 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3131 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3133 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 1287, + "type": "2469a17f-5da3-4dea-9f35-4c88170f2ff2", + "pos": [ + 694.4533766653504, + 3970.4128690556454 + ], + "size": [ + 300, + 90 + ], + "flags": { + "collapsed": false + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 3135 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3136 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 16777215 + ], + "widgets_values_named": { + "color": 16777215 + } + }, + { + "id": 532, + "type": "SAM3_TrackPreview", + "pos": [ + 666.3423104204198, + 5077.589779592881 + ], + "size": [ + 480, + 997.5294117647059 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "label": "track_data", + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "link": 1244 + }, + { + "label": "images", + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 1245 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_TrackPreview" + }, + "widgets_values": [ + 0.5, + 25 + ], + "widgets_values_named": { + "opacity": 0.5, + "fps": 25 + } + }, + { + "id": 1288, + "type": "PreviewImage", + "pos": [ + 982.7481509455713, + 4112.161997069977 + ], + "size": [ + 140, + 246 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3136 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 1281, + "type": "LoadImage", + "pos": [ + 391.9533766653498, + 3970.4129429081854 + ], + "size": [ + 282.798828125, + 314.00000000000045 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3135, + 3138 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "Flux2-Klein_00037_.png", + "image" + ], + "widgets_values_named": { + "image": "Flux2-Klein_00037_.png", + "upload": "image" + } + }, + { + "id": 510, + "type": "MiniMaxH3ReferenceToVideo", + "pos": [ + 1427.4043096490766, + 3905.2116980083106 + ], + "size": [ + 400, + 344 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1270 + }, + { + "name": "vae", + "type": "VAE", + "link": 1300 + }, + { + "name": "audio_vae", + "type": "VAE", + "link": 1299 + }, + { + "label": "ref_image_0", + "name": "ref_images.ref_image_0", + "shape": 7, + "type": "IMAGE", + "link": 3138 + }, + { + "label": "ref_image_1", + "name": "ref_images.ref_image_1", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_0", + "name": "ref_videos.ref_video_0", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_audio_0", + "name": "ref_video_audios.ref_video_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "ref_audio_0", + "name": "ref_audios.ref_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "prompt", + "type": "STRING", + "widget": { + "name": "prompt" + }, + "link": 3145 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 3124 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 3125 + }, + { + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": 3126 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 1241 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "MiniMaxH3ReferenceToVideo" + }, + "widgets_values": [ + " is the character represented in . The video is of the woman wearing a casual outfit from Skiing on ice .\n", + 1344, + 768, + 124, + "max" + ], + "widgets_values_named": { + "prompt": " is the character represented in . The video is of the woman wearing a casual outfit from Skiing on ice .\n", + "width": 1344, + "height": 768, + "length": 124, + "ref_image_size": "max" + } + }, + { + "id": 1293, + "type": "PrimitiveStringMultiline", + "pos": [ + 811.8295069803141, + 3360.305388684699 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 3145 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + " is the character represented in . In the video is the old man from speaking to other peoples.\n" + ], + "widgets_values_named": { + "value": " is the character represented in . In the video is the old man from speaking to other peoples.\n" + } + }, + { + "id": 522, + "type": "CLIPTextEncode", + "pos": [ + 381.3423104204202, + 5007.589779592881 + ], + "size": [ + 230, + 130 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1228 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1231 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "body" + ], + "widgets_values_named": { + "text": "body" + } + }, + { + "id": 1291, + "type": "PreviewImage", + "pos": [ + -337.8447671084692, + 5420.008141734745 + ], + "size": [ + 140, + 246 + ], + "flags": {}, + "order": 40, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3143 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 563, + "type": "VHS_LoadVideo", + "pos": [ + -244.84844562460106, + 4582.0908264558975 + ], + "size": [ + 255.8291015625, + 456.68516329949574 + ], + "flags": {}, + "order": 23, + "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": [ + 1304 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": [ + 1292 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 1291 + ] + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": [ + 1293 + ] + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "The Wolf of Wall Street Inspirational Speech HD (1080p_30fps_H264-128kbit_AAC) (1).mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 192, + "skip_first_frames": 9, + "select_every_nth": 1, + "format": "AnimateDiff", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "The Wolf of Wall Street Inspirational Speech HD (1080p_30fps_H264-128kbit_AAC) (1).mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 192, + "skip_first_frames": 9, + "select_every_nth": 1 + } + } + }, + "widgets_values_named": { + "video": "The Wolf of Wall Street Inspirational Speech HD (1080p_30fps_H264-128kbit_AAC) (1).mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 192, + "skip_first_frames": 9, + "select_every_nth": 1, + "format": "AnimateDiff", + "choose video to upload": null, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "The Wolf of Wall Street Inspirational Speech HD (1080p_30fps_H264-128kbit_AAC) (1).mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 24, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 192, + "skip_first_frames": 9, + "select_every_nth": 1 + } + } + } + }, + { + "id": 502, + "type": "Note", + "pos": [ + -149.04250820476696, + 4172.861250990081 + ], + "size": [ + 486.034972215798, + 149.11788486112073 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - Custom Nodes", + "properties": {}, + "widgets_values": [ + "Need all three nodes packs\nhttps://github.com/Nekodificador/ComfyUI-NKD-Basic-Tools\nhttps://github.com/Nekodificador/ComfyUI-NKD-Sigmas-Curve.git\nhttps://github.com/drozbay/MaskVidExperiments\n\n\nA better preview / save node (optional)\nhttps://github.com/Nekodificador/ComfyUI-NKD-Preview-Tools.git" + ], + "widgets_values_named": { + "text": "Need all three nodes packs\nhttps://github.com/Nekodificador/ComfyUI-NKD-Basic-Tools\nhttps://github.com/Nekodificador/ComfyUI-NKD-Sigmas-Curve.git\nhttps://github.com/drozbay/MaskVidExperiments\n\n\nA better preview / save node (optional)\nhttps://github.com/Nekodificador/ComfyUI-NKD-Preview-Tools.git" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1294, + "type": "Note", + "pos": [ + -775.8888882495539, + 4168.246160778423 + ], + "size": [ + 370.5741553292637, + 118.10908026460311 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - BiRefNet Download it", + "properties": {}, + "widgets_values": [ + "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + ], + "widgets_values_named": { + "text": "https://huggingface.co/Comfy-Org/BiRefNet/blob/main/background_removal/birefnet.safetensors\n\nPlace it in side \nmodels/\n └── 📂 background_removal/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1295, + "type": "Note", + "pos": [ + 380.16209063986383, + 5191.355971524289 + ], + "size": [ + 258.38665910608916, + 88 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - sam3-1-multiplex-fp16", + "properties": {}, + "widgets_values": [ + "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + ], + "widgets_values_named": { + "text": "https://comfy.org/p/supported-models/sam3-1-multiplex-fp16/" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 1292, + "type": "LoadImage", + "pos": [ + -130.7075383086045, + 5408.8549482972285 + ], + "size": [ + 282.798828125, + 314 + ], + "flags": {}, + "order": 27, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadImage", + "image": "clipspace-painted-masked-1787433077387.png [input]" + }, + "widgets_values": [ + "clipspace-painted-masked-1787433077387.png [input]", + "image" + ], + "widgets_values_named": { + "image": "clipspace-painted-masked-1787433077387.png [input]", + "upload": "image" + } + }, + { + "id": 523, + "type": "SAM3_VideoTrack", + "pos": [ + 666.3423104204198, + 4827.589779592881 + ], + "size": [ + 230, + 210 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 1229 + }, + { + "label": "model", + "name": "model", + "type": "MODEL", + "link": 1230 + }, + { + "label": "initial_mask", + "name": "initial_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "label": "conditioning", + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": 1231 + } + ], + "outputs": [ + { + "name": "track_data", + "type": "SAM3_TRACK_DATA", + "links": [ + 1232, + 1244 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "SAM3_VideoTrack" + }, + "widgets_values": [ + 0.5, + 1, + 1 + ], + "widgets_values_named": { + "detection_threshold": 0.5, + "max_objects": 1, + "detect_interval": 1 + } + }, + { + "id": 1289, + "type": "99182217-09d7-4191-9b9b-ec7bf85a560f", + "pos": [ + -317.75777172398415, + 5256.92599050222 + ], + "size": [ + 270, + 104 + ], + "flags": {}, + "order": 28, + "mode": 4, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": null + }, + { + "label": "frame_index", + "name": "value", + "type": "INT", + "widget": { + "name": "value" + }, + "link": null + }, + { + "name": "", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3143 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "previewExposures": [] + }, + "widgets_values": [ + 0 + ], + "widgets_values_named": { + "value": 0 + } + } + ], + "links": [ + [ + 1210, + 511, + 0, + 507, + 0, + "IMAGE" + ], + [ + 1211, + 511, + 1, + 508, + 0, + "MASK" + ], + [ + 1212, + 509, + 0, + 508, + 1, + "VAE" + ], + [ + 1220, + 504, + 0, + 511, + 0, + "IMAGE" + ], + [ + 1221, + 524, + 0, + 511, + 1, + "MASK" + ], + [ + 1228, + 521, + 1, + 522, + 0, + "CLIP" + ], + [ + 1229, + 504, + 0, + 523, + 0, + "IMAGE" + ], + [ + 1230, + 521, + 0, + 523, + 1, + "MODEL" + ], + [ + 1231, + 522, + 0, + 523, + 3, + "CONDITIONING" + ], + [ + 1232, + 523, + 0, + 524, + 0, + "SAM3_TRACK_DATA" + ], + [ + 1234, + 511, + 0, + 526, + 0, + "IMAGE" + ], + [ + 1235, + 529, + 0, + 526, + 1, + "AUDIO" + ], + [ + 1236, + 528, + 0, + 526, + 2, + "VAE" + ], + [ + 1237, + 527, + 0, + 526, + 3, + "VAE" + ], + [ + 1238, + 508, + 2, + 526, + 4, + "MASK" + ], + [ + 1239, + 534, + 0, + 526, + 6, + "FLOAT" + ], + [ + 1241, + 510, + 0, + 530, + 1, + "CONDITIONING" + ], + [ + 1244, + 523, + 0, + 532, + 0, + "SAM3_TRACK_DATA" + ], + [ + 1245, + 504, + 0, + 532, + 1, + "IMAGE" + ], + [ + 1248, + 541, + 0, + 536, + 0, + "NOISE" + ], + [ + 1249, + 530, + 0, + 536, + 1, + "GUIDER" + ], + [ + 1250, + 519, + 0, + 536, + 2, + "SAMPLER" + ], + [ + 1251, + 520, + 0, + 536, + 3, + "SIGMAS" + ], + [ + 1252, + 526, + 0, + 536, + 4, + "LATENT" + ], + [ + 1253, + 539, + 0, + 537, + 0, + "IMAGE" + ], + [ + 1254, + 538, + 0, + 537, + 1, + "IMAGE" + ], + [ + 1255, + 511, + 2, + 537, + 2, + "BOUNDING_BOX" + ], + [ + 1256, + 542, + 0, + 537, + 3, + "MASK" + ], + [ + 1257, + 536, + 0, + 539, + 0, + "LATENT" + ], + [ + 1258, + 540, + 0, + 539, + 1, + "VAE" + ], + [ + 1259, + 508, + 0, + 542, + 0, + "MASK" + ], + [ + 1270, + 553, + 0, + 510, + 0, + "CLIP" + ], + [ + 1272, + 554, + 0, + 513, + 0, + "VAE" + ], + [ + 1274, + 555, + 0, + 512, + 0, + "VAE" + ], + [ + 1275, + 556, + 0, + 506, + 0, + "MODEL" + ], + [ + 1276, + 556, + 0, + 508, + 2, + "MODEL" + ], + [ + 1277, + 551, + 0, + 552, + 0, + "MODEL" + ], + [ + 1278, + 552, + 0, + 556, + 0, + "MODEL" + ], + [ + 1279, + 506, + 0, + 530, + 0, + "MODEL" + ], + [ + 1291, + 563, + 2, + 515, + 0, + "AUDIO" + ], + [ + 1292, + 563, + 1, + 533, + 0, + "INT" + ], + [ + 1293, + 563, + 3, + 564, + 0, + "VHS_VIDEOINFO" + ], + [ + 1294, + 564, + 5, + 535, + 0, + "FLOAT" + ], + [ + 1299, + 569, + 0, + 510, + 2, + "VAE" + ], + [ + 1300, + 570, + 0, + 510, + 1, + "VAE" + ], + [ + 1301, + 537, + 0, + 572, + 0, + "IMAGE" + ], + [ + 1302, + 544, + 0, + 572, + 4, + "FLOAT" + ], + [ + 1303, + 543, + 0, + 572, + 1, + "AUDIO" + ], + [ + 1304, + 563, + 0, + 573, + 0, + "IMAGE" + ], + [ + 1305, + 573, + 0, + 504, + 0, + "IMAGE" + ], + [ + 3109, + 511, + 0, + 1262, + 0, + "IMAGE" + ], + [ + 3110, + 508, + 0, + 1262, + 1, + "MASK" + ], + [ + 3124, + 507, + 0, + 510, + 9, + "INT" + ], + [ + 3125, + 507, + 1, + 510, + 10, + "INT" + ], + [ + 3126, + 507, + 2, + 510, + 11, + "INT" + ], + [ + 3130, + 1276, + 0, + 1277, + 0, + "IMAGE" + ], + [ + 3131, + 1278, + 0, + 1279, + 0, + "IMAGE" + ], + [ + 3132, + 1277, + 0, + 1280, + 0, + "IMAGE" + ], + [ + 3133, + 1279, + 0, + 1280, + 1, + "IMAGE" + ], + [ + 3135, + 1281, + 0, + 1287, + 0, + "IMAGE" + ], + [ + 3136, + 1287, + 0, + 1288, + 0, + "IMAGE" + ], + [ + 3138, + 1281, + 0, + 510, + 3, + "IMAGE" + ], + [ + 3143, + 1289, + 0, + 1291, + 0, + "IMAGE" + ], + [ + 3145, + 1293, + 0, + 510, + 8, + "STRING" + ] + ], + "groups": [ + { + "id": 12, + "title": "SAM3", + "bounding": [ + 371.3423104204202, + 4757.589779592881, + 785, + 810 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 52, + "title": "Select using reference mask", + "bounding": [ + -347.8447671084692, + 5186.92599050222, + 509.9360569248644, + 545.9289577950085 + ], + "color": "#3f789e", + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "9cecb6ea-9304-4501-b59c-3145a2e1fea8", + "version": 1, + "state": { + "lastGroupId": 52, + "lastNodeId": 1295, + "lastLinkId": 3145, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 216, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 219, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 224, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 217, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 220, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 217, + "origin_slot": 0, + "target_id": 216, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 224, + "origin_slot": 0, + "target_id": 216, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 220, + "origin_slot": 0, + "target_id": 219, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 219, + "origin_slot": 0, + "target_id": 224, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 216, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 219, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 216, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 217, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "5cac9df3-53ae-45e0-8420-428a69bbd297", + "version": 1, + "state": { + "lastGroupId": 52, + "lastNodeId": 1295, + "lastLinkId": 3145, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 986, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 987, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 988, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 989, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 990, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 989, + "origin_slot": 0, + "target_id": 986, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 988, + "origin_slot": 0, + "target_id": 986, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 990, + "origin_slot": 0, + "target_id": 987, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 987, + "origin_slot": 0, + "target_id": 988, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 986, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 987, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 986, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 989, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "2469a17f-5da3-4dea-9f35-4c88170f2ff2", + "version": 1, + "state": { + "lastGroupId": 52, + "lastNodeId": 1295, + "lastLinkId": 3145, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Replace BG with Color", + "inputNode": { + "id": -10, + "bounding": [ + -3718, + 4929, + 128, + 88 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + -2520, + 4929, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "108dcb05-f65f-4256-a5b5-f415a5c0a814", + "name": "destination", + "type": "IMAGE", + "linkIds": [ + 394, + 402 + ], + "localized_name": "destination", + "pos": [ + -3614, + 4953 + ] + }, + { + "id": "eb7dc4cd-ab52-4f68-b114-c6478cb81b5d", + "name": "color", + "type": "INT", + "linkIds": [ + 409 + ], + "pos": [ + -3614, + 4973 + ] + } + ], + "outputs": [ + { + "id": "caf68cb4-0203-4811-9cec-6fa2c710f8f2", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 403 + ], + "localized_name": "IMAGE", + "pos": [ + -2496, + 4953 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1282, + "type": "ImageCompositeMasked", + "pos": [ + -2790, + 4980 + ], + "size": [ + 220, + 150 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "destination", + "name": "destination", + "type": "IMAGE", + "link": 394 + }, + { + "localized_name": "source", + "name": "source", + "type": "IMAGE", + "link": 393 + }, + { + "localized_name": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.67", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + true + ], + "widgets_values_named": { + "x": 0, + "y": 0, + "resize_source": true + } + }, + { + "id": 1283, + "type": "RemoveBackground", + "pos": [ + -3180, + 5020 + ], + "size": [ + 190, + 60 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "bg_removal_model", + "name": "bg_removal_model", + "type": "BACKGROUND_REMOVAL", + "link": 401 + }, + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 402 + } + ], + "outputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 405 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "RemoveBackground" + } + }, + { + "id": 1284, + "type": "InvertMask", + "pos": [ + -2970, + 5020 + ], + "size": [ + 140, + 30 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "mask", + "name": "mask", + "type": "MASK", + "link": 405 + } + ], + "outputs": [ + { + "localized_name": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "InvertMask" + } + }, + { + "id": 1285, + "type": "EmptyImage", + "pos": [ + -3040, + 4830 + ], + "size": [ + 210, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "color", + "name": "color", + "type": "INT", + "widget": { + "name": "color" + }, + "link": 409 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 512, + 512, + 1, + 16777215 + ], + "widgets_values_named": { + "width": 512, + "height": 512, + "batch_size": 1, + "color": 16777215 + } + }, + { + "id": 1286, + "type": "LoadBackgroundRemovalModel", + "pos": [ + -3530, + 5020 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "bg_model", + "name": "bg_model", + "type": "BACKGROUND_REMOVAL", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "LoadBackgroundRemovalModel", + "models": [ + { + "name": "birefnet.safetensors", + "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors", + "directory": "background_removal" + } + ] + }, + "widgets_values": [ + "birefnet.safetensors" + ], + "widgets_values_named": { + "bg_removal_name": "birefnet.safetensors" + } + } + ], + "groups": [], + "links": [ + { + "id": 393, + "origin_id": 1285, + "origin_slot": 0, + "target_id": 1282, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 406, + "origin_id": 1284, + "origin_slot": 0, + "target_id": 1282, + "target_slot": 2, + "type": "MASK" + }, + { + "id": 401, + "origin_id": 1286, + "origin_slot": 0, + "target_id": 1283, + "target_slot": 0, + "type": "BACKGROUND_REMOVAL" + }, + { + "id": 405, + "origin_id": 1283, + "origin_slot": 0, + "target_id": 1284, + "target_slot": 0, + "type": "MASK" + }, + { + "id": 394, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1282, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 402, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1283, + "target_slot": 1, + "type": "IMAGE" + }, + { + "id": 403, + "origin_id": 1282, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 1, + "target_id": 1285, + "target_slot": 0, + "type": "INT" + } + ], + "extra": {} + }, + { + "id": "99182217-09d7-4191-9b9b-ec7bf85a560f", + "version": 1, + "state": { + "lastGroupId": 52, + "lastNodeId": 1295, + "lastLinkId": 3145, + "lastRerouteId": 29 + }, + "revision": 0, + "config": {}, + "name": "Get Any Video Frame", + "description": "Extracts one image frame from a video at a chosen index, with optional trim and FPS control.", + "inputNode": { + "id": -10, + "bounding": [ + 380, + -57, + 128, + 108 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 1460, + -57, + 128, + 68 + ] + }, + "inputs": [ + { + "id": "2ceec378-8dcf-4340-8570-155967f59a93", + "name": "video", + "type": "VIDEO", + "linkIds": [ + 4 + ], + "pos": [ + 484, + -33 + ] + }, + { + "id": "819955f6-c686-4896-8032-ff2d0059109a", + "name": "value", + "type": "INT", + "linkIds": [ + 283 + ], + "label": "frame_index", + "pos": [ + 484, + -13 + ] + }, + { + "id": "ca1cbd9a-bf9a-4a53-a104-3435b29813e7", + "name": "", + "type": "*", + "linkIds": [ + 3141 + ], + "pos": [ + 484, + 7 + ] + } + ], + "outputs": [ + { + "id": "1ab0684d-6a44-45b6-8aa4-a0b971a1d41e", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 5 + ], + "pos": [ + 1484, + -33 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 1, + "type": "GetVideoComponents", + "pos": [ + 560, + -150 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "VIDEO", + "link": 4 + } + ], + "outputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "links": [] + }, + { + "localized_name": "audio", + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "links": null + }, + { + "localized_name": "bit_depth", + "name": "bit_depth", + "type": "INT", + "links": null + }, + { + "localized_name": "color_space", + "name": "color_space", + "type": "COMBO", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetVideoComponents" + } + }, + { + "id": 2, + "type": "GetImageSize", + "pos": [ + 560, + 50 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 3140 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": null + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": [ + 285 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "GetImageSize" + } + }, + { + "id": 3, + "type": "ImageFromBatch", + "pos": [ + 1130, + -150 + ], + "size": [ + 270, + 140 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 3139 + }, + { + "localized_name": "batch_index", + "name": "batch_index", + "type": "INT", + "widget": { + "name": "batch_index" + }, + "link": 286 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ImageFromBatch" + }, + "widgets_values": [ + 0, + 1 + ], + "widgets_values_named": { + "batch_index": 0, + "length": 1 + } + }, + { + "id": 99, + "type": "ComfyMathExpression", + "pos": [ + 910, + 100 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "label": "a", + "localized_name": "values.a", + "name": "values.a", + "type": "FLOAT,INT,BOOLEAN", + "link": 284 + }, + { + "label": "b", + "localized_name": "values.b", + "name": "values.b", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": 285 + }, + { + "label": "c", + "localized_name": "values.c", + "name": "values.c", + "shape": 7, + "type": "FLOAT,INT,BOOLEAN", + "link": null + } + ], + "outputs": [ + { + "localized_name": "FLOAT", + "name": "FLOAT", + "type": "FLOAT", + "links": null + }, + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [ + 286 + ] + }, + { + "localized_name": "BOOL", + "name": "BOOL", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "ComfyMathExpression" + }, + "widgets_values": [ + "min(max(int(a if a >= 0 else b + a), 0), b - 1)" + ], + "widgets_values_named": { + "expression": "min(max(int(a if a >= 0 else b + a), 0), b - 1)" + } + }, + { + "id": 100, + "type": "PrimitiveInt", + "pos": [ + 560, + 250 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "value", + "name": "value", + "type": "INT", + "widget": { + "name": "value" + }, + "link": 283 + } + ], + "outputs": [ + { + "localized_name": "INT", + "name": "INT", + "type": "INT", + "links": [ + 284 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.0", + "Node name for S&R": "PrimitiveInt" + }, + "widgets_values": [ + 0, + "fixed" + ], + "widgets_values_named": { + "value": 0, + "fixed": "fixed" + } + }, + { + "id": 1290, + "type": "Reroute", + "pos": [ + 566.0205992509366, + -23.395744638050086 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3141 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 3139, + 3140 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + } + ], + "groups": [], + "links": [ + { + "id": 4, + "origin_id": -10, + "origin_slot": 0, + "target_id": 1, + "target_slot": 0, + "type": "VIDEO" + }, + { + "id": 5, + "origin_id": 3, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 283, + "origin_id": -10, + "origin_slot": 1, + "target_id": 100, + "target_slot": 0, + "type": "INT" + }, + { + "id": 284, + "origin_id": 100, + "origin_slot": 0, + "target_id": 99, + "target_slot": 0, + "type": "INT" + }, + { + "id": 285, + "origin_id": 2, + "origin_slot": 2, + "target_id": 99, + "target_slot": 1, + "type": "INT" + }, + { + "id": 286, + "origin_id": 99, + "origin_slot": 1, + "target_id": 3, + "target_slot": 1, + "type": "INT" + }, + { + "id": 3139, + "origin_id": 1290, + "origin_slot": 0, + "target_id": 3, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 3140, + "origin_id": 1290, + "origin_slot": 0, + "target_id": 2, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 3141, + "origin_id": -10, + "origin_slot": 2, + "target_id": 1290, + "target_slot": 0, + "type": "*" + } + ], + "extra": { + "ds": { + "scale": 1.197015527856339, + "offset": [ + -168.76833554248222, + 540.6638955283997 + ] + }, + "frontendVersion": "1.42.8" + } + } + ] + }, + "config": {}, + "extra": { + "ds": { + "scale": 0.289493054067908, + "offset": [ + 2037.1233966388465, + -2528.293414761942 + ] + }, + "frontendVersion": "1.49.6", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/Face-&-Body Swap/Workflow-2/character-sheet-1.png b/Face-&-Body Swap/Workflow-2/character-sheet-1.png new file mode 100644 index 0000000000000000000000000000000000000000..8bef84b3b27066bf6fb3fa4583effbc7c3b4b005 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/character-sheet-1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc077f571566e64d4ea665e83194e93eb59b5d1f6f968e9b8ac7c2f074429795 +size 1697928 diff --git a/Face-&-Body Swap/Workflow-2/ltx-girl-crop.png b/Face-&-Body Swap/Workflow-2/ltx-girl-crop.png new file mode 100644 index 0000000000000000000000000000000000000000..2fe84cacdead3422893689ee162e37670f136b47 --- /dev/null +++ b/Face-&-Body Swap/Workflow-2/ltx-girl-crop.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc11ab2a36ea958b93e17e7ea4c346b5f4eed6f025aa1592b1c38348ec12533e +size 1090822 diff --git a/H3-Character-Sheet/SHEET_00009_.json b/H3-Character-Sheet/SHEET_00009_.json new file mode 100644 index 0000000000000000000000000000000000000000..8be7c24a0aa5ddd05d7b5ac60df6eb00c0386fdb --- /dev/null +++ b/H3-Character-Sheet/SHEET_00009_.json @@ -0,0 +1,2622 @@ +{ + "id": "59362914-daa8-4847-abed-3ba76fa3c974", + "revision": 0, + "last_node_id": 5967, + "last_link_id": 20543, + "nodes": [ + { + "id": 119, + "type": "VAELoader", + "pos": [ + -1490, + 5270 + ], + "size": [ + 640, + 70 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 251, + 273 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "minimax_h3_video_vae_int8_convrot.safetensors", + "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/minimax_h3_video_vae_int8_convrot.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "minimax_h3_video_vae_int8_convrot.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_video_vae_int8_convrot.safetensors" + } + }, + { + "id": 120, + "type": "VAELoader", + "pos": [ + -1490, + 5400 + ], + "size": [ + 650, + 70 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 274 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.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_audio_vae_fp32.safetensors" + ], + "widgets_values_named": { + "vae_name": "minimax_h3_audio_vae_fp32.safetensors" + } + }, + { + "id": 122, + "type": "VAEDecode", + "pos": [ + 472.84116502755074, + 5736.509904896451 + ], + "size": [ + 230, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 20543 + }, + { + "name": "vae", + "type": "VAE", + "link": 251 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 20539, + 20540 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 125, + "type": "SamplerCustomAdvanced", + "pos": [ + 150, + 5110 + ], + "size": [ + 230, + 140 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 253 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 254 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 255 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 256 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 271 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 20543 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "SamplerCustomAdvanced" + } + }, + { + "id": 126, + "type": "BasicGuider", + "pos": [ + -260, + 5080 + ], + "size": [ + 360, + 60 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 20421 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 270 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 254 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "BasicGuider" + } + }, + { + "id": 128, + "type": "CLIPLoader", + "pos": [ + -1490, + 5090 + ], + "size": [ + 640, + 120 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 272 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "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_nvfp4_awq.safetensors", + "minimax", + "default" + ], + "widgets_values_named": { + "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "type": "minimax", + "device": "default" + } + }, + { + "id": 129, + "type": "RandomNoise", + "pos": [ + -260, + 4940 + ], + "size": [ + 360, + 90 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 253 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "RandomNoise" + }, + "widgets_values": [ + 352027182638554, + "randomize" + ], + "widgets_values_named": { + "noise_seed": 352027182638554, + "control_after_generate": "randomize" + } + }, + { + "id": 136, + "type": "MiniMaxH3ReferenceToVideo", + "pos": [ + -750, + 4940 + ], + "size": [ + 410, + 384 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 272 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 273 + }, + { + "name": "audio_vae", + "shape": 7, + "type": "VAE", + "link": 274 + }, + { + "label": "ref_image_0", + "name": "ref_images.ref_image_0", + "shape": 7, + "type": "IMAGE", + "link": 20537 + }, + { + "name": "ref_images.ref_image_1", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_0", + "name": "ref_videos.ref_video_0", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "ref_video_audio_0", + "name": "ref_video_audios.ref_video_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "ref_audio_0", + "name": "ref_audios.ref_audio_0", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "ref_audios.ref_audio_1", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "ref_audios.ref_audio_2", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "prompt", + "type": "STRING", + "widget": { + "name": "prompt" + }, + "link": 354 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 347 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 348 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 270 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 271 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "MiniMaxH3ReferenceToVideo" + }, + "widgets_values": [ + "", + 768, + 1344, + 124, + "match" + ], + "widgets_values_named": { + "prompt": "", + "width": 768, + "height": 1344, + "length": 124, + "ref_image_size": "match" + } + }, + { + "id": 123, + "type": "KSamplerSelect", + "pos": [ + -260, + 5190 + ], + "size": [ + 370, + 70 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 255 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "euler" + ], + "widgets_values_named": { + "sampler_name": "euler" + } + }, + { + "id": 218, + "type": "SaveImage", + "pos": [ + 1310, + 4650 + ], + "size": [ + 500, + 490 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 356 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "title": "SAVE CHARACTER SHEET", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "charsheet/SHEET" + ], + "widgets_values_named": { + "filename_prefix": "charsheet/SHEET" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 238, + "type": "80545511-8d5f-4d2a-826f-06b914ccf423", + "pos": [ + 1310, + 4540 + ], + "size": [ + 230, + 60 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 20539 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 356 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "previewExposures": [] + } + }, + { + "id": 92, + "type": "SaveVideo", + "pos": [ + 1400.8605534474316, + 5418.669137932915 + ], + "size": [ + 280, + 602 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 260 + } + ], + "outputs": [ + { + "name": "video", + "type": "VIDEO", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "charsheet/SHEET", + "auto", + "auto", + "auto" + ], + "widgets_values_named": { + "filename_prefix": "charsheet/SHEET", + "format": "auto", + "format.codec": "auto", + "codec": "auto" + } + }, + { + "id": 962, + "type": "Note", + "pos": [ + 150, + 5350 + ], + "size": [ + 350, + 230 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "<<<<< STEPS", + "properties": {}, + "widgets_values": [ + "<<<<<<<<<< NOTE: \n\nIF YOU ARE using the latest speed ups from 26 Aug.\n\n8 Steps - Latest Scheduler with Turbo LORA\n\n20-25 Steps - WITHOUT any speed ups \n" + ], + "widgets_values_named": { + "text": "<<<<<<<<<< NOTE: \n\nIF YOU ARE using the latest speed ups from 26 Aug.\n\n8 Steps - Latest Scheduler with Turbo LORA\n\n20-25 Steps - WITHOUT any speed ups \n" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 115, + "type": "ResolutionSelector", + "pos": [ + -1440, + 5620 + ], + "size": [ + 290, + 170 + ], + "flags": {}, + "order": 6, + "mode": 0, + "showAdvanced": false, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 347 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 348 + ] + } + ], + "title": "IMAGE SIZE (pick ratio + megapixels)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "ResolutionSelector" + }, + "widgets_values": [ + "1:1 (Square)", + 0.3, + 32 + ], + "widgets_values_named": { + "aspect_ratio": "1:1 (Square)", + "megapixels": 0.3, + "multiple": 32 + }, + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 124, + "type": "BasicScheduler", + "pos": [ + -260, + 5310 + ], + "size": [ + 370, + 130 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 20422 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 256 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "BasicScheduler" + }, + "widgets_values": [ + "beta", + 8, + 1 + ], + "widgets_values_named": { + "scheduler": "beta", + "steps": 8, + "denoise": 1 + } + }, + { + "id": 130, + "type": "CreateVideo", + "pos": [ + 962.9909873302079, + 5639.502784407603 + ], + "size": [ + 270, + 110 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 20540 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 260 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 24, + 8, + "sRGB", + "none" + ], + "widgets_values_named": { + "fps": 24, + "bit_depth": 8, + "color_space": "sRGB", + "codec": "none" + } + }, + { + "id": 127, + "type": "UNETLoader", + "pos": [ + -1490, + 4940 + ], + "size": [ + 640, + 90 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 20417 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.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_ref2va_pruned_w4a8_mixed.safetensors", + "default" + ], + "widgets_values_named": { + "unet_name": "minimax_h3_ref2va_pruned_w4a8_mixed.safetensors", + "weight_dtype": "default" + } + }, + { + "id": 137, + "type": "LoadImage", + "pos": [ + -715.566412810572, + 5635.458322215545 + ], + "size": [ + 290, + 330 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 20537 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "Qwen_image_2.1_00166.png", + "image" + ], + "widgets_values_named": { + "image": "Qwen_image_2.1_00166.png", + "upload": "image" + } + }, + { + "id": 239, + "type": "PrimitiveStringMultiline", + "pos": [ + -1987.2929937230788, + 5750.894988651714 + ], + "size": [ + 430, + 270 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 20403 + ] + } + ], + "title": "Prompt for orbiting - (Keep Picture 1's Style)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + "[STYLE]\nThe output is matches the style of . Sharp detail on eyes and face. The style never changes and never drifts between shots. No shadows.\n\n\n[STAGING]\nSolid light grey seamless backdrop, one flat uniform tone edge to edge, with no gradient, no vignette, no texture and no floor line. Nothing else is in frame. the subject casts no shadow onto the backdrop and no contact shadow on the ground beneath it, and it does not sit in its own shadow. Soft form shading on the subject itself is fine and should read its shape. Long telephoto lens, near-orthographic.\n\nThe character holds one relaxed A-pose throughout: arms hanging slightly away from the body, palms toward the thighs, feet shoulder-width apart, head level, calm neutral expression, eyes open and looking forward.\nThe subject is completely frozen, as rigid and motionless as a statue. Only the camera moves. There is no wind, no breeze, no air movement, no breathing, no settling, no sway, no secondary motion of any kind. Orientation, surfaces and lighting are identical in every shot, and the subject stays the same size in frame.\n\n[0-3 seconds] tight full shot of the subject. The camera makes one smooth fixed-speed orbit right around it, a full 360 degrees: starting square on the front, passing the left side a quarter of the way round, directly behind at halfway, the right side three quarters of the way round, and returning to the front. The subject does not move at all. Ends back on the front view at 3 seconds.\n\n[3-4 seconds] Camera snaps into a fast push-in on the character's face. Locked-off head and shoulders close-up, face square to camera, eyes into the lens. Ends on a sharp front-on face.\n\n[4-5 seconds] camera whip-pans and rotates to a orthogonal angle. Locked-off head and shoulders close-up, head turned to a three-quarter angle, eyes still forward. Ends on a clean three-quarter face.\n\n[CAMERA] One constant-speed orbit in beat 1, then locked off and static. The camera is the only thing in the scene that moves at any point. No zoom, no push in, no dolly, no tilt, no roll, no handheld shake, no motion blur, no dissolves.\n[AUDIO] Silence. No music, no room tone, no voices.\n\n" + ], + "widgets_values_named": { + "value": "[STYLE]\nThe output is matches the style of . Sharp detail on eyes and face. The style never changes and never drifts between shots. No shadows.\n\n\n[STAGING]\nSolid light grey seamless backdrop, one flat uniform tone edge to edge, with no gradient, no vignette, no texture and no floor line. Nothing else is in frame. the subject casts no shadow onto the backdrop and no contact shadow on the ground beneath it, and it does not sit in its own shadow. Soft form shading on the subject itself is fine and should read its shape. Long telephoto lens, near-orthographic.\n\nThe character holds one relaxed A-pose throughout: arms hanging slightly away from the body, palms toward the thighs, feet shoulder-width apart, head level, calm neutral expression, eyes open and looking forward.\nThe subject is completely frozen, as rigid and motionless as a statue. Only the camera moves. There is no wind, no breeze, no air movement, no breathing, no settling, no sway, no secondary motion of any kind. Orientation, surfaces and lighting are identical in every shot, and the subject stays the same size in frame.\n\n[0-3 seconds] tight full shot of the subject. The camera makes one smooth fixed-speed orbit right around it, a full 360 degrees: starting square on the front, passing the left side a quarter of the way round, directly behind at halfway, the right side three quarters of the way round, and returning to the front. The subject does not move at all. Ends back on the front view at 3 seconds.\n\n[3-4 seconds] Camera snaps into a fast push-in on the character's face. Locked-off head and shoulders close-up, face square to camera, eyes into the lens. Ends on a sharp front-on face.\n\n[4-5 seconds] camera whip-pans and rotates to a orthogonal angle. Locked-off head and shoulders close-up, head turned to a three-quarter angle, eyes still forward. Ends on a clean three-quarter face.\n\n[CAMERA] One constant-speed orbit in beat 1, then locked off and static. The camera is the only thing in the scene that moves at any point. No zoom, no push in, no dolly, no tilt, no roll, no handheld shake, no motion blur, no dissolves.\n[AUDIO] Silence. No music, no room tone, no voices.\n\n" + } + }, + { + "id": 236, + "type": "StringConcatenate", + "pos": [ + -1042.567487285348, + 5854.503826363924 + ], + "size": [ + 230, + 240 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "string_a", + "type": "STRING", + "widget": { + "name": "string_a" + }, + "link": 353 + }, + { + "name": "string_b", + "type": "STRING", + "widget": { + "name": "string_b" + }, + "link": 20403 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 354 + ] + } + ], + "title": "Combine Strings", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "StringConcatenate" + }, + "widgets_values": [ + "", + "", + "" + ], + "widgets_values_named": { + "string_a": "", + "string_b": "", + "delimiter": "" + } + }, + { + "id": 252, + "type": "PrimitiveStringMultiline", + "pos": [ + -2004.0293919794303, + 6115.413255040993 + ], + "size": [ + 430, + 300 + ], + "flags": {}, + "order": 10, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [] + } + ], + "title": "Prompt for orbiting - (Anime to Real)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + "Completely discard the anime face, large stylized eyes, line art, flat cel-shaded colors from the references. Generate a brand-new photorealistic human face and completely natural hair and skin.\n\n[STYLE]\nFully photorealistic live-action, unretouched studio photograph. Completely natural bare face and body — zero makeup of any kind. Natural lip color, natural eyelashes and eyebrows only. Skin shows real texture. Mild natural film grain. Style never drifts. \n\n\n[STAGING]\nSolid light grey seamless backdrop, one flat uniform tone edge to edge, with no gradient, no vignette, no texture and no floor line. Nothing else is in frame. the subject casts no shadow onto the backdrop and no contact shadow on the ground beneath it, and it does not sit in its own shadow. Soft form shading on the subject itself is fine and should read its shape. Long telephoto lens, near-orthographic.\n\nThe character holds one relaxed A-pose throughout: arms hanging slightly away from the body, palms toward the thighs, feet shoulder-width apart, head level, calm neutral expression, eyes open and looking forward.\nThe subject is completely frozen, as rigid and motionless as a statue. Only the camera moves. There is no wind, no breeze, no air movement, no breathing, no settling, no sway, no secondary motion of any kind. Orientation, surfaces and lighting are identical in every shot, and the subject stays the same size in frame.\n\n[0-3 seconds] tight full shot of the subject. The camera makes one smooth fixed-speed orbit right around it, a full 360 degrees: starting square on the front, passing the left side a quarter of the way round, directly behind at halfway, the right side three quarters of the way round, and returning to the front. The subject does not move at all. Ends back on the front view at 3 seconds.\n\n[3-4 seconds] Camera snaps into a fast push-in on the character's face. Locked-off head and shoulders close-up, face square to camera, eyes into the lens. Ends on a sharp front-on face.\n\n[4-5 seconds] camera whip-pans and rotates to a orthogonal angle. Locked-off head and shoulders close-up, head turned to a three-quarter angle, eyes still forward. Ends on a clean three-quarter face.\n\n[CAMERA] One constant-speed orbit in beat 1, then locked off and static. The camera is the only thing in the scene that moves at any point. No zoom, no push in, no dolly, no tilt, no roll, no handheld shake, no motion blur, no dissolves.\n[AUDIO] Silence. No music, no room tone, no voices.\n\n" + ], + "widgets_values_named": { + "value": "Completely discard the anime face, large stylized eyes, line art, flat cel-shaded colors from the references. Generate a brand-new photorealistic human face and completely natural hair and skin.\n\n[STYLE]\nFully photorealistic live-action, unretouched studio photograph. Completely natural bare face and body — zero makeup of any kind. Natural lip color, natural eyelashes and eyebrows only. Skin shows real texture. Mild natural film grain. Style never drifts. \n\n\n[STAGING]\nSolid light grey seamless backdrop, one flat uniform tone edge to edge, with no gradient, no vignette, no texture and no floor line. Nothing else is in frame. the subject casts no shadow onto the backdrop and no contact shadow on the ground beneath it, and it does not sit in its own shadow. Soft form shading on the subject itself is fine and should read its shape. Long telephoto lens, near-orthographic.\n\nThe character holds one relaxed A-pose throughout: arms hanging slightly away from the body, palms toward the thighs, feet shoulder-width apart, head level, calm neutral expression, eyes open and looking forward.\nThe subject is completely frozen, as rigid and motionless as a statue. Only the camera moves. There is no wind, no breeze, no air movement, no breathing, no settling, no sway, no secondary motion of any kind. Orientation, surfaces and lighting are identical in every shot, and the subject stays the same size in frame.\n\n[0-3 seconds] tight full shot of the subject. The camera makes one smooth fixed-speed orbit right around it, a full 360 degrees: starting square on the front, passing the left side a quarter of the way round, directly behind at halfway, the right side three quarters of the way round, and returning to the front. The subject does not move at all. Ends back on the front view at 3 seconds.\n\n[3-4 seconds] Camera snaps into a fast push-in on the character's face. Locked-off head and shoulders close-up, face square to camera, eyes into the lens. Ends on a sharp front-on face.\n\n[4-5 seconds] camera whip-pans and rotates to a orthogonal angle. Locked-off head and shoulders close-up, head turned to a three-quarter angle, eyes still forward. Ends on a clean three-quarter face.\n\n[CAMERA] One constant-speed orbit in beat 1, then locked off and static. The camera is the only thing in the scene that moves at any point. No zoom, no push in, no dolly, no tilt, no roll, no handheld shake, no motion blur, no dissolves.\n[AUDIO] Silence. No music, no room tone, no voices.\n\n" + } + }, + { + "id": 138, + "type": "PrimitiveStringMultiline", + "pos": [ + -1450, + 5850 + ], + "size": [ + 377.3151927339504, + 411.2790381744421 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 353 + ] + } + ], + "title": "Input Text (Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.39.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + " is the character shown in