ComfyPilotComfyPilot
工作流 / 视频 / Luma Ray 3.2:视频编辑
Luma Ray 3.2:视频编辑

Luma Ray 3.2:视频编辑

Luma Ray 3.2: Video Edit

使用自然语言命令通过Luma Ray 3.2编辑视频,处理一个输入视频并根据您的文本指令生成编辑后的输出。

视频 7 个节点 1 个输入 9 次使用 ComfyUI ≥ 0.26.0 ComfyUI 6 KB

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

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

节点构成

SaveVideo × 2
LumaRay32VideoEditNode × 1
LoadVideo × 1
LumaRay32ExtendVideoNode × 1
MarkdownNote × 1
PreviewAny × 1

官方标注的模型

Luma

工作流 JSON

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

1{
2 "id": "8933fb93-b5cb-4af4-8c75-2ee48a6b7dda",
3 "revision": 0,
4 "last_node_id": 8,
5 "last_link_id": 5,
6 "nodes": [
7 {
8 "id": 2,
9 "type": "LumaRay32VideoEditNode",
10 "pos": [
11 3022.3370274528534,
12 1877.7376236023465
13 ],
14 "size": [
15 355.375,
16 400.09375
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "video",
24 "type": "VIDEO",
25 "link": 1
26 }
27 ],
28 "outputs": [
29 {
30 "name": "VIDEO",
31 "type": "VIDEO",
32 "links": [
33 2
34 ]
35 },
36 {
37 "name": "generation_id",
38 "type": "STRING",
39 "links": [
40 4,
41 5
42 ]
43 }
44 ],
45 "properties": {
46 "Node name for S&R": "LumaRay32VideoEditNode"
47 },
48 "widgets_values": [
49 "Keep the man playing acoustic guitar exactly the same, replace subway background with golden hour quiet park with trees and grass, natural soft light, realistic photo, consistent color ",
50 "720p",
51 "auto",
52 654221588069259,
53 "randomize"
54 ],
55 "color": "#432",
56 "bgcolor": "#653"
57 },
58 {
59 "id": 3,
60 "type": "LoadVideo",
61 "pos": [
62 2621.971323092472,
63 1876.6915824705918
64 ],
65 "size": [
66 376.859375,
67 397.953125
68 ],
69 "flags": [],
70 "order": 0,
71 "mode": 0,
72 "inputs": [],
73 "outputs": [
74 {
75 "name": "VIDEO",
76 "type": "VIDEO",
77 "links": [
78 1
79 ]
80 }
81 ],
82 "properties": {
83 "Node name for S&R": "LoadVideo"
84 },
85 "widgets_values": [
86 "subway_guitar_busker.mp4",
87 "image"
88 ]
89 },
90 {
91 "id": 4,
92 "type": "SaveVideo",
93 "pos": [
94 3407.470499297123,
95 1876.181021674427
96 ],
97 "size": [
98 456.453125,
99 430.625
100 ],
101 "flags": [],
102 "order": 3,
103 "mode": 0,
104 "inputs": [
105 {
106 "name": "video",
107 "type": "VIDEO",
108 "link": 2
109 }
110 ],
111 "outputs": [
112 {
113 "name": "video",
114 "type": "VIDEO",
115 "links": null
116 }
117 ],
118 "properties": [],
119 "widgets_values": [
120 "video/Luma_Ray3.2",
121 "auto",
122 "auto"
123 ]
124 },
125 {
126 "id": 5,
127 "type": "LumaRay32ExtendVideoNode",
128 "pos": [
129 4316.361354119869,
130 1875.901052498927
131 ],
132 "size": [
133 400,
134 300
135 ],
136 "flags": [],
137 "order": 5,
138 "mode": 4,
139 "inputs": [
140 {
141 "name": "source_generation_id",
142 "type": "STRING",
143 "widget": {
144 "name": "source_generation_id"
145 },
146 "link": 5
147 }
148 ],
149 "outputs": [
150 {
151 "name": "VIDEO",
152 "type": "VIDEO",
153 "links": [
154 3
155 ]
156 },
157 {
158 "name": "generation_id",
159 "type": "STRING",
160 "links": null
161 }
162 ],
163 "properties": {
164 "Node name for S&R": "LumaRay32ExtendVideoNode"
165 },
166 "widgets_values": [
167 "",
168 "Forward (continue after)",
169 false,
170 "",
171 "720p",
172 341726516416871,
173 "randomize"
174 ],
175 "color": "#432",
176 "bgcolor": "#653"
177 },
178 {
179 "id": 6,
180 "type": "MarkdownNote",
181 "pos": [
182 4326.361354119869,
183 2295.9010524989308
184 ],
185 "size": [
186 400,
187 240
188 ],
189 "flags": [],
190 "order": 1,
191 "mode": 0,
192 "inputs": [],
193 "outputs": [],
194 "title": "Note: Extend Video",
195 "properties": [],
196 "widgets_values": [
197 "This section extends videos and needs a `generation_id` from the upstream Luma Ray 3.2 node.\n\n1. By default, `source_generation_id` is wired automatically. To extend from a previous run instead, disconnect that input and paste the `generation_id` shown in **Preview as Text (generation_id)**.\n2. Select this section and press **Ctrl+B** to enable it when you want to extend the video."
198 ],
199 "color": "#222",
200 "bgcolor": "#000"
201 },
202 {
203 "id": 7,
204 "type": "PreviewAny",
205 "pos": [
206 3903.306123557471,
207 1876.9917310286733
208 ],
209 "size": [
210 376.390625,
211 258.578125
212 ],
213 "flags": [],
214 "order": 4,
215 "mode": 0,
216 "inputs": [
217 {
218 "name": "source",
219 "type": "*",
220 "link": 4
221 }
222 ],
223 "outputs": [
224 {
225 "name": "STRING",
226 "type": "STRING",
227 "links": null
228 }
229 ],
230 "title": "Preview as Text (generation_id)",
231 "properties": {
232 "Node name for S&R": "PreviewAny"
233 },
234 "widgets_values": [
235 null,
236 null,
237 null
238 ]
239 },
240 {
241 "id": 8,
242 "type": "SaveVideo",
243 "pos": [
244 4746.361354119869,
245 1875.901052498927
246 ],
247 "size": [
248 450,
249 320
250 ],
251 "flags": [],
252 "order": 6,
253 "mode": 4,
254 "inputs": [
255 {
256 "name": "video",
257 "type": "VIDEO",
258 "link": 3
259 }
260 ],
261 "outputs": [
262 {
263 "name": "video",
264 "type": "VIDEO",
265 "links": null
266 }
267 ],
268 "properties": [],
269 "widgets_values": [
270 "video/Luma_Ray_3.2_T2V",
271 "auto",
272 "auto"
273 ]
274 }
275 ],
276 "links": [
277 [
278 1,
279 3,
280 0,
281 2,
282 0,
283 "VIDEO"
284 ],
285 [
286 2,
287 2,
288 0,
289 4,
290 0,
291 "VIDEO"
292 ],
293 [
294 3,
295 5,
296 0,
297 8,
298 0,
299 "VIDEO"
300 ],
301 [
302 4,
303 2,
304 1,
305 7,
306 0,
307 "STRING"
308 ],
309 [
310 5,
311 2,
312 1,
313 5,
314 0,
315 "STRING"
316 ]
317 ],
318 "groups": [
319 {
320 "id": 1,
321 "title": "Select and Ctrl-B to enable",
322 "bounding": [
323 4306.361354119864,
324 1805.901052498926,
325 1240,
326 750
327 ],
328 "color": "#3f789e",
329 "flags": []
330 }
331 ],
332 "config": [],
333 "extra": {
334 "ds": {
335 "scale": 0.8507847667152845,
336 "offset": [
337 -2220.957545449358,
338 -1470.105701557722
339 ]
340 },
341 "frontendVersion": "1.45.19"
342 },
343 "version": 0.4
344}