The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"1": {
"class_type": "LoadVideo",
"inputs": {
"file": "input_video.mp4"
},
"_meta": {
"title": "Source clip"
}
},
"2": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1",
0
]
},
"_meta": {}
},
"3": {
"class_type": "LoadBackgroundRemovalModel",
"inputs": {
"bg_removal_name": "birefnet.safetensors"
},
"_meta": {}
},
"4": {
"class_type": "RemoveBackground",
"inputs": {
"bg_removal_model": [
"3",
0
],
"image": [
"2",
0
]
},
"_meta": {
"title": "BiRefNet per frame"
}
},
"5": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"4",
0
]
},
"_meta": {
"title": "Invert (JoinImageWithAlpha stores 1-mask)"
}
},
"6": {
"class_type": "JoinImageWithAlpha",
"inputs": {
"image": [
"2",
0
],
"alpha": [
"5",
0
]
},
"_meta": {}
},
"7": {
"class_type": "SaveWEBM",
"inputs": {
"images": [
"6",
0
],
"filename_prefix": "fuobe/video-bg-remove-birefnet",
"codec": "vp9",
"fps": [
"2",
2
],
"crf": 24
},
"_meta": {
"title": "Save transparent WebM (VP9 alpha)"
}
},
"8": {
"class_type": "MaskToImage",
"inputs": {
"mask": [
"4",
0
]
},
"_meta": {}
},
"9": {
"class_type": "CreateVideo",
"inputs": {
"images": [
"8",
0
],
"fps": [
"2",
2
],
"bit_depth": "auto",
"color_space": "sRGB",
"codec": "none"
},
"_meta": {}
},
"10": {
"class_type": "SaveVideo",
"inputs": {
"video": [
"9",
0
],
"filename_prefix": "fuobe/video-bg-remove-birefnet",
"format": "auto",
"format.codec": "auto",
"codec": "auto"
},
"_meta": {
"title": "Save matte MP4"
}
}
}