ComfyPilotComfyPilot
工作流 / 图像 / Kling 4.0: 长图(网页设计)
Kling 4.0: 长图(网页设计)

Kling 4.0: 长图(网页设计)

Kling 4.0: Long Image (Webpage)

一次生成一张极高的图,读起来像一整页做好的网页:页头、主视觉、内容分栏与页脚一次排出。请逐段描述页面,并说明文案使用的语言。

图像 3 个节点 ComfyUI ≥ 0.13.0 ComfyUI 9 KB

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

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

节点构成

Kling4LongImageNode × 1
SaveImageAdvanced × 1
MarkdownNote × 1

官方标注的模型

KlingKling 4.0

工作流 JSON

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

1{
2 "id": "1d2eb835-be47-4af4-99ab-0e29f80aba2a",
3 "revision": 0,
4 "last_node_id": 5,
5 "last_link_id": 1,
6 "nodes": [
7 {
8 "id": 3,
9 "type": "Kling4LongImageNode",
10 "pos": [
11 -400.325377808198,
12 -27.68547439054348
13 ],
14 "size": [
15 411.0436933570008,
16 291.52466844903205
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "skill.style_image",
24 "shape": 7,
25 "type": "IMAGE",
26 "link": null
27 },
28 {
29 "name": "skill.subject_image",
30 "shape": 7,
31 "type": "IMAGE",
32 "link": null
33 }
34 ],
35 "outputs": [
36 {
37 "name": "IMAGE",
38 "type": "IMAGE",
39 "links": [
40 1
41 ]
42 }
43 ],
44 "properties": {
45 "Node name for S&R": "Kling4LongImageNode"
46 },
47 "widgets_values": [
48 "webpage",
49 "A tall vertical marketing landing page for a warm modern interior and homeware brand, in English, laid out as seven stacked bands from top to bottom. This is a brand homepage, not a shop: no search field, no filter chips, no category tabs, no long product grid. Band 1: a thin white header, one small wordmark at the left, three text links in the centre, a thin hairline rule under it. Band 2: one full-bleed edge-to-edge photograph of a sunlit living room with a linen sofa, warm oak table, a ceramic vase and sheer curtains, with a single short headline in large serif type and one line of smaller subcopy beneath it. Band 3: exactly three product cards side by side, each a square photo of one homeware item on a light plain background with a short product name and a price below. Band 4: an editorial split, a large lifestyle photo filling the left half and a short two-sentence paragraph with a small text link on the right half. Band 5: a material swatch strip of four fabric swatches in a single row, each labelled with a one-word fabric name. Band 6: one testimonial band, a short quote in italic and a customer name. Band 7: a three-column footer on a deep terracotta background, one large wordmark on the left, two short link columns, and a copyright line at the bottom. Palette of oatmeal, terracotta, sage and soft cream on warm cream paper, soft daylight photography, generous white space, restrained modern typography. All copy in English, no Chinese characters anywhere, no notice banner or promo strip, no sidebar, no cookie banner, no watermark.",
50 "1K",
51 42,
52 "randomize"
53 ],
54 "widgets_values_named": {
55 "skill": "webpage",
56 "skill.prompt": "A tall vertical marketing landing page for a warm modern interior and homeware brand, in English, laid out as seven stacked bands from top to bottom. This is a brand homepage, not a shop: no search field, no filter chips, no category tabs, no long product grid. Band 1: a thin white header, one small wordmark at the left, three text links in the centre, a thin hairline rule under it. Band 2: one full-bleed edge-to-edge photograph of a sunlit living room with a linen sofa, warm oak table, a ceramic vase and sheer curtains, with a single short headline in large serif type and one line of smaller subcopy beneath it. Band 3: exactly three product cards side by side, each a square photo of one homeware item on a light plain background with a short product name and a price below. Band 4: an editorial split, a large lifestyle photo filling the left half and a short two-sentence paragraph with a small text link on the right half. Band 5: a material swatch strip of four fabric swatches in a single row, each labelled with a one-word fabric name. Band 6: one testimonial band, a short quote in italic and a customer name. Band 7: a three-column footer on a deep terracotta background, one large wordmark on the left, two short link columns, and a copyright line at the bottom. Palette of oatmeal, terracotta, sage and soft cream on warm cream paper, soft daylight photography, generous white space, restrained modern typography. All copy in English, no Chinese characters anywhere, no notice banner or promo strip, no sidebar, no cookie banner, no watermark.",
57 "skill.resolution": "1K",
58 "skill.seed": 42,
59 "control_after_generate": "randomize"
60 },
61 "color": "#432",
62 "bgcolor": "#653"
63 },
64 {
65 "id": 4,
66 "type": "SaveImageAdvanced",
67 "pos": [
68 78.74387145481082,
69 -27.685474390543476
70 ],
71 "size": [
72 673.5390371410158,
73 513.0859100058844
74 ],
75 "flags": [],
76 "order": 2,
77 "mode": 0,
78 "inputs": [
79 {
80 "name": "images",
81 "type": "IMAGE",
82 "link": 1
83 }
84 ],
85 "outputs": [
86 {
87 "name": "images",
88 "type": "IMAGE",
89 "links": null
90 }
91 ],
92 "properties": [],
93 "widgets_values": [
94 "ComfyUI",
95 "png",
96 "8-bit",
97 "sRGB",
98 "auto"
99 ],
100 "widgets_values_named": {
101 "filename_prefix": "ComfyUI",
102 "format": "png",
103 "format.bit_depth": "8-bit",
104 "format.input_color_space": "sRGB",
105 "format.channels": "auto"
106 }
107 },
108 {
109 "id": 5,
110 "type": "MarkdownNote",
111 "pos": [
112 -1061.3056083665806,
113 -27.68547439054348
114 ],
115 "size": [
116 460,
117 760
118 ],
119 "flags": [],
120 "order": 1,
121 "mode": 0,
122 "inputs": [],
123 "outputs": [],
124 "properties": [],
125 "widgets_values": [
126 "## Kling 4.0: Long Image (webpage)\n\nGenerates **one extremely tall image** (roughly 1:10) that reads as a finished web page, in a single pass — header, hero, content bands and footer laid out together rather than stitched from separate generations.\n\n### How the node works\n\n- `skill` picks the layout template. **`webpage`** (this workflow) designs a page from text; `ecommerce` instead takes 1–3 product photos and produces a product detail page.\n- `prompt` is the art direction **and** the structure: describe the page band by band, top to bottom, and say explicitly what must not appear (e.g. *no search field, no filter chips, no product grid*). Without that, the model drifts toward a generic shop or corporate site.\n- Optional inputs on `webpage`: `style_image` (referenced as `@Image1`, supplies look and layout language) and `subject_image` (`@Image2`, a subject the page is built around). You can run it fully text-only.\n- `resolution` is `1K` or `2K` only — there is no aspect-ratio control, the page shape is derived by the endpoint.\n- `length` exists only for `ecommerce` (short / medium / long); the webpage skill ignores it.\n\n### What a long image is like\n\n- Output is enormous and thin: expect something like **2048 × 16500** at 2K, up to ~50k pixels tall at the longest ecommerce length. Open the file in an image viewer, never assume it fits a screen.\n- The layout is coherent — one grid, consistent type scale, real negative space — which is what makes it useful as a design artifact rather than a collage.\n- **Text inside the image is rendered by the model**: short display type and prices usually come out clean, long body copy and CJK paragraphs do not. Treat all copy as placeholder art, not as content to ship.\n- The ecommerce skill is a fixed vendor script (hero → benefits → fabric detail → specs → care). It tends *not* to render prices, size tables or a footer even when asked; the webpage skill follows a described structure more loosely than a literal list.\n- Generation is slow for an image model — 1–5 minutes per page, the 2K long ecommerce case being the slowest.\n\n### When to use it\n\n- **Landing-page and site design drafts** — several directions to compare before anything is coded; hand the winner to a designer or an agent as a layout reference.\n- **Brand and campaign pages** — a full visual narrative in one artifact instead of a folder of slices.\n- **E-commerce PD page mockups** — feed product photos, get the skeleton of a detail page.\n- **App or onboarding flow sketches** — one tall canvas where each band is a screen.\n\n### Tips\n\n- Ask for the band order explicitly, and state the language (*\"All visible text must be in English only\"*) — it otherwise defaults to Chinese.\n- Keep the page copy short in the prompt; describe imagery and layout, not paragraphs.\n- Crop the top 2000 px for a quick look instead of opening a 20k-pixel file.\n"
127 ],
128 "widgets_values_named": {
129 "text": "Note hre"
130 },
131 "color": "#222",
132 "bgcolor": "#000"
133 }
134 ],
135 "links": [
136 [
137 1,
138 3,
139 0,
140 4,
141 0,
142 "IMAGE"
143 ]
144 ],
145 "groups": [],
146 "config": [],
147 "extra": {
148 "ds": {
149 "scale": 0.4014119795212231,
150 "offset": [
151 2426.4252563579107,
152 637.6379852429687
153 ]
154 },
155 "frontendVersion": "1.59.1"
156 },
157 "version": 0.4
158}