ComfyPilotComfyPilot
工作流 / 图像 / Krea 3:图像编辑
Krea 3:图像编辑

Krea 3:图像编辑

Krea 3: Image Edit

使用 Krea 3 对图像进行针对性的区域编辑,仅更改您指定的区域,而图片的其余部分保持不变。一张图像输入,一张编辑后的图像输出。非常适合电商产品重新布景、时尚与肖像重新打光,以及建筑草图到渲染的工作。

图像 4 个节点 1 个输入 707 次使用 ComfyUI ≥ 0.41.1 ComfyUI 6 KB

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

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

节点构成

Krea3ImageNode × 1
SaveImageAdvanced × 1
LoadImage × 1
MarkdownNote × 1

官方标注的模型

Krea 3

工作流 JSON

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

1{
2 "id": "501c624c-07cd-4bac-bb42-63fcf2932c45",
3 "revision": 0,
4 "last_node_id": 9,
5 "last_link_id": 14,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "Krea3ImageNode",
10 "pos": [
11 618.7274877526471,
12 388.0108248788704
13 ],
14 "size": [
15 400,
16 300
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "model.images.image_0",
24 "shape": 7,
25 "type": "IMAGE",
26 "link": 14
27 },
28 {
29 "name": "model.images.image_1",
30 "shape": 7,
31 "type": "IMAGE",
32 "link": null
33 }
34 ],
35 "outputs": [
36 {
37 "name": "IMAGE",
38 "type": "IMAGE",
39 "links": [
40 13
41 ]
42 }
43 ],
44 "properties": {
45 "Node name for S&R": "Krea3ImageNode"
46 },
47 "widgets_values": [
48 "Krea 3",
49 "Replace the green muscle car with a polished retro-futuristic orange hover car, wide curved body, subtle glowing undercarriage lights, parked in front of the same gas station. Keep the original composition, desert background, building structure, dust, lighting and perspective unchanged. The new car must fit the scene naturally and cast a realistic shadow.",
50 "auto",
51 "1K",
52 "fast",
53 false,
54 2087889669,
55 "randomize",
56 "randomize"
57 ],
58 "widgets_values_named": {
59 "model": "Krea 3",
60 "model.prompt": "Replace the green muscle car with a polished retro-futuristic orange hover car, wide curved body, subtle glowing undercarriage lights, parked in front of the same gas station. Keep the original composition, desert background, building structure, dust, lighting and perspective unchanged. The new car must fit the scene naturally and cast a realistic shadow.",
61 "model.aspect_ratio": "auto",
62 "model.resolution": "1K",
63 "model.thinking_mode": "fast",
64 "model.precise_edit": false,
65 "model.seed": 2087889669,
66 "control_after_generate#1": "randomize",
67 "control_after_generate": "randomize"
68 },
69 "color": "#432",
70 "bgcolor": "#653"
71 },
72 {
73 "id": 7,
74 "type": "SaveImageAdvanced",
75 "pos": [
76 1066.727487752647,
77 388.0108248788704
78 ],
79 "size": [
80 542.6328791914455,
81 545.0719501218865
82 ],
83 "flags": [],
84 "order": 3,
85 "mode": 0,
86 "inputs": [
87 {
88 "name": "images",
89 "type": "IMAGE",
90 "link": 13
91 }
92 ],
93 "outputs": [
94 {
95 "name": "images",
96 "type": "IMAGE",
97 "links": null
98 }
99 ],
100 "properties": [],
101 "widgets_values": [
102 "api_krea3_image_edit",
103 "png",
104 "8-bit",
105 "sRGB"
106 ],
107 "widgets_values_named": {
108 "filename_prefix": "api_krea3_image_edit",
109 "format": "png",
110 "format.bit_depth": "8-bit",
111 "format.input_color_space": "sRGB"
112 }
113 },
114 {
115 "id": 8,
116 "type": "LoadImage",
117 "pos": [
118 195.0532948552983,
119 388.0108248788704
120 ],
121 "size": [
122 375.6741928973488,
123 528.0701674707075
124 ],
125 "flags": [],
126 "order": 0,
127 "mode": 0,
128 "inputs": [],
129 "outputs": [
130 {
131 "name": "IMAGE",
132 "type": "IMAGE",
133 "links": [
134 14
135 ]
136 },
137 {
138 "name": "MASK",
139 "type": "MASK",
140 "links": null
141 }
142 ],
143 "properties": {
144 "Node name for S&R": "LoadImage"
145 },
146 "widgets_values": [
147 "wide_format_digital_render.png",
148 "image"
149 ],
150 "widgets_values_named": {
151 "image": "wide_format_digital_render.png",
152 "upload": "image"
153 }
154 },
155 {
156 "id": 9,
157 "type": "MarkdownNote",
158 "pos": [
159 -243.83772681252765,
160 388.0108248788704
161 ],
162 "size": [
163 390.89102166782595,
164 285.4838049049506
165 ],
166 "flags": [],
167 "order": 1,
168 "mode": 0,
169 "inputs": [],
170 "outputs": [],
171 "properties": [],
172 "widgets_values": [
173 "## Input Assets\n\n- [wide_format_digital_render.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/wide_format_digital_render.png)\n\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"
174 ],
175 "widgets_values_named": {
176 "text": "## Input Assets\n\n- [wide_format_digital_render.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/wide_format_digital_render.png)\n\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 "color": "#222",
179 "bgcolor": "#000"
180 }
181 ],
182 "links": [
183 [
184 13,
185 1,
186 0,
187 7,
188 0,
189 "IMAGE"
190 ],
191 [
192 14,
193 8,
194 0,
195 1,
196 0,
197 "IMAGE"
198 ]
199 ],
200 "groups": [],
201 "config": [],
202 "extra": {
203 "ds": {
204 "scale": 0.9531607923752065,
205 "offset": [
206 502.32044905238297,
207 -172.37085812221616
208 ]
209 },
210 "frontendVersion": "1.58.0"
211 },
212 "version": 0.4
213}