工作流 /
视频工具 /
VEED Remove Video Background:透明遮罩导出

VEED Remove Video Background:透明遮罩导出
VEED Remove Video Background: Matte Export
用 VEED Remove Video Background 把主体从视频里抠出来:节点对每一帧做前景分割,返回帧序列与 alpha 遮罩,再经 Join Image with Alpha 合成为带透明通道的 PNG 序列,可直接用于合成。可选 standard、fast 或绿幕抠像,单段视频最长 60 秒。
视频工具
5 个节点 1 个输入 26 次使用 ComfyUI ≥ 0.43.0 ComfyUI 6 KB
节点构成
VeedRemoveVideoBackgroundNode
× 1
LoadVideo
× 1
JoinImageWithAlpha
× 1
SaveImageAdvanced
× 1
MarkdownNote
× 1
官方标注的模型
VEED
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "91424937-e700-4041-902e-f4dc95d06c7a",
3 "revision": 0,
4 "last_node_id": 13,
5 "last_link_id": 14,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "VeedRemoveVideoBackgroundNode",
10 "pos": [
11 2310.798828125,
12 750
13 ],
14 "size": [
15 319.1216796875,
16 126
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "model.video",
24 "type": "VIDEO",
25 "link": 1
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": [
33 4
34 ]
35 },
36 {
37 "name": "mask",
38 "type": "MASK",
39 "links": [
40 5
41 ]
42 }
43 ],
44 "properties": {
45 "Node name for S&R": "VeedRemoveVideoBackgroundNode"
46 },
47 "widgets_values": [
48 "standard",
49 true,
50 true
51 ],
52 "widgets_values_named": {
53 "model": "standard",
54 "model.refine_foreground_edges": true,
55 "model.subject_is_person": true
56 },
57 "color": "#432",
58 "bgcolor": "#653"
59 },
60 {
61 "id": 3,
62 "type": "LoadVideo",
63 "pos": [
64 1770,
65 750
66 ],
67 "size": [
68 460,
69 660
70 ],
71 "flags": [],
72 "order": 0,
73 "mode": 0,
74 "inputs": [],
75 "outputs": [
76 {
77 "name": "VIDEO",
78 "type": "VIDEO",
79 "links": [
80 1
81 ]
82 }
83 ],
84 "properties": {
85 "Node name for S&R": "LoadVideo"
86 },
87 "widgets_values": [
88 "swimcap_glass_pop_video.mp4",
89 "image"
90 ],
91 "widgets_values_named": {
92 "file": "swimcap_glass_pop_video.mp4",
93 "upload": "image"
94 }
95 },
96 {
97 "id": 7,
98 "type": "JoinImageWithAlpha",
99 "pos": [
100 2677.9205078125,
101 750
102 ],
103 "size": [
104 185.8609375,
105 46
106 ],
107 "flags": [],
108 "order": 3,
109 "mode": 0,
110 "inputs": [
111 {
112 "name": "image",
113 "type": "IMAGE",
114 "link": 4
115 },
116 {
117 "name": "alpha",
118 "type": "MASK",
119 "link": 5
120 }
121 ],
122 "outputs": [
123 {
124 "name": "IMAGE",
125 "type": "IMAGE",
126 "links": [
127 6
128 ]
129 }
130 ],
131 "properties": {
132 "Node name for S&R": "JoinImageWithAlpha"
133 }
134 },
135 {
136 "id": 8,
137 "type": "SaveImageAdvanced",
138 "pos": [
139 2950,
140 750
141 ],
142 "size": [
143 440,
144 700
145 ],
146 "flags": [],
147 "order": 4,
148 "mode": 0,
149 "showAdvanced": true,
150 "inputs": [
151 {
152 "name": "images",
153 "type": "IMAGE",
154 "link": 6
155 }
156 ],
157 "outputs": [
158 {
159 "name": "images",
160 "type": "IMAGE",
161 "links": null
162 }
163 ],
164 "properties": [],
165 "widgets_values": [
166 "VEED_RemoveBG",
167 "png",
168 "8-bit",
169 "sRGB"
170 ],
171 "widgets_values_named": {
172 "filename_prefix": "VEED_RemoveBG",
173 "format": "png",
174 "format.bit_depth": "8-bit",
175 "format.input_color_space": "sRGB"
176 }
177 },
178 {
179 "id": 13,
180 "type": "MarkdownNote",
181 "pos": [
182 1180,
183 730
184 ],
185 "size": [
186 520,
187 620
188 ],
189 "flags": [],
190 "order": 1,
191 "mode": 0,
192 "inputs": [],
193 "outputs": [],
194 "properties": [],
195 "widgets_values": [
196 "## VEED Remove Video Background: Matte Export — Workflow Guide\n\n## Input Asset\n- [swimcap_glass_pop_video.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/swimcap_glass_pop_video.mp4)\n\n## How to Use\n1. Load a clip up to 60 seconds.\n2. Pick the mode: standard, fast (up to 1080p) or green screen.\n3. Run; Join Image with Alpha adds the mask as alpha for the PNG save.\n\n## Limits\n- Clips up to 60 seconds per run.\n- No resolution setting: 3840x2160 (standard, green screen), 1920x1080 (fast).\n- MP4 or WebM flattens the matte; save via Join Image with Alpha.\n- green screen uses spill_suppression_strength, not refine_foreground_edges or subject_is_person.\n"
197 ],
198 "widgets_values_named": {
199 "text": "## VEED Remove Video Background: Matte Export — Workflow Guide\n\n## Input Asset\n- [swimcap_glass_pop_video.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/swimcap_glass_pop_video.mp4)\n\n## How to Use\n1. Load a clip up to 60 seconds.\n2. Pick the mode: standard, fast (up to 1080p) or green screen.\n3. Run; Join Image with Alpha adds the mask as alpha for the PNG save.\n\n## Limits\n- Clips up to 60 seconds per run.\n- No resolution setting: 3840x2160 (standard, green screen), 1920x1080 (fast).\n- MP4 or WebM flattens the matte; save via Join Image with Alpha.\n- green screen uses spill_suppression_strength, not refine_foreground_edges or subject_is_person.\n"
200 },
201 "color": "#222",
202 "bgcolor": "#000",
203 "title": "Note: Workflow Guide"
204 }
205 ],
206 "links": [
207 [
208 1,
209 3,
210 0,
211 1,
212 0,
213 "VIDEO"
214 ],
215 [
216 4,
217 1,
218 0,
219 7,
220 0,
221 "IMAGE"
222 ],
223 [
224 5,
225 1,
226 1,
227 7,
228 1,
229 "MASK"
230 ],
231 [
232 6,
233 7,
234 0,
235 8,
236 0,
237 "IMAGE"
238 ]
239 ],
240 "groups": [],
241 "config": [],
242 "extra": {
243 "ds": {
244 "scale": 0.573085533011682,
245 "offset": [
246 -1015.0449123470044,
247 78.25460360715736
248 ]
249 },
250 "frontendVersion": "1.58.0"
251 },
252 "version": 0.4
253}