ComfyPilotComfyPilot
工作流 / 视频工具 / 去背景: Bria Transparent
去背景: Bria Transparent

去背景: Bria Transparent

Remove Background: Bria Transparent

上传视频并生成透明背景的帧,输出图像和遮罩序列以及支持透明度通道的WebM视频。

视频工具 5 个节点 1 个输入 31 次使用 ComfyUI ≥ 0.24.1 ComfyUI 4 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

BriaTransparentVideoBackground × 1
LoadVideo × 1
JoinImageWithAlpha × 1
SaveWEBM × 1
GetVideoComponents × 1

官方标注的模型

BRIA

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "6874296f-e51d-46b4-9bf5-f70b6d81a9ce",
3 "revision": 0,
4 "last_node_id": 10,
5 "last_link_id": 9,
6 "nodes": [
7 {
8 "id": 4,
9 "type": "BriaTransparentVideoBackground",
10 "pos": [
11 -6250,
12 1350
13 ],
14 "size": [
15 402.15625,
16 192
17 ],
18 "flags": [],
19 "order": 1,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "video",
24 "type": "VIDEO",
25 "link": 1
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": [
33 2
34 ]
35 },
36 {
37 "name": "mask",
38 "type": "MASK",
39 "links": [
40 3
41 ]
42 }
43 ],
44 "properties": {
45 "Node name for S&R": "BriaTransparentVideoBackground"
46 },
47 "widgets_values": [
48 1887433883,
49 "fixed"
50 ],
51 "color": "#432",
52 "bgcolor": "#653"
53 },
54 {
55 "id": 5,
56 "type": "LoadVideo",
57 "pos": [
58 -7010,
59 1350
60 ],
61 "size": [
62 720,
63 550
64 ],
65 "flags": [],
66 "order": 0,
67 "mode": 0,
68 "inputs": [],
69 "outputs": [
70 {
71 "name": "VIDEO",
72 "type": "VIDEO",
73 "links": [
74 1,
75 5
76 ]
77 }
78 ],
79 "properties": {
80 "Node name for S&R": "LoadVideo"
81 },
82 "widgets_values": [
83 "ad_video_demo.mp4",
84 "image"
85 ]
86 },
87 {
88 "id": 6,
89 "type": "JoinImageWithAlpha",
90 "pos": [
91 -5750,
92 1350
93 ],
94 "size": [
95 225,
96 96
97 ],
98 "flags": [],
99 "order": 3,
100 "mode": 0,
101 "inputs": [
102 {
103 "name": "image",
104 "type": "IMAGE",
105 "link": 2
106 },
107 {
108 "name": "alpha",
109 "type": "MASK",
110 "link": 3
111 }
112 ],
113 "outputs": [
114 {
115 "name": "IMAGE",
116 "type": "IMAGE",
117 "links": [
118 4
119 ]
120 }
121 ],
122 "properties": {
123 "Node name for S&R": "JoinImageWithAlpha"
124 },
125 "widgets_values": []
126 },
127 {
128 "id": 7,
129 "type": "SaveWEBM",
130 "pos": [
131 -5470,
132 1350
133 ],
134 "size": [
135 680,
136 550
137 ],
138 "flags": [],
139 "order": 4,
140 "mode": 0,
141 "inputs": [
142 {
143 "name": "images",
144 "type": "IMAGE",
145 "link": 4
146 },
147 {
148 "name": "fps",
149 "type": "FLOAT",
150 "widget": {
151 "name": "fps"
152 },
153 "link": 6
154 }
155 ],
156 "outputs": [],
157 "properties": [],
158 "widgets_values": [
159 "ComfyUI",
160 "vp9",
161 24,
162 32
163 ]
164 },
165 {
166 "id": 8,
167 "type": "GetVideoComponents",
168 "pos": [
169 -5750,
170 1500
171 ],
172 "size": [
173 225,
174 120
175 ],
176 "flags": [],
177 "order": 2,
178 "mode": 0,
179 "inputs": [
180 {
181 "name": "video",
182 "type": "VIDEO",
183 "link": 5
184 }
185 ],
186 "outputs": [
187 {
188 "name": "images",
189 "type": "IMAGE",
190 "links": []
191 },
192 {
193 "name": "audio",
194 "type": "AUDIO",
195 "links": null
196 },
197 {
198 "name": "fps",
199 "type": "FLOAT",
200 "links": [
201 6
202 ]
203 }
204 ],
205 "properties": {
206 "Node name for S&R": "GetVideoComponents"
207 },
208 "widgets_values": []
209 }
210 ],
211 "links": [
212 [
213 1,
214 5,
215 0,
216 4,
217 0,
218 "VIDEO"
219 ],
220 [
221 2,
222 4,
223 0,
224 6,
225 0,
226 "IMAGE"
227 ],
228 [
229 3,
230 4,
231 1,
232 6,
233 1,
234 "MASK"
235 ],
236 [
237 4,
238 6,
239 0,
240 7,
241 0,
242 "IMAGE"
243 ],
244 [
245 5,
246 5,
247 0,
248 8,
249 0,
250 "VIDEO"
251 ],
252 [
253 6,
254 8,
255 2,
256 7,
257 1,
258 "FLOAT"
259 ]
260 ],
261 "groups": [],
262 "config": [],
263 "extra": {
264 "ds": {
265 "scale": 0.7016867887072733,
266 "offset": [
267 7147.320738062806,
268 -878.1896638635815
269 ]
270 },
271 "frontendVersion": "1.44.19"
272 },
273 "version": 0.4
274}