{"id":"dc8775d9-f969-4b79-b3e6-bd53bd08c4ac","extra":{"ds":{"scale":0.7513148009015777,"offset":[1082.9283883702974,389.2515143966058]},"frontendVersion":"1.21.7","VHS_MetadataImage":true,"VHS_latentpreview":false,"VHS_KeepIntermediate":true,"VHS_latentpreviewrate":0},"links":[[4,4,0,2,0,"IMAGE"],[6,4,0,5,0,"IMAGE"],[7,2,0,6,0,"IMAGE"],[8,2,1,7,0,"MASK"],[9,7,0,8,0,"IMAGE"],[10,9,0,4,0,"IMAGE"]],"nodes":[{"id":4,"pos":[-9,-142],"mode":0,"size":[315,82],"type":"ImageScaleBy","flags":{},"order":2,"inputs":[{"link":10,"name":"image","type":"IMAGE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[4,6],"slot_index":0}],"properties":{"Node name for S&R":"ImageScaleBy"},"widgets_values":["nearest-exact",0.75]},{"id":2,"pos":[346,-141],"mode":0,"size":[315,150],"type":"Robust Video Matting","flags":{},"order":3,"inputs":[{"link":4,"name":"video_frames","type":"IMAGE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[7],"slot_index":0},{"name":"MASK","type":"MASK","links":[8],"slot_index":1}],"properties":{"Node name for S&R":"Robust Video Matting"},"widgets_values":["resnet50",true,"green",4]},{"id":6,"pos":[559,62],"mode":0,"size":[210,454.875],"type":"VHS_VideoCombine","flags":{},"order":5,"title":"Foreground","inputs":[{"link":7,"name":"images","type":"IMAGE"},{"link":null,"name":"audio","type":"AUDIO","shape":7},{"link":null,"name":"meta_batch","type":"VHS_BatchManager","shape":7},{"link":null,"name":"vae","type":"VAE","shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"crf":19,"format":"video/h264-mp4","pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"videopreview":{"hidden":false,"params":{"type":"output","format":"video/h264-mp4","filename":"RVM_00002.mp4","fullpath":"/comfyui/output/RVM_00002.mp4","workflow":"RVM_00002.png","subfolder":"","frame_rate":15},"paused":false},"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"}},{"id":8,"pos":[778,63],"mode":0,"size":[210,454.875],"type":"VHS_VideoCombine","flags":{},"order":7,"title":"Mask","inputs":[{"link":9,"name":"images","type":"IMAGE"},{"link":null,"name":"audio","type":"AUDIO","shape":7},{"link":null,"name":"meta_batch","type":"VHS_BatchManager","shape":7},{"link":null,"name":"vae","type":"VAE","shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"crf":19,"format":"video/h264-mp4","pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"videopreview":{"hidden":false,"params":{"type":"output","format":"video/h264-mp4","filename":"RVM_00003.mp4","fullpath":"/comfyui/output/RVM_00003.mp4","workflow":"RVM_00003.png","subfolder":"","frame_rate":15},"paused":false},"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"}},{"id":5,"pos":[340,61],"mode":0,"size":[210,454.875],"type":"VHS_VideoCombine","flags":{},"order":4,"title":"Original","inputs":[{"link":6,"name":"images","type":"IMAGE"},{"link":null,"name":"audio","type":"AUDIO","shape":7},{"link":null,"name":"meta_batch","type":"VHS_BatchManager","shape":7},{"link":null,"name":"vae","type":"VAE","shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"crf":19,"format":"video/h264-mp4","pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"videopreview":{"hidden":false,"params":{"type":"output","format":"video/h264-mp4","filename":"RVM_00001.mp4","fullpath":"/comfyui/output/RVM_00001.mp4","workflow":"RVM_00001.png","subfolder":"","frame_rate":15},"paused":false},"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"}},{"id":7,"pos":[762.8470458984375,-126.83293914794922],"mode":0,"size":[210,26],"type":"MaskToImage","flags":{},"order":6,"inputs":[{"link":8,"name":"mask","type":"MASK"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"slot_index":0}],"properties":{"Node name for S&R":"MaskToImage"},"widgets_values":[]},{"id":9,"pos":[-465.9999084472656,12.934514045715332],"mode":0,"size":[400,456],"type":"ComfyUIDeployExternalVideo","flags":{},"order":0,"inputs":[{"link":null,"name":"meta_batch","type":"VHS_BatchManager","shape":7},{"link":null,"name":"vae","type":"VAE","shape":7}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[10]},{"name":"frame_count","type":"INT","links":null},{"name":"audio","type":"AUDIO","links":null},{"name":"video_info","type":"VHS_VIDEOINFO","links":null},{"name":"LATENT","type":"LATENT","links":null}],"properties":{"Node name for S&R":"ComfyUIDeployExternalVideo"},"widgets_values":["input_video",0,"Disabled",512,512,181,0,1,"5051385-hd_1920_1080_25fps.mp4","","","",""]},{"id":1,"pos":[-4,5],"mode":4,"size":[315,490],"type":"VHS_LoadVideo","flags":{},"order":1,"inputs":[{"link":null,"name":"meta_batch","type":"VHS_BatchManager","shape":7},{"link":null,"name":"vae","type":"VAE","shape":7}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[],"slot_index":0},{"name":"frame_count","type":"INT","links":null},{"name":"audio","type":"AUDIO","links":null},{"name":"video_info","type":"VHS_VIDEOINFO","links":null}],"properties":{"Node name for S&R":"VHS_LoadVideo"},"widgets_values":{"video":"5051385-hd_1920_1080_25fps.mp4","format":"AnimateDiff","force_rate":0,"custom_width":0,"videopreview":{"hidden":false,"params":{"type":"input","format":"video/mp4","filename":"5051385-hd_1920_1080_25fps.mp4","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":181,"select_every_nth":1,"skip_first_frames":0},"paused":false},"custom_height":0,"frame_load_cap":181,"select_every_nth":1,"skip_first_frames":0,"choose video to upload":"image"}}],"config":{},"groups":[],"version":0.4,"revision":0,"environment":{"gpu":"A10G","extra_args":null,"run_timeout":300,"machine_hash":"27b103ac36d398d57087243844ebaa81d1d731732bad196a4ab94039470b52f3","max_containers":1,"min_containers":0,"python_version":"3.11","comfyui_version":"483b3e62e00624fc52da8ad67e88f863abe975d2","disable_metadata":true,"prestart_command":null,"scaledown_window":60,"base_docker_image":null,"docker_command_steps":{"steps":[{"id":"5d5956d8-6","data":{"url":"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite","hash":"a7ce59e381934733bfae03b1be029756d6ce936d","meta":{"message":"Fix Use Everywhere compatibility","committer":{"date":"2025-04-26T20:27:20.000Z","name":"AustinMroz","email":"austinmroz@utexas.edu"},"commit_url":"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/commit/a7ce59e381934733bfae03b1be029756d6ce936d","latest_hash":"a7ce59e381934733bfae03b1be029756d6ce936d","stargazers_count":1057},"name":"ComfyUI-VideoHelperSuite","files":["https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"],"install_type":"git-clone"},"type":"custom-node"},{"id":"1b0a7785-c","data":{"url":"https://github.com/Fannovel16/ComfyUI-Video-Matting","hash":"dd5ff373c327ed9caa321bca54e4cab8104f3735","meta":{"message":"Merge pull request #2 from haohaocreates/publish\n\nAdd Github Action for Publishing to Comfy Registry","committer":{"date":"2024-06-20T16:14:38.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/Fannovel16/ComfyUI-Video-Matting/commit/dd5ff373c327ed9caa321bca54e4cab8104f3735","latest_hash":"dd5ff373c327ed9caa321bca54e4cab8104f3735","stargazers_count":208},"name":"ComfyUI-Video-Matting","files":["https://github.com/Fannovel16/ComfyUI-Video-Matting"],"install_type":"git-clone"},"type":"custom-node"},{"id":"c528ab6d-c","data":{"pip":[],"url":"https://github.com/BennyKok/comfyui-deploy","hash":"089bad55605392860e59476a4c2765bfc772750b","name":"ComfyUI Deploy","files":[],"install_type":"git-clone"},"type":"custom-node"}]},"extra_docker_commands":null,"install_custom_node_with_gpu":false},"last_link_id":10,"last_node_id":9,"workflow_api":{"2":{"_meta":{"title":"Robust Video Matting"},"inputs":{"fp16":true,"backbone":"resnet50","bg_color":"green","batch_size":4,"video_frames":["4",0]},"class_type":"Robust Video Matting"},"4":{"_meta":{"title":"Upscale Image By"},"inputs":{"image":["9",0],"scale_by":0.75,"upscale_method":"nearest-exact"},"class_type":"ImageScaleBy"},"5":{"_meta":{"title":"Original"},"inputs":{"crf":19,"format":"video/h264-mp4","images":["4",0],"pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"},"class_type":"VHS_VideoCombine"},"6":{"_meta":{"title":"Foreground"},"inputs":{"crf":19,"format":"video/h264-mp4","images":["2",0],"pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"},"class_type":"VHS_VideoCombine"},"7":{"_meta":{"title":"Convert Mask to Image"},"inputs":{"mask":["2",1]},"class_type":"MaskToImage"},"8":{"_meta":{"title":"Mask"},"inputs":{"crf":19,"format":"video/h264-mp4","images":["7",0],"pix_fmt":"yuv420p","pingpong":false,"frame_rate":15,"loop_count":0,"save_output":true,"save_metadata":true,"trim_to_audio":false,"filename_prefix":"RVM"},"class_type":"VHS_VideoCombine"},"9":{"_meta":{"title":"External Video (ComfyUI Deploy x VHS)"},"inputs":{"input_id":"input_video","force_rate":0,"force_size":"Disabled","description":"","custom_width":512,"display_name":"","custom_height":512,"default_video":"5051385-hd_1920_1080_25fps.mp4","frame_load_cap":181,"select_every_nth":1,"default_value_url":"","skip_first_frames":0},"class_type":"ComfyUIDeployExternalVideo"}}}