ComfyPilotComfyPilot
工作流 / 视频 / Kling 4.0:图生视频
Kling 4.0:图生视频

Kling 4.0:图生视频

Kling 4.0: Image to Video

使用 Kling 4.0 将单张静态图像动画化为五秒片段,在一次生成中完成三次剪辑。来源图像锁定主体与风格,默认提示词驱动相机运动和节拍同步的剪辑,模型还会生成立体声音频。非常适合时尚、编辑和产品动态场景,输入画面即可定义整体外观。

视频 4 个节点 1 个输入 301 次使用 ComfyUI ≥ 0.43.0 ComfyUI 7 KB

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

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

节点构成

LoadImage × 1
Kling4ImageToVideoNode × 1
SaveVideo × 1
MarkdownNote × 1

官方标注的模型

Kling 4.0

工作流 JSON

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

1{
2 "id": "6843d9db-5d72-421e-bd78-8bd593178327",
3 "revision": 0,
4 "last_node_id": 4,
5 "last_link_id": 2,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "LoadImage",
10 "pos": [
11 96,
12 141
13 ],
14 "size": [
15 294.15574407237887,
16 191.5702159280243
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 1
28 ]
29 },
30 {
31 "name": "MASK",
32 "type": "MASK",
33 "links": null
34 }
35 ],
36 "properties": {
37 "Node name for S&R": "LoadImage"
38 },
39 "widgets_values": [
40 "kling4_editorial_portrait.png",
41 "image"
42 ],
43 "widgets_values_named": {
44 "image": "kling4_editorial_portrait.png",
45 "upload": "image"
46 }
47 },
48 {
49 "id": 2,
50 "type": "Kling4ImageToVideoNode",
51 "pos": [
52 446,
53 141
54 ],
55 "size": [
56 400,
57 272
58 ],
59 "flags": [],
60 "order": 2,
61 "mode": 0,
62 "inputs": [
63 {
64 "name": "model.first_frame",
65 "shape": 7,
66 "type": "IMAGE",
67 "link": 1
68 },
69 {
70 "name": "model.middle_frames.middle_frame_1",
71 "shape": 7,
72 "type": "IMAGE",
73 "link": null
74 },
75 {
76 "name": "model.last_frame",
77 "shape": 7,
78 "type": "IMAGE",
79 "link": null
80 }
81 ],
82 "outputs": [
83 {
84 "name": "VIDEO",
85 "type": "VIDEO",
86 "links": [
87 2
88 ]
89 }
90 ],
91 "properties": {
92 "Node name for S&R": "Kling4ImageToVideoNode"
93 },
94 "widgets_values": [
95 "kling-4.0",
96 "Three shots, hard cuts on the beat. 0-1.5s: extreme close-up, she pushes the white polygonal sunglasses down her nose with two fingers, the striped valance swinging behind her; fast snap zoom out. 1.5-3.2s: hard cut - medium shot, the camera whips right as she turns her head and reaches for the wine glass, her red sleeve sweeping across frame. 3.2-5s: hard cut - wide of the booth, she lifts the glass and drinks slowly, the camera pulls back fast then holds. Keep her face, the bob, the white sunglasses, the red shirt and the teal-and-cream striped wall exactly as they are. Each shot has its own camera move; never one slow pan. Sound: fabric swish, glass on linen, low restaurant murmur.",
97 "720p",
98 5,
99 42,
100 "randomize",
101 "fixed"
102 ],
103 "widgets_values_named": {
104 "model": "kling-4.0",
105 "model.prompt": "Three shots, hard cuts on the beat. 0-1.5s: extreme close-up, she pushes the white polygonal sunglasses down her nose with two fingers, the striped valance swinging behind her; fast snap zoom out. 1.5-3.2s: hard cut - medium shot, the camera whips right as she turns her head and reaches for the wine glass, her red sleeve sweeping across frame. 3.2-5s: hard cut - wide of the booth, she lifts the glass and drinks slowly, the camera pulls back fast then holds. Keep her face, the bob, the white sunglasses, the red shirt and the teal-and-cream striped wall exactly as they are. Each shot has its own camera move; never one slow pan. Sound: fabric swish, glass on linen, low restaurant murmur.",
106 "model.resolution": "720p",
107 "model.duration": 5,
108 "model.seed": 42,
109 "control_after_generate#1": "randomize",
110 "control_after_generate": "fixed"
111 },
112 "color": "#432",
113 "bgcolor": "#653"
114 },
115 {
116 "id": 3,
117 "type": "SaveVideo",
118 "pos": [
119 894,
120 141
121 ],
122 "size": [
123 443.9902602549779,
124 499.53116753892857
125 ],
126 "flags": [],
127 "order": 3,
128 "mode": 0,
129 "inputs": [
130 {
131 "name": "video",
132 "type": "VIDEO",
133 "link": 2
134 }
135 ],
136 "outputs": [
137 {
138 "name": "video",
139 "type": "VIDEO",
140 "links": null
141 }
142 ],
143 "properties": [],
144 "widgets_values": [
145 "video/kling4_i2v",
146 "mp4",
147 "auto",
148 "auto"
149 ],
150 "widgets_values_named": {
151 "filename_prefix": "video/kling4_i2v",
152 "format": "mp4",
153 "format.codec": "auto",
154 "codec": "auto"
155 }
156 },
157 {
158 "id": 4,
159 "type": "MarkdownNote",
160 "pos": [
161 -320.62857365278364,
162 138.56019005794593
163 ],
164 "size": [
165 380,
166 370
167 ],
168 "flags": [],
169 "order": 1,
170 "mode": 0,
171 "inputs": [],
172 "outputs": [],
173 "title": "Note: Input Asset",
174 "properties": [],
175 "widgets_values": [
176 "## Input Asset\n\n- [kling4_editorial_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/kling4_editorial_portrait.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
177 ],
178 "widgets_values_named": {
179 "text": "## Input Asset\n\n- [kling4_editorial_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/kling4_editorial_portrait.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
180 },
181 "color": "#222",
182 "bgcolor": "#000"
183 }
184 ],
185 "links": [
186 [
187 1,
188 1,
189 0,
190 2,
191 0,
192 "IMAGE"
193 ],
194 [
195 2,
196 2,
197 0,
198 3,
199 0,
200 "VIDEO"
201 ]
202 ],
203 "groups": [],
204 "config": [],
205 "extra": {
206 "ds": {
207 "scale": 0.46333208021846023,
208 "offset": [
209 1586.9059740153723,
210 521.1945042048397
211 ]
212 },
213 "frontendVersion": "1.57.1"
214 },
215 "version": 0.4
216}