ComfyPilotComfyPilot
工作流 / 视频 / Kling O1:视频编辑
Kling O1:视频编辑

Kling O1:视频编辑

Kling O1: Video Edit

支持自然语言指令编辑视频,新增视频参考模式,可快速完成风格转换、元素添加、背景修改等多种高质量视频创作任务。

视频 7 个节点 2 个输入 62 次使用 ComfyUI ≥ 0.14.0 ComfyUI 6 KB

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

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

节点构成

SaveVideo × 1
Note × 1
LoadVideo × 1
LoadImage × 1
KlingOmniProEditVideoNode × 1
Video Slice × 1
BatchImagesNode × 1

官方标注的模型

Kling

工作流 JSON

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

1{
2 "id": "c93669fa-4940-4195-9073-77db06af3d0c",
3 "revision": 0,
4 "last_node_id": 26,
5 "last_link_id": 29,
6 "nodes": [
7 {
8 "id": 3,
9 "type": "SaveVideo",
10 "pos": [
11 1800,
12 1040
13 ],
14 "size": [
15 700,
16 490
17 ],
18 "flags": [],
19 "order": 6,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "video",
24 "type": "VIDEO",
25 "link": 3
26 }
27 ],
28 "outputs": [
29 {
30 "name": "video",
31 "type": "VIDEO",
32 "links": null
33 }
34 ],
35 "properties": {
36 "Node name for S&R": "SaveVideo",
37 "cnr_id": "comfy-core",
38 "ver": "0.3.29",
39 "ue_properties": {
40 "widget_ue_connectable": [],
41 "version": "7.1",
42 "input_ue_unconnectable": []
43 }
44 },
45 "widgets_values": [
46 "video/Kling",
47 "auto",
48 "h264"
49 ]
50 },
51 {
52 "id": 17,
53 "type": "Note",
54 "pos": [
55 630,
56 1910
57 ],
58 "size": [
59 410,
60 190
61 ],
62 "flags": [],
63 "order": 0,
64 "mode": 0,
65 "inputs": [],
66 "outputs": [],
67 "title": "Reference Image Limit",
68 "properties": [],
69 "widgets_values": [
70 "You can use up to 7 reference images if you only use image input.\n\nWhen you provide video input, you can only use up to 4 reference images."
71 ],
72 "color": "#222",
73 "bgcolor": "#000"
74 },
75 {
76 "id": 23,
77 "type": "LoadVideo",
78 "pos": [
79 630,
80 1040
81 ],
82 "size": [
83 380,
84 347.625
85 ],
86 "flags": [],
87 "order": 1,
88 "mode": 0,
89 "inputs": [],
90 "outputs": [
91 {
92 "name": "VIDEO",
93 "type": "VIDEO",
94 "links": [
95 25
96 ]
97 }
98 ],
99 "properties": {
100 "Node name for S&R": "LoadVideo"
101 },
102 "widgets_values": [
103 "api_kling_omni_edit_video_input_video.mp4",
104 "image"
105 ]
106 },
107 {
108 "id": 24,
109 "type": "LoadImage",
110 "pos": [
111 630,
112 1470
113 ],
114 "size": [
115 380,
116 364
117 ],
118 "flags": [],
119 "order": 2,
120 "mode": 0,
121 "inputs": [],
122 "outputs": [
123 {
124 "name": "IMAGE",
125 "type": "IMAGE",
126 "links": [
127 28
128 ]
129 },
130 {
131 "name": "MASK",
132 "type": "MASK",
133 "links": null
134 }
135 ],
136 "properties": {
137 "Node name for S&R": "LoadImage",
138 "cnr_id": "comfy-core",
139 "ver": "0.3.29",
140 "ue_properties": {
141 "widget_ue_connectable": [],
142 "version": "7.1",
143 "input_ue_unconnectable": []
144 }
145 },
146 "widgets_values": [
147 "api_kling_omni_edit_video_input_image.png",
148 "image"
149 ]
150 },
151 {
152 "id": 8,
153 "type": "KlingOmniProEditVideoNode",
154 "pos": [
155 1360,
156 1040
157 ],
158 "size": [
159 400,
160 380
161 ],
162 "flags": [],
163 "order": 5,
164 "mode": 0,
165 "inputs": [
166 {
167 "name": "video",
168 "type": "VIDEO",
169 "link": 26
170 },
171 {
172 "name": "reference_images",
173 "shape": 7,
174 "type": "IMAGE",
175 "link": 29
176 }
177 ],
178 "outputs": [
179 {
180 "name": "VIDEO",
181 "type": "VIDEO",
182 "links": [
183 3
184 ]
185 }
186 ],
187 "properties": {
188 "Node name for S&R": "KlingOmniProEditVideoNode"
189 },
190 "widgets_values": [
191 "kling-video-o1",
192 "Change the human skateboarder in [@Video] to the anthropomorphic dog (wearing a brown jacket and straw hat) from [@Image], and keep the dog’s movements consistent with the original skateboarder’s actions (pushing off, balancing on the skateboard) in the skatepark scene. Preserve the original video’s lighting and background details.",
193 true,
194 "1080p",
195 612342493,
196 "randomize"
197 ],
198 "color": "#432",
199 "bgcolor": "#653"
200 },
201 {
202 "id": 25,
203 "type": "Video Slice",
204 "pos": [
205 1050,
206 1040
207 ],
208 "size": [
209 270,
210 164
211 ],
212 "flags": [],
213 "order": 3,
214 "mode": 0,
215 "inputs": [
216 {
217 "name": "video",
218 "type": "VIDEO",
219 "link": 25
220 }
221 ],
222 "outputs": [
223 {
224 "name": "VIDEO",
225 "type": "VIDEO",
226 "links": [
227 26
228 ]
229 }
230 ],
231 "properties": {
232 "Node name for S&R": "Video Slice"
233 },
234 "widgets_values": [
235 0,
236 0,
237 false
238 ]
239 },
240 {
241 "id": 26,
242 "type": "BatchImagesNode",
243 "pos": [
244 1080,
245 1280
246 ],
247 "size": [
248 225,
249 96
250 ],
251 "flags": [],
252 "order": 4,
253 "mode": 0,
254 "inputs": [
255 {
256 "label": "image0",
257 "name": "images.image0",
258 "type": "IMAGE",
259 "link": 28
260 },
261 {
262 "label": "image1",
263 "name": "images.image1",
264 "shape": 7,
265 "type": "IMAGE",
266 "link": null
267 }
268 ],
269 "outputs": [
270 {
271 "name": "IMAGE",
272 "type": "IMAGE",
273 "links": [
274 29
275 ]
276 }
277 ],
278 "properties": {
279 "Node name for S&R": "BatchImagesNode"
280 },
281 "widgets_values": []
282 }
283 ],
284 "links": [
285 [
286 3,
287 8,
288 0,
289 3,
290 0,
291 "VIDEO"
292 ],
293 [
294 25,
295 23,
296 0,
297 25,
298 0,
299 "VIDEO"
300 ],
301 [
302 26,
303 25,
304 0,
305 8,
306 0,
307 "VIDEO"
308 ],
309 [
310 28,
311 24,
312 0,
313 26,
314 0,
315 "IMAGE"
316 ],
317 [
318 29,
319 26,
320 0,
321 8,
322 1,
323 "IMAGE"
324 ]
325 ],
326 "groups": [],
327 "config": [],
328 "extra": {
329 "ds": {
330 "scale": 0.5435471250000007,
331 "offset": [
332 -10.921895021794882,
333 -655.5762847173004
334 ]
335 },
336 "frontendVersion": "1.45.15",
337 "workflowRendererVersion": "LG",
338 "ue_links": [],
339 "links_added_by_ue": [],
340 "VHS_latentpreview": false,
341 "VHS_latentpreviewrate": 0,
342 "VHS_MetadataImage": true,
343 "VHS_KeepIntermediate": true
344 },
345 "version": 0.4
346}