工作流 /
图像 /
Kling 4.0: 文生图

Kling 4.0: 文生图
Kling 4.0: Text to Image
使用 Kling 4.0 Image 从文本提示词生成单张图像或一组风格一致的系列图,支持最高 8K 与十种画幅比例,并可用 @Image1 等引用最多十张参考图。
图像
2 个节点 ComfyUI ≥ 0.13.0 ComfyUI 4 KB
节点构成
Kling4ImageNode
× 1
SaveImageAdvanced
× 1
官方标注的模型
KlingKling 4.0
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "d20513ea-a5b2-4618-83ca-941025175716",
3 "revision": 0,
4 "last_node_id": 2,
5 "last_link_id": 1,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "Kling4ImageNode",
10 "pos": [
11 -311.4011863425925,
12 81.48844401041666
13 ],
14 "size": [
15 418.05962592270856,
16 405.6429719403962
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "reference_images.image_1",
24 "shape": 7,
25 "type": "IMAGE",
26 "link": null
27 }
28 ],
29 "outputs": [
30 {
31 "name": "IMAGE",
32 "type": "IMAGE",
33 "links": [
34 1
35 ]
36 }
37 ],
38 "properties": {
39 "Node name for S&R": "Kling4ImageNode"
40 },
41 "widgets_values": [
42 "Lively street poster, square format, hot dry sunlight on a cracked city street. A crew of plush stuffed animals hangs out on a corner, each in their own moment: a panda with a skateboard, a fox carrying a boombox on one shoulder, a duckling dragged by a bunch of balloons, a fluffy sheep in the middle of a dance move, a rabbit watching and clapping. Soft long-pile plush fur, barefoot with plush paws, natural relaxed poses, some moving some still, dust and confetti in the air, hard black shadows, deep blue sky, low sun flare. The wordmark is big green bubble graffiti 'KLING' across the top with a black outline and white sticker border; directly under it '4.0' in the same face; below that a small red dry-brush 'IMAGE' tag on a white sticker; one tiny '2026' stamp in a corner. Printed poster feel: halftone dots, paper grain, torn tape at two corners.",
43 "2K",
44 "auto",
45 "disabled",
46 1882043726,
47 "randomize"
48 ],
49 "widgets_values_named": {
50 "prompt": "Lively street poster, square format, hot dry sunlight on a cracked city street. A crew of plush stuffed animals hangs out on a corner, each in their own moment: a panda with a skateboard, a fox carrying a boombox on one shoulder, a duckling dragged by a bunch of balloons, a fluffy sheep in the middle of a dance move, a rabbit watching and clapping. Soft long-pile plush fur, barefoot with plush paws, natural relaxed poses, some moving some still, dust and confetti in the air, hard black shadows, deep blue sky, low sun flare. The wordmark is big green bubble graffiti 'KLING' across the top with a black outline and white sticker border; directly under it '4.0' in the same face; below that a small red dry-brush 'IMAGE' tag on a white sticker; one tiny '2026' stamp in a corner. Printed poster feel: halftone dots, paper grain, torn tape at two corners.",
51 "resolution": "2K",
52 "aspect_ratio": "auto",
53 "series_amount": "disabled",
54 "seed": 1882043726,
55 "control_after_generate": "randomize"
56 },
57 "color": "#432",
58 "bgcolor": "#653"
59 },
60 {
61 "id": 2,
62 "type": "SaveImageAdvanced",
63 "pos": [
64 154.65843958011607,
65 81.48844401041666
66 ],
67 "size": [
68 555.8003081746899,
69 408.98683564666055
70 ],
71 "flags": [],
72 "order": 1,
73 "mode": 0,
74 "inputs": [
75 {
76 "name": "images",
77 "type": "IMAGE",
78 "link": 1
79 }
80 ],
81 "outputs": [
82 {
83 "name": "images",
84 "type": "IMAGE",
85 "links": null
86 }
87 ],
88 "properties": [],
89 "widgets_values": [
90 "Kling4.0_image_t2i",
91 "png",
92 "8-bit",
93 "sRGB",
94 "auto"
95 ],
96 "widgets_values_named": {
97 "filename_prefix": "Kling4.0_image_t2i",
98 "format": "png",
99 "format.bit_depth": "8-bit",
100 "format.input_color_space": "sRGB",
101 "format.channels": "auto"
102 }
103 }
104 ],
105 "links": [
106 [
107 1,
108 1,
109 0,
110 2,
111 0,
112 "IMAGE"
113 ]
114 ],
115 "groups": [],
116 "config": [],
117 "extra": {
118 "ds": {
119 "scale": 1.0142720327710852,
120 "offset": [
121 658.2689905498161,
122 235.26172897906505
123 ]
124 },
125 "frontendVersion": "1.59.1"
126 },
127 "version": 0.4
128}