aleph65 commited on
Commit
905aa07
·
verified ·
1 Parent(s): 79c8144

Add new-krea2 identity-edit workflows (std + max) from The AI Blueprint Krea 2 Identity LoRA video

Browse files
workflows/api/new-krea2-identity-edit-raw-2img-max.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_raw_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Scale person ref"
15
+ },
16
+ "class_type": "ImageScaleToMaxDimension",
17
+ "inputs": {
18
+ "image": [
19
+ "9",
20
+ 0
21
+ ],
22
+ "largest_size": [
23
+ "6",
24
+ 0
25
+ ],
26
+ "upscale_method": "lanczos"
27
+ }
28
+ },
29
+ "11": {
30
+ "_meta": {
31
+ "title": "VAE Encode Person"
32
+ },
33
+ "class_type": "VAEEncode",
34
+ "inputs": {
35
+ "pixels": [
36
+ "10",
37
+ 0
38
+ ],
39
+ "vae": [
40
+ "4",
41
+ 0
42
+ ]
43
+ }
44
+ },
45
+ "12": {
46
+ "_meta": {
47
+ "title": "Krea2 Edit (source patch)"
48
+ },
49
+ "class_type": "Krea2EditModelPatch",
50
+ "inputs": {
51
+ "fit_mode": "crop (legacy)",
52
+ "model": [
53
+ "2",
54
+ 0
55
+ ],
56
+ "ref_boost": 1.0,
57
+ "ref_boost_a": 1.0,
58
+ "source_image": [
59
+ "7",
60
+ 0
61
+ ],
62
+ "source_image_b": [
63
+ "10",
64
+ 0
65
+ ],
66
+ "source_latent": [
67
+ "8",
68
+ 0
69
+ ],
70
+ "source_latent_b": [
71
+ "11",
72
+ 0
73
+ ],
74
+ "vae": [
75
+ "4",
76
+ 0
77
+ ]
78
+ }
79
+ },
80
+ "13": {
81
+ "_meta": {
82
+ "title": "Edit Instruction (grounded on source)"
83
+ },
84
+ "class_type": "Krea2EditGroundedEncode",
85
+ "inputs": {
86
+ "clip": [
87
+ "3",
88
+ 0
89
+ ],
90
+ "grounding_px": 768,
91
+ "image": [
92
+ "7",
93
+ 0
94
+ ],
95
+ "image_b": [
96
+ "10",
97
+ 0
98
+ ],
99
+ "prompt": "Create a photo of this woman standing next to the blue colored pipe",
100
+ "system_prompt": ""
101
+ }
102
+ },
103
+ "14": {
104
+ "_meta": {
105
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
106
+ },
107
+ "class_type": "Krea2EditGroundedEncode",
108
+ "inputs": {
109
+ "clip": [
110
+ "3",
111
+ 0
112
+ ],
113
+ "grounding_px": 768,
114
+ "image": [
115
+ "7",
116
+ 0
117
+ ],
118
+ "image_b": [
119
+ "10",
120
+ 0
121
+ ],
122
+ "prompt": "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
123
+ "system_prompt": ""
124
+ }
125
+ },
126
+ "15": {
127
+ "_meta": {
128
+ "title": "Target Latent"
129
+ },
130
+ "class_type": "EmptySD3LatentImage",
131
+ "inputs": {
132
+ "batch_size": 1,
133
+ "height": 1536,
134
+ "width": 1536
135
+ }
136
+ },
137
+ "16": {
138
+ "class_type": "KSampler",
139
+ "inputs": {
140
+ "cfg": 2.5,
141
+ "denoise": 1.0,
142
+ "latent_image": [
143
+ "15",
144
+ 0
145
+ ],
146
+ "model": [
147
+ "12",
148
+ 0
149
+ ],
150
+ "negative": [
151
+ "14",
152
+ 0
153
+ ],
154
+ "positive": [
155
+ "13",
156
+ 0
157
+ ],
158
+ "sampler_name": "er_sde",
159
+ "scheduler": "simple",
160
+ "seed": 42,
161
+ "steps": 50
162
+ }
163
+ },
164
+ "17": {
165
+ "class_type": "VAEDecode",
166
+ "inputs": {
167
+ "samples": [
168
+ "16",
169
+ 0
170
+ ],
171
+ "vae": [
172
+ "4",
173
+ 0
174
+ ]
175
+ }
176
+ },
177
+ "18": {
178
+ "class_type": "SaveImage",
179
+ "inputs": {
180
+ "filename_prefix": "new-krea2-identity-raw-2img-max",
181
+ "images": [
182
+ "17",
183
+ 0
184
+ ]
185
+ }
186
+ },
187
+ "2": {
188
+ "_meta": {
189
+ "title": "Identity Edit LoRA v1.1 (required)"
190
+ },
191
+ "class_type": "LoraLoaderModelOnly",
192
+ "inputs": {
193
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
194
+ "model": [
195
+ "1",
196
+ 0
197
+ ],
198
+ "strength_model": 1.0
199
+ }
200
+ },
201
+ "3": {
202
+ "_meta": {
203
+ "title": "Load Text Encoder"
204
+ },
205
+ "class_type": "CLIPLoader",
206
+ "inputs": {
207
+ "clip_name": "qwen3vl_4b_bf16.safetensors",
208
+ "device": "default",
209
+ "type": "krea2"
210
+ }
211
+ },
212
+ "4": {
213
+ "_meta": {
214
+ "title": "Load VAE"
215
+ },
216
+ "class_type": "VAELoader",
217
+ "inputs": {
218
+ "vae_name": "qwen_image_vae.safetensors"
219
+ }
220
+ },
221
+ "5": {
222
+ "_meta": {
223
+ "title": "Scene Image (image 1 \u2014 the scene)"
224
+ },
225
+ "class_type": "LoadImage",
226
+ "inputs": {
227
+ "image": "example.png"
228
+ }
229
+ },
230
+ "6": {
231
+ "_meta": {
232
+ "title": "Input max size (longest edge)"
233
+ },
234
+ "class_type": "PrimitiveInt",
235
+ "inputs": {
236
+ "value": 1536
237
+ }
238
+ },
239
+ "7": {
240
+ "_meta": {
241
+ "title": "Scale source (longest edge = max size)"
242
+ },
243
+ "class_type": "ImageScaleToMaxDimension",
244
+ "inputs": {
245
+ "image": [
246
+ "5",
247
+ 0
248
+ ],
249
+ "largest_size": [
250
+ "6",
251
+ 0
252
+ ],
253
+ "upscale_method": "lanczos"
254
+ }
255
+ },
256
+ "8": {
257
+ "_meta": {
258
+ "title": "VAE Encode Source"
259
+ },
260
+ "class_type": "VAEEncode",
261
+ "inputs": {
262
+ "pixels": [
263
+ "7",
264
+ 0
265
+ ],
266
+ "vae": [
267
+ "4",
268
+ 0
269
+ ]
270
+ }
271
+ },
272
+ "9": {
273
+ "_meta": {
274
+ "title": "Person Image (image 2 \u2014 the person)"
275
+ },
276
+ "class_type": "LoadImage",
277
+ "inputs": {
278
+ "image": "example.png"
279
+ }
280
+ }
281
+ }
workflows/api/new-krea2-identity-edit-raw-2img.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_raw_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Scale person ref"
15
+ },
16
+ "class_type": "ImageScaleToMaxDimension",
17
+ "inputs": {
18
+ "image": [
19
+ "9",
20
+ 0
21
+ ],
22
+ "largest_size": [
23
+ "6",
24
+ 0
25
+ ],
26
+ "upscale_method": "lanczos"
27
+ }
28
+ },
29
+ "11": {
30
+ "_meta": {
31
+ "title": "VAE Encode Person"
32
+ },
33
+ "class_type": "VAEEncode",
34
+ "inputs": {
35
+ "pixels": [
36
+ "10",
37
+ 0
38
+ ],
39
+ "vae": [
40
+ "4",
41
+ 0
42
+ ]
43
+ }
44
+ },
45
+ "12": {
46
+ "_meta": {
47
+ "title": "Krea2 Edit (source patch)"
48
+ },
49
+ "class_type": "Krea2EditModelPatch",
50
+ "inputs": {
51
+ "fit_mode": "crop (legacy)",
52
+ "model": [
53
+ "2",
54
+ 0
55
+ ],
56
+ "ref_boost": 1.0,
57
+ "ref_boost_a": 1.0,
58
+ "source_image": [
59
+ "7",
60
+ 0
61
+ ],
62
+ "source_image_b": [
63
+ "10",
64
+ 0
65
+ ],
66
+ "source_latent": [
67
+ "8",
68
+ 0
69
+ ],
70
+ "source_latent_b": [
71
+ "11",
72
+ 0
73
+ ],
74
+ "vae": [
75
+ "4",
76
+ 0
77
+ ]
78
+ }
79
+ },
80
+ "13": {
81
+ "_meta": {
82
+ "title": "Edit Instruction (grounded on source)"
83
+ },
84
+ "class_type": "Krea2EditGroundedEncode",
85
+ "inputs": {
86
+ "clip": [
87
+ "3",
88
+ 0
89
+ ],
90
+ "grounding_px": 768,
91
+ "image": [
92
+ "7",
93
+ 0
94
+ ],
95
+ "image_b": [
96
+ "10",
97
+ 0
98
+ ],
99
+ "prompt": "Create a photo of this woman standing next to the blue colored pipe",
100
+ "system_prompt": ""
101
+ }
102
+ },
103
+ "14": {
104
+ "_meta": {
105
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
106
+ },
107
+ "class_type": "Krea2EditGroundedEncode",
108
+ "inputs": {
109
+ "clip": [
110
+ "3",
111
+ 0
112
+ ],
113
+ "grounding_px": 768,
114
+ "image": [
115
+ "7",
116
+ 0
117
+ ],
118
+ "image_b": [
119
+ "10",
120
+ 0
121
+ ],
122
+ "prompt": "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
123
+ "system_prompt": ""
124
+ }
125
+ },
126
+ "15": {
127
+ "_meta": {
128
+ "title": "Target Latent"
129
+ },
130
+ "class_type": "EmptySD3LatentImage",
131
+ "inputs": {
132
+ "batch_size": 1,
133
+ "height": 1536,
134
+ "width": 1536
135
+ }
136
+ },
137
+ "16": {
138
+ "class_type": "KSampler",
139
+ "inputs": {
140
+ "cfg": 2.5,
141
+ "denoise": 1.0,
142
+ "latent_image": [
143
+ "15",
144
+ 0
145
+ ],
146
+ "model": [
147
+ "12",
148
+ 0
149
+ ],
150
+ "negative": [
151
+ "14",
152
+ 0
153
+ ],
154
+ "positive": [
155
+ "13",
156
+ 0
157
+ ],
158
+ "sampler_name": "er_sde",
159
+ "scheduler": "simple",
160
+ "seed": 42,
161
+ "steps": 50
162
+ }
163
+ },
164
+ "17": {
165
+ "class_type": "VAEDecode",
166
+ "inputs": {
167
+ "samples": [
168
+ "16",
169
+ 0
170
+ ],
171
+ "vae": [
172
+ "4",
173
+ 0
174
+ ]
175
+ }
176
+ },
177
+ "18": {
178
+ "class_type": "SaveImage",
179
+ "inputs": {
180
+ "filename_prefix": "new-krea2-identity-raw-2img",
181
+ "images": [
182
+ "17",
183
+ 0
184
+ ]
185
+ }
186
+ },
187
+ "2": {
188
+ "_meta": {
189
+ "title": "Identity Edit LoRA v1.1 (required)"
190
+ },
191
+ "class_type": "LoraLoaderModelOnly",
192
+ "inputs": {
193
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
194
+ "model": [
195
+ "1",
196
+ 0
197
+ ],
198
+ "strength_model": 1.0
199
+ }
200
+ },
201
+ "3": {
202
+ "_meta": {
203
+ "title": "Load Text Encoder"
204
+ },
205
+ "class_type": "CLIPLoader",
206
+ "inputs": {
207
+ "clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
208
+ "device": "default",
209
+ "type": "krea2"
210
+ }
211
+ },
212
+ "4": {
213
+ "_meta": {
214
+ "title": "Load VAE"
215
+ },
216
+ "class_type": "VAELoader",
217
+ "inputs": {
218
+ "vae_name": "qwen_image_vae.safetensors"
219
+ }
220
+ },
221
+ "5": {
222
+ "_meta": {
223
+ "title": "Scene Image (image 1 \u2014 the scene)"
224
+ },
225
+ "class_type": "LoadImage",
226
+ "inputs": {
227
+ "image": "example.png"
228
+ }
229
+ },
230
+ "6": {
231
+ "_meta": {
232
+ "title": "Input max size (longest edge)"
233
+ },
234
+ "class_type": "PrimitiveInt",
235
+ "inputs": {
236
+ "value": 1536
237
+ }
238
+ },
239
+ "7": {
240
+ "_meta": {
241
+ "title": "Scale source (longest edge = max size)"
242
+ },
243
+ "class_type": "ImageScaleToMaxDimension",
244
+ "inputs": {
245
+ "image": [
246
+ "5",
247
+ 0
248
+ ],
249
+ "largest_size": [
250
+ "6",
251
+ 0
252
+ ],
253
+ "upscale_method": "lanczos"
254
+ }
255
+ },
256
+ "8": {
257
+ "_meta": {
258
+ "title": "VAE Encode Source"
259
+ },
260
+ "class_type": "VAEEncode",
261
+ "inputs": {
262
+ "pixels": [
263
+ "7",
264
+ 0
265
+ ],
266
+ "vae": [
267
+ "4",
268
+ 0
269
+ ]
270
+ }
271
+ },
272
+ "9": {
273
+ "_meta": {
274
+ "title": "Person Image (image 2 \u2014 the person)"
275
+ },
276
+ "class_type": "LoadImage",
277
+ "inputs": {
278
+ "image": "example.png"
279
+ }
280
+ }
281
+ }
workflows/api/new-krea2-identity-edit-raw-max.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_raw_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Krea2 Edit (source patch)"
15
+ },
16
+ "class_type": "Krea2EditModelPatch",
17
+ "inputs": {
18
+ "fit_mode": "crop (legacy)",
19
+ "model": [
20
+ "2",
21
+ 0
22
+ ],
23
+ "ref_boost": 1.0,
24
+ "ref_boost_a": 1.0,
25
+ "source_image": [
26
+ "7",
27
+ 0
28
+ ],
29
+ "source_latent": [
30
+ "8",
31
+ 0
32
+ ],
33
+ "vae": [
34
+ "4",
35
+ 0
36
+ ]
37
+ }
38
+ },
39
+ "11": {
40
+ "_meta": {
41
+ "title": "Edit Instruction (grounded on source)"
42
+ },
43
+ "class_type": "Krea2EditGroundedEncode",
44
+ "inputs": {
45
+ "clip": [
46
+ "3",
47
+ 0
48
+ ],
49
+ "grounding_px": 768,
50
+ "image": [
51
+ "7",
52
+ 0
53
+ ],
54
+ "prompt": "A cinematic portrait photo of this woman standing in a neon-lit city street at night, shallow depth of field, soft rim lighting, 85mm lens",
55
+ "system_prompt": ""
56
+ }
57
+ },
58
+ "12": {
59
+ "_meta": {
60
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
61
+ },
62
+ "class_type": "Krea2EditGroundedEncode",
63
+ "inputs": {
64
+ "clip": [
65
+ "3",
66
+ 0
67
+ ],
68
+ "grounding_px": 768,
69
+ "image": [
70
+ "7",
71
+ 0
72
+ ],
73
+ "prompt": "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
74
+ "system_prompt": ""
75
+ }
76
+ },
77
+ "13": {
78
+ "_meta": {
79
+ "title": "Target Latent (auto-sized from source)"
80
+ },
81
+ "class_type": "EmptySD3LatentImage",
82
+ "inputs": {
83
+ "batch_size": 1,
84
+ "height": [
85
+ "9",
86
+ 1
87
+ ],
88
+ "width": [
89
+ "9",
90
+ 0
91
+ ]
92
+ }
93
+ },
94
+ "14": {
95
+ "class_type": "KSampler",
96
+ "inputs": {
97
+ "cfg": 2.5,
98
+ "denoise": 1.0,
99
+ "latent_image": [
100
+ "13",
101
+ 0
102
+ ],
103
+ "model": [
104
+ "10",
105
+ 0
106
+ ],
107
+ "negative": [
108
+ "12",
109
+ 0
110
+ ],
111
+ "positive": [
112
+ "11",
113
+ 0
114
+ ],
115
+ "sampler_name": "er_sde",
116
+ "scheduler": "simple",
117
+ "seed": 42,
118
+ "steps": 50
119
+ }
120
+ },
121
+ "15": {
122
+ "class_type": "VAEDecode",
123
+ "inputs": {
124
+ "samples": [
125
+ "14",
126
+ 0
127
+ ],
128
+ "vae": [
129
+ "4",
130
+ 0
131
+ ]
132
+ }
133
+ },
134
+ "16": {
135
+ "class_type": "SaveImage",
136
+ "inputs": {
137
+ "filename_prefix": "new-krea2-identity-raw-max",
138
+ "images": [
139
+ "15",
140
+ 0
141
+ ]
142
+ }
143
+ },
144
+ "2": {
145
+ "_meta": {
146
+ "title": "Identity Edit LoRA v1.1 (required)"
147
+ },
148
+ "class_type": "LoraLoaderModelOnly",
149
+ "inputs": {
150
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
151
+ "model": [
152
+ "1",
153
+ 0
154
+ ],
155
+ "strength_model": 1.0
156
+ }
157
+ },
158
+ "3": {
159
+ "_meta": {
160
+ "title": "Load Text Encoder"
161
+ },
162
+ "class_type": "CLIPLoader",
163
+ "inputs": {
164
+ "clip_name": "qwen3vl_4b_bf16.safetensors",
165
+ "device": "default",
166
+ "type": "krea2"
167
+ }
168
+ },
169
+ "4": {
170
+ "_meta": {
171
+ "title": "Load VAE"
172
+ },
173
+ "class_type": "VAELoader",
174
+ "inputs": {
175
+ "vae_name": "qwen_image_vae.safetensors"
176
+ }
177
+ },
178
+ "5": {
179
+ "_meta": {
180
+ "title": "Source Image"
181
+ },
182
+ "class_type": "LoadImage",
183
+ "inputs": {
184
+ "image": "example.png"
185
+ }
186
+ },
187
+ "6": {
188
+ "_meta": {
189
+ "title": "Input max size (longest edge)"
190
+ },
191
+ "class_type": "PrimitiveInt",
192
+ "inputs": {
193
+ "value": 1536
194
+ }
195
+ },
196
+ "7": {
197
+ "_meta": {
198
+ "title": "Scale source (longest edge = max size)"
199
+ },
200
+ "class_type": "ImageScaleToMaxDimension",
201
+ "inputs": {
202
+ "image": [
203
+ "5",
204
+ 0
205
+ ],
206
+ "largest_size": [
207
+ "6",
208
+ 0
209
+ ],
210
+ "upscale_method": "lanczos"
211
+ }
212
+ },
213
+ "8": {
214
+ "_meta": {
215
+ "title": "VAE Encode Source"
216
+ },
217
+ "class_type": "VAEEncode",
218
+ "inputs": {
219
+ "pixels": [
220
+ "7",
221
+ 0
222
+ ],
223
+ "vae": [
224
+ "4",
225
+ 0
226
+ ]
227
+ }
228
+ },
229
+ "9": {
230
+ "_meta": {
231
+ "title": "Source size \u2192 target latent"
232
+ },
233
+ "class_type": "GetImageSize",
234
+ "inputs": {
235
+ "image": [
236
+ "7",
237
+ 0
238
+ ]
239
+ }
240
+ }
241
+ }
workflows/api/new-krea2-identity-edit-raw.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_raw_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Krea2 Edit (source patch)"
15
+ },
16
+ "class_type": "Krea2EditModelPatch",
17
+ "inputs": {
18
+ "fit_mode": "crop (legacy)",
19
+ "model": [
20
+ "2",
21
+ 0
22
+ ],
23
+ "ref_boost": 1.0,
24
+ "ref_boost_a": 1.0,
25
+ "source_image": [
26
+ "7",
27
+ 0
28
+ ],
29
+ "source_latent": [
30
+ "8",
31
+ 0
32
+ ],
33
+ "vae": [
34
+ "4",
35
+ 0
36
+ ]
37
+ }
38
+ },
39
+ "11": {
40
+ "_meta": {
41
+ "title": "Edit Instruction (grounded on source)"
42
+ },
43
+ "class_type": "Krea2EditGroundedEncode",
44
+ "inputs": {
45
+ "clip": [
46
+ "3",
47
+ 0
48
+ ],
49
+ "grounding_px": 768,
50
+ "image": [
51
+ "7",
52
+ 0
53
+ ],
54
+ "prompt": "A cinematic portrait photo of this woman standing in a neon-lit city street at night, shallow depth of field, soft rim lighting, 85mm lens",
55
+ "system_prompt": ""
56
+ }
57
+ },
58
+ "12": {
59
+ "_meta": {
60
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
61
+ },
62
+ "class_type": "Krea2EditGroundedEncode",
63
+ "inputs": {
64
+ "clip": [
65
+ "3",
66
+ 0
67
+ ],
68
+ "grounding_px": 768,
69
+ "image": [
70
+ "7",
71
+ 0
72
+ ],
73
+ "prompt": "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
74
+ "system_prompt": ""
75
+ }
76
+ },
77
+ "13": {
78
+ "_meta": {
79
+ "title": "Target Latent (auto-sized from source)"
80
+ },
81
+ "class_type": "EmptySD3LatentImage",
82
+ "inputs": {
83
+ "batch_size": 1,
84
+ "height": [
85
+ "9",
86
+ 1
87
+ ],
88
+ "width": [
89
+ "9",
90
+ 0
91
+ ]
92
+ }
93
+ },
94
+ "14": {
95
+ "class_type": "KSampler",
96
+ "inputs": {
97
+ "cfg": 2.5,
98
+ "denoise": 1.0,
99
+ "latent_image": [
100
+ "13",
101
+ 0
102
+ ],
103
+ "model": [
104
+ "10",
105
+ 0
106
+ ],
107
+ "negative": [
108
+ "12",
109
+ 0
110
+ ],
111
+ "positive": [
112
+ "11",
113
+ 0
114
+ ],
115
+ "sampler_name": "er_sde",
116
+ "scheduler": "simple",
117
+ "seed": 42,
118
+ "steps": 50
119
+ }
120
+ },
121
+ "15": {
122
+ "class_type": "VAEDecode",
123
+ "inputs": {
124
+ "samples": [
125
+ "14",
126
+ 0
127
+ ],
128
+ "vae": [
129
+ "4",
130
+ 0
131
+ ]
132
+ }
133
+ },
134
+ "16": {
135
+ "class_type": "SaveImage",
136
+ "inputs": {
137
+ "filename_prefix": "new-krea2-identity-raw",
138
+ "images": [
139
+ "15",
140
+ 0
141
+ ]
142
+ }
143
+ },
144
+ "2": {
145
+ "_meta": {
146
+ "title": "Identity Edit LoRA v1.1 (required)"
147
+ },
148
+ "class_type": "LoraLoaderModelOnly",
149
+ "inputs": {
150
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
151
+ "model": [
152
+ "1",
153
+ 0
154
+ ],
155
+ "strength_model": 1.0
156
+ }
157
+ },
158
+ "3": {
159
+ "_meta": {
160
+ "title": "Load Text Encoder"
161
+ },
162
+ "class_type": "CLIPLoader",
163
+ "inputs": {
164
+ "clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
165
+ "device": "default",
166
+ "type": "krea2"
167
+ }
168
+ },
169
+ "4": {
170
+ "_meta": {
171
+ "title": "Load VAE"
172
+ },
173
+ "class_type": "VAELoader",
174
+ "inputs": {
175
+ "vae_name": "qwen_image_vae.safetensors"
176
+ }
177
+ },
178
+ "5": {
179
+ "_meta": {
180
+ "title": "Source Image"
181
+ },
182
+ "class_type": "LoadImage",
183
+ "inputs": {
184
+ "image": "example.png"
185
+ }
186
+ },
187
+ "6": {
188
+ "_meta": {
189
+ "title": "Input max size (longest edge)"
190
+ },
191
+ "class_type": "PrimitiveInt",
192
+ "inputs": {
193
+ "value": 1536
194
+ }
195
+ },
196
+ "7": {
197
+ "_meta": {
198
+ "title": "Scale source (longest edge = max size)"
199
+ },
200
+ "class_type": "ImageScaleToMaxDimension",
201
+ "inputs": {
202
+ "image": [
203
+ "5",
204
+ 0
205
+ ],
206
+ "largest_size": [
207
+ "6",
208
+ 0
209
+ ],
210
+ "upscale_method": "lanczos"
211
+ }
212
+ },
213
+ "8": {
214
+ "_meta": {
215
+ "title": "VAE Encode Source"
216
+ },
217
+ "class_type": "VAEEncode",
218
+ "inputs": {
219
+ "pixels": [
220
+ "7",
221
+ 0
222
+ ],
223
+ "vae": [
224
+ "4",
225
+ 0
226
+ ]
227
+ }
228
+ },
229
+ "9": {
230
+ "_meta": {
231
+ "title": "Source size \u2192 target latent"
232
+ },
233
+ "class_type": "GetImageSize",
234
+ "inputs": {
235
+ "image": [
236
+ "7",
237
+ 0
238
+ ]
239
+ }
240
+ }
241
+ }
workflows/api/new-krea2-identity-edit-turbo-2img-max.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_turbo_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Scale person ref"
15
+ },
16
+ "class_type": "ImageScaleToMaxDimension",
17
+ "inputs": {
18
+ "image": [
19
+ "9",
20
+ 0
21
+ ],
22
+ "largest_size": [
23
+ "6",
24
+ 0
25
+ ],
26
+ "upscale_method": "lanczos"
27
+ }
28
+ },
29
+ "11": {
30
+ "_meta": {
31
+ "title": "VAE Encode Person"
32
+ },
33
+ "class_type": "VAEEncode",
34
+ "inputs": {
35
+ "pixels": [
36
+ "10",
37
+ 0
38
+ ],
39
+ "vae": [
40
+ "4",
41
+ 0
42
+ ]
43
+ }
44
+ },
45
+ "12": {
46
+ "_meta": {
47
+ "title": "Krea2 Edit (source patch)"
48
+ },
49
+ "class_type": "Krea2EditModelPatch",
50
+ "inputs": {
51
+ "fit_mode": "crop (legacy)",
52
+ "model": [
53
+ "2",
54
+ 0
55
+ ],
56
+ "ref_boost": 1.0,
57
+ "ref_boost_a": 1.0,
58
+ "source_image": [
59
+ "7",
60
+ 0
61
+ ],
62
+ "source_image_b": [
63
+ "10",
64
+ 0
65
+ ],
66
+ "source_latent": [
67
+ "8",
68
+ 0
69
+ ],
70
+ "source_latent_b": [
71
+ "11",
72
+ 0
73
+ ],
74
+ "vae": [
75
+ "4",
76
+ 0
77
+ ]
78
+ }
79
+ },
80
+ "13": {
81
+ "_meta": {
82
+ "title": "Edit Instruction (grounded on source)"
83
+ },
84
+ "class_type": "Krea2EditGroundedEncode",
85
+ "inputs": {
86
+ "clip": [
87
+ "3",
88
+ 0
89
+ ],
90
+ "grounding_px": 768,
91
+ "image": [
92
+ "7",
93
+ 0
94
+ ],
95
+ "image_b": [
96
+ "10",
97
+ 0
98
+ ],
99
+ "prompt": "Create a photo of this woman standing in the middle of the street",
100
+ "system_prompt": ""
101
+ }
102
+ },
103
+ "14": {
104
+ "_meta": {
105
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
106
+ },
107
+ "class_type": "Krea2EditGroundedEncode",
108
+ "inputs": {
109
+ "clip": [
110
+ "3",
111
+ 0
112
+ ],
113
+ "grounding_px": 768,
114
+ "image": [
115
+ "7",
116
+ 0
117
+ ],
118
+ "image_b": [
119
+ "10",
120
+ 0
121
+ ],
122
+ "prompt": "",
123
+ "system_prompt": ""
124
+ }
125
+ },
126
+ "15": {
127
+ "_meta": {
128
+ "title": "Target Latent"
129
+ },
130
+ "class_type": "EmptySD3LatentImage",
131
+ "inputs": {
132
+ "batch_size": 1,
133
+ "height": 1536,
134
+ "width": 1536
135
+ }
136
+ },
137
+ "16": {
138
+ "class_type": "KSampler",
139
+ "inputs": {
140
+ "cfg": 1.0,
141
+ "denoise": 1.0,
142
+ "latent_image": [
143
+ "15",
144
+ 0
145
+ ],
146
+ "model": [
147
+ "12",
148
+ 0
149
+ ],
150
+ "negative": [
151
+ "14",
152
+ 0
153
+ ],
154
+ "positive": [
155
+ "13",
156
+ 0
157
+ ],
158
+ "sampler_name": "er_sde",
159
+ "scheduler": "simple",
160
+ "seed": 42,
161
+ "steps": 8
162
+ }
163
+ },
164
+ "17": {
165
+ "class_type": "VAEDecode",
166
+ "inputs": {
167
+ "samples": [
168
+ "16",
169
+ 0
170
+ ],
171
+ "vae": [
172
+ "4",
173
+ 0
174
+ ]
175
+ }
176
+ },
177
+ "18": {
178
+ "class_type": "SaveImage",
179
+ "inputs": {
180
+ "filename_prefix": "new-krea2-identity-turbo-2img-max",
181
+ "images": [
182
+ "17",
183
+ 0
184
+ ]
185
+ }
186
+ },
187
+ "2": {
188
+ "_meta": {
189
+ "title": "Identity Edit LoRA v1.1 (required)"
190
+ },
191
+ "class_type": "LoraLoaderModelOnly",
192
+ "inputs": {
193
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
194
+ "model": [
195
+ "1",
196
+ 0
197
+ ],
198
+ "strength_model": 1.0
199
+ }
200
+ },
201
+ "3": {
202
+ "_meta": {
203
+ "title": "Load Text Encoder"
204
+ },
205
+ "class_type": "CLIPLoader",
206
+ "inputs": {
207
+ "clip_name": "qwen3vl_4b_bf16.safetensors",
208
+ "device": "default",
209
+ "type": "krea2"
210
+ }
211
+ },
212
+ "4": {
213
+ "_meta": {
214
+ "title": "Load VAE"
215
+ },
216
+ "class_type": "VAELoader",
217
+ "inputs": {
218
+ "vae_name": "qwen_image_vae.safetensors"
219
+ }
220
+ },
221
+ "5": {
222
+ "_meta": {
223
+ "title": "Scene Image (image 1 \u2014 the scene)"
224
+ },
225
+ "class_type": "LoadImage",
226
+ "inputs": {
227
+ "image": "example.png"
228
+ }
229
+ },
230
+ "6": {
231
+ "_meta": {
232
+ "title": "Input max size (longest edge)"
233
+ },
234
+ "class_type": "PrimitiveInt",
235
+ "inputs": {
236
+ "value": 1536
237
+ }
238
+ },
239
+ "7": {
240
+ "_meta": {
241
+ "title": "Scale source (longest edge = max size)"
242
+ },
243
+ "class_type": "ImageScaleToMaxDimension",
244
+ "inputs": {
245
+ "image": [
246
+ "5",
247
+ 0
248
+ ],
249
+ "largest_size": [
250
+ "6",
251
+ 0
252
+ ],
253
+ "upscale_method": "lanczos"
254
+ }
255
+ },
256
+ "8": {
257
+ "_meta": {
258
+ "title": "VAE Encode Source"
259
+ },
260
+ "class_type": "VAEEncode",
261
+ "inputs": {
262
+ "pixels": [
263
+ "7",
264
+ 0
265
+ ],
266
+ "vae": [
267
+ "4",
268
+ 0
269
+ ]
270
+ }
271
+ },
272
+ "9": {
273
+ "_meta": {
274
+ "title": "Person Image (image 2 \u2014 the person)"
275
+ },
276
+ "class_type": "LoadImage",
277
+ "inputs": {
278
+ "image": "example.png"
279
+ }
280
+ }
281
+ }
workflows/api/new-krea2-identity-edit-turbo-2img.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_turbo_mxfp8.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Scale person ref"
15
+ },
16
+ "class_type": "ImageScaleToMaxDimension",
17
+ "inputs": {
18
+ "image": [
19
+ "9",
20
+ 0
21
+ ],
22
+ "largest_size": [
23
+ "6",
24
+ 0
25
+ ],
26
+ "upscale_method": "lanczos"
27
+ }
28
+ },
29
+ "11": {
30
+ "_meta": {
31
+ "title": "VAE Encode Person"
32
+ },
33
+ "class_type": "VAEEncode",
34
+ "inputs": {
35
+ "pixels": [
36
+ "10",
37
+ 0
38
+ ],
39
+ "vae": [
40
+ "4",
41
+ 0
42
+ ]
43
+ }
44
+ },
45
+ "12": {
46
+ "_meta": {
47
+ "title": "Krea2 Edit (source patch)"
48
+ },
49
+ "class_type": "Krea2EditModelPatch",
50
+ "inputs": {
51
+ "fit_mode": "crop (legacy)",
52
+ "model": [
53
+ "2",
54
+ 0
55
+ ],
56
+ "ref_boost": 1.0,
57
+ "ref_boost_a": 1.0,
58
+ "source_image": [
59
+ "7",
60
+ 0
61
+ ],
62
+ "source_image_b": [
63
+ "10",
64
+ 0
65
+ ],
66
+ "source_latent": [
67
+ "8",
68
+ 0
69
+ ],
70
+ "source_latent_b": [
71
+ "11",
72
+ 0
73
+ ],
74
+ "vae": [
75
+ "4",
76
+ 0
77
+ ]
78
+ }
79
+ },
80
+ "13": {
81
+ "_meta": {
82
+ "title": "Edit Instruction (grounded on source)"
83
+ },
84
+ "class_type": "Krea2EditGroundedEncode",
85
+ "inputs": {
86
+ "clip": [
87
+ "3",
88
+ 0
89
+ ],
90
+ "grounding_px": 768,
91
+ "image": [
92
+ "7",
93
+ 0
94
+ ],
95
+ "image_b": [
96
+ "10",
97
+ 0
98
+ ],
99
+ "prompt": "Create a photo of this woman standing in the middle of the street",
100
+ "system_prompt": ""
101
+ }
102
+ },
103
+ "14": {
104
+ "_meta": {
105
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
106
+ },
107
+ "class_type": "Krea2EditGroundedEncode",
108
+ "inputs": {
109
+ "clip": [
110
+ "3",
111
+ 0
112
+ ],
113
+ "grounding_px": 768,
114
+ "image": [
115
+ "7",
116
+ 0
117
+ ],
118
+ "image_b": [
119
+ "10",
120
+ 0
121
+ ],
122
+ "prompt": "",
123
+ "system_prompt": ""
124
+ }
125
+ },
126
+ "15": {
127
+ "_meta": {
128
+ "title": "Target Latent"
129
+ },
130
+ "class_type": "EmptySD3LatentImage",
131
+ "inputs": {
132
+ "batch_size": 1,
133
+ "height": 1536,
134
+ "width": 1536
135
+ }
136
+ },
137
+ "16": {
138
+ "class_type": "KSampler",
139
+ "inputs": {
140
+ "cfg": 1.0,
141
+ "denoise": 1.0,
142
+ "latent_image": [
143
+ "15",
144
+ 0
145
+ ],
146
+ "model": [
147
+ "12",
148
+ 0
149
+ ],
150
+ "negative": [
151
+ "14",
152
+ 0
153
+ ],
154
+ "positive": [
155
+ "13",
156
+ 0
157
+ ],
158
+ "sampler_name": "er_sde",
159
+ "scheduler": "simple",
160
+ "seed": 42,
161
+ "steps": 8
162
+ }
163
+ },
164
+ "17": {
165
+ "class_type": "VAEDecode",
166
+ "inputs": {
167
+ "samples": [
168
+ "16",
169
+ 0
170
+ ],
171
+ "vae": [
172
+ "4",
173
+ 0
174
+ ]
175
+ }
176
+ },
177
+ "18": {
178
+ "class_type": "SaveImage",
179
+ "inputs": {
180
+ "filename_prefix": "new-krea2-identity-turbo-2img",
181
+ "images": [
182
+ "17",
183
+ 0
184
+ ]
185
+ }
186
+ },
187
+ "2": {
188
+ "_meta": {
189
+ "title": "Identity Edit LoRA v1.1 (required)"
190
+ },
191
+ "class_type": "LoraLoaderModelOnly",
192
+ "inputs": {
193
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
194
+ "model": [
195
+ "1",
196
+ 0
197
+ ],
198
+ "strength_model": 1.0
199
+ }
200
+ },
201
+ "3": {
202
+ "_meta": {
203
+ "title": "Load Text Encoder"
204
+ },
205
+ "class_type": "CLIPLoader",
206
+ "inputs": {
207
+ "clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
208
+ "device": "default",
209
+ "type": "krea2"
210
+ }
211
+ },
212
+ "4": {
213
+ "_meta": {
214
+ "title": "Load VAE"
215
+ },
216
+ "class_type": "VAELoader",
217
+ "inputs": {
218
+ "vae_name": "qwen_image_vae.safetensors"
219
+ }
220
+ },
221
+ "5": {
222
+ "_meta": {
223
+ "title": "Scene Image (image 1 \u2014 the scene)"
224
+ },
225
+ "class_type": "LoadImage",
226
+ "inputs": {
227
+ "image": "example.png"
228
+ }
229
+ },
230
+ "6": {
231
+ "_meta": {
232
+ "title": "Input max size (longest edge)"
233
+ },
234
+ "class_type": "PrimitiveInt",
235
+ "inputs": {
236
+ "value": 1536
237
+ }
238
+ },
239
+ "7": {
240
+ "_meta": {
241
+ "title": "Scale source (longest edge = max size)"
242
+ },
243
+ "class_type": "ImageScaleToMaxDimension",
244
+ "inputs": {
245
+ "image": [
246
+ "5",
247
+ 0
248
+ ],
249
+ "largest_size": [
250
+ "6",
251
+ 0
252
+ ],
253
+ "upscale_method": "lanczos"
254
+ }
255
+ },
256
+ "8": {
257
+ "_meta": {
258
+ "title": "VAE Encode Source"
259
+ },
260
+ "class_type": "VAEEncode",
261
+ "inputs": {
262
+ "pixels": [
263
+ "7",
264
+ 0
265
+ ],
266
+ "vae": [
267
+ "4",
268
+ 0
269
+ ]
270
+ }
271
+ },
272
+ "9": {
273
+ "_meta": {
274
+ "title": "Person Image (image 2 \u2014 the person)"
275
+ },
276
+ "class_type": "LoadImage",
277
+ "inputs": {
278
+ "image": "example.png"
279
+ }
280
+ }
281
+ }
workflows/api/new-krea2-identity-edit-turbo-max.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_turbo_bf16.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Krea2 Edit (source patch)"
15
+ },
16
+ "class_type": "Krea2EditModelPatch",
17
+ "inputs": {
18
+ "fit_mode": "crop (legacy)",
19
+ "model": [
20
+ "2",
21
+ 0
22
+ ],
23
+ "ref_boost": 1.0,
24
+ "ref_boost_a": 1.0,
25
+ "source_image": [
26
+ "7",
27
+ 0
28
+ ],
29
+ "source_latent": [
30
+ "8",
31
+ 0
32
+ ],
33
+ "vae": [
34
+ "4",
35
+ 0
36
+ ]
37
+ }
38
+ },
39
+ "11": {
40
+ "_meta": {
41
+ "title": "Edit Instruction (grounded on source)"
42
+ },
43
+ "class_type": "Krea2EditGroundedEncode",
44
+ "inputs": {
45
+ "clip": [
46
+ "3",
47
+ 0
48
+ ],
49
+ "grounding_px": 768,
50
+ "image": [
51
+ "7",
52
+ 0
53
+ ],
54
+ "prompt": "Create a photo of this woman holding up a peace sign, natural smile, outdoor afternoon light",
55
+ "system_prompt": ""
56
+ }
57
+ },
58
+ "12": {
59
+ "_meta": {
60
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
61
+ },
62
+ "class_type": "Krea2EditGroundedEncode",
63
+ "inputs": {
64
+ "clip": [
65
+ "3",
66
+ 0
67
+ ],
68
+ "grounding_px": 768,
69
+ "image": [
70
+ "7",
71
+ 0
72
+ ],
73
+ "prompt": "",
74
+ "system_prompt": ""
75
+ }
76
+ },
77
+ "13": {
78
+ "_meta": {
79
+ "title": "Target Latent (auto-sized from source)"
80
+ },
81
+ "class_type": "EmptySD3LatentImage",
82
+ "inputs": {
83
+ "batch_size": 1,
84
+ "height": [
85
+ "9",
86
+ 1
87
+ ],
88
+ "width": [
89
+ "9",
90
+ 0
91
+ ]
92
+ }
93
+ },
94
+ "14": {
95
+ "class_type": "KSampler",
96
+ "inputs": {
97
+ "cfg": 1.0,
98
+ "denoise": 1.0,
99
+ "latent_image": [
100
+ "13",
101
+ 0
102
+ ],
103
+ "model": [
104
+ "10",
105
+ 0
106
+ ],
107
+ "negative": [
108
+ "12",
109
+ 0
110
+ ],
111
+ "positive": [
112
+ "11",
113
+ 0
114
+ ],
115
+ "sampler_name": "euler",
116
+ "scheduler": "simple",
117
+ "seed": 42,
118
+ "steps": 8
119
+ }
120
+ },
121
+ "15": {
122
+ "class_type": "VAEDecode",
123
+ "inputs": {
124
+ "samples": [
125
+ "14",
126
+ 0
127
+ ],
128
+ "vae": [
129
+ "4",
130
+ 0
131
+ ]
132
+ }
133
+ },
134
+ "16": {
135
+ "class_type": "SaveImage",
136
+ "inputs": {
137
+ "filename_prefix": "new-krea2-identity-turbo-max",
138
+ "images": [
139
+ "15",
140
+ 0
141
+ ]
142
+ }
143
+ },
144
+ "2": {
145
+ "_meta": {
146
+ "title": "Identity Edit LoRA v1.1 (required)"
147
+ },
148
+ "class_type": "LoraLoaderModelOnly",
149
+ "inputs": {
150
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
151
+ "model": [
152
+ "1",
153
+ 0
154
+ ],
155
+ "strength_model": 1.0
156
+ }
157
+ },
158
+ "3": {
159
+ "_meta": {
160
+ "title": "Load Text Encoder"
161
+ },
162
+ "class_type": "CLIPLoader",
163
+ "inputs": {
164
+ "clip_name": "qwen3vl_4b_bf16.safetensors",
165
+ "device": "default",
166
+ "type": "krea2"
167
+ }
168
+ },
169
+ "4": {
170
+ "_meta": {
171
+ "title": "Load VAE"
172
+ },
173
+ "class_type": "VAELoader",
174
+ "inputs": {
175
+ "vae_name": "qwen_image_vae.safetensors"
176
+ }
177
+ },
178
+ "5": {
179
+ "_meta": {
180
+ "title": "Source Image"
181
+ },
182
+ "class_type": "LoadImage",
183
+ "inputs": {
184
+ "image": "example.png"
185
+ }
186
+ },
187
+ "6": {
188
+ "_meta": {
189
+ "title": "Input max size (longest edge)"
190
+ },
191
+ "class_type": "PrimitiveInt",
192
+ "inputs": {
193
+ "value": 1536
194
+ }
195
+ },
196
+ "7": {
197
+ "_meta": {
198
+ "title": "Scale source (longest edge = max size)"
199
+ },
200
+ "class_type": "ImageScaleToMaxDimension",
201
+ "inputs": {
202
+ "image": [
203
+ "5",
204
+ 0
205
+ ],
206
+ "largest_size": [
207
+ "6",
208
+ 0
209
+ ],
210
+ "upscale_method": "lanczos"
211
+ }
212
+ },
213
+ "8": {
214
+ "_meta": {
215
+ "title": "VAE Encode Source"
216
+ },
217
+ "class_type": "VAEEncode",
218
+ "inputs": {
219
+ "pixels": [
220
+ "7",
221
+ 0
222
+ ],
223
+ "vae": [
224
+ "4",
225
+ 0
226
+ ]
227
+ }
228
+ },
229
+ "9": {
230
+ "_meta": {
231
+ "title": "Source size \u2192 target latent"
232
+ },
233
+ "class_type": "GetImageSize",
234
+ "inputs": {
235
+ "image": [
236
+ "7",
237
+ 0
238
+ ]
239
+ }
240
+ }
241
+ }
workflows/api/new-krea2-identity-edit-turbo.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "_meta": {
4
+ "title": "Load Krea 2 Diffusion Model"
5
+ },
6
+ "class_type": "UNETLoader",
7
+ "inputs": {
8
+ "unet_name": "krea2_turbo_mxfp8.safetensors",
9
+ "weight_dtype": "default"
10
+ }
11
+ },
12
+ "10": {
13
+ "_meta": {
14
+ "title": "Krea2 Edit (source patch)"
15
+ },
16
+ "class_type": "Krea2EditModelPatch",
17
+ "inputs": {
18
+ "fit_mode": "crop (legacy)",
19
+ "model": [
20
+ "2",
21
+ 0
22
+ ],
23
+ "ref_boost": 1.0,
24
+ "ref_boost_a": 1.0,
25
+ "source_image": [
26
+ "7",
27
+ 0
28
+ ],
29
+ "source_latent": [
30
+ "8",
31
+ 0
32
+ ],
33
+ "vae": [
34
+ "4",
35
+ 0
36
+ ]
37
+ }
38
+ },
39
+ "11": {
40
+ "_meta": {
41
+ "title": "Edit Instruction (grounded on source)"
42
+ },
43
+ "class_type": "Krea2EditGroundedEncode",
44
+ "inputs": {
45
+ "clip": [
46
+ "3",
47
+ 0
48
+ ],
49
+ "grounding_px": 768,
50
+ "image": [
51
+ "7",
52
+ 0
53
+ ],
54
+ "prompt": "Create a photo of this woman holding up a peace sign, natural smile, outdoor afternoon light",
55
+ "system_prompt": ""
56
+ }
57
+ },
58
+ "12": {
59
+ "_meta": {
60
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
61
+ },
62
+ "class_type": "Krea2EditGroundedEncode",
63
+ "inputs": {
64
+ "clip": [
65
+ "3",
66
+ 0
67
+ ],
68
+ "grounding_px": 768,
69
+ "image": [
70
+ "7",
71
+ 0
72
+ ],
73
+ "prompt": "",
74
+ "system_prompt": ""
75
+ }
76
+ },
77
+ "13": {
78
+ "_meta": {
79
+ "title": "Target Latent (auto-sized from source)"
80
+ },
81
+ "class_type": "EmptySD3LatentImage",
82
+ "inputs": {
83
+ "batch_size": 1,
84
+ "height": [
85
+ "9",
86
+ 1
87
+ ],
88
+ "width": [
89
+ "9",
90
+ 0
91
+ ]
92
+ }
93
+ },
94
+ "14": {
95
+ "class_type": "KSampler",
96
+ "inputs": {
97
+ "cfg": 1.0,
98
+ "denoise": 1.0,
99
+ "latent_image": [
100
+ "13",
101
+ 0
102
+ ],
103
+ "model": [
104
+ "10",
105
+ 0
106
+ ],
107
+ "negative": [
108
+ "12",
109
+ 0
110
+ ],
111
+ "positive": [
112
+ "11",
113
+ 0
114
+ ],
115
+ "sampler_name": "euler",
116
+ "scheduler": "simple",
117
+ "seed": 42,
118
+ "steps": 8
119
+ }
120
+ },
121
+ "15": {
122
+ "class_type": "VAEDecode",
123
+ "inputs": {
124
+ "samples": [
125
+ "14",
126
+ 0
127
+ ],
128
+ "vae": [
129
+ "4",
130
+ 0
131
+ ]
132
+ }
133
+ },
134
+ "16": {
135
+ "class_type": "SaveImage",
136
+ "inputs": {
137
+ "filename_prefix": "new-krea2-identity-turbo",
138
+ "images": [
139
+ "15",
140
+ 0
141
+ ]
142
+ }
143
+ },
144
+ "2": {
145
+ "_meta": {
146
+ "title": "Identity Edit LoRA v1.1 (required)"
147
+ },
148
+ "class_type": "LoraLoaderModelOnly",
149
+ "inputs": {
150
+ "lora_name": "krea2_identity_edit_v1_1.safetensors",
151
+ "model": [
152
+ "1",
153
+ 0
154
+ ],
155
+ "strength_model": 1.0
156
+ }
157
+ },
158
+ "3": {
159
+ "_meta": {
160
+ "title": "Load Text Encoder"
161
+ },
162
+ "class_type": "CLIPLoader",
163
+ "inputs": {
164
+ "clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
165
+ "device": "default",
166
+ "type": "krea2"
167
+ }
168
+ },
169
+ "4": {
170
+ "_meta": {
171
+ "title": "Load VAE"
172
+ },
173
+ "class_type": "VAELoader",
174
+ "inputs": {
175
+ "vae_name": "qwen_image_vae.safetensors"
176
+ }
177
+ },
178
+ "5": {
179
+ "_meta": {
180
+ "title": "Source Image"
181
+ },
182
+ "class_type": "LoadImage",
183
+ "inputs": {
184
+ "image": "example.png"
185
+ }
186
+ },
187
+ "6": {
188
+ "_meta": {
189
+ "title": "Input max size (longest edge)"
190
+ },
191
+ "class_type": "PrimitiveInt",
192
+ "inputs": {
193
+ "value": 1536
194
+ }
195
+ },
196
+ "7": {
197
+ "_meta": {
198
+ "title": "Scale source (longest edge = max size)"
199
+ },
200
+ "class_type": "ImageScaleToMaxDimension",
201
+ "inputs": {
202
+ "image": [
203
+ "5",
204
+ 0
205
+ ],
206
+ "largest_size": [
207
+ "6",
208
+ 0
209
+ ],
210
+ "upscale_method": "lanczos"
211
+ }
212
+ },
213
+ "8": {
214
+ "_meta": {
215
+ "title": "VAE Encode Source"
216
+ },
217
+ "class_type": "VAEEncode",
218
+ "inputs": {
219
+ "pixels": [
220
+ "7",
221
+ 0
222
+ ],
223
+ "vae": [
224
+ "4",
225
+ 0
226
+ ]
227
+ }
228
+ },
229
+ "9": {
230
+ "_meta": {
231
+ "title": "Source size \u2192 target latent"
232
+ },
233
+ "class_type": "GetImageSize",
234
+ "inputs": {
235
+ "image": [
236
+ "7",
237
+ 0
238
+ ]
239
+ }
240
+ }
241
+ }
workflows/new-krea2-identity-edit-raw-2img-max.json ADDED
@@ -0,0 +1,1047 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 19,
3
+ "last_link_id": 28,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_raw_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 10
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 16,
100
+ 18
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_bf16.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 12,
138
+ 27
139
+ ],
140
+ "slot_index": 0
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "VAELoader"
145
+ },
146
+ "widgets_values": [
147
+ "qwen_image_vae.safetensors"
148
+ ],
149
+ "title": "Load VAE"
150
+ },
151
+ {
152
+ "id": 5,
153
+ "type": "LoadImage",
154
+ "pos": [
155
+ 40,
156
+ 620
157
+ ],
158
+ "size": [
159
+ 340,
160
+ 314
161
+ ],
162
+ "flags": {},
163
+ "order": 4,
164
+ "mode": 0,
165
+ "inputs": [],
166
+ "outputs": [
167
+ {
168
+ "name": "IMAGE",
169
+ "type": "IMAGE",
170
+ "links": [
171
+ 2
172
+ ],
173
+ "slot_index": 0
174
+ },
175
+ {
176
+ "name": "MASK",
177
+ "type": "MASK",
178
+ "links": [],
179
+ "slot_index": 1
180
+ }
181
+ ],
182
+ "properties": {
183
+ "Node name for S&R": "LoadImage"
184
+ },
185
+ "widgets_values": [
186
+ "example.png",
187
+ "image"
188
+ ],
189
+ "title": "Scene Image (image 1 \u2014 the scene)"
190
+ },
191
+ {
192
+ "id": 6,
193
+ "type": "PrimitiveInt",
194
+ "pos": [
195
+ 760,
196
+ 300
197
+ ],
198
+ "size": [
199
+ 300,
200
+ 82
201
+ ],
202
+ "flags": {},
203
+ "order": 5,
204
+ "mode": 0,
205
+ "inputs": [],
206
+ "outputs": [
207
+ {
208
+ "name": "INT",
209
+ "type": "INT",
210
+ "links": [
211
+ 3,
212
+ 7
213
+ ],
214
+ "slot_index": 0
215
+ }
216
+ ],
217
+ "properties": {
218
+ "Node name for S&R": "PrimitiveInt"
219
+ },
220
+ "widgets_values": [
221
+ 1536,
222
+ "fixed"
223
+ ],
224
+ "title": "Input max size (longest edge)"
225
+ },
226
+ {
227
+ "id": 7,
228
+ "type": "ImageScaleToMaxDimension",
229
+ "pos": [
230
+ 440,
231
+ 620
232
+ ],
233
+ "size": [
234
+ 300,
235
+ 106
236
+ ],
237
+ "flags": {},
238
+ "order": 6,
239
+ "mode": 0,
240
+ "inputs": [
241
+ {
242
+ "name": "image",
243
+ "type": "IMAGE",
244
+ "link": 2
245
+ },
246
+ {
247
+ "name": "largest_size",
248
+ "type": "INT",
249
+ "link": 3,
250
+ "widget": {
251
+ "name": "largest_size"
252
+ }
253
+ }
254
+ ],
255
+ "outputs": [
256
+ {
257
+ "name": "IMAGE",
258
+ "type": "IMAGE",
259
+ "links": [
260
+ 4,
261
+ 13,
262
+ 17,
263
+ 19
264
+ ],
265
+ "slot_index": 0
266
+ }
267
+ ],
268
+ "properties": {
269
+ "Node name for S&R": "ImageScaleToMaxDimension"
270
+ },
271
+ "widgets_values": [
272
+ "lanczos",
273
+ 1536
274
+ ],
275
+ "title": "Scale source (longest edge = max size)"
276
+ },
277
+ {
278
+ "id": 8,
279
+ "type": "VAEEncode",
280
+ "pos": [
281
+ 440,
282
+ 920
283
+ ],
284
+ "size": [
285
+ 300,
286
+ 46
287
+ ],
288
+ "flags": {},
289
+ "order": 7,
290
+ "mode": 0,
291
+ "inputs": [
292
+ {
293
+ "name": "pixels",
294
+ "type": "IMAGE",
295
+ "link": 4
296
+ },
297
+ {
298
+ "name": "vae",
299
+ "type": "VAE",
300
+ "link": 5
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "LATENT",
306
+ "type": "LATENT",
307
+ "links": [
308
+ 11
309
+ ],
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "VAEEncode"
315
+ },
316
+ "title": "VAE Encode Source"
317
+ },
318
+ {
319
+ "id": 9,
320
+ "type": "LoadImage",
321
+ "pos": [
322
+ 40,
323
+ 990
324
+ ],
325
+ "size": [
326
+ 340,
327
+ 314
328
+ ],
329
+ "flags": {},
330
+ "order": 8,
331
+ "mode": 0,
332
+ "inputs": [],
333
+ "outputs": [
334
+ {
335
+ "name": "IMAGE",
336
+ "type": "IMAGE",
337
+ "links": [
338
+ 6
339
+ ],
340
+ "slot_index": 0
341
+ },
342
+ {
343
+ "name": "MASK",
344
+ "type": "MASK",
345
+ "links": [],
346
+ "slot_index": 1
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "LoadImage"
351
+ },
352
+ "widgets_values": [
353
+ "example.png",
354
+ "image"
355
+ ],
356
+ "title": "Person Image (image 2 \u2014 the person)"
357
+ },
358
+ {
359
+ "id": 10,
360
+ "type": "ImageScaleToMaxDimension",
361
+ "pos": [
362
+ 440,
363
+ 990
364
+ ],
365
+ "size": [
366
+ 300,
367
+ 106
368
+ ],
369
+ "flags": {},
370
+ "order": 9,
371
+ "mode": 0,
372
+ "inputs": [
373
+ {
374
+ "name": "image",
375
+ "type": "IMAGE",
376
+ "link": 6
377
+ },
378
+ {
379
+ "name": "largest_size",
380
+ "type": "INT",
381
+ "link": 7,
382
+ "widget": {
383
+ "name": "largest_size"
384
+ }
385
+ }
386
+ ],
387
+ "outputs": [
388
+ {
389
+ "name": "IMAGE",
390
+ "type": "IMAGE",
391
+ "links": [
392
+ 8,
393
+ 15,
394
+ 20,
395
+ 21
396
+ ],
397
+ "slot_index": 0
398
+ }
399
+ ],
400
+ "properties": {
401
+ "Node name for S&R": "ImageScaleToMaxDimension"
402
+ },
403
+ "widgets_values": [
404
+ "lanczos",
405
+ 1536
406
+ ],
407
+ "title": "Scale person ref"
408
+ },
409
+ {
410
+ "id": 11,
411
+ "type": "VAEEncode",
412
+ "pos": [
413
+ 440,
414
+ 1130
415
+ ],
416
+ "size": [
417
+ 300,
418
+ 46
419
+ ],
420
+ "flags": {},
421
+ "order": 10,
422
+ "mode": 0,
423
+ "inputs": [
424
+ {
425
+ "name": "pixels",
426
+ "type": "IMAGE",
427
+ "link": 8
428
+ },
429
+ {
430
+ "name": "vae",
431
+ "type": "VAE",
432
+ "link": 9
433
+ }
434
+ ],
435
+ "outputs": [
436
+ {
437
+ "name": "LATENT",
438
+ "type": "LATENT",
439
+ "links": [
440
+ 14
441
+ ],
442
+ "slot_index": 0
443
+ }
444
+ ],
445
+ "properties": {
446
+ "Node name for S&R": "VAEEncode"
447
+ },
448
+ "title": "VAE Encode Person"
449
+ },
450
+ {
451
+ "id": 12,
452
+ "type": "Krea2EditModelPatch",
453
+ "pos": [
454
+ 760,
455
+ 440
456
+ ],
457
+ "size": [
458
+ 300,
459
+ 190
460
+ ],
461
+ "flags": {},
462
+ "order": 11,
463
+ "mode": 0,
464
+ "inputs": [
465
+ {
466
+ "name": "model",
467
+ "type": "MODEL",
468
+ "link": 10
469
+ },
470
+ {
471
+ "name": "source_latent",
472
+ "type": "LATENT",
473
+ "link": 11
474
+ },
475
+ {
476
+ "name": "source_latent_b",
477
+ "type": "LATENT",
478
+ "link": 14
479
+ },
480
+ {
481
+ "name": "ref_boost_mask",
482
+ "type": "MASK",
483
+ "link": null
484
+ },
485
+ {
486
+ "name": "vae",
487
+ "type": "VAE",
488
+ "link": 12
489
+ },
490
+ {
491
+ "name": "source_image",
492
+ "type": "IMAGE",
493
+ "link": 13
494
+ },
495
+ {
496
+ "name": "source_image_b",
497
+ "type": "IMAGE",
498
+ "link": 15
499
+ }
500
+ ],
501
+ "outputs": [
502
+ {
503
+ "name": "MODEL",
504
+ "type": "MODEL",
505
+ "links": [
506
+ 22
507
+ ],
508
+ "slot_index": 0
509
+ }
510
+ ],
511
+ "properties": {
512
+ "Node name for S&R": "Krea2EditModelPatch",
513
+ "aux_id": "lbouaraba/comfyui-krea2edit",
514
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
515
+ },
516
+ "widgets_values": [
517
+ 1.0,
518
+ 1.0,
519
+ "crop (legacy)"
520
+ ],
521
+ "title": "Krea2 Edit (source patch)"
522
+ },
523
+ {
524
+ "id": 13,
525
+ "type": "Krea2EditGroundedEncode",
526
+ "pos": [
527
+ 440,
528
+ 60
529
+ ],
530
+ "size": [
531
+ 420,
532
+ 190
533
+ ],
534
+ "flags": {},
535
+ "order": 12,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "name": "clip",
540
+ "type": "CLIP",
541
+ "link": 16
542
+ },
543
+ {
544
+ "name": "image",
545
+ "type": "IMAGE",
546
+ "link": 17
547
+ },
548
+ {
549
+ "name": "image_b",
550
+ "type": "IMAGE",
551
+ "link": 20
552
+ }
553
+ ],
554
+ "outputs": [
555
+ {
556
+ "name": "CONDITIONING",
557
+ "type": "CONDITIONING",
558
+ "links": [
559
+ 23
560
+ ],
561
+ "slot_index": 0
562
+ }
563
+ ],
564
+ "properties": {
565
+ "Node name for S&R": "Krea2EditGroundedEncode",
566
+ "aux_id": "lbouaraba/comfyui-krea2edit",
567
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
568
+ },
569
+ "widgets_values": [
570
+ "Create a photo of this woman standing next to the blue colored pipe",
571
+ 768,
572
+ ""
573
+ ],
574
+ "title": "Edit Instruction (grounded on source)"
575
+ },
576
+ {
577
+ "id": 14,
578
+ "type": "Krea2EditGroundedEncode",
579
+ "pos": [
580
+ 440,
581
+ 300
582
+ ],
583
+ "size": [
584
+ 420,
585
+ 130
586
+ ],
587
+ "flags": {},
588
+ "order": 13,
589
+ "mode": 0,
590
+ "inputs": [
591
+ {
592
+ "name": "clip",
593
+ "type": "CLIP",
594
+ "link": 18
595
+ },
596
+ {
597
+ "name": "image",
598
+ "type": "IMAGE",
599
+ "link": 19
600
+ },
601
+ {
602
+ "name": "image_b",
603
+ "type": "IMAGE",
604
+ "link": 21
605
+ }
606
+ ],
607
+ "outputs": [
608
+ {
609
+ "name": "CONDITIONING",
610
+ "type": "CONDITIONING",
611
+ "links": [
612
+ 24
613
+ ],
614
+ "slot_index": 0
615
+ }
616
+ ],
617
+ "properties": {
618
+ "Node name for S&R": "Krea2EditGroundedEncode",
619
+ "aux_id": "lbouaraba/comfyui-krea2edit",
620
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
621
+ },
622
+ "widgets_values": [
623
+ "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
624
+ 768,
625
+ ""
626
+ ],
627
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
628
+ },
629
+ {
630
+ "id": 15,
631
+ "type": "EmptySD3LatentImage",
632
+ "pos": [
633
+ 760,
634
+ 620
635
+ ],
636
+ "size": [
637
+ 300,
638
+ 106
639
+ ],
640
+ "flags": {},
641
+ "order": 14,
642
+ "mode": 0,
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "LATENT",
647
+ "type": "LATENT",
648
+ "links": [
649
+ 25
650
+ ],
651
+ "slot_index": 0
652
+ }
653
+ ],
654
+ "properties": {
655
+ "Node name for S&R": "EmptySD3LatentImage"
656
+ },
657
+ "widgets_values": [
658
+ 1536,
659
+ 1536,
660
+ 1
661
+ ],
662
+ "title": "Target Latent"
663
+ },
664
+ {
665
+ "id": 16,
666
+ "type": "KSampler",
667
+ "pos": [
668
+ 1120,
669
+ 60
670
+ ],
671
+ "size": [
672
+ 315,
673
+ 262
674
+ ],
675
+ "flags": {},
676
+ "order": 15,
677
+ "mode": 0,
678
+ "inputs": [
679
+ {
680
+ "name": "model",
681
+ "type": "MODEL",
682
+ "link": 22
683
+ },
684
+ {
685
+ "name": "positive",
686
+ "type": "CONDITIONING",
687
+ "link": 23
688
+ },
689
+ {
690
+ "name": "negative",
691
+ "type": "CONDITIONING",
692
+ "link": 24
693
+ },
694
+ {
695
+ "name": "latent_image",
696
+ "type": "LATENT",
697
+ "link": 25
698
+ }
699
+ ],
700
+ "outputs": [
701
+ {
702
+ "name": "LATENT",
703
+ "type": "LATENT",
704
+ "links": [
705
+ 26
706
+ ],
707
+ "slot_index": 0
708
+ }
709
+ ],
710
+ "properties": {
711
+ "Node name for S&R": "KSampler"
712
+ },
713
+ "widgets_values": [
714
+ 42,
715
+ "randomize",
716
+ 50,
717
+ 2.5,
718
+ "er_sde",
719
+ "simple",
720
+ 1.0
721
+ ]
722
+ },
723
+ {
724
+ "id": 17,
725
+ "type": "VAEDecode",
726
+ "pos": [
727
+ 1120,
728
+ 380
729
+ ],
730
+ "size": [
731
+ 210,
732
+ 46
733
+ ],
734
+ "flags": {},
735
+ "order": 16,
736
+ "mode": 0,
737
+ "inputs": [
738
+ {
739
+ "name": "samples",
740
+ "type": "LATENT",
741
+ "link": 26
742
+ },
743
+ {
744
+ "name": "vae",
745
+ "type": "VAE",
746
+ "link": 27
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "IMAGE",
752
+ "type": "IMAGE",
753
+ "links": [
754
+ 28
755
+ ],
756
+ "slot_index": 0
757
+ }
758
+ ],
759
+ "properties": {
760
+ "Node name for S&R": "VAEDecode"
761
+ }
762
+ },
763
+ {
764
+ "id": 18,
765
+ "type": "SaveImage",
766
+ "pos": [
767
+ 1120,
768
+ 480
769
+ ],
770
+ "size": [
771
+ 360,
772
+ 270
773
+ ],
774
+ "flags": {},
775
+ "order": 17,
776
+ "mode": 0,
777
+ "inputs": [
778
+ {
779
+ "name": "images",
780
+ "type": "IMAGE",
781
+ "link": 28
782
+ }
783
+ ],
784
+ "outputs": [],
785
+ "properties": {
786
+ "Node name for S&R": "SaveImage"
787
+ },
788
+ "widgets_values": [
789
+ "new-krea2-identity-raw-2img-max"
790
+ ]
791
+ },
792
+ {
793
+ "id": 19,
794
+ "type": "MarkdownNote",
795
+ "pos": [
796
+ 1500,
797
+ 60
798
+ ],
799
+ "size": [
800
+ 520,
801
+ 460
802
+ ],
803
+ "flags": {},
804
+ "order": 18,
805
+ "mode": 0,
806
+ "inputs": [],
807
+ "outputs": [],
808
+ "properties": {
809
+ "Node name for S&R": "MarkdownNote"
810
+ },
811
+ "widgets_values": [
812
+ "## Krea 2 Identity Edit \u2014 RAW, two references \u2014 MAX QUALITY\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\nScene = image 1, person = image 2 (fixed order \u2014 swapping degrades results). Raw bf16, 50 steps / CFG 2.5 / `er_sde`.\n\n**MAX-QUALITY VARIANT:** every model at its largest precision \u2014 diffusion model in bf16 and the Qwen3-VL text encoder in bf16 (`qwen3vl_4b_bf16.safetensors`, vs fp8_scaled in the standard file). Needs ~40GB+ VRAM headroom (H100-class); on smaller GPUs use the non-max version."
813
+ ],
814
+ "title": "About this workflow"
815
+ }
816
+ ],
817
+ "links": [
818
+ [
819
+ 1,
820
+ 1,
821
+ 0,
822
+ 2,
823
+ 0,
824
+ "MODEL"
825
+ ],
826
+ [
827
+ 2,
828
+ 5,
829
+ 0,
830
+ 7,
831
+ 0,
832
+ "IMAGE"
833
+ ],
834
+ [
835
+ 3,
836
+ 6,
837
+ 0,
838
+ 7,
839
+ 1,
840
+ "INT"
841
+ ],
842
+ [
843
+ 4,
844
+ 7,
845
+ 0,
846
+ 8,
847
+ 0,
848
+ "IMAGE"
849
+ ],
850
+ [
851
+ 5,
852
+ 4,
853
+ 0,
854
+ 8,
855
+ 1,
856
+ "VAE"
857
+ ],
858
+ [
859
+ 6,
860
+ 9,
861
+ 0,
862
+ 10,
863
+ 0,
864
+ "IMAGE"
865
+ ],
866
+ [
867
+ 7,
868
+ 6,
869
+ 0,
870
+ 10,
871
+ 1,
872
+ "INT"
873
+ ],
874
+ [
875
+ 8,
876
+ 10,
877
+ 0,
878
+ 11,
879
+ 0,
880
+ "IMAGE"
881
+ ],
882
+ [
883
+ 9,
884
+ 4,
885
+ 0,
886
+ 11,
887
+ 1,
888
+ "VAE"
889
+ ],
890
+ [
891
+ 10,
892
+ 2,
893
+ 0,
894
+ 12,
895
+ 0,
896
+ "MODEL"
897
+ ],
898
+ [
899
+ 11,
900
+ 8,
901
+ 0,
902
+ 12,
903
+ 1,
904
+ "LATENT"
905
+ ],
906
+ [
907
+ 12,
908
+ 4,
909
+ 0,
910
+ 12,
911
+ 4,
912
+ "VAE"
913
+ ],
914
+ [
915
+ 13,
916
+ 7,
917
+ 0,
918
+ 12,
919
+ 5,
920
+ "IMAGE"
921
+ ],
922
+ [
923
+ 14,
924
+ 11,
925
+ 0,
926
+ 12,
927
+ 2,
928
+ "LATENT"
929
+ ],
930
+ [
931
+ 15,
932
+ 10,
933
+ 0,
934
+ 12,
935
+ 6,
936
+ "IMAGE"
937
+ ],
938
+ [
939
+ 16,
940
+ 3,
941
+ 0,
942
+ 13,
943
+ 0,
944
+ "CLIP"
945
+ ],
946
+ [
947
+ 17,
948
+ 7,
949
+ 0,
950
+ 13,
951
+ 1,
952
+ "IMAGE"
953
+ ],
954
+ [
955
+ 18,
956
+ 3,
957
+ 0,
958
+ 14,
959
+ 0,
960
+ "CLIP"
961
+ ],
962
+ [
963
+ 19,
964
+ 7,
965
+ 0,
966
+ 14,
967
+ 1,
968
+ "IMAGE"
969
+ ],
970
+ [
971
+ 20,
972
+ 10,
973
+ 0,
974
+ 13,
975
+ 2,
976
+ "IMAGE"
977
+ ],
978
+ [
979
+ 21,
980
+ 10,
981
+ 0,
982
+ 14,
983
+ 2,
984
+ "IMAGE"
985
+ ],
986
+ [
987
+ 22,
988
+ 12,
989
+ 0,
990
+ 16,
991
+ 0,
992
+ "MODEL"
993
+ ],
994
+ [
995
+ 23,
996
+ 13,
997
+ 0,
998
+ 16,
999
+ 1,
1000
+ "CONDITIONING"
1001
+ ],
1002
+ [
1003
+ 24,
1004
+ 14,
1005
+ 0,
1006
+ 16,
1007
+ 2,
1008
+ "CONDITIONING"
1009
+ ],
1010
+ [
1011
+ 25,
1012
+ 15,
1013
+ 0,
1014
+ 16,
1015
+ 3,
1016
+ "LATENT"
1017
+ ],
1018
+ [
1019
+ 26,
1020
+ 16,
1021
+ 0,
1022
+ 17,
1023
+ 0,
1024
+ "LATENT"
1025
+ ],
1026
+ [
1027
+ 27,
1028
+ 4,
1029
+ 0,
1030
+ 17,
1031
+ 1,
1032
+ "VAE"
1033
+ ],
1034
+ [
1035
+ 28,
1036
+ 17,
1037
+ 0,
1038
+ 18,
1039
+ 0,
1040
+ "IMAGE"
1041
+ ]
1042
+ ],
1043
+ "groups": [],
1044
+ "config": {},
1045
+ "extra": {},
1046
+ "version": 0.4
1047
+ }
workflows/new-krea2-identity-edit-raw-2img.json ADDED
@@ -0,0 +1,1047 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 19,
3
+ "last_link_id": 28,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_raw_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 10
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 16,
100
+ 18
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_fp8_scaled.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 12,
138
+ 27
139
+ ],
140
+ "slot_index": 0
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "VAELoader"
145
+ },
146
+ "widgets_values": [
147
+ "qwen_image_vae.safetensors"
148
+ ],
149
+ "title": "Load VAE"
150
+ },
151
+ {
152
+ "id": 5,
153
+ "type": "LoadImage",
154
+ "pos": [
155
+ 40,
156
+ 620
157
+ ],
158
+ "size": [
159
+ 340,
160
+ 314
161
+ ],
162
+ "flags": {},
163
+ "order": 4,
164
+ "mode": 0,
165
+ "inputs": [],
166
+ "outputs": [
167
+ {
168
+ "name": "IMAGE",
169
+ "type": "IMAGE",
170
+ "links": [
171
+ 2
172
+ ],
173
+ "slot_index": 0
174
+ },
175
+ {
176
+ "name": "MASK",
177
+ "type": "MASK",
178
+ "links": [],
179
+ "slot_index": 1
180
+ }
181
+ ],
182
+ "properties": {
183
+ "Node name for S&R": "LoadImage"
184
+ },
185
+ "widgets_values": [
186
+ "example.png",
187
+ "image"
188
+ ],
189
+ "title": "Scene Image (image 1 \u2014 the scene)"
190
+ },
191
+ {
192
+ "id": 6,
193
+ "type": "PrimitiveInt",
194
+ "pos": [
195
+ 760,
196
+ 300
197
+ ],
198
+ "size": [
199
+ 300,
200
+ 82
201
+ ],
202
+ "flags": {},
203
+ "order": 5,
204
+ "mode": 0,
205
+ "inputs": [],
206
+ "outputs": [
207
+ {
208
+ "name": "INT",
209
+ "type": "INT",
210
+ "links": [
211
+ 3,
212
+ 7
213
+ ],
214
+ "slot_index": 0
215
+ }
216
+ ],
217
+ "properties": {
218
+ "Node name for S&R": "PrimitiveInt"
219
+ },
220
+ "widgets_values": [
221
+ 1536,
222
+ "fixed"
223
+ ],
224
+ "title": "Input max size (longest edge)"
225
+ },
226
+ {
227
+ "id": 7,
228
+ "type": "ImageScaleToMaxDimension",
229
+ "pos": [
230
+ 440,
231
+ 620
232
+ ],
233
+ "size": [
234
+ 300,
235
+ 106
236
+ ],
237
+ "flags": {},
238
+ "order": 6,
239
+ "mode": 0,
240
+ "inputs": [
241
+ {
242
+ "name": "image",
243
+ "type": "IMAGE",
244
+ "link": 2
245
+ },
246
+ {
247
+ "name": "largest_size",
248
+ "type": "INT",
249
+ "link": 3,
250
+ "widget": {
251
+ "name": "largest_size"
252
+ }
253
+ }
254
+ ],
255
+ "outputs": [
256
+ {
257
+ "name": "IMAGE",
258
+ "type": "IMAGE",
259
+ "links": [
260
+ 4,
261
+ 13,
262
+ 17,
263
+ 19
264
+ ],
265
+ "slot_index": 0
266
+ }
267
+ ],
268
+ "properties": {
269
+ "Node name for S&R": "ImageScaleToMaxDimension"
270
+ },
271
+ "widgets_values": [
272
+ "lanczos",
273
+ 1536
274
+ ],
275
+ "title": "Scale source (longest edge = max size)"
276
+ },
277
+ {
278
+ "id": 8,
279
+ "type": "VAEEncode",
280
+ "pos": [
281
+ 440,
282
+ 920
283
+ ],
284
+ "size": [
285
+ 300,
286
+ 46
287
+ ],
288
+ "flags": {},
289
+ "order": 7,
290
+ "mode": 0,
291
+ "inputs": [
292
+ {
293
+ "name": "pixels",
294
+ "type": "IMAGE",
295
+ "link": 4
296
+ },
297
+ {
298
+ "name": "vae",
299
+ "type": "VAE",
300
+ "link": 5
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "LATENT",
306
+ "type": "LATENT",
307
+ "links": [
308
+ 11
309
+ ],
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "VAEEncode"
315
+ },
316
+ "title": "VAE Encode Source"
317
+ },
318
+ {
319
+ "id": 9,
320
+ "type": "LoadImage",
321
+ "pos": [
322
+ 40,
323
+ 990
324
+ ],
325
+ "size": [
326
+ 340,
327
+ 314
328
+ ],
329
+ "flags": {},
330
+ "order": 8,
331
+ "mode": 0,
332
+ "inputs": [],
333
+ "outputs": [
334
+ {
335
+ "name": "IMAGE",
336
+ "type": "IMAGE",
337
+ "links": [
338
+ 6
339
+ ],
340
+ "slot_index": 0
341
+ },
342
+ {
343
+ "name": "MASK",
344
+ "type": "MASK",
345
+ "links": [],
346
+ "slot_index": 1
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "LoadImage"
351
+ },
352
+ "widgets_values": [
353
+ "example.png",
354
+ "image"
355
+ ],
356
+ "title": "Person Image (image 2 \u2014 the person)"
357
+ },
358
+ {
359
+ "id": 10,
360
+ "type": "ImageScaleToMaxDimension",
361
+ "pos": [
362
+ 440,
363
+ 990
364
+ ],
365
+ "size": [
366
+ 300,
367
+ 106
368
+ ],
369
+ "flags": {},
370
+ "order": 9,
371
+ "mode": 0,
372
+ "inputs": [
373
+ {
374
+ "name": "image",
375
+ "type": "IMAGE",
376
+ "link": 6
377
+ },
378
+ {
379
+ "name": "largest_size",
380
+ "type": "INT",
381
+ "link": 7,
382
+ "widget": {
383
+ "name": "largest_size"
384
+ }
385
+ }
386
+ ],
387
+ "outputs": [
388
+ {
389
+ "name": "IMAGE",
390
+ "type": "IMAGE",
391
+ "links": [
392
+ 8,
393
+ 15,
394
+ 20,
395
+ 21
396
+ ],
397
+ "slot_index": 0
398
+ }
399
+ ],
400
+ "properties": {
401
+ "Node name for S&R": "ImageScaleToMaxDimension"
402
+ },
403
+ "widgets_values": [
404
+ "lanczos",
405
+ 1536
406
+ ],
407
+ "title": "Scale person ref"
408
+ },
409
+ {
410
+ "id": 11,
411
+ "type": "VAEEncode",
412
+ "pos": [
413
+ 440,
414
+ 1130
415
+ ],
416
+ "size": [
417
+ 300,
418
+ 46
419
+ ],
420
+ "flags": {},
421
+ "order": 10,
422
+ "mode": 0,
423
+ "inputs": [
424
+ {
425
+ "name": "pixels",
426
+ "type": "IMAGE",
427
+ "link": 8
428
+ },
429
+ {
430
+ "name": "vae",
431
+ "type": "VAE",
432
+ "link": 9
433
+ }
434
+ ],
435
+ "outputs": [
436
+ {
437
+ "name": "LATENT",
438
+ "type": "LATENT",
439
+ "links": [
440
+ 14
441
+ ],
442
+ "slot_index": 0
443
+ }
444
+ ],
445
+ "properties": {
446
+ "Node name for S&R": "VAEEncode"
447
+ },
448
+ "title": "VAE Encode Person"
449
+ },
450
+ {
451
+ "id": 12,
452
+ "type": "Krea2EditModelPatch",
453
+ "pos": [
454
+ 760,
455
+ 440
456
+ ],
457
+ "size": [
458
+ 300,
459
+ 190
460
+ ],
461
+ "flags": {},
462
+ "order": 11,
463
+ "mode": 0,
464
+ "inputs": [
465
+ {
466
+ "name": "model",
467
+ "type": "MODEL",
468
+ "link": 10
469
+ },
470
+ {
471
+ "name": "source_latent",
472
+ "type": "LATENT",
473
+ "link": 11
474
+ },
475
+ {
476
+ "name": "source_latent_b",
477
+ "type": "LATENT",
478
+ "link": 14
479
+ },
480
+ {
481
+ "name": "ref_boost_mask",
482
+ "type": "MASK",
483
+ "link": null
484
+ },
485
+ {
486
+ "name": "vae",
487
+ "type": "VAE",
488
+ "link": 12
489
+ },
490
+ {
491
+ "name": "source_image",
492
+ "type": "IMAGE",
493
+ "link": 13
494
+ },
495
+ {
496
+ "name": "source_image_b",
497
+ "type": "IMAGE",
498
+ "link": 15
499
+ }
500
+ ],
501
+ "outputs": [
502
+ {
503
+ "name": "MODEL",
504
+ "type": "MODEL",
505
+ "links": [
506
+ 22
507
+ ],
508
+ "slot_index": 0
509
+ }
510
+ ],
511
+ "properties": {
512
+ "Node name for S&R": "Krea2EditModelPatch",
513
+ "aux_id": "lbouaraba/comfyui-krea2edit",
514
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
515
+ },
516
+ "widgets_values": [
517
+ 1.0,
518
+ 1.0,
519
+ "crop (legacy)"
520
+ ],
521
+ "title": "Krea2 Edit (source patch)"
522
+ },
523
+ {
524
+ "id": 13,
525
+ "type": "Krea2EditGroundedEncode",
526
+ "pos": [
527
+ 440,
528
+ 60
529
+ ],
530
+ "size": [
531
+ 420,
532
+ 190
533
+ ],
534
+ "flags": {},
535
+ "order": 12,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "name": "clip",
540
+ "type": "CLIP",
541
+ "link": 16
542
+ },
543
+ {
544
+ "name": "image",
545
+ "type": "IMAGE",
546
+ "link": 17
547
+ },
548
+ {
549
+ "name": "image_b",
550
+ "type": "IMAGE",
551
+ "link": 20
552
+ }
553
+ ],
554
+ "outputs": [
555
+ {
556
+ "name": "CONDITIONING",
557
+ "type": "CONDITIONING",
558
+ "links": [
559
+ 23
560
+ ],
561
+ "slot_index": 0
562
+ }
563
+ ],
564
+ "properties": {
565
+ "Node name for S&R": "Krea2EditGroundedEncode",
566
+ "aux_id": "lbouaraba/comfyui-krea2edit",
567
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
568
+ },
569
+ "widgets_values": [
570
+ "Create a photo of this woman standing next to the blue colored pipe",
571
+ 768,
572
+ ""
573
+ ],
574
+ "title": "Edit Instruction (grounded on source)"
575
+ },
576
+ {
577
+ "id": 14,
578
+ "type": "Krea2EditGroundedEncode",
579
+ "pos": [
580
+ 440,
581
+ 300
582
+ ],
583
+ "size": [
584
+ 420,
585
+ 130
586
+ ],
587
+ "flags": {},
588
+ "order": 13,
589
+ "mode": 0,
590
+ "inputs": [
591
+ {
592
+ "name": "clip",
593
+ "type": "CLIP",
594
+ "link": 18
595
+ },
596
+ {
597
+ "name": "image",
598
+ "type": "IMAGE",
599
+ "link": 19
600
+ },
601
+ {
602
+ "name": "image_b",
603
+ "type": "IMAGE",
604
+ "link": 21
605
+ }
606
+ ],
607
+ "outputs": [
608
+ {
609
+ "name": "CONDITIONING",
610
+ "type": "CONDITIONING",
611
+ "links": [
612
+ 24
613
+ ],
614
+ "slot_index": 0
615
+ }
616
+ ],
617
+ "properties": {
618
+ "Node name for S&R": "Krea2EditGroundedEncode",
619
+ "aux_id": "lbouaraba/comfyui-krea2edit",
620
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
621
+ },
622
+ "widgets_values": [
623
+ "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
624
+ 768,
625
+ ""
626
+ ],
627
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
628
+ },
629
+ {
630
+ "id": 15,
631
+ "type": "EmptySD3LatentImage",
632
+ "pos": [
633
+ 760,
634
+ 620
635
+ ],
636
+ "size": [
637
+ 300,
638
+ 106
639
+ ],
640
+ "flags": {},
641
+ "order": 14,
642
+ "mode": 0,
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "LATENT",
647
+ "type": "LATENT",
648
+ "links": [
649
+ 25
650
+ ],
651
+ "slot_index": 0
652
+ }
653
+ ],
654
+ "properties": {
655
+ "Node name for S&R": "EmptySD3LatentImage"
656
+ },
657
+ "widgets_values": [
658
+ 1536,
659
+ 1536,
660
+ 1
661
+ ],
662
+ "title": "Target Latent"
663
+ },
664
+ {
665
+ "id": 16,
666
+ "type": "KSampler",
667
+ "pos": [
668
+ 1120,
669
+ 60
670
+ ],
671
+ "size": [
672
+ 315,
673
+ 262
674
+ ],
675
+ "flags": {},
676
+ "order": 15,
677
+ "mode": 0,
678
+ "inputs": [
679
+ {
680
+ "name": "model",
681
+ "type": "MODEL",
682
+ "link": 22
683
+ },
684
+ {
685
+ "name": "positive",
686
+ "type": "CONDITIONING",
687
+ "link": 23
688
+ },
689
+ {
690
+ "name": "negative",
691
+ "type": "CONDITIONING",
692
+ "link": 24
693
+ },
694
+ {
695
+ "name": "latent_image",
696
+ "type": "LATENT",
697
+ "link": 25
698
+ }
699
+ ],
700
+ "outputs": [
701
+ {
702
+ "name": "LATENT",
703
+ "type": "LATENT",
704
+ "links": [
705
+ 26
706
+ ],
707
+ "slot_index": 0
708
+ }
709
+ ],
710
+ "properties": {
711
+ "Node name for S&R": "KSampler"
712
+ },
713
+ "widgets_values": [
714
+ 42,
715
+ "randomize",
716
+ 50,
717
+ 2.5,
718
+ "er_sde",
719
+ "simple",
720
+ 1.0
721
+ ]
722
+ },
723
+ {
724
+ "id": 17,
725
+ "type": "VAEDecode",
726
+ "pos": [
727
+ 1120,
728
+ 380
729
+ ],
730
+ "size": [
731
+ 210,
732
+ 46
733
+ ],
734
+ "flags": {},
735
+ "order": 16,
736
+ "mode": 0,
737
+ "inputs": [
738
+ {
739
+ "name": "samples",
740
+ "type": "LATENT",
741
+ "link": 26
742
+ },
743
+ {
744
+ "name": "vae",
745
+ "type": "VAE",
746
+ "link": 27
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "IMAGE",
752
+ "type": "IMAGE",
753
+ "links": [
754
+ 28
755
+ ],
756
+ "slot_index": 0
757
+ }
758
+ ],
759
+ "properties": {
760
+ "Node name for S&R": "VAEDecode"
761
+ }
762
+ },
763
+ {
764
+ "id": 18,
765
+ "type": "SaveImage",
766
+ "pos": [
767
+ 1120,
768
+ 480
769
+ ],
770
+ "size": [
771
+ 360,
772
+ 270
773
+ ],
774
+ "flags": {},
775
+ "order": 17,
776
+ "mode": 0,
777
+ "inputs": [
778
+ {
779
+ "name": "images",
780
+ "type": "IMAGE",
781
+ "link": 28
782
+ }
783
+ ],
784
+ "outputs": [],
785
+ "properties": {
786
+ "Node name for S&R": "SaveImage"
787
+ },
788
+ "widgets_values": [
789
+ "new-krea2-identity-raw-2img"
790
+ ]
791
+ },
792
+ {
793
+ "id": 19,
794
+ "type": "MarkdownNote",
795
+ "pos": [
796
+ 1500,
797
+ 60
798
+ ],
799
+ "size": [
800
+ 520,
801
+ 460
802
+ ],
803
+ "flags": {},
804
+ "order": 18,
805
+ "mode": 0,
806
+ "inputs": [],
807
+ "outputs": [],
808
+ "properties": {
809
+ "Node name for S&R": "MarkdownNote"
810
+ },
811
+ "widgets_values": [
812
+ "## Krea 2 Identity Edit \u2014 RAW, two references (scene + person)\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\n**Input order is fixed and matters:** the **scene** is always image 1 (`source_latent`/`image`), the **person** is always image 2 (`source_latent_b`/`image_b`) \u2014 swapping them sharply degrades results. Raw at 50 steps / CFG 2.5 / `er_sde`, output 1536\u00d71536 (set the Target Latent to your scene's aspect ratio; for v1.1 two-person edits ~1\u20131.5MP is safer \u2014 faces drift more with two refs, a known limitation of every identity-edit model). For two *people* with distinct faces, chain two single-ref passes instead."
813
+ ],
814
+ "title": "About this workflow"
815
+ }
816
+ ],
817
+ "links": [
818
+ [
819
+ 1,
820
+ 1,
821
+ 0,
822
+ 2,
823
+ 0,
824
+ "MODEL"
825
+ ],
826
+ [
827
+ 2,
828
+ 5,
829
+ 0,
830
+ 7,
831
+ 0,
832
+ "IMAGE"
833
+ ],
834
+ [
835
+ 3,
836
+ 6,
837
+ 0,
838
+ 7,
839
+ 1,
840
+ "INT"
841
+ ],
842
+ [
843
+ 4,
844
+ 7,
845
+ 0,
846
+ 8,
847
+ 0,
848
+ "IMAGE"
849
+ ],
850
+ [
851
+ 5,
852
+ 4,
853
+ 0,
854
+ 8,
855
+ 1,
856
+ "VAE"
857
+ ],
858
+ [
859
+ 6,
860
+ 9,
861
+ 0,
862
+ 10,
863
+ 0,
864
+ "IMAGE"
865
+ ],
866
+ [
867
+ 7,
868
+ 6,
869
+ 0,
870
+ 10,
871
+ 1,
872
+ "INT"
873
+ ],
874
+ [
875
+ 8,
876
+ 10,
877
+ 0,
878
+ 11,
879
+ 0,
880
+ "IMAGE"
881
+ ],
882
+ [
883
+ 9,
884
+ 4,
885
+ 0,
886
+ 11,
887
+ 1,
888
+ "VAE"
889
+ ],
890
+ [
891
+ 10,
892
+ 2,
893
+ 0,
894
+ 12,
895
+ 0,
896
+ "MODEL"
897
+ ],
898
+ [
899
+ 11,
900
+ 8,
901
+ 0,
902
+ 12,
903
+ 1,
904
+ "LATENT"
905
+ ],
906
+ [
907
+ 12,
908
+ 4,
909
+ 0,
910
+ 12,
911
+ 4,
912
+ "VAE"
913
+ ],
914
+ [
915
+ 13,
916
+ 7,
917
+ 0,
918
+ 12,
919
+ 5,
920
+ "IMAGE"
921
+ ],
922
+ [
923
+ 14,
924
+ 11,
925
+ 0,
926
+ 12,
927
+ 2,
928
+ "LATENT"
929
+ ],
930
+ [
931
+ 15,
932
+ 10,
933
+ 0,
934
+ 12,
935
+ 6,
936
+ "IMAGE"
937
+ ],
938
+ [
939
+ 16,
940
+ 3,
941
+ 0,
942
+ 13,
943
+ 0,
944
+ "CLIP"
945
+ ],
946
+ [
947
+ 17,
948
+ 7,
949
+ 0,
950
+ 13,
951
+ 1,
952
+ "IMAGE"
953
+ ],
954
+ [
955
+ 18,
956
+ 3,
957
+ 0,
958
+ 14,
959
+ 0,
960
+ "CLIP"
961
+ ],
962
+ [
963
+ 19,
964
+ 7,
965
+ 0,
966
+ 14,
967
+ 1,
968
+ "IMAGE"
969
+ ],
970
+ [
971
+ 20,
972
+ 10,
973
+ 0,
974
+ 13,
975
+ 2,
976
+ "IMAGE"
977
+ ],
978
+ [
979
+ 21,
980
+ 10,
981
+ 0,
982
+ 14,
983
+ 2,
984
+ "IMAGE"
985
+ ],
986
+ [
987
+ 22,
988
+ 12,
989
+ 0,
990
+ 16,
991
+ 0,
992
+ "MODEL"
993
+ ],
994
+ [
995
+ 23,
996
+ 13,
997
+ 0,
998
+ 16,
999
+ 1,
1000
+ "CONDITIONING"
1001
+ ],
1002
+ [
1003
+ 24,
1004
+ 14,
1005
+ 0,
1006
+ 16,
1007
+ 2,
1008
+ "CONDITIONING"
1009
+ ],
1010
+ [
1011
+ 25,
1012
+ 15,
1013
+ 0,
1014
+ 16,
1015
+ 3,
1016
+ "LATENT"
1017
+ ],
1018
+ [
1019
+ 26,
1020
+ 16,
1021
+ 0,
1022
+ 17,
1023
+ 0,
1024
+ "LATENT"
1025
+ ],
1026
+ [
1027
+ 27,
1028
+ 4,
1029
+ 0,
1030
+ 17,
1031
+ 1,
1032
+ "VAE"
1033
+ ],
1034
+ [
1035
+ 28,
1036
+ 17,
1037
+ 0,
1038
+ 18,
1039
+ 0,
1040
+ "IMAGE"
1041
+ ]
1042
+ ],
1043
+ "groups": [],
1044
+ "config": {},
1045
+ "extra": {},
1046
+ "version": 0.4
1047
+ }
workflows/new-krea2-identity-edit-raw-max.json ADDED
@@ -0,0 +1,942 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 17,
3
+ "last_link_id": 23,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_raw_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 7
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 11,
100
+ 13
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_bf16.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 22
138
+ ],
139
+ "slot_index": 0
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "VAELoader"
144
+ },
145
+ "widgets_values": [
146
+ "qwen_image_vae.safetensors"
147
+ ],
148
+ "title": "Load VAE"
149
+ },
150
+ {
151
+ "id": 5,
152
+ "type": "LoadImage",
153
+ "pos": [
154
+ 40,
155
+ 620
156
+ ],
157
+ "size": [
158
+ 340,
159
+ 314
160
+ ],
161
+ "flags": {},
162
+ "order": 4,
163
+ "mode": 0,
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "IMAGE",
168
+ "type": "IMAGE",
169
+ "links": [
170
+ 2
171
+ ],
172
+ "slot_index": 0
173
+ },
174
+ {
175
+ "name": "MASK",
176
+ "type": "MASK",
177
+ "links": [],
178
+ "slot_index": 1
179
+ }
180
+ ],
181
+ "properties": {
182
+ "Node name for S&R": "LoadImage"
183
+ },
184
+ "widgets_values": [
185
+ "example.png",
186
+ "image"
187
+ ],
188
+ "title": "Source Image"
189
+ },
190
+ {
191
+ "id": 6,
192
+ "type": "PrimitiveInt",
193
+ "pos": [
194
+ 760,
195
+ 300
196
+ ],
197
+ "size": [
198
+ 300,
199
+ 82
200
+ ],
201
+ "flags": {},
202
+ "order": 5,
203
+ "mode": 0,
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "name": "INT",
208
+ "type": "INT",
209
+ "links": [
210
+ 3
211
+ ],
212
+ "slot_index": 0
213
+ }
214
+ ],
215
+ "properties": {
216
+ "Node name for S&R": "PrimitiveInt"
217
+ },
218
+ "widgets_values": [
219
+ 1536,
220
+ "fixed"
221
+ ],
222
+ "title": "Input max size (longest edge)"
223
+ },
224
+ {
225
+ "id": 7,
226
+ "type": "ImageScaleToMaxDimension",
227
+ "pos": [
228
+ 440,
229
+ 620
230
+ ],
231
+ "size": [
232
+ 300,
233
+ 106
234
+ ],
235
+ "flags": {},
236
+ "order": 6,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "image",
241
+ "type": "IMAGE",
242
+ "link": 2
243
+ },
244
+ {
245
+ "name": "largest_size",
246
+ "type": "INT",
247
+ "link": 3,
248
+ "widget": {
249
+ "name": "largest_size"
250
+ }
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "IMAGE",
256
+ "type": "IMAGE",
257
+ "links": [
258
+ 4,
259
+ 6,
260
+ 10,
261
+ 12,
262
+ 14
263
+ ],
264
+ "slot_index": 0
265
+ }
266
+ ],
267
+ "properties": {
268
+ "Node name for S&R": "ImageScaleToMaxDimension"
269
+ },
270
+ "widgets_values": [
271
+ "lanczos",
272
+ 1536
273
+ ],
274
+ "title": "Scale source (longest edge = max size)"
275
+ },
276
+ {
277
+ "id": 8,
278
+ "type": "VAEEncode",
279
+ "pos": [
280
+ 440,
281
+ 920
282
+ ],
283
+ "size": [
284
+ 300,
285
+ 46
286
+ ],
287
+ "flags": {},
288
+ "order": 7,
289
+ "mode": 0,
290
+ "inputs": [
291
+ {
292
+ "name": "pixels",
293
+ "type": "IMAGE",
294
+ "link": 4
295
+ },
296
+ {
297
+ "name": "vae",
298
+ "type": "VAE",
299
+ "link": 5
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "LATENT",
305
+ "type": "LATENT",
306
+ "links": [
307
+ 8
308
+ ],
309
+ "slot_index": 0
310
+ }
311
+ ],
312
+ "properties": {
313
+ "Node name for S&R": "VAEEncode"
314
+ },
315
+ "title": "VAE Encode Source"
316
+ },
317
+ {
318
+ "id": 9,
319
+ "type": "GetImageSize",
320
+ "pos": [
321
+ 440,
322
+ 780
323
+ ],
324
+ "size": [
325
+ 240,
326
+ 90
327
+ ],
328
+ "flags": {},
329
+ "order": 8,
330
+ "mode": 0,
331
+ "inputs": [
332
+ {
333
+ "name": "image",
334
+ "type": "IMAGE",
335
+ "link": 6
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "width",
341
+ "type": "INT",
342
+ "links": [
343
+ 15
344
+ ],
345
+ "slot_index": 0
346
+ },
347
+ {
348
+ "name": "height",
349
+ "type": "INT",
350
+ "links": [
351
+ 16
352
+ ],
353
+ "slot_index": 1
354
+ },
355
+ {
356
+ "name": "batch_size",
357
+ "type": "INT",
358
+ "links": [],
359
+ "slot_index": 2
360
+ }
361
+ ],
362
+ "properties": {
363
+ "Node name for S&R": "GetImageSize"
364
+ },
365
+ "widgets_values": [],
366
+ "title": "Source size \u2192 target latent"
367
+ },
368
+ {
369
+ "id": 10,
370
+ "type": "Krea2EditModelPatch",
371
+ "pos": [
372
+ 760,
373
+ 440
374
+ ],
375
+ "size": [
376
+ 300,
377
+ 190
378
+ ],
379
+ "flags": {},
380
+ "order": 9,
381
+ "mode": 0,
382
+ "inputs": [
383
+ {
384
+ "name": "model",
385
+ "type": "MODEL",
386
+ "link": 7
387
+ },
388
+ {
389
+ "name": "source_latent",
390
+ "type": "LATENT",
391
+ "link": 8
392
+ },
393
+ {
394
+ "name": "source_latent_b",
395
+ "type": "LATENT",
396
+ "link": null
397
+ },
398
+ {
399
+ "name": "ref_boost_mask",
400
+ "type": "MASK",
401
+ "link": null
402
+ },
403
+ {
404
+ "name": "vae",
405
+ "type": "VAE",
406
+ "link": 9
407
+ },
408
+ {
409
+ "name": "source_image",
410
+ "type": "IMAGE",
411
+ "link": 10
412
+ },
413
+ {
414
+ "name": "source_image_b",
415
+ "type": "IMAGE",
416
+ "link": null
417
+ }
418
+ ],
419
+ "outputs": [
420
+ {
421
+ "name": "MODEL",
422
+ "type": "MODEL",
423
+ "links": [
424
+ 17
425
+ ],
426
+ "slot_index": 0
427
+ }
428
+ ],
429
+ "properties": {
430
+ "Node name for S&R": "Krea2EditModelPatch",
431
+ "aux_id": "lbouaraba/comfyui-krea2edit",
432
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
433
+ },
434
+ "widgets_values": [
435
+ 1.0,
436
+ 1.0,
437
+ "crop (legacy)"
438
+ ],
439
+ "title": "Krea2 Edit (source patch)"
440
+ },
441
+ {
442
+ "id": 11,
443
+ "type": "Krea2EditGroundedEncode",
444
+ "pos": [
445
+ 440,
446
+ 60
447
+ ],
448
+ "size": [
449
+ 420,
450
+ 190
451
+ ],
452
+ "flags": {},
453
+ "order": 10,
454
+ "mode": 0,
455
+ "inputs": [
456
+ {
457
+ "name": "clip",
458
+ "type": "CLIP",
459
+ "link": 11
460
+ },
461
+ {
462
+ "name": "image",
463
+ "type": "IMAGE",
464
+ "link": 12
465
+ },
466
+ {
467
+ "name": "image_b",
468
+ "type": "IMAGE",
469
+ "link": null
470
+ }
471
+ ],
472
+ "outputs": [
473
+ {
474
+ "name": "CONDITIONING",
475
+ "type": "CONDITIONING",
476
+ "links": [
477
+ 18
478
+ ],
479
+ "slot_index": 0
480
+ }
481
+ ],
482
+ "properties": {
483
+ "Node name for S&R": "Krea2EditGroundedEncode",
484
+ "aux_id": "lbouaraba/comfyui-krea2edit",
485
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
486
+ },
487
+ "widgets_values": [
488
+ "A cinematic portrait photo of this woman standing in a neon-lit city street at night, shallow depth of field, soft rim lighting, 85mm lens",
489
+ 768,
490
+ ""
491
+ ],
492
+ "title": "Edit Instruction (grounded on source)"
493
+ },
494
+ {
495
+ "id": 12,
496
+ "type": "Krea2EditGroundedEncode",
497
+ "pos": [
498
+ 440,
499
+ 300
500
+ ],
501
+ "size": [
502
+ 420,
503
+ 130
504
+ ],
505
+ "flags": {},
506
+ "order": 11,
507
+ "mode": 0,
508
+ "inputs": [
509
+ {
510
+ "name": "clip",
511
+ "type": "CLIP",
512
+ "link": 13
513
+ },
514
+ {
515
+ "name": "image",
516
+ "type": "IMAGE",
517
+ "link": 14
518
+ },
519
+ {
520
+ "name": "image_b",
521
+ "type": "IMAGE",
522
+ "link": null
523
+ }
524
+ ],
525
+ "outputs": [
526
+ {
527
+ "name": "CONDITIONING",
528
+ "type": "CONDITIONING",
529
+ "links": [
530
+ 19
531
+ ],
532
+ "slot_index": 0
533
+ }
534
+ ],
535
+ "properties": {
536
+ "Node name for S&R": "Krea2EditGroundedEncode",
537
+ "aux_id": "lbouaraba/comfyui-krea2edit",
538
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
539
+ },
540
+ "widgets_values": [
541
+ "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
542
+ 768,
543
+ ""
544
+ ],
545
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
546
+ },
547
+ {
548
+ "id": 13,
549
+ "type": "EmptySD3LatentImage",
550
+ "pos": [
551
+ 760,
552
+ 620
553
+ ],
554
+ "size": [
555
+ 300,
556
+ 106
557
+ ],
558
+ "flags": {},
559
+ "order": 12,
560
+ "mode": 0,
561
+ "inputs": [
562
+ {
563
+ "name": "width",
564
+ "type": "INT",
565
+ "link": 15,
566
+ "widget": {
567
+ "name": "width"
568
+ }
569
+ },
570
+ {
571
+ "name": "height",
572
+ "type": "INT",
573
+ "link": 16,
574
+ "widget": {
575
+ "name": "height"
576
+ }
577
+ }
578
+ ],
579
+ "outputs": [
580
+ {
581
+ "name": "LATENT",
582
+ "type": "LATENT",
583
+ "links": [
584
+ 20
585
+ ],
586
+ "slot_index": 0
587
+ }
588
+ ],
589
+ "properties": {
590
+ "Node name for S&R": "EmptySD3LatentImage"
591
+ },
592
+ "widgets_values": [
593
+ 1536,
594
+ 1536,
595
+ 1
596
+ ],
597
+ "title": "Target Latent (auto-sized from source)"
598
+ },
599
+ {
600
+ "id": 14,
601
+ "type": "KSampler",
602
+ "pos": [
603
+ 1120,
604
+ 60
605
+ ],
606
+ "size": [
607
+ 315,
608
+ 262
609
+ ],
610
+ "flags": {},
611
+ "order": 13,
612
+ "mode": 0,
613
+ "inputs": [
614
+ {
615
+ "name": "model",
616
+ "type": "MODEL",
617
+ "link": 17
618
+ },
619
+ {
620
+ "name": "positive",
621
+ "type": "CONDITIONING",
622
+ "link": 18
623
+ },
624
+ {
625
+ "name": "negative",
626
+ "type": "CONDITIONING",
627
+ "link": 19
628
+ },
629
+ {
630
+ "name": "latent_image",
631
+ "type": "LATENT",
632
+ "link": 20
633
+ }
634
+ ],
635
+ "outputs": [
636
+ {
637
+ "name": "LATENT",
638
+ "type": "LATENT",
639
+ "links": [
640
+ 21
641
+ ],
642
+ "slot_index": 0
643
+ }
644
+ ],
645
+ "properties": {
646
+ "Node name for S&R": "KSampler"
647
+ },
648
+ "widgets_values": [
649
+ 42,
650
+ "randomize",
651
+ 50,
652
+ 2.5,
653
+ "er_sde",
654
+ "simple",
655
+ 1.0
656
+ ]
657
+ },
658
+ {
659
+ "id": 15,
660
+ "type": "VAEDecode",
661
+ "pos": [
662
+ 1120,
663
+ 380
664
+ ],
665
+ "size": [
666
+ 210,
667
+ 46
668
+ ],
669
+ "flags": {},
670
+ "order": 14,
671
+ "mode": 0,
672
+ "inputs": [
673
+ {
674
+ "name": "samples",
675
+ "type": "LATENT",
676
+ "link": 21
677
+ },
678
+ {
679
+ "name": "vae",
680
+ "type": "VAE",
681
+ "link": 22
682
+ }
683
+ ],
684
+ "outputs": [
685
+ {
686
+ "name": "IMAGE",
687
+ "type": "IMAGE",
688
+ "links": [
689
+ 23
690
+ ],
691
+ "slot_index": 0
692
+ }
693
+ ],
694
+ "properties": {
695
+ "Node name for S&R": "VAEDecode"
696
+ }
697
+ },
698
+ {
699
+ "id": 16,
700
+ "type": "SaveImage",
701
+ "pos": [
702
+ 1120,
703
+ 480
704
+ ],
705
+ "size": [
706
+ 360,
707
+ 270
708
+ ],
709
+ "flags": {},
710
+ "order": 15,
711
+ "mode": 0,
712
+ "inputs": [
713
+ {
714
+ "name": "images",
715
+ "type": "IMAGE",
716
+ "link": 23
717
+ }
718
+ ],
719
+ "outputs": [],
720
+ "properties": {
721
+ "Node name for S&R": "SaveImage"
722
+ },
723
+ "widgets_values": [
724
+ "new-krea2-identity-raw-max"
725
+ ]
726
+ },
727
+ {
728
+ "id": 17,
729
+ "type": "MarkdownNote",
730
+ "pos": [
731
+ 1500,
732
+ 60
733
+ ],
734
+ "size": [
735
+ 520,
736
+ 460
737
+ ],
738
+ "flags": {},
739
+ "order": 16,
740
+ "mode": 0,
741
+ "inputs": [],
742
+ "outputs": [],
743
+ "properties": {
744
+ "Node name for S&R": "MarkdownNote"
745
+ },
746
+ "widgets_values": [
747
+ "## Krea 2 Identity Edit \u2014 RAW, single reference \u2014 MAX QUALITY\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\nRaw bf16 at **50 steps / CFG 2.5** / `er_sde` \u2014 the video's best-quality recipe.\n\n**MAX-QUALITY VARIANT:** every model at its largest precision \u2014 diffusion model in bf16 and the Qwen3-VL text encoder in bf16 (`qwen3vl_4b_bf16.safetensors`, vs fp8_scaled in the standard file). Needs ~40GB+ VRAM headroom (H100-class); on smaller GPUs use the non-max version."
748
+ ],
749
+ "title": "About this workflow"
750
+ }
751
+ ],
752
+ "links": [
753
+ [
754
+ 1,
755
+ 1,
756
+ 0,
757
+ 2,
758
+ 0,
759
+ "MODEL"
760
+ ],
761
+ [
762
+ 2,
763
+ 5,
764
+ 0,
765
+ 7,
766
+ 0,
767
+ "IMAGE"
768
+ ],
769
+ [
770
+ 3,
771
+ 6,
772
+ 0,
773
+ 7,
774
+ 1,
775
+ "INT"
776
+ ],
777
+ [
778
+ 4,
779
+ 7,
780
+ 0,
781
+ 8,
782
+ 0,
783
+ "IMAGE"
784
+ ],
785
+ [
786
+ 5,
787
+ 4,
788
+ 0,
789
+ 8,
790
+ 1,
791
+ "VAE"
792
+ ],
793
+ [
794
+ 6,
795
+ 7,
796
+ 0,
797
+ 9,
798
+ 0,
799
+ "IMAGE"
800
+ ],
801
+ [
802
+ 7,
803
+ 2,
804
+ 0,
805
+ 10,
806
+ 0,
807
+ "MODEL"
808
+ ],
809
+ [
810
+ 8,
811
+ 8,
812
+ 0,
813
+ 10,
814
+ 1,
815
+ "LATENT"
816
+ ],
817
+ [
818
+ 9,
819
+ 4,
820
+ 0,
821
+ 10,
822
+ 4,
823
+ "VAE"
824
+ ],
825
+ [
826
+ 10,
827
+ 7,
828
+ 0,
829
+ 10,
830
+ 5,
831
+ "IMAGE"
832
+ ],
833
+ [
834
+ 11,
835
+ 3,
836
+ 0,
837
+ 11,
838
+ 0,
839
+ "CLIP"
840
+ ],
841
+ [
842
+ 12,
843
+ 7,
844
+ 0,
845
+ 11,
846
+ 1,
847
+ "IMAGE"
848
+ ],
849
+ [
850
+ 13,
851
+ 3,
852
+ 0,
853
+ 12,
854
+ 0,
855
+ "CLIP"
856
+ ],
857
+ [
858
+ 14,
859
+ 7,
860
+ 0,
861
+ 12,
862
+ 1,
863
+ "IMAGE"
864
+ ],
865
+ [
866
+ 15,
867
+ 9,
868
+ 0,
869
+ 13,
870
+ 0,
871
+ "INT"
872
+ ],
873
+ [
874
+ 16,
875
+ 9,
876
+ 1,
877
+ 13,
878
+ 1,
879
+ "INT"
880
+ ],
881
+ [
882
+ 17,
883
+ 10,
884
+ 0,
885
+ 14,
886
+ 0,
887
+ "MODEL"
888
+ ],
889
+ [
890
+ 18,
891
+ 11,
892
+ 0,
893
+ 14,
894
+ 1,
895
+ "CONDITIONING"
896
+ ],
897
+ [
898
+ 19,
899
+ 12,
900
+ 0,
901
+ 14,
902
+ 2,
903
+ "CONDITIONING"
904
+ ],
905
+ [
906
+ 20,
907
+ 13,
908
+ 0,
909
+ 14,
910
+ 3,
911
+ "LATENT"
912
+ ],
913
+ [
914
+ 21,
915
+ 14,
916
+ 0,
917
+ 15,
918
+ 0,
919
+ "LATENT"
920
+ ],
921
+ [
922
+ 22,
923
+ 4,
924
+ 0,
925
+ 15,
926
+ 1,
927
+ "VAE"
928
+ ],
929
+ [
930
+ 23,
931
+ 15,
932
+ 0,
933
+ 16,
934
+ 0,
935
+ "IMAGE"
936
+ ]
937
+ ],
938
+ "groups": [],
939
+ "config": {},
940
+ "extra": {},
941
+ "version": 0.4
942
+ }
workflows/new-krea2-identity-edit-raw.json ADDED
@@ -0,0 +1,942 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 17,
3
+ "last_link_id": 23,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_raw_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 7
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 11,
100
+ 13
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_fp8_scaled.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 22
138
+ ],
139
+ "slot_index": 0
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "VAELoader"
144
+ },
145
+ "widgets_values": [
146
+ "qwen_image_vae.safetensors"
147
+ ],
148
+ "title": "Load VAE"
149
+ },
150
+ {
151
+ "id": 5,
152
+ "type": "LoadImage",
153
+ "pos": [
154
+ 40,
155
+ 620
156
+ ],
157
+ "size": [
158
+ 340,
159
+ 314
160
+ ],
161
+ "flags": {},
162
+ "order": 4,
163
+ "mode": 0,
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "IMAGE",
168
+ "type": "IMAGE",
169
+ "links": [
170
+ 2
171
+ ],
172
+ "slot_index": 0
173
+ },
174
+ {
175
+ "name": "MASK",
176
+ "type": "MASK",
177
+ "links": [],
178
+ "slot_index": 1
179
+ }
180
+ ],
181
+ "properties": {
182
+ "Node name for S&R": "LoadImage"
183
+ },
184
+ "widgets_values": [
185
+ "example.png",
186
+ "image"
187
+ ],
188
+ "title": "Source Image"
189
+ },
190
+ {
191
+ "id": 6,
192
+ "type": "PrimitiveInt",
193
+ "pos": [
194
+ 760,
195
+ 300
196
+ ],
197
+ "size": [
198
+ 300,
199
+ 82
200
+ ],
201
+ "flags": {},
202
+ "order": 5,
203
+ "mode": 0,
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "name": "INT",
208
+ "type": "INT",
209
+ "links": [
210
+ 3
211
+ ],
212
+ "slot_index": 0
213
+ }
214
+ ],
215
+ "properties": {
216
+ "Node name for S&R": "PrimitiveInt"
217
+ },
218
+ "widgets_values": [
219
+ 1536,
220
+ "fixed"
221
+ ],
222
+ "title": "Input max size (longest edge)"
223
+ },
224
+ {
225
+ "id": 7,
226
+ "type": "ImageScaleToMaxDimension",
227
+ "pos": [
228
+ 440,
229
+ 620
230
+ ],
231
+ "size": [
232
+ 300,
233
+ 106
234
+ ],
235
+ "flags": {},
236
+ "order": 6,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "image",
241
+ "type": "IMAGE",
242
+ "link": 2
243
+ },
244
+ {
245
+ "name": "largest_size",
246
+ "type": "INT",
247
+ "link": 3,
248
+ "widget": {
249
+ "name": "largest_size"
250
+ }
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "IMAGE",
256
+ "type": "IMAGE",
257
+ "links": [
258
+ 4,
259
+ 6,
260
+ 10,
261
+ 12,
262
+ 14
263
+ ],
264
+ "slot_index": 0
265
+ }
266
+ ],
267
+ "properties": {
268
+ "Node name for S&R": "ImageScaleToMaxDimension"
269
+ },
270
+ "widgets_values": [
271
+ "lanczos",
272
+ 1536
273
+ ],
274
+ "title": "Scale source (longest edge = max size)"
275
+ },
276
+ {
277
+ "id": 8,
278
+ "type": "VAEEncode",
279
+ "pos": [
280
+ 440,
281
+ 920
282
+ ],
283
+ "size": [
284
+ 300,
285
+ 46
286
+ ],
287
+ "flags": {},
288
+ "order": 7,
289
+ "mode": 0,
290
+ "inputs": [
291
+ {
292
+ "name": "pixels",
293
+ "type": "IMAGE",
294
+ "link": 4
295
+ },
296
+ {
297
+ "name": "vae",
298
+ "type": "VAE",
299
+ "link": 5
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "LATENT",
305
+ "type": "LATENT",
306
+ "links": [
307
+ 8
308
+ ],
309
+ "slot_index": 0
310
+ }
311
+ ],
312
+ "properties": {
313
+ "Node name for S&R": "VAEEncode"
314
+ },
315
+ "title": "VAE Encode Source"
316
+ },
317
+ {
318
+ "id": 9,
319
+ "type": "GetImageSize",
320
+ "pos": [
321
+ 440,
322
+ 780
323
+ ],
324
+ "size": [
325
+ 240,
326
+ 90
327
+ ],
328
+ "flags": {},
329
+ "order": 8,
330
+ "mode": 0,
331
+ "inputs": [
332
+ {
333
+ "name": "image",
334
+ "type": "IMAGE",
335
+ "link": 6
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "width",
341
+ "type": "INT",
342
+ "links": [
343
+ 15
344
+ ],
345
+ "slot_index": 0
346
+ },
347
+ {
348
+ "name": "height",
349
+ "type": "INT",
350
+ "links": [
351
+ 16
352
+ ],
353
+ "slot_index": 1
354
+ },
355
+ {
356
+ "name": "batch_size",
357
+ "type": "INT",
358
+ "links": [],
359
+ "slot_index": 2
360
+ }
361
+ ],
362
+ "properties": {
363
+ "Node name for S&R": "GetImageSize"
364
+ },
365
+ "widgets_values": [],
366
+ "title": "Source size \u2192 target latent"
367
+ },
368
+ {
369
+ "id": 10,
370
+ "type": "Krea2EditModelPatch",
371
+ "pos": [
372
+ 760,
373
+ 440
374
+ ],
375
+ "size": [
376
+ 300,
377
+ 190
378
+ ],
379
+ "flags": {},
380
+ "order": 9,
381
+ "mode": 0,
382
+ "inputs": [
383
+ {
384
+ "name": "model",
385
+ "type": "MODEL",
386
+ "link": 7
387
+ },
388
+ {
389
+ "name": "source_latent",
390
+ "type": "LATENT",
391
+ "link": 8
392
+ },
393
+ {
394
+ "name": "source_latent_b",
395
+ "type": "LATENT",
396
+ "link": null
397
+ },
398
+ {
399
+ "name": "ref_boost_mask",
400
+ "type": "MASK",
401
+ "link": null
402
+ },
403
+ {
404
+ "name": "vae",
405
+ "type": "VAE",
406
+ "link": 9
407
+ },
408
+ {
409
+ "name": "source_image",
410
+ "type": "IMAGE",
411
+ "link": 10
412
+ },
413
+ {
414
+ "name": "source_image_b",
415
+ "type": "IMAGE",
416
+ "link": null
417
+ }
418
+ ],
419
+ "outputs": [
420
+ {
421
+ "name": "MODEL",
422
+ "type": "MODEL",
423
+ "links": [
424
+ 17
425
+ ],
426
+ "slot_index": 0
427
+ }
428
+ ],
429
+ "properties": {
430
+ "Node name for S&R": "Krea2EditModelPatch",
431
+ "aux_id": "lbouaraba/comfyui-krea2edit",
432
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
433
+ },
434
+ "widgets_values": [
435
+ 1.0,
436
+ 1.0,
437
+ "crop (legacy)"
438
+ ],
439
+ "title": "Krea2 Edit (source patch)"
440
+ },
441
+ {
442
+ "id": 11,
443
+ "type": "Krea2EditGroundedEncode",
444
+ "pos": [
445
+ 440,
446
+ 60
447
+ ],
448
+ "size": [
449
+ 420,
450
+ 190
451
+ ],
452
+ "flags": {},
453
+ "order": 10,
454
+ "mode": 0,
455
+ "inputs": [
456
+ {
457
+ "name": "clip",
458
+ "type": "CLIP",
459
+ "link": 11
460
+ },
461
+ {
462
+ "name": "image",
463
+ "type": "IMAGE",
464
+ "link": 12
465
+ },
466
+ {
467
+ "name": "image_b",
468
+ "type": "IMAGE",
469
+ "link": null
470
+ }
471
+ ],
472
+ "outputs": [
473
+ {
474
+ "name": "CONDITIONING",
475
+ "type": "CONDITIONING",
476
+ "links": [
477
+ 18
478
+ ],
479
+ "slot_index": 0
480
+ }
481
+ ],
482
+ "properties": {
483
+ "Node name for S&R": "Krea2EditGroundedEncode",
484
+ "aux_id": "lbouaraba/comfyui-krea2edit",
485
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
486
+ },
487
+ "widgets_values": [
488
+ "A cinematic portrait photo of this woman standing in a neon-lit city street at night, shallow depth of field, soft rim lighting, 85mm lens",
489
+ 768,
490
+ ""
491
+ ],
492
+ "title": "Edit Instruction (grounded on source)"
493
+ },
494
+ {
495
+ "id": 12,
496
+ "type": "Krea2EditGroundedEncode",
497
+ "pos": [
498
+ 440,
499
+ 300
500
+ ],
501
+ "size": [
502
+ 420,
503
+ 130
504
+ ],
505
+ "flags": {},
506
+ "order": 11,
507
+ "mode": 0,
508
+ "inputs": [
509
+ {
510
+ "name": "clip",
511
+ "type": "CLIP",
512
+ "link": 13
513
+ },
514
+ {
515
+ "name": "image",
516
+ "type": "IMAGE",
517
+ "link": 14
518
+ },
519
+ {
520
+ "name": "image_b",
521
+ "type": "IMAGE",
522
+ "link": null
523
+ }
524
+ ],
525
+ "outputs": [
526
+ {
527
+ "name": "CONDITIONING",
528
+ "type": "CONDITIONING",
529
+ "links": [
530
+ 19
531
+ ],
532
+ "slot_index": 0
533
+ }
534
+ ],
535
+ "properties": {
536
+ "Node name for S&R": "Krea2EditGroundedEncode",
537
+ "aux_id": "lbouaraba/comfyui-krea2edit",
538
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
539
+ },
540
+ "widgets_values": [
541
+ "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
542
+ 768,
543
+ ""
544
+ ],
545
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
546
+ },
547
+ {
548
+ "id": 13,
549
+ "type": "EmptySD3LatentImage",
550
+ "pos": [
551
+ 760,
552
+ 620
553
+ ],
554
+ "size": [
555
+ 300,
556
+ 106
557
+ ],
558
+ "flags": {},
559
+ "order": 12,
560
+ "mode": 0,
561
+ "inputs": [
562
+ {
563
+ "name": "width",
564
+ "type": "INT",
565
+ "link": 15,
566
+ "widget": {
567
+ "name": "width"
568
+ }
569
+ },
570
+ {
571
+ "name": "height",
572
+ "type": "INT",
573
+ "link": 16,
574
+ "widget": {
575
+ "name": "height"
576
+ }
577
+ }
578
+ ],
579
+ "outputs": [
580
+ {
581
+ "name": "LATENT",
582
+ "type": "LATENT",
583
+ "links": [
584
+ 20
585
+ ],
586
+ "slot_index": 0
587
+ }
588
+ ],
589
+ "properties": {
590
+ "Node name for S&R": "EmptySD3LatentImage"
591
+ },
592
+ "widgets_values": [
593
+ 1536,
594
+ 1536,
595
+ 1
596
+ ],
597
+ "title": "Target Latent (auto-sized from source)"
598
+ },
599
+ {
600
+ "id": 14,
601
+ "type": "KSampler",
602
+ "pos": [
603
+ 1120,
604
+ 60
605
+ ],
606
+ "size": [
607
+ 315,
608
+ 262
609
+ ],
610
+ "flags": {},
611
+ "order": 13,
612
+ "mode": 0,
613
+ "inputs": [
614
+ {
615
+ "name": "model",
616
+ "type": "MODEL",
617
+ "link": 17
618
+ },
619
+ {
620
+ "name": "positive",
621
+ "type": "CONDITIONING",
622
+ "link": 18
623
+ },
624
+ {
625
+ "name": "negative",
626
+ "type": "CONDITIONING",
627
+ "link": 19
628
+ },
629
+ {
630
+ "name": "latent_image",
631
+ "type": "LATENT",
632
+ "link": 20
633
+ }
634
+ ],
635
+ "outputs": [
636
+ {
637
+ "name": "LATENT",
638
+ "type": "LATENT",
639
+ "links": [
640
+ 21
641
+ ],
642
+ "slot_index": 0
643
+ }
644
+ ],
645
+ "properties": {
646
+ "Node name for S&R": "KSampler"
647
+ },
648
+ "widgets_values": [
649
+ 42,
650
+ "randomize",
651
+ 50,
652
+ 2.5,
653
+ "er_sde",
654
+ "simple",
655
+ 1.0
656
+ ]
657
+ },
658
+ {
659
+ "id": 15,
660
+ "type": "VAEDecode",
661
+ "pos": [
662
+ 1120,
663
+ 380
664
+ ],
665
+ "size": [
666
+ 210,
667
+ 46
668
+ ],
669
+ "flags": {},
670
+ "order": 14,
671
+ "mode": 0,
672
+ "inputs": [
673
+ {
674
+ "name": "samples",
675
+ "type": "LATENT",
676
+ "link": 21
677
+ },
678
+ {
679
+ "name": "vae",
680
+ "type": "VAE",
681
+ "link": 22
682
+ }
683
+ ],
684
+ "outputs": [
685
+ {
686
+ "name": "IMAGE",
687
+ "type": "IMAGE",
688
+ "links": [
689
+ 23
690
+ ],
691
+ "slot_index": 0
692
+ }
693
+ ],
694
+ "properties": {
695
+ "Node name for S&R": "VAEDecode"
696
+ }
697
+ },
698
+ {
699
+ "id": 16,
700
+ "type": "SaveImage",
701
+ "pos": [
702
+ 1120,
703
+ 480
704
+ ],
705
+ "size": [
706
+ 360,
707
+ 270
708
+ ],
709
+ "flags": {},
710
+ "order": 15,
711
+ "mode": 0,
712
+ "inputs": [
713
+ {
714
+ "name": "images",
715
+ "type": "IMAGE",
716
+ "link": 23
717
+ }
718
+ ],
719
+ "outputs": [],
720
+ "properties": {
721
+ "Node name for S&R": "SaveImage"
722
+ },
723
+ "widgets_values": [
724
+ "new-krea2-identity-raw"
725
+ ]
726
+ },
727
+ {
728
+ "id": 17,
729
+ "type": "MarkdownNote",
730
+ "pos": [
731
+ 1500,
732
+ 60
733
+ ],
734
+ "size": [
735
+ 520,
736
+ 460
737
+ ],
738
+ "flags": {},
739
+ "order": 16,
740
+ "mode": 0,
741
+ "inputs": [],
742
+ "outputs": [],
743
+ "properties": {
744
+ "Node name for S&R": "MarkdownNote"
745
+ },
746
+ "widgets_values": [
747
+ "## Krea 2 Identity Edit \u2014 RAW, single reference (best quality)\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\n**This file = the video's quality recipe:** Krea 2 **Raw** at **50 steps / CFG 2.5** (the tutorial found CFG 3 made faces look plastic), `er_sde`/`simple`, longest edge 1536. Raw is ~5\u20137\u00d7 slower than the turbo variant but gives the best likeness; it is also the right model for removals/deletions (author's recipe: 20 steps / CFG 3). Since CFG > 1, the grounded negative prompt is active \u2014 keep it grounded on the same source image."
748
+ ],
749
+ "title": "About this workflow"
750
+ }
751
+ ],
752
+ "links": [
753
+ [
754
+ 1,
755
+ 1,
756
+ 0,
757
+ 2,
758
+ 0,
759
+ "MODEL"
760
+ ],
761
+ [
762
+ 2,
763
+ 5,
764
+ 0,
765
+ 7,
766
+ 0,
767
+ "IMAGE"
768
+ ],
769
+ [
770
+ 3,
771
+ 6,
772
+ 0,
773
+ 7,
774
+ 1,
775
+ "INT"
776
+ ],
777
+ [
778
+ 4,
779
+ 7,
780
+ 0,
781
+ 8,
782
+ 0,
783
+ "IMAGE"
784
+ ],
785
+ [
786
+ 5,
787
+ 4,
788
+ 0,
789
+ 8,
790
+ 1,
791
+ "VAE"
792
+ ],
793
+ [
794
+ 6,
795
+ 7,
796
+ 0,
797
+ 9,
798
+ 0,
799
+ "IMAGE"
800
+ ],
801
+ [
802
+ 7,
803
+ 2,
804
+ 0,
805
+ 10,
806
+ 0,
807
+ "MODEL"
808
+ ],
809
+ [
810
+ 8,
811
+ 8,
812
+ 0,
813
+ 10,
814
+ 1,
815
+ "LATENT"
816
+ ],
817
+ [
818
+ 9,
819
+ 4,
820
+ 0,
821
+ 10,
822
+ 4,
823
+ "VAE"
824
+ ],
825
+ [
826
+ 10,
827
+ 7,
828
+ 0,
829
+ 10,
830
+ 5,
831
+ "IMAGE"
832
+ ],
833
+ [
834
+ 11,
835
+ 3,
836
+ 0,
837
+ 11,
838
+ 0,
839
+ "CLIP"
840
+ ],
841
+ [
842
+ 12,
843
+ 7,
844
+ 0,
845
+ 11,
846
+ 1,
847
+ "IMAGE"
848
+ ],
849
+ [
850
+ 13,
851
+ 3,
852
+ 0,
853
+ 12,
854
+ 0,
855
+ "CLIP"
856
+ ],
857
+ [
858
+ 14,
859
+ 7,
860
+ 0,
861
+ 12,
862
+ 1,
863
+ "IMAGE"
864
+ ],
865
+ [
866
+ 15,
867
+ 9,
868
+ 0,
869
+ 13,
870
+ 0,
871
+ "INT"
872
+ ],
873
+ [
874
+ 16,
875
+ 9,
876
+ 1,
877
+ 13,
878
+ 1,
879
+ "INT"
880
+ ],
881
+ [
882
+ 17,
883
+ 10,
884
+ 0,
885
+ 14,
886
+ 0,
887
+ "MODEL"
888
+ ],
889
+ [
890
+ 18,
891
+ 11,
892
+ 0,
893
+ 14,
894
+ 1,
895
+ "CONDITIONING"
896
+ ],
897
+ [
898
+ 19,
899
+ 12,
900
+ 0,
901
+ 14,
902
+ 2,
903
+ "CONDITIONING"
904
+ ],
905
+ [
906
+ 20,
907
+ 13,
908
+ 0,
909
+ 14,
910
+ 3,
911
+ "LATENT"
912
+ ],
913
+ [
914
+ 21,
915
+ 14,
916
+ 0,
917
+ 15,
918
+ 0,
919
+ "LATENT"
920
+ ],
921
+ [
922
+ 22,
923
+ 4,
924
+ 0,
925
+ 15,
926
+ 1,
927
+ "VAE"
928
+ ],
929
+ [
930
+ 23,
931
+ 15,
932
+ 0,
933
+ 16,
934
+ 0,
935
+ "IMAGE"
936
+ ]
937
+ ],
938
+ "groups": [],
939
+ "config": {},
940
+ "extra": {},
941
+ "version": 0.4
942
+ }
workflows/new-krea2-identity-edit-turbo-2img-max.json ADDED
@@ -0,0 +1,1047 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 19,
3
+ "last_link_id": 28,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_turbo_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 10
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 16,
100
+ 18
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_bf16.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 12,
138
+ 27
139
+ ],
140
+ "slot_index": 0
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "VAELoader"
145
+ },
146
+ "widgets_values": [
147
+ "qwen_image_vae.safetensors"
148
+ ],
149
+ "title": "Load VAE"
150
+ },
151
+ {
152
+ "id": 5,
153
+ "type": "LoadImage",
154
+ "pos": [
155
+ 40,
156
+ 620
157
+ ],
158
+ "size": [
159
+ 340,
160
+ 314
161
+ ],
162
+ "flags": {},
163
+ "order": 4,
164
+ "mode": 0,
165
+ "inputs": [],
166
+ "outputs": [
167
+ {
168
+ "name": "IMAGE",
169
+ "type": "IMAGE",
170
+ "links": [
171
+ 2
172
+ ],
173
+ "slot_index": 0
174
+ },
175
+ {
176
+ "name": "MASK",
177
+ "type": "MASK",
178
+ "links": [],
179
+ "slot_index": 1
180
+ }
181
+ ],
182
+ "properties": {
183
+ "Node name for S&R": "LoadImage"
184
+ },
185
+ "widgets_values": [
186
+ "example.png",
187
+ "image"
188
+ ],
189
+ "title": "Scene Image (image 1 \u2014 the scene)"
190
+ },
191
+ {
192
+ "id": 6,
193
+ "type": "PrimitiveInt",
194
+ "pos": [
195
+ 760,
196
+ 300
197
+ ],
198
+ "size": [
199
+ 300,
200
+ 82
201
+ ],
202
+ "flags": {},
203
+ "order": 5,
204
+ "mode": 0,
205
+ "inputs": [],
206
+ "outputs": [
207
+ {
208
+ "name": "INT",
209
+ "type": "INT",
210
+ "links": [
211
+ 3,
212
+ 7
213
+ ],
214
+ "slot_index": 0
215
+ }
216
+ ],
217
+ "properties": {
218
+ "Node name for S&R": "PrimitiveInt"
219
+ },
220
+ "widgets_values": [
221
+ 1536,
222
+ "fixed"
223
+ ],
224
+ "title": "Input max size (longest edge)"
225
+ },
226
+ {
227
+ "id": 7,
228
+ "type": "ImageScaleToMaxDimension",
229
+ "pos": [
230
+ 440,
231
+ 620
232
+ ],
233
+ "size": [
234
+ 300,
235
+ 106
236
+ ],
237
+ "flags": {},
238
+ "order": 6,
239
+ "mode": 0,
240
+ "inputs": [
241
+ {
242
+ "name": "image",
243
+ "type": "IMAGE",
244
+ "link": 2
245
+ },
246
+ {
247
+ "name": "largest_size",
248
+ "type": "INT",
249
+ "link": 3,
250
+ "widget": {
251
+ "name": "largest_size"
252
+ }
253
+ }
254
+ ],
255
+ "outputs": [
256
+ {
257
+ "name": "IMAGE",
258
+ "type": "IMAGE",
259
+ "links": [
260
+ 4,
261
+ 13,
262
+ 17,
263
+ 19
264
+ ],
265
+ "slot_index": 0
266
+ }
267
+ ],
268
+ "properties": {
269
+ "Node name for S&R": "ImageScaleToMaxDimension"
270
+ },
271
+ "widgets_values": [
272
+ "lanczos",
273
+ 1536
274
+ ],
275
+ "title": "Scale source (longest edge = max size)"
276
+ },
277
+ {
278
+ "id": 8,
279
+ "type": "VAEEncode",
280
+ "pos": [
281
+ 440,
282
+ 920
283
+ ],
284
+ "size": [
285
+ 300,
286
+ 46
287
+ ],
288
+ "flags": {},
289
+ "order": 7,
290
+ "mode": 0,
291
+ "inputs": [
292
+ {
293
+ "name": "pixels",
294
+ "type": "IMAGE",
295
+ "link": 4
296
+ },
297
+ {
298
+ "name": "vae",
299
+ "type": "VAE",
300
+ "link": 5
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "LATENT",
306
+ "type": "LATENT",
307
+ "links": [
308
+ 11
309
+ ],
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "VAEEncode"
315
+ },
316
+ "title": "VAE Encode Source"
317
+ },
318
+ {
319
+ "id": 9,
320
+ "type": "LoadImage",
321
+ "pos": [
322
+ 40,
323
+ 990
324
+ ],
325
+ "size": [
326
+ 340,
327
+ 314
328
+ ],
329
+ "flags": {},
330
+ "order": 8,
331
+ "mode": 0,
332
+ "inputs": [],
333
+ "outputs": [
334
+ {
335
+ "name": "IMAGE",
336
+ "type": "IMAGE",
337
+ "links": [
338
+ 6
339
+ ],
340
+ "slot_index": 0
341
+ },
342
+ {
343
+ "name": "MASK",
344
+ "type": "MASK",
345
+ "links": [],
346
+ "slot_index": 1
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "LoadImage"
351
+ },
352
+ "widgets_values": [
353
+ "example.png",
354
+ "image"
355
+ ],
356
+ "title": "Person Image (image 2 \u2014 the person)"
357
+ },
358
+ {
359
+ "id": 10,
360
+ "type": "ImageScaleToMaxDimension",
361
+ "pos": [
362
+ 440,
363
+ 990
364
+ ],
365
+ "size": [
366
+ 300,
367
+ 106
368
+ ],
369
+ "flags": {},
370
+ "order": 9,
371
+ "mode": 0,
372
+ "inputs": [
373
+ {
374
+ "name": "image",
375
+ "type": "IMAGE",
376
+ "link": 6
377
+ },
378
+ {
379
+ "name": "largest_size",
380
+ "type": "INT",
381
+ "link": 7,
382
+ "widget": {
383
+ "name": "largest_size"
384
+ }
385
+ }
386
+ ],
387
+ "outputs": [
388
+ {
389
+ "name": "IMAGE",
390
+ "type": "IMAGE",
391
+ "links": [
392
+ 8,
393
+ 15,
394
+ 20,
395
+ 21
396
+ ],
397
+ "slot_index": 0
398
+ }
399
+ ],
400
+ "properties": {
401
+ "Node name for S&R": "ImageScaleToMaxDimension"
402
+ },
403
+ "widgets_values": [
404
+ "lanczos",
405
+ 1536
406
+ ],
407
+ "title": "Scale person ref"
408
+ },
409
+ {
410
+ "id": 11,
411
+ "type": "VAEEncode",
412
+ "pos": [
413
+ 440,
414
+ 1130
415
+ ],
416
+ "size": [
417
+ 300,
418
+ 46
419
+ ],
420
+ "flags": {},
421
+ "order": 10,
422
+ "mode": 0,
423
+ "inputs": [
424
+ {
425
+ "name": "pixels",
426
+ "type": "IMAGE",
427
+ "link": 8
428
+ },
429
+ {
430
+ "name": "vae",
431
+ "type": "VAE",
432
+ "link": 9
433
+ }
434
+ ],
435
+ "outputs": [
436
+ {
437
+ "name": "LATENT",
438
+ "type": "LATENT",
439
+ "links": [
440
+ 14
441
+ ],
442
+ "slot_index": 0
443
+ }
444
+ ],
445
+ "properties": {
446
+ "Node name for S&R": "VAEEncode"
447
+ },
448
+ "title": "VAE Encode Person"
449
+ },
450
+ {
451
+ "id": 12,
452
+ "type": "Krea2EditModelPatch",
453
+ "pos": [
454
+ 760,
455
+ 440
456
+ ],
457
+ "size": [
458
+ 300,
459
+ 190
460
+ ],
461
+ "flags": {},
462
+ "order": 11,
463
+ "mode": 0,
464
+ "inputs": [
465
+ {
466
+ "name": "model",
467
+ "type": "MODEL",
468
+ "link": 10
469
+ },
470
+ {
471
+ "name": "source_latent",
472
+ "type": "LATENT",
473
+ "link": 11
474
+ },
475
+ {
476
+ "name": "source_latent_b",
477
+ "type": "LATENT",
478
+ "link": 14
479
+ },
480
+ {
481
+ "name": "ref_boost_mask",
482
+ "type": "MASK",
483
+ "link": null
484
+ },
485
+ {
486
+ "name": "vae",
487
+ "type": "VAE",
488
+ "link": 12
489
+ },
490
+ {
491
+ "name": "source_image",
492
+ "type": "IMAGE",
493
+ "link": 13
494
+ },
495
+ {
496
+ "name": "source_image_b",
497
+ "type": "IMAGE",
498
+ "link": 15
499
+ }
500
+ ],
501
+ "outputs": [
502
+ {
503
+ "name": "MODEL",
504
+ "type": "MODEL",
505
+ "links": [
506
+ 22
507
+ ],
508
+ "slot_index": 0
509
+ }
510
+ ],
511
+ "properties": {
512
+ "Node name for S&R": "Krea2EditModelPatch",
513
+ "aux_id": "lbouaraba/comfyui-krea2edit",
514
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
515
+ },
516
+ "widgets_values": [
517
+ 1.0,
518
+ 1.0,
519
+ "crop (legacy)"
520
+ ],
521
+ "title": "Krea2 Edit (source patch)"
522
+ },
523
+ {
524
+ "id": 13,
525
+ "type": "Krea2EditGroundedEncode",
526
+ "pos": [
527
+ 440,
528
+ 60
529
+ ],
530
+ "size": [
531
+ 420,
532
+ 190
533
+ ],
534
+ "flags": {},
535
+ "order": 12,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "name": "clip",
540
+ "type": "CLIP",
541
+ "link": 16
542
+ },
543
+ {
544
+ "name": "image",
545
+ "type": "IMAGE",
546
+ "link": 17
547
+ },
548
+ {
549
+ "name": "image_b",
550
+ "type": "IMAGE",
551
+ "link": 20
552
+ }
553
+ ],
554
+ "outputs": [
555
+ {
556
+ "name": "CONDITIONING",
557
+ "type": "CONDITIONING",
558
+ "links": [
559
+ 23
560
+ ],
561
+ "slot_index": 0
562
+ }
563
+ ],
564
+ "properties": {
565
+ "Node name for S&R": "Krea2EditGroundedEncode",
566
+ "aux_id": "lbouaraba/comfyui-krea2edit",
567
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
568
+ },
569
+ "widgets_values": [
570
+ "Create a photo of this woman standing in the middle of the street",
571
+ 768,
572
+ ""
573
+ ],
574
+ "title": "Edit Instruction (grounded on source)"
575
+ },
576
+ {
577
+ "id": 14,
578
+ "type": "Krea2EditGroundedEncode",
579
+ "pos": [
580
+ 440,
581
+ 300
582
+ ],
583
+ "size": [
584
+ 420,
585
+ 130
586
+ ],
587
+ "flags": {},
588
+ "order": 13,
589
+ "mode": 0,
590
+ "inputs": [
591
+ {
592
+ "name": "clip",
593
+ "type": "CLIP",
594
+ "link": 18
595
+ },
596
+ {
597
+ "name": "image",
598
+ "type": "IMAGE",
599
+ "link": 19
600
+ },
601
+ {
602
+ "name": "image_b",
603
+ "type": "IMAGE",
604
+ "link": 21
605
+ }
606
+ ],
607
+ "outputs": [
608
+ {
609
+ "name": "CONDITIONING",
610
+ "type": "CONDITIONING",
611
+ "links": [
612
+ 24
613
+ ],
614
+ "slot_index": 0
615
+ }
616
+ ],
617
+ "properties": {
618
+ "Node name for S&R": "Krea2EditGroundedEncode",
619
+ "aux_id": "lbouaraba/comfyui-krea2edit",
620
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
621
+ },
622
+ "widgets_values": [
623
+ "",
624
+ 768,
625
+ ""
626
+ ],
627
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
628
+ },
629
+ {
630
+ "id": 15,
631
+ "type": "EmptySD3LatentImage",
632
+ "pos": [
633
+ 760,
634
+ 620
635
+ ],
636
+ "size": [
637
+ 300,
638
+ 106
639
+ ],
640
+ "flags": {},
641
+ "order": 14,
642
+ "mode": 0,
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "LATENT",
647
+ "type": "LATENT",
648
+ "links": [
649
+ 25
650
+ ],
651
+ "slot_index": 0
652
+ }
653
+ ],
654
+ "properties": {
655
+ "Node name for S&R": "EmptySD3LatentImage"
656
+ },
657
+ "widgets_values": [
658
+ 1536,
659
+ 1536,
660
+ 1
661
+ ],
662
+ "title": "Target Latent"
663
+ },
664
+ {
665
+ "id": 16,
666
+ "type": "KSampler",
667
+ "pos": [
668
+ 1120,
669
+ 60
670
+ ],
671
+ "size": [
672
+ 315,
673
+ 262
674
+ ],
675
+ "flags": {},
676
+ "order": 15,
677
+ "mode": 0,
678
+ "inputs": [
679
+ {
680
+ "name": "model",
681
+ "type": "MODEL",
682
+ "link": 22
683
+ },
684
+ {
685
+ "name": "positive",
686
+ "type": "CONDITIONING",
687
+ "link": 23
688
+ },
689
+ {
690
+ "name": "negative",
691
+ "type": "CONDITIONING",
692
+ "link": 24
693
+ },
694
+ {
695
+ "name": "latent_image",
696
+ "type": "LATENT",
697
+ "link": 25
698
+ }
699
+ ],
700
+ "outputs": [
701
+ {
702
+ "name": "LATENT",
703
+ "type": "LATENT",
704
+ "links": [
705
+ 26
706
+ ],
707
+ "slot_index": 0
708
+ }
709
+ ],
710
+ "properties": {
711
+ "Node name for S&R": "KSampler"
712
+ },
713
+ "widgets_values": [
714
+ 42,
715
+ "randomize",
716
+ 8,
717
+ 1.0,
718
+ "er_sde",
719
+ "simple",
720
+ 1.0
721
+ ]
722
+ },
723
+ {
724
+ "id": 17,
725
+ "type": "VAEDecode",
726
+ "pos": [
727
+ 1120,
728
+ 380
729
+ ],
730
+ "size": [
731
+ 210,
732
+ 46
733
+ ],
734
+ "flags": {},
735
+ "order": 16,
736
+ "mode": 0,
737
+ "inputs": [
738
+ {
739
+ "name": "samples",
740
+ "type": "LATENT",
741
+ "link": 26
742
+ },
743
+ {
744
+ "name": "vae",
745
+ "type": "VAE",
746
+ "link": 27
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "IMAGE",
752
+ "type": "IMAGE",
753
+ "links": [
754
+ 28
755
+ ],
756
+ "slot_index": 0
757
+ }
758
+ ],
759
+ "properties": {
760
+ "Node name for S&R": "VAEDecode"
761
+ }
762
+ },
763
+ {
764
+ "id": 18,
765
+ "type": "SaveImage",
766
+ "pos": [
767
+ 1120,
768
+ 480
769
+ ],
770
+ "size": [
771
+ 360,
772
+ 270
773
+ ],
774
+ "flags": {},
775
+ "order": 17,
776
+ "mode": 0,
777
+ "inputs": [
778
+ {
779
+ "name": "images",
780
+ "type": "IMAGE",
781
+ "link": 28
782
+ }
783
+ ],
784
+ "outputs": [],
785
+ "properties": {
786
+ "Node name for S&R": "SaveImage"
787
+ },
788
+ "widgets_values": [
789
+ "new-krea2-identity-turbo-2img-max"
790
+ ]
791
+ },
792
+ {
793
+ "id": 19,
794
+ "type": "MarkdownNote",
795
+ "pos": [
796
+ 1500,
797
+ 60
798
+ ],
799
+ "size": [
800
+ 520,
801
+ 460
802
+ ],
803
+ "flags": {},
804
+ "order": 18,
805
+ "mode": 0,
806
+ "inputs": [],
807
+ "outputs": [],
808
+ "properties": {
809
+ "Node name for S&R": "MarkdownNote"
810
+ },
811
+ "widgets_values": [
812
+ "## Krea 2 Identity Edit \u2014 TURBO bf16, two references \u2014 MAX QUALITY\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\nScene = image 1, person = image 2 (fixed order). Turbo **bf16** at 8 steps / CFG 1.0 / `er_sde` (the video's final variant).\n\n**MAX-QUALITY VARIANT:** every model at its largest precision \u2014 diffusion model in bf16 and the Qwen3-VL text encoder in bf16 (`qwen3vl_4b_bf16.safetensors`, vs fp8_scaled in the standard file). Needs ~40GB+ VRAM headroom (H100-class); on smaller GPUs use the non-max version."
813
+ ],
814
+ "title": "About this workflow"
815
+ }
816
+ ],
817
+ "links": [
818
+ [
819
+ 1,
820
+ 1,
821
+ 0,
822
+ 2,
823
+ 0,
824
+ "MODEL"
825
+ ],
826
+ [
827
+ 2,
828
+ 5,
829
+ 0,
830
+ 7,
831
+ 0,
832
+ "IMAGE"
833
+ ],
834
+ [
835
+ 3,
836
+ 6,
837
+ 0,
838
+ 7,
839
+ 1,
840
+ "INT"
841
+ ],
842
+ [
843
+ 4,
844
+ 7,
845
+ 0,
846
+ 8,
847
+ 0,
848
+ "IMAGE"
849
+ ],
850
+ [
851
+ 5,
852
+ 4,
853
+ 0,
854
+ 8,
855
+ 1,
856
+ "VAE"
857
+ ],
858
+ [
859
+ 6,
860
+ 9,
861
+ 0,
862
+ 10,
863
+ 0,
864
+ "IMAGE"
865
+ ],
866
+ [
867
+ 7,
868
+ 6,
869
+ 0,
870
+ 10,
871
+ 1,
872
+ "INT"
873
+ ],
874
+ [
875
+ 8,
876
+ 10,
877
+ 0,
878
+ 11,
879
+ 0,
880
+ "IMAGE"
881
+ ],
882
+ [
883
+ 9,
884
+ 4,
885
+ 0,
886
+ 11,
887
+ 1,
888
+ "VAE"
889
+ ],
890
+ [
891
+ 10,
892
+ 2,
893
+ 0,
894
+ 12,
895
+ 0,
896
+ "MODEL"
897
+ ],
898
+ [
899
+ 11,
900
+ 8,
901
+ 0,
902
+ 12,
903
+ 1,
904
+ "LATENT"
905
+ ],
906
+ [
907
+ 12,
908
+ 4,
909
+ 0,
910
+ 12,
911
+ 4,
912
+ "VAE"
913
+ ],
914
+ [
915
+ 13,
916
+ 7,
917
+ 0,
918
+ 12,
919
+ 5,
920
+ "IMAGE"
921
+ ],
922
+ [
923
+ 14,
924
+ 11,
925
+ 0,
926
+ 12,
927
+ 2,
928
+ "LATENT"
929
+ ],
930
+ [
931
+ 15,
932
+ 10,
933
+ 0,
934
+ 12,
935
+ 6,
936
+ "IMAGE"
937
+ ],
938
+ [
939
+ 16,
940
+ 3,
941
+ 0,
942
+ 13,
943
+ 0,
944
+ "CLIP"
945
+ ],
946
+ [
947
+ 17,
948
+ 7,
949
+ 0,
950
+ 13,
951
+ 1,
952
+ "IMAGE"
953
+ ],
954
+ [
955
+ 18,
956
+ 3,
957
+ 0,
958
+ 14,
959
+ 0,
960
+ "CLIP"
961
+ ],
962
+ [
963
+ 19,
964
+ 7,
965
+ 0,
966
+ 14,
967
+ 1,
968
+ "IMAGE"
969
+ ],
970
+ [
971
+ 20,
972
+ 10,
973
+ 0,
974
+ 13,
975
+ 2,
976
+ "IMAGE"
977
+ ],
978
+ [
979
+ 21,
980
+ 10,
981
+ 0,
982
+ 14,
983
+ 2,
984
+ "IMAGE"
985
+ ],
986
+ [
987
+ 22,
988
+ 12,
989
+ 0,
990
+ 16,
991
+ 0,
992
+ "MODEL"
993
+ ],
994
+ [
995
+ 23,
996
+ 13,
997
+ 0,
998
+ 16,
999
+ 1,
1000
+ "CONDITIONING"
1001
+ ],
1002
+ [
1003
+ 24,
1004
+ 14,
1005
+ 0,
1006
+ 16,
1007
+ 2,
1008
+ "CONDITIONING"
1009
+ ],
1010
+ [
1011
+ 25,
1012
+ 15,
1013
+ 0,
1014
+ 16,
1015
+ 3,
1016
+ "LATENT"
1017
+ ],
1018
+ [
1019
+ 26,
1020
+ 16,
1021
+ 0,
1022
+ 17,
1023
+ 0,
1024
+ "LATENT"
1025
+ ],
1026
+ [
1027
+ 27,
1028
+ 4,
1029
+ 0,
1030
+ 17,
1031
+ 1,
1032
+ "VAE"
1033
+ ],
1034
+ [
1035
+ 28,
1036
+ 17,
1037
+ 0,
1038
+ 18,
1039
+ 0,
1040
+ "IMAGE"
1041
+ ]
1042
+ ],
1043
+ "groups": [],
1044
+ "config": {},
1045
+ "extra": {},
1046
+ "version": 0.4
1047
+ }
workflows/new-krea2-identity-edit-turbo-2img.json ADDED
@@ -0,0 +1,1047 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 19,
3
+ "last_link_id": 28,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_turbo_mxfp8.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 10
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 16,
100
+ 18
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_fp8_scaled.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 12,
138
+ 27
139
+ ],
140
+ "slot_index": 0
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "VAELoader"
145
+ },
146
+ "widgets_values": [
147
+ "qwen_image_vae.safetensors"
148
+ ],
149
+ "title": "Load VAE"
150
+ },
151
+ {
152
+ "id": 5,
153
+ "type": "LoadImage",
154
+ "pos": [
155
+ 40,
156
+ 620
157
+ ],
158
+ "size": [
159
+ 340,
160
+ 314
161
+ ],
162
+ "flags": {},
163
+ "order": 4,
164
+ "mode": 0,
165
+ "inputs": [],
166
+ "outputs": [
167
+ {
168
+ "name": "IMAGE",
169
+ "type": "IMAGE",
170
+ "links": [
171
+ 2
172
+ ],
173
+ "slot_index": 0
174
+ },
175
+ {
176
+ "name": "MASK",
177
+ "type": "MASK",
178
+ "links": [],
179
+ "slot_index": 1
180
+ }
181
+ ],
182
+ "properties": {
183
+ "Node name for S&R": "LoadImage"
184
+ },
185
+ "widgets_values": [
186
+ "example.png",
187
+ "image"
188
+ ],
189
+ "title": "Scene Image (image 1 \u2014 the scene)"
190
+ },
191
+ {
192
+ "id": 6,
193
+ "type": "PrimitiveInt",
194
+ "pos": [
195
+ 760,
196
+ 300
197
+ ],
198
+ "size": [
199
+ 300,
200
+ 82
201
+ ],
202
+ "flags": {},
203
+ "order": 5,
204
+ "mode": 0,
205
+ "inputs": [],
206
+ "outputs": [
207
+ {
208
+ "name": "INT",
209
+ "type": "INT",
210
+ "links": [
211
+ 3,
212
+ 7
213
+ ],
214
+ "slot_index": 0
215
+ }
216
+ ],
217
+ "properties": {
218
+ "Node name for S&R": "PrimitiveInt"
219
+ },
220
+ "widgets_values": [
221
+ 1536,
222
+ "fixed"
223
+ ],
224
+ "title": "Input max size (longest edge)"
225
+ },
226
+ {
227
+ "id": 7,
228
+ "type": "ImageScaleToMaxDimension",
229
+ "pos": [
230
+ 440,
231
+ 620
232
+ ],
233
+ "size": [
234
+ 300,
235
+ 106
236
+ ],
237
+ "flags": {},
238
+ "order": 6,
239
+ "mode": 0,
240
+ "inputs": [
241
+ {
242
+ "name": "image",
243
+ "type": "IMAGE",
244
+ "link": 2
245
+ },
246
+ {
247
+ "name": "largest_size",
248
+ "type": "INT",
249
+ "link": 3,
250
+ "widget": {
251
+ "name": "largest_size"
252
+ }
253
+ }
254
+ ],
255
+ "outputs": [
256
+ {
257
+ "name": "IMAGE",
258
+ "type": "IMAGE",
259
+ "links": [
260
+ 4,
261
+ 13,
262
+ 17,
263
+ 19
264
+ ],
265
+ "slot_index": 0
266
+ }
267
+ ],
268
+ "properties": {
269
+ "Node name for S&R": "ImageScaleToMaxDimension"
270
+ },
271
+ "widgets_values": [
272
+ "lanczos",
273
+ 1536
274
+ ],
275
+ "title": "Scale source (longest edge = max size)"
276
+ },
277
+ {
278
+ "id": 8,
279
+ "type": "VAEEncode",
280
+ "pos": [
281
+ 440,
282
+ 920
283
+ ],
284
+ "size": [
285
+ 300,
286
+ 46
287
+ ],
288
+ "flags": {},
289
+ "order": 7,
290
+ "mode": 0,
291
+ "inputs": [
292
+ {
293
+ "name": "pixels",
294
+ "type": "IMAGE",
295
+ "link": 4
296
+ },
297
+ {
298
+ "name": "vae",
299
+ "type": "VAE",
300
+ "link": 5
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "LATENT",
306
+ "type": "LATENT",
307
+ "links": [
308
+ 11
309
+ ],
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "VAEEncode"
315
+ },
316
+ "title": "VAE Encode Source"
317
+ },
318
+ {
319
+ "id": 9,
320
+ "type": "LoadImage",
321
+ "pos": [
322
+ 40,
323
+ 990
324
+ ],
325
+ "size": [
326
+ 340,
327
+ 314
328
+ ],
329
+ "flags": {},
330
+ "order": 8,
331
+ "mode": 0,
332
+ "inputs": [],
333
+ "outputs": [
334
+ {
335
+ "name": "IMAGE",
336
+ "type": "IMAGE",
337
+ "links": [
338
+ 6
339
+ ],
340
+ "slot_index": 0
341
+ },
342
+ {
343
+ "name": "MASK",
344
+ "type": "MASK",
345
+ "links": [],
346
+ "slot_index": 1
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "LoadImage"
351
+ },
352
+ "widgets_values": [
353
+ "example.png",
354
+ "image"
355
+ ],
356
+ "title": "Person Image (image 2 \u2014 the person)"
357
+ },
358
+ {
359
+ "id": 10,
360
+ "type": "ImageScaleToMaxDimension",
361
+ "pos": [
362
+ 440,
363
+ 990
364
+ ],
365
+ "size": [
366
+ 300,
367
+ 106
368
+ ],
369
+ "flags": {},
370
+ "order": 9,
371
+ "mode": 0,
372
+ "inputs": [
373
+ {
374
+ "name": "image",
375
+ "type": "IMAGE",
376
+ "link": 6
377
+ },
378
+ {
379
+ "name": "largest_size",
380
+ "type": "INT",
381
+ "link": 7,
382
+ "widget": {
383
+ "name": "largest_size"
384
+ }
385
+ }
386
+ ],
387
+ "outputs": [
388
+ {
389
+ "name": "IMAGE",
390
+ "type": "IMAGE",
391
+ "links": [
392
+ 8,
393
+ 15,
394
+ 20,
395
+ 21
396
+ ],
397
+ "slot_index": 0
398
+ }
399
+ ],
400
+ "properties": {
401
+ "Node name for S&R": "ImageScaleToMaxDimension"
402
+ },
403
+ "widgets_values": [
404
+ "lanczos",
405
+ 1536
406
+ ],
407
+ "title": "Scale person ref"
408
+ },
409
+ {
410
+ "id": 11,
411
+ "type": "VAEEncode",
412
+ "pos": [
413
+ 440,
414
+ 1130
415
+ ],
416
+ "size": [
417
+ 300,
418
+ 46
419
+ ],
420
+ "flags": {},
421
+ "order": 10,
422
+ "mode": 0,
423
+ "inputs": [
424
+ {
425
+ "name": "pixels",
426
+ "type": "IMAGE",
427
+ "link": 8
428
+ },
429
+ {
430
+ "name": "vae",
431
+ "type": "VAE",
432
+ "link": 9
433
+ }
434
+ ],
435
+ "outputs": [
436
+ {
437
+ "name": "LATENT",
438
+ "type": "LATENT",
439
+ "links": [
440
+ 14
441
+ ],
442
+ "slot_index": 0
443
+ }
444
+ ],
445
+ "properties": {
446
+ "Node name for S&R": "VAEEncode"
447
+ },
448
+ "title": "VAE Encode Person"
449
+ },
450
+ {
451
+ "id": 12,
452
+ "type": "Krea2EditModelPatch",
453
+ "pos": [
454
+ 760,
455
+ 440
456
+ ],
457
+ "size": [
458
+ 300,
459
+ 190
460
+ ],
461
+ "flags": {},
462
+ "order": 11,
463
+ "mode": 0,
464
+ "inputs": [
465
+ {
466
+ "name": "model",
467
+ "type": "MODEL",
468
+ "link": 10
469
+ },
470
+ {
471
+ "name": "source_latent",
472
+ "type": "LATENT",
473
+ "link": 11
474
+ },
475
+ {
476
+ "name": "source_latent_b",
477
+ "type": "LATENT",
478
+ "link": 14
479
+ },
480
+ {
481
+ "name": "ref_boost_mask",
482
+ "type": "MASK",
483
+ "link": null
484
+ },
485
+ {
486
+ "name": "vae",
487
+ "type": "VAE",
488
+ "link": 12
489
+ },
490
+ {
491
+ "name": "source_image",
492
+ "type": "IMAGE",
493
+ "link": 13
494
+ },
495
+ {
496
+ "name": "source_image_b",
497
+ "type": "IMAGE",
498
+ "link": 15
499
+ }
500
+ ],
501
+ "outputs": [
502
+ {
503
+ "name": "MODEL",
504
+ "type": "MODEL",
505
+ "links": [
506
+ 22
507
+ ],
508
+ "slot_index": 0
509
+ }
510
+ ],
511
+ "properties": {
512
+ "Node name for S&R": "Krea2EditModelPatch",
513
+ "aux_id": "lbouaraba/comfyui-krea2edit",
514
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
515
+ },
516
+ "widgets_values": [
517
+ 1.0,
518
+ 1.0,
519
+ "crop (legacy)"
520
+ ],
521
+ "title": "Krea2 Edit (source patch)"
522
+ },
523
+ {
524
+ "id": 13,
525
+ "type": "Krea2EditGroundedEncode",
526
+ "pos": [
527
+ 440,
528
+ 60
529
+ ],
530
+ "size": [
531
+ 420,
532
+ 190
533
+ ],
534
+ "flags": {},
535
+ "order": 12,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "name": "clip",
540
+ "type": "CLIP",
541
+ "link": 16
542
+ },
543
+ {
544
+ "name": "image",
545
+ "type": "IMAGE",
546
+ "link": 17
547
+ },
548
+ {
549
+ "name": "image_b",
550
+ "type": "IMAGE",
551
+ "link": 20
552
+ }
553
+ ],
554
+ "outputs": [
555
+ {
556
+ "name": "CONDITIONING",
557
+ "type": "CONDITIONING",
558
+ "links": [
559
+ 23
560
+ ],
561
+ "slot_index": 0
562
+ }
563
+ ],
564
+ "properties": {
565
+ "Node name for S&R": "Krea2EditGroundedEncode",
566
+ "aux_id": "lbouaraba/comfyui-krea2edit",
567
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
568
+ },
569
+ "widgets_values": [
570
+ "Create a photo of this woman standing in the middle of the street",
571
+ 768,
572
+ ""
573
+ ],
574
+ "title": "Edit Instruction (grounded on source)"
575
+ },
576
+ {
577
+ "id": 14,
578
+ "type": "Krea2EditGroundedEncode",
579
+ "pos": [
580
+ 440,
581
+ 300
582
+ ],
583
+ "size": [
584
+ 420,
585
+ 130
586
+ ],
587
+ "flags": {},
588
+ "order": 13,
589
+ "mode": 0,
590
+ "inputs": [
591
+ {
592
+ "name": "clip",
593
+ "type": "CLIP",
594
+ "link": 18
595
+ },
596
+ {
597
+ "name": "image",
598
+ "type": "IMAGE",
599
+ "link": 19
600
+ },
601
+ {
602
+ "name": "image_b",
603
+ "type": "IMAGE",
604
+ "link": 21
605
+ }
606
+ ],
607
+ "outputs": [
608
+ {
609
+ "name": "CONDITIONING",
610
+ "type": "CONDITIONING",
611
+ "links": [
612
+ 24
613
+ ],
614
+ "slot_index": 0
615
+ }
616
+ ],
617
+ "properties": {
618
+ "Node name for S&R": "Krea2EditGroundedEncode",
619
+ "aux_id": "lbouaraba/comfyui-krea2edit",
620
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
621
+ },
622
+ "widgets_values": [
623
+ "",
624
+ 768,
625
+ ""
626
+ ],
627
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
628
+ },
629
+ {
630
+ "id": 15,
631
+ "type": "EmptySD3LatentImage",
632
+ "pos": [
633
+ 760,
634
+ 620
635
+ ],
636
+ "size": [
637
+ 300,
638
+ 106
639
+ ],
640
+ "flags": {},
641
+ "order": 14,
642
+ "mode": 0,
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "LATENT",
647
+ "type": "LATENT",
648
+ "links": [
649
+ 25
650
+ ],
651
+ "slot_index": 0
652
+ }
653
+ ],
654
+ "properties": {
655
+ "Node name for S&R": "EmptySD3LatentImage"
656
+ },
657
+ "widgets_values": [
658
+ 1536,
659
+ 1536,
660
+ 1
661
+ ],
662
+ "title": "Target Latent"
663
+ },
664
+ {
665
+ "id": 16,
666
+ "type": "KSampler",
667
+ "pos": [
668
+ 1120,
669
+ 60
670
+ ],
671
+ "size": [
672
+ 315,
673
+ 262
674
+ ],
675
+ "flags": {},
676
+ "order": 15,
677
+ "mode": 0,
678
+ "inputs": [
679
+ {
680
+ "name": "model",
681
+ "type": "MODEL",
682
+ "link": 22
683
+ },
684
+ {
685
+ "name": "positive",
686
+ "type": "CONDITIONING",
687
+ "link": 23
688
+ },
689
+ {
690
+ "name": "negative",
691
+ "type": "CONDITIONING",
692
+ "link": 24
693
+ },
694
+ {
695
+ "name": "latent_image",
696
+ "type": "LATENT",
697
+ "link": 25
698
+ }
699
+ ],
700
+ "outputs": [
701
+ {
702
+ "name": "LATENT",
703
+ "type": "LATENT",
704
+ "links": [
705
+ 26
706
+ ],
707
+ "slot_index": 0
708
+ }
709
+ ],
710
+ "properties": {
711
+ "Node name for S&R": "KSampler"
712
+ },
713
+ "widgets_values": [
714
+ 42,
715
+ "randomize",
716
+ 8,
717
+ 1.0,
718
+ "er_sde",
719
+ "simple",
720
+ 1.0
721
+ ]
722
+ },
723
+ {
724
+ "id": 17,
725
+ "type": "VAEDecode",
726
+ "pos": [
727
+ 1120,
728
+ 380
729
+ ],
730
+ "size": [
731
+ 210,
732
+ 46
733
+ ],
734
+ "flags": {},
735
+ "order": 16,
736
+ "mode": 0,
737
+ "inputs": [
738
+ {
739
+ "name": "samples",
740
+ "type": "LATENT",
741
+ "link": 26
742
+ },
743
+ {
744
+ "name": "vae",
745
+ "type": "VAE",
746
+ "link": 27
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "IMAGE",
752
+ "type": "IMAGE",
753
+ "links": [
754
+ 28
755
+ ],
756
+ "slot_index": 0
757
+ }
758
+ ],
759
+ "properties": {
760
+ "Node name for S&R": "VAEDecode"
761
+ }
762
+ },
763
+ {
764
+ "id": 18,
765
+ "type": "SaveImage",
766
+ "pos": [
767
+ 1120,
768
+ 480
769
+ ],
770
+ "size": [
771
+ 360,
772
+ 270
773
+ ],
774
+ "flags": {},
775
+ "order": 17,
776
+ "mode": 0,
777
+ "inputs": [
778
+ {
779
+ "name": "images",
780
+ "type": "IMAGE",
781
+ "link": 28
782
+ }
783
+ ],
784
+ "outputs": [],
785
+ "properties": {
786
+ "Node name for S&R": "SaveImage"
787
+ },
788
+ "widgets_values": [
789
+ "new-krea2-identity-turbo-2img"
790
+ ]
791
+ },
792
+ {
793
+ "id": 19,
794
+ "type": "MarkdownNote",
795
+ "pos": [
796
+ 1500,
797
+ 60
798
+ ],
799
+ "size": [
800
+ 520,
801
+ 460
802
+ ],
803
+ "flags": {},
804
+ "order": 18,
805
+ "mode": 0,
806
+ "inputs": [],
807
+ "outputs": [],
808
+ "properties": {
809
+ "Node name for S&R": "MarkdownNote"
810
+ },
811
+ "widgets_values": [
812
+ "## Krea 2 Identity Edit \u2014 TURBO MXFP8, two references (scene + person, er_sde)\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\n**Input order is fixed and matters:** the **scene** is always image 1, the **person** is always image 2. Turbo MXFP8 at 8 steps / CFG 1.0 with the **`er_sde`** sampler \u2014 the video's final test, which performs as well as euler on turbo. Faces are slightly less consistent with two refs than one (limitation of all identity-edit models); prefer ~1\u20131.5MP output and upscale, or chain single-ref inserts for two distinct people."
813
+ ],
814
+ "title": "About this workflow"
815
+ }
816
+ ],
817
+ "links": [
818
+ [
819
+ 1,
820
+ 1,
821
+ 0,
822
+ 2,
823
+ 0,
824
+ "MODEL"
825
+ ],
826
+ [
827
+ 2,
828
+ 5,
829
+ 0,
830
+ 7,
831
+ 0,
832
+ "IMAGE"
833
+ ],
834
+ [
835
+ 3,
836
+ 6,
837
+ 0,
838
+ 7,
839
+ 1,
840
+ "INT"
841
+ ],
842
+ [
843
+ 4,
844
+ 7,
845
+ 0,
846
+ 8,
847
+ 0,
848
+ "IMAGE"
849
+ ],
850
+ [
851
+ 5,
852
+ 4,
853
+ 0,
854
+ 8,
855
+ 1,
856
+ "VAE"
857
+ ],
858
+ [
859
+ 6,
860
+ 9,
861
+ 0,
862
+ 10,
863
+ 0,
864
+ "IMAGE"
865
+ ],
866
+ [
867
+ 7,
868
+ 6,
869
+ 0,
870
+ 10,
871
+ 1,
872
+ "INT"
873
+ ],
874
+ [
875
+ 8,
876
+ 10,
877
+ 0,
878
+ 11,
879
+ 0,
880
+ "IMAGE"
881
+ ],
882
+ [
883
+ 9,
884
+ 4,
885
+ 0,
886
+ 11,
887
+ 1,
888
+ "VAE"
889
+ ],
890
+ [
891
+ 10,
892
+ 2,
893
+ 0,
894
+ 12,
895
+ 0,
896
+ "MODEL"
897
+ ],
898
+ [
899
+ 11,
900
+ 8,
901
+ 0,
902
+ 12,
903
+ 1,
904
+ "LATENT"
905
+ ],
906
+ [
907
+ 12,
908
+ 4,
909
+ 0,
910
+ 12,
911
+ 4,
912
+ "VAE"
913
+ ],
914
+ [
915
+ 13,
916
+ 7,
917
+ 0,
918
+ 12,
919
+ 5,
920
+ "IMAGE"
921
+ ],
922
+ [
923
+ 14,
924
+ 11,
925
+ 0,
926
+ 12,
927
+ 2,
928
+ "LATENT"
929
+ ],
930
+ [
931
+ 15,
932
+ 10,
933
+ 0,
934
+ 12,
935
+ 6,
936
+ "IMAGE"
937
+ ],
938
+ [
939
+ 16,
940
+ 3,
941
+ 0,
942
+ 13,
943
+ 0,
944
+ "CLIP"
945
+ ],
946
+ [
947
+ 17,
948
+ 7,
949
+ 0,
950
+ 13,
951
+ 1,
952
+ "IMAGE"
953
+ ],
954
+ [
955
+ 18,
956
+ 3,
957
+ 0,
958
+ 14,
959
+ 0,
960
+ "CLIP"
961
+ ],
962
+ [
963
+ 19,
964
+ 7,
965
+ 0,
966
+ 14,
967
+ 1,
968
+ "IMAGE"
969
+ ],
970
+ [
971
+ 20,
972
+ 10,
973
+ 0,
974
+ 13,
975
+ 2,
976
+ "IMAGE"
977
+ ],
978
+ [
979
+ 21,
980
+ 10,
981
+ 0,
982
+ 14,
983
+ 2,
984
+ "IMAGE"
985
+ ],
986
+ [
987
+ 22,
988
+ 12,
989
+ 0,
990
+ 16,
991
+ 0,
992
+ "MODEL"
993
+ ],
994
+ [
995
+ 23,
996
+ 13,
997
+ 0,
998
+ 16,
999
+ 1,
1000
+ "CONDITIONING"
1001
+ ],
1002
+ [
1003
+ 24,
1004
+ 14,
1005
+ 0,
1006
+ 16,
1007
+ 2,
1008
+ "CONDITIONING"
1009
+ ],
1010
+ [
1011
+ 25,
1012
+ 15,
1013
+ 0,
1014
+ 16,
1015
+ 3,
1016
+ "LATENT"
1017
+ ],
1018
+ [
1019
+ 26,
1020
+ 16,
1021
+ 0,
1022
+ 17,
1023
+ 0,
1024
+ "LATENT"
1025
+ ],
1026
+ [
1027
+ 27,
1028
+ 4,
1029
+ 0,
1030
+ 17,
1031
+ 1,
1032
+ "VAE"
1033
+ ],
1034
+ [
1035
+ 28,
1036
+ 17,
1037
+ 0,
1038
+ 18,
1039
+ 0,
1040
+ "IMAGE"
1041
+ ]
1042
+ ],
1043
+ "groups": [],
1044
+ "config": {},
1045
+ "extra": {},
1046
+ "version": 0.4
1047
+ }
workflows/new-krea2-identity-edit-turbo-max.json ADDED
@@ -0,0 +1,942 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 17,
3
+ "last_link_id": 23,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_turbo_bf16.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 7
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 11,
100
+ 13
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_bf16.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 22
138
+ ],
139
+ "slot_index": 0
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "VAELoader"
144
+ },
145
+ "widgets_values": [
146
+ "qwen_image_vae.safetensors"
147
+ ],
148
+ "title": "Load VAE"
149
+ },
150
+ {
151
+ "id": 5,
152
+ "type": "LoadImage",
153
+ "pos": [
154
+ 40,
155
+ 620
156
+ ],
157
+ "size": [
158
+ 340,
159
+ 314
160
+ ],
161
+ "flags": {},
162
+ "order": 4,
163
+ "mode": 0,
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "IMAGE",
168
+ "type": "IMAGE",
169
+ "links": [
170
+ 2
171
+ ],
172
+ "slot_index": 0
173
+ },
174
+ {
175
+ "name": "MASK",
176
+ "type": "MASK",
177
+ "links": [],
178
+ "slot_index": 1
179
+ }
180
+ ],
181
+ "properties": {
182
+ "Node name for S&R": "LoadImage"
183
+ },
184
+ "widgets_values": [
185
+ "example.png",
186
+ "image"
187
+ ],
188
+ "title": "Source Image"
189
+ },
190
+ {
191
+ "id": 6,
192
+ "type": "PrimitiveInt",
193
+ "pos": [
194
+ 760,
195
+ 300
196
+ ],
197
+ "size": [
198
+ 300,
199
+ 82
200
+ ],
201
+ "flags": {},
202
+ "order": 5,
203
+ "mode": 0,
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "name": "INT",
208
+ "type": "INT",
209
+ "links": [
210
+ 3
211
+ ],
212
+ "slot_index": 0
213
+ }
214
+ ],
215
+ "properties": {
216
+ "Node name for S&R": "PrimitiveInt"
217
+ },
218
+ "widgets_values": [
219
+ 1536,
220
+ "fixed"
221
+ ],
222
+ "title": "Input max size (longest edge)"
223
+ },
224
+ {
225
+ "id": 7,
226
+ "type": "ImageScaleToMaxDimension",
227
+ "pos": [
228
+ 440,
229
+ 620
230
+ ],
231
+ "size": [
232
+ 300,
233
+ 106
234
+ ],
235
+ "flags": {},
236
+ "order": 6,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "image",
241
+ "type": "IMAGE",
242
+ "link": 2
243
+ },
244
+ {
245
+ "name": "largest_size",
246
+ "type": "INT",
247
+ "link": 3,
248
+ "widget": {
249
+ "name": "largest_size"
250
+ }
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "IMAGE",
256
+ "type": "IMAGE",
257
+ "links": [
258
+ 4,
259
+ 6,
260
+ 10,
261
+ 12,
262
+ 14
263
+ ],
264
+ "slot_index": 0
265
+ }
266
+ ],
267
+ "properties": {
268
+ "Node name for S&R": "ImageScaleToMaxDimension"
269
+ },
270
+ "widgets_values": [
271
+ "lanczos",
272
+ 1536
273
+ ],
274
+ "title": "Scale source (longest edge = max size)"
275
+ },
276
+ {
277
+ "id": 8,
278
+ "type": "VAEEncode",
279
+ "pos": [
280
+ 440,
281
+ 920
282
+ ],
283
+ "size": [
284
+ 300,
285
+ 46
286
+ ],
287
+ "flags": {},
288
+ "order": 7,
289
+ "mode": 0,
290
+ "inputs": [
291
+ {
292
+ "name": "pixels",
293
+ "type": "IMAGE",
294
+ "link": 4
295
+ },
296
+ {
297
+ "name": "vae",
298
+ "type": "VAE",
299
+ "link": 5
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "LATENT",
305
+ "type": "LATENT",
306
+ "links": [
307
+ 8
308
+ ],
309
+ "slot_index": 0
310
+ }
311
+ ],
312
+ "properties": {
313
+ "Node name for S&R": "VAEEncode"
314
+ },
315
+ "title": "VAE Encode Source"
316
+ },
317
+ {
318
+ "id": 9,
319
+ "type": "GetImageSize",
320
+ "pos": [
321
+ 440,
322
+ 780
323
+ ],
324
+ "size": [
325
+ 240,
326
+ 90
327
+ ],
328
+ "flags": {},
329
+ "order": 8,
330
+ "mode": 0,
331
+ "inputs": [
332
+ {
333
+ "name": "image",
334
+ "type": "IMAGE",
335
+ "link": 6
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "width",
341
+ "type": "INT",
342
+ "links": [
343
+ 15
344
+ ],
345
+ "slot_index": 0
346
+ },
347
+ {
348
+ "name": "height",
349
+ "type": "INT",
350
+ "links": [
351
+ 16
352
+ ],
353
+ "slot_index": 1
354
+ },
355
+ {
356
+ "name": "batch_size",
357
+ "type": "INT",
358
+ "links": [],
359
+ "slot_index": 2
360
+ }
361
+ ],
362
+ "properties": {
363
+ "Node name for S&R": "GetImageSize"
364
+ },
365
+ "widgets_values": [],
366
+ "title": "Source size \u2192 target latent"
367
+ },
368
+ {
369
+ "id": 10,
370
+ "type": "Krea2EditModelPatch",
371
+ "pos": [
372
+ 760,
373
+ 440
374
+ ],
375
+ "size": [
376
+ 300,
377
+ 190
378
+ ],
379
+ "flags": {},
380
+ "order": 9,
381
+ "mode": 0,
382
+ "inputs": [
383
+ {
384
+ "name": "model",
385
+ "type": "MODEL",
386
+ "link": 7
387
+ },
388
+ {
389
+ "name": "source_latent",
390
+ "type": "LATENT",
391
+ "link": 8
392
+ },
393
+ {
394
+ "name": "source_latent_b",
395
+ "type": "LATENT",
396
+ "link": null
397
+ },
398
+ {
399
+ "name": "ref_boost_mask",
400
+ "type": "MASK",
401
+ "link": null
402
+ },
403
+ {
404
+ "name": "vae",
405
+ "type": "VAE",
406
+ "link": 9
407
+ },
408
+ {
409
+ "name": "source_image",
410
+ "type": "IMAGE",
411
+ "link": 10
412
+ },
413
+ {
414
+ "name": "source_image_b",
415
+ "type": "IMAGE",
416
+ "link": null
417
+ }
418
+ ],
419
+ "outputs": [
420
+ {
421
+ "name": "MODEL",
422
+ "type": "MODEL",
423
+ "links": [
424
+ 17
425
+ ],
426
+ "slot_index": 0
427
+ }
428
+ ],
429
+ "properties": {
430
+ "Node name for S&R": "Krea2EditModelPatch",
431
+ "aux_id": "lbouaraba/comfyui-krea2edit",
432
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
433
+ },
434
+ "widgets_values": [
435
+ 1.0,
436
+ 1.0,
437
+ "crop (legacy)"
438
+ ],
439
+ "title": "Krea2 Edit (source patch)"
440
+ },
441
+ {
442
+ "id": 11,
443
+ "type": "Krea2EditGroundedEncode",
444
+ "pos": [
445
+ 440,
446
+ 60
447
+ ],
448
+ "size": [
449
+ 420,
450
+ 190
451
+ ],
452
+ "flags": {},
453
+ "order": 10,
454
+ "mode": 0,
455
+ "inputs": [
456
+ {
457
+ "name": "clip",
458
+ "type": "CLIP",
459
+ "link": 11
460
+ },
461
+ {
462
+ "name": "image",
463
+ "type": "IMAGE",
464
+ "link": 12
465
+ },
466
+ {
467
+ "name": "image_b",
468
+ "type": "IMAGE",
469
+ "link": null
470
+ }
471
+ ],
472
+ "outputs": [
473
+ {
474
+ "name": "CONDITIONING",
475
+ "type": "CONDITIONING",
476
+ "links": [
477
+ 18
478
+ ],
479
+ "slot_index": 0
480
+ }
481
+ ],
482
+ "properties": {
483
+ "Node name for S&R": "Krea2EditGroundedEncode",
484
+ "aux_id": "lbouaraba/comfyui-krea2edit",
485
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
486
+ },
487
+ "widgets_values": [
488
+ "Create a photo of this woman holding up a peace sign, natural smile, outdoor afternoon light",
489
+ 768,
490
+ ""
491
+ ],
492
+ "title": "Edit Instruction (grounded on source)"
493
+ },
494
+ {
495
+ "id": 12,
496
+ "type": "Krea2EditGroundedEncode",
497
+ "pos": [
498
+ 440,
499
+ 300
500
+ ],
501
+ "size": [
502
+ 420,
503
+ 130
504
+ ],
505
+ "flags": {},
506
+ "order": 11,
507
+ "mode": 0,
508
+ "inputs": [
509
+ {
510
+ "name": "clip",
511
+ "type": "CLIP",
512
+ "link": 13
513
+ },
514
+ {
515
+ "name": "image",
516
+ "type": "IMAGE",
517
+ "link": 14
518
+ },
519
+ {
520
+ "name": "image_b",
521
+ "type": "IMAGE",
522
+ "link": null
523
+ }
524
+ ],
525
+ "outputs": [
526
+ {
527
+ "name": "CONDITIONING",
528
+ "type": "CONDITIONING",
529
+ "links": [
530
+ 19
531
+ ],
532
+ "slot_index": 0
533
+ }
534
+ ],
535
+ "properties": {
536
+ "Node name for S&R": "Krea2EditGroundedEncode",
537
+ "aux_id": "lbouaraba/comfyui-krea2edit",
538
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
539
+ },
540
+ "widgets_values": [
541
+ "",
542
+ 768,
543
+ ""
544
+ ],
545
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
546
+ },
547
+ {
548
+ "id": 13,
549
+ "type": "EmptySD3LatentImage",
550
+ "pos": [
551
+ 760,
552
+ 620
553
+ ],
554
+ "size": [
555
+ 300,
556
+ 106
557
+ ],
558
+ "flags": {},
559
+ "order": 12,
560
+ "mode": 0,
561
+ "inputs": [
562
+ {
563
+ "name": "width",
564
+ "type": "INT",
565
+ "link": 15,
566
+ "widget": {
567
+ "name": "width"
568
+ }
569
+ },
570
+ {
571
+ "name": "height",
572
+ "type": "INT",
573
+ "link": 16,
574
+ "widget": {
575
+ "name": "height"
576
+ }
577
+ }
578
+ ],
579
+ "outputs": [
580
+ {
581
+ "name": "LATENT",
582
+ "type": "LATENT",
583
+ "links": [
584
+ 20
585
+ ],
586
+ "slot_index": 0
587
+ }
588
+ ],
589
+ "properties": {
590
+ "Node name for S&R": "EmptySD3LatentImage"
591
+ },
592
+ "widgets_values": [
593
+ 1536,
594
+ 1536,
595
+ 1
596
+ ],
597
+ "title": "Target Latent (auto-sized from source)"
598
+ },
599
+ {
600
+ "id": 14,
601
+ "type": "KSampler",
602
+ "pos": [
603
+ 1120,
604
+ 60
605
+ ],
606
+ "size": [
607
+ 315,
608
+ 262
609
+ ],
610
+ "flags": {},
611
+ "order": 13,
612
+ "mode": 0,
613
+ "inputs": [
614
+ {
615
+ "name": "model",
616
+ "type": "MODEL",
617
+ "link": 17
618
+ },
619
+ {
620
+ "name": "positive",
621
+ "type": "CONDITIONING",
622
+ "link": 18
623
+ },
624
+ {
625
+ "name": "negative",
626
+ "type": "CONDITIONING",
627
+ "link": 19
628
+ },
629
+ {
630
+ "name": "latent_image",
631
+ "type": "LATENT",
632
+ "link": 20
633
+ }
634
+ ],
635
+ "outputs": [
636
+ {
637
+ "name": "LATENT",
638
+ "type": "LATENT",
639
+ "links": [
640
+ 21
641
+ ],
642
+ "slot_index": 0
643
+ }
644
+ ],
645
+ "properties": {
646
+ "Node name for S&R": "KSampler"
647
+ },
648
+ "widgets_values": [
649
+ 42,
650
+ "randomize",
651
+ 8,
652
+ 1.0,
653
+ "euler",
654
+ "simple",
655
+ 1.0
656
+ ]
657
+ },
658
+ {
659
+ "id": 15,
660
+ "type": "VAEDecode",
661
+ "pos": [
662
+ 1120,
663
+ 380
664
+ ],
665
+ "size": [
666
+ 210,
667
+ 46
668
+ ],
669
+ "flags": {},
670
+ "order": 14,
671
+ "mode": 0,
672
+ "inputs": [
673
+ {
674
+ "name": "samples",
675
+ "type": "LATENT",
676
+ "link": 21
677
+ },
678
+ {
679
+ "name": "vae",
680
+ "type": "VAE",
681
+ "link": 22
682
+ }
683
+ ],
684
+ "outputs": [
685
+ {
686
+ "name": "IMAGE",
687
+ "type": "IMAGE",
688
+ "links": [
689
+ 23
690
+ ],
691
+ "slot_index": 0
692
+ }
693
+ ],
694
+ "properties": {
695
+ "Node name for S&R": "VAEDecode"
696
+ }
697
+ },
698
+ {
699
+ "id": 16,
700
+ "type": "SaveImage",
701
+ "pos": [
702
+ 1120,
703
+ 480
704
+ ],
705
+ "size": [
706
+ 360,
707
+ 270
708
+ ],
709
+ "flags": {},
710
+ "order": 15,
711
+ "mode": 0,
712
+ "inputs": [
713
+ {
714
+ "name": "images",
715
+ "type": "IMAGE",
716
+ "link": 23
717
+ }
718
+ ],
719
+ "outputs": [],
720
+ "properties": {
721
+ "Node name for S&R": "SaveImage"
722
+ },
723
+ "widgets_values": [
724
+ "new-krea2-identity-turbo-max"
725
+ ]
726
+ },
727
+ {
728
+ "id": 17,
729
+ "type": "MarkdownNote",
730
+ "pos": [
731
+ 1500,
732
+ 60
733
+ ],
734
+ "size": [
735
+ 520,
736
+ 460
737
+ ],
738
+ "flags": {},
739
+ "order": 16,
740
+ "mode": 0,
741
+ "inputs": [],
742
+ "outputs": [],
743
+ "properties": {
744
+ "Node name for S&R": "MarkdownNote"
745
+ },
746
+ "widgets_values": [
747
+ "## Krea 2 Identity Edit \u2014 TURBO bf16, single reference \u2014 MAX QUALITY\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\nTurbo **bf16** (26GB \u2014 vs the video's 13.5GB mxfp8) at 8 steps / CFG 1.0 / `euler`. Step dial: 8 = composition adherence, 12 = more face detail.\n\n**MAX-QUALITY VARIANT:** every model at its largest precision \u2014 diffusion model in bf16 and the Qwen3-VL text encoder in bf16 (`qwen3vl_4b_bf16.safetensors`, vs fp8_scaled in the standard file). Needs ~40GB+ VRAM headroom (H100-class); on smaller GPUs use the non-max version."
748
+ ],
749
+ "title": "About this workflow"
750
+ }
751
+ ],
752
+ "links": [
753
+ [
754
+ 1,
755
+ 1,
756
+ 0,
757
+ 2,
758
+ 0,
759
+ "MODEL"
760
+ ],
761
+ [
762
+ 2,
763
+ 5,
764
+ 0,
765
+ 7,
766
+ 0,
767
+ "IMAGE"
768
+ ],
769
+ [
770
+ 3,
771
+ 6,
772
+ 0,
773
+ 7,
774
+ 1,
775
+ "INT"
776
+ ],
777
+ [
778
+ 4,
779
+ 7,
780
+ 0,
781
+ 8,
782
+ 0,
783
+ "IMAGE"
784
+ ],
785
+ [
786
+ 5,
787
+ 4,
788
+ 0,
789
+ 8,
790
+ 1,
791
+ "VAE"
792
+ ],
793
+ [
794
+ 6,
795
+ 7,
796
+ 0,
797
+ 9,
798
+ 0,
799
+ "IMAGE"
800
+ ],
801
+ [
802
+ 7,
803
+ 2,
804
+ 0,
805
+ 10,
806
+ 0,
807
+ "MODEL"
808
+ ],
809
+ [
810
+ 8,
811
+ 8,
812
+ 0,
813
+ 10,
814
+ 1,
815
+ "LATENT"
816
+ ],
817
+ [
818
+ 9,
819
+ 4,
820
+ 0,
821
+ 10,
822
+ 4,
823
+ "VAE"
824
+ ],
825
+ [
826
+ 10,
827
+ 7,
828
+ 0,
829
+ 10,
830
+ 5,
831
+ "IMAGE"
832
+ ],
833
+ [
834
+ 11,
835
+ 3,
836
+ 0,
837
+ 11,
838
+ 0,
839
+ "CLIP"
840
+ ],
841
+ [
842
+ 12,
843
+ 7,
844
+ 0,
845
+ 11,
846
+ 1,
847
+ "IMAGE"
848
+ ],
849
+ [
850
+ 13,
851
+ 3,
852
+ 0,
853
+ 12,
854
+ 0,
855
+ "CLIP"
856
+ ],
857
+ [
858
+ 14,
859
+ 7,
860
+ 0,
861
+ 12,
862
+ 1,
863
+ "IMAGE"
864
+ ],
865
+ [
866
+ 15,
867
+ 9,
868
+ 0,
869
+ 13,
870
+ 0,
871
+ "INT"
872
+ ],
873
+ [
874
+ 16,
875
+ 9,
876
+ 1,
877
+ 13,
878
+ 1,
879
+ "INT"
880
+ ],
881
+ [
882
+ 17,
883
+ 10,
884
+ 0,
885
+ 14,
886
+ 0,
887
+ "MODEL"
888
+ ],
889
+ [
890
+ 18,
891
+ 11,
892
+ 0,
893
+ 14,
894
+ 1,
895
+ "CONDITIONING"
896
+ ],
897
+ [
898
+ 19,
899
+ 12,
900
+ 0,
901
+ 14,
902
+ 2,
903
+ "CONDITIONING"
904
+ ],
905
+ [
906
+ 20,
907
+ 13,
908
+ 0,
909
+ 14,
910
+ 3,
911
+ "LATENT"
912
+ ],
913
+ [
914
+ 21,
915
+ 14,
916
+ 0,
917
+ 15,
918
+ 0,
919
+ "LATENT"
920
+ ],
921
+ [
922
+ 22,
923
+ 4,
924
+ 0,
925
+ 15,
926
+ 1,
927
+ "VAE"
928
+ ],
929
+ [
930
+ 23,
931
+ 15,
932
+ 0,
933
+ 16,
934
+ 0,
935
+ "IMAGE"
936
+ ]
937
+ ],
938
+ "groups": [],
939
+ "config": {},
940
+ "extra": {},
941
+ "version": 0.4
942
+ }
workflows/new-krea2-identity-edit-turbo.json ADDED
@@ -0,0 +1,942 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 17,
3
+ "last_link_id": 23,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 60
11
+ ],
12
+ "size": [
13
+ 340,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "UNETLoader"
32
+ },
33
+ "widgets_values": [
34
+ "krea2_turbo_mxfp8.safetensors",
35
+ "default"
36
+ ],
37
+ "title": "Load Krea 2 Diffusion Model"
38
+ },
39
+ {
40
+ "id": 2,
41
+ "type": "LoraLoaderModelOnly",
42
+ "pos": [
43
+ 40,
44
+ 200
45
+ ],
46
+ "size": [
47
+ 340,
48
+ 82
49
+ ],
50
+ "flags": {},
51
+ "order": 1,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 1
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "MODEL",
63
+ "type": "MODEL",
64
+ "links": [
65
+ 7
66
+ ],
67
+ "slot_index": 0
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoraLoaderModelOnly"
72
+ },
73
+ "widgets_values": [
74
+ "krea2_identity_edit_v1_1.safetensors",
75
+ 1.0
76
+ ],
77
+ "title": "Identity Edit LoRA v1.1 (required)"
78
+ },
79
+ {
80
+ "id": 3,
81
+ "type": "CLIPLoader",
82
+ "pos": [
83
+ 40,
84
+ 340
85
+ ],
86
+ "size": [
87
+ 340,
88
+ 106
89
+ ],
90
+ "flags": {},
91
+ "order": 2,
92
+ "mode": 0,
93
+ "inputs": [],
94
+ "outputs": [
95
+ {
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 11,
100
+ 13
101
+ ],
102
+ "slot_index": 0
103
+ }
104
+ ],
105
+ "properties": {
106
+ "Node name for S&R": "CLIPLoader"
107
+ },
108
+ "widgets_values": [
109
+ "qwen3vl_4b_fp8_scaled.safetensors",
110
+ "krea2",
111
+ "default"
112
+ ],
113
+ "title": "Load Text Encoder"
114
+ },
115
+ {
116
+ "id": 4,
117
+ "type": "VAELoader",
118
+ "pos": [
119
+ 40,
120
+ 500
121
+ ],
122
+ "size": [
123
+ 340,
124
+ 58
125
+ ],
126
+ "flags": {},
127
+ "order": 3,
128
+ "mode": 0,
129
+ "inputs": [],
130
+ "outputs": [
131
+ {
132
+ "name": "VAE",
133
+ "type": "VAE",
134
+ "links": [
135
+ 5,
136
+ 9,
137
+ 22
138
+ ],
139
+ "slot_index": 0
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "VAELoader"
144
+ },
145
+ "widgets_values": [
146
+ "qwen_image_vae.safetensors"
147
+ ],
148
+ "title": "Load VAE"
149
+ },
150
+ {
151
+ "id": 5,
152
+ "type": "LoadImage",
153
+ "pos": [
154
+ 40,
155
+ 620
156
+ ],
157
+ "size": [
158
+ 340,
159
+ 314
160
+ ],
161
+ "flags": {},
162
+ "order": 4,
163
+ "mode": 0,
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "IMAGE",
168
+ "type": "IMAGE",
169
+ "links": [
170
+ 2
171
+ ],
172
+ "slot_index": 0
173
+ },
174
+ {
175
+ "name": "MASK",
176
+ "type": "MASK",
177
+ "links": [],
178
+ "slot_index": 1
179
+ }
180
+ ],
181
+ "properties": {
182
+ "Node name for S&R": "LoadImage"
183
+ },
184
+ "widgets_values": [
185
+ "example.png",
186
+ "image"
187
+ ],
188
+ "title": "Source Image"
189
+ },
190
+ {
191
+ "id": 6,
192
+ "type": "PrimitiveInt",
193
+ "pos": [
194
+ 760,
195
+ 300
196
+ ],
197
+ "size": [
198
+ 300,
199
+ 82
200
+ ],
201
+ "flags": {},
202
+ "order": 5,
203
+ "mode": 0,
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "name": "INT",
208
+ "type": "INT",
209
+ "links": [
210
+ 3
211
+ ],
212
+ "slot_index": 0
213
+ }
214
+ ],
215
+ "properties": {
216
+ "Node name for S&R": "PrimitiveInt"
217
+ },
218
+ "widgets_values": [
219
+ 1536,
220
+ "fixed"
221
+ ],
222
+ "title": "Input max size (longest edge)"
223
+ },
224
+ {
225
+ "id": 7,
226
+ "type": "ImageScaleToMaxDimension",
227
+ "pos": [
228
+ 440,
229
+ 620
230
+ ],
231
+ "size": [
232
+ 300,
233
+ 106
234
+ ],
235
+ "flags": {},
236
+ "order": 6,
237
+ "mode": 0,
238
+ "inputs": [
239
+ {
240
+ "name": "image",
241
+ "type": "IMAGE",
242
+ "link": 2
243
+ },
244
+ {
245
+ "name": "largest_size",
246
+ "type": "INT",
247
+ "link": 3,
248
+ "widget": {
249
+ "name": "largest_size"
250
+ }
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "IMAGE",
256
+ "type": "IMAGE",
257
+ "links": [
258
+ 4,
259
+ 6,
260
+ 10,
261
+ 12,
262
+ 14
263
+ ],
264
+ "slot_index": 0
265
+ }
266
+ ],
267
+ "properties": {
268
+ "Node name for S&R": "ImageScaleToMaxDimension"
269
+ },
270
+ "widgets_values": [
271
+ "lanczos",
272
+ 1536
273
+ ],
274
+ "title": "Scale source (longest edge = max size)"
275
+ },
276
+ {
277
+ "id": 8,
278
+ "type": "VAEEncode",
279
+ "pos": [
280
+ 440,
281
+ 920
282
+ ],
283
+ "size": [
284
+ 300,
285
+ 46
286
+ ],
287
+ "flags": {},
288
+ "order": 7,
289
+ "mode": 0,
290
+ "inputs": [
291
+ {
292
+ "name": "pixels",
293
+ "type": "IMAGE",
294
+ "link": 4
295
+ },
296
+ {
297
+ "name": "vae",
298
+ "type": "VAE",
299
+ "link": 5
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "LATENT",
305
+ "type": "LATENT",
306
+ "links": [
307
+ 8
308
+ ],
309
+ "slot_index": 0
310
+ }
311
+ ],
312
+ "properties": {
313
+ "Node name for S&R": "VAEEncode"
314
+ },
315
+ "title": "VAE Encode Source"
316
+ },
317
+ {
318
+ "id": 9,
319
+ "type": "GetImageSize",
320
+ "pos": [
321
+ 440,
322
+ 780
323
+ ],
324
+ "size": [
325
+ 240,
326
+ 90
327
+ ],
328
+ "flags": {},
329
+ "order": 8,
330
+ "mode": 0,
331
+ "inputs": [
332
+ {
333
+ "name": "image",
334
+ "type": "IMAGE",
335
+ "link": 6
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "width",
341
+ "type": "INT",
342
+ "links": [
343
+ 15
344
+ ],
345
+ "slot_index": 0
346
+ },
347
+ {
348
+ "name": "height",
349
+ "type": "INT",
350
+ "links": [
351
+ 16
352
+ ],
353
+ "slot_index": 1
354
+ },
355
+ {
356
+ "name": "batch_size",
357
+ "type": "INT",
358
+ "links": [],
359
+ "slot_index": 2
360
+ }
361
+ ],
362
+ "properties": {
363
+ "Node name for S&R": "GetImageSize"
364
+ },
365
+ "widgets_values": [],
366
+ "title": "Source size \u2192 target latent"
367
+ },
368
+ {
369
+ "id": 10,
370
+ "type": "Krea2EditModelPatch",
371
+ "pos": [
372
+ 760,
373
+ 440
374
+ ],
375
+ "size": [
376
+ 300,
377
+ 190
378
+ ],
379
+ "flags": {},
380
+ "order": 9,
381
+ "mode": 0,
382
+ "inputs": [
383
+ {
384
+ "name": "model",
385
+ "type": "MODEL",
386
+ "link": 7
387
+ },
388
+ {
389
+ "name": "source_latent",
390
+ "type": "LATENT",
391
+ "link": 8
392
+ },
393
+ {
394
+ "name": "source_latent_b",
395
+ "type": "LATENT",
396
+ "link": null
397
+ },
398
+ {
399
+ "name": "ref_boost_mask",
400
+ "type": "MASK",
401
+ "link": null
402
+ },
403
+ {
404
+ "name": "vae",
405
+ "type": "VAE",
406
+ "link": 9
407
+ },
408
+ {
409
+ "name": "source_image",
410
+ "type": "IMAGE",
411
+ "link": 10
412
+ },
413
+ {
414
+ "name": "source_image_b",
415
+ "type": "IMAGE",
416
+ "link": null
417
+ }
418
+ ],
419
+ "outputs": [
420
+ {
421
+ "name": "MODEL",
422
+ "type": "MODEL",
423
+ "links": [
424
+ 17
425
+ ],
426
+ "slot_index": 0
427
+ }
428
+ ],
429
+ "properties": {
430
+ "Node name for S&R": "Krea2EditModelPatch",
431
+ "aux_id": "lbouaraba/comfyui-krea2edit",
432
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
433
+ },
434
+ "widgets_values": [
435
+ 1.0,
436
+ 1.0,
437
+ "crop (legacy)"
438
+ ],
439
+ "title": "Krea2 Edit (source patch)"
440
+ },
441
+ {
442
+ "id": 11,
443
+ "type": "Krea2EditGroundedEncode",
444
+ "pos": [
445
+ 440,
446
+ 60
447
+ ],
448
+ "size": [
449
+ 420,
450
+ 190
451
+ ],
452
+ "flags": {},
453
+ "order": 10,
454
+ "mode": 0,
455
+ "inputs": [
456
+ {
457
+ "name": "clip",
458
+ "type": "CLIP",
459
+ "link": 11
460
+ },
461
+ {
462
+ "name": "image",
463
+ "type": "IMAGE",
464
+ "link": 12
465
+ },
466
+ {
467
+ "name": "image_b",
468
+ "type": "IMAGE",
469
+ "link": null
470
+ }
471
+ ],
472
+ "outputs": [
473
+ {
474
+ "name": "CONDITIONING",
475
+ "type": "CONDITIONING",
476
+ "links": [
477
+ 18
478
+ ],
479
+ "slot_index": 0
480
+ }
481
+ ],
482
+ "properties": {
483
+ "Node name for S&R": "Krea2EditGroundedEncode",
484
+ "aux_id": "lbouaraba/comfyui-krea2edit",
485
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
486
+ },
487
+ "widgets_values": [
488
+ "Create a photo of this woman holding up a peace sign, natural smile, outdoor afternoon light",
489
+ 768,
490
+ ""
491
+ ],
492
+ "title": "Edit Instruction (grounded on source)"
493
+ },
494
+ {
495
+ "id": 12,
496
+ "type": "Krea2EditGroundedEncode",
497
+ "pos": [
498
+ 440,
499
+ 300
500
+ ],
501
+ "size": [
502
+ 420,
503
+ 130
504
+ ],
505
+ "flags": {},
506
+ "order": 11,
507
+ "mode": 0,
508
+ "inputs": [
509
+ {
510
+ "name": "clip",
511
+ "type": "CLIP",
512
+ "link": 13
513
+ },
514
+ {
515
+ "name": "image",
516
+ "type": "IMAGE",
517
+ "link": 14
518
+ },
519
+ {
520
+ "name": "image_b",
521
+ "type": "IMAGE",
522
+ "link": null
523
+ }
524
+ ],
525
+ "outputs": [
526
+ {
527
+ "name": "CONDITIONING",
528
+ "type": "CONDITIONING",
529
+ "links": [
530
+ 19
531
+ ],
532
+ "slot_index": 0
533
+ }
534
+ ],
535
+ "properties": {
536
+ "Node name for S&R": "Krea2EditGroundedEncode",
537
+ "aux_id": "lbouaraba/comfyui-krea2edit",
538
+ "ver": "207c52d52b25f5ed23cd9bc5c2d88c6cf3026686"
539
+ },
540
+ "widgets_values": [
541
+ "",
542
+ 768,
543
+ ""
544
+ ],
545
+ "title": "Negative (grounded \u2014 used at CFG > 1)"
546
+ },
547
+ {
548
+ "id": 13,
549
+ "type": "EmptySD3LatentImage",
550
+ "pos": [
551
+ 760,
552
+ 620
553
+ ],
554
+ "size": [
555
+ 300,
556
+ 106
557
+ ],
558
+ "flags": {},
559
+ "order": 12,
560
+ "mode": 0,
561
+ "inputs": [
562
+ {
563
+ "name": "width",
564
+ "type": "INT",
565
+ "link": 15,
566
+ "widget": {
567
+ "name": "width"
568
+ }
569
+ },
570
+ {
571
+ "name": "height",
572
+ "type": "INT",
573
+ "link": 16,
574
+ "widget": {
575
+ "name": "height"
576
+ }
577
+ }
578
+ ],
579
+ "outputs": [
580
+ {
581
+ "name": "LATENT",
582
+ "type": "LATENT",
583
+ "links": [
584
+ 20
585
+ ],
586
+ "slot_index": 0
587
+ }
588
+ ],
589
+ "properties": {
590
+ "Node name for S&R": "EmptySD3LatentImage"
591
+ },
592
+ "widgets_values": [
593
+ 1536,
594
+ 1536,
595
+ 1
596
+ ],
597
+ "title": "Target Latent (auto-sized from source)"
598
+ },
599
+ {
600
+ "id": 14,
601
+ "type": "KSampler",
602
+ "pos": [
603
+ 1120,
604
+ 60
605
+ ],
606
+ "size": [
607
+ 315,
608
+ 262
609
+ ],
610
+ "flags": {},
611
+ "order": 13,
612
+ "mode": 0,
613
+ "inputs": [
614
+ {
615
+ "name": "model",
616
+ "type": "MODEL",
617
+ "link": 17
618
+ },
619
+ {
620
+ "name": "positive",
621
+ "type": "CONDITIONING",
622
+ "link": 18
623
+ },
624
+ {
625
+ "name": "negative",
626
+ "type": "CONDITIONING",
627
+ "link": 19
628
+ },
629
+ {
630
+ "name": "latent_image",
631
+ "type": "LATENT",
632
+ "link": 20
633
+ }
634
+ ],
635
+ "outputs": [
636
+ {
637
+ "name": "LATENT",
638
+ "type": "LATENT",
639
+ "links": [
640
+ 21
641
+ ],
642
+ "slot_index": 0
643
+ }
644
+ ],
645
+ "properties": {
646
+ "Node name for S&R": "KSampler"
647
+ },
648
+ "widgets_values": [
649
+ 42,
650
+ "randomize",
651
+ 8,
652
+ 1.0,
653
+ "euler",
654
+ "simple",
655
+ 1.0
656
+ ]
657
+ },
658
+ {
659
+ "id": 15,
660
+ "type": "VAEDecode",
661
+ "pos": [
662
+ 1120,
663
+ 380
664
+ ],
665
+ "size": [
666
+ 210,
667
+ 46
668
+ ],
669
+ "flags": {},
670
+ "order": 14,
671
+ "mode": 0,
672
+ "inputs": [
673
+ {
674
+ "name": "samples",
675
+ "type": "LATENT",
676
+ "link": 21
677
+ },
678
+ {
679
+ "name": "vae",
680
+ "type": "VAE",
681
+ "link": 22
682
+ }
683
+ ],
684
+ "outputs": [
685
+ {
686
+ "name": "IMAGE",
687
+ "type": "IMAGE",
688
+ "links": [
689
+ 23
690
+ ],
691
+ "slot_index": 0
692
+ }
693
+ ],
694
+ "properties": {
695
+ "Node name for S&R": "VAEDecode"
696
+ }
697
+ },
698
+ {
699
+ "id": 16,
700
+ "type": "SaveImage",
701
+ "pos": [
702
+ 1120,
703
+ 480
704
+ ],
705
+ "size": [
706
+ 360,
707
+ 270
708
+ ],
709
+ "flags": {},
710
+ "order": 15,
711
+ "mode": 0,
712
+ "inputs": [
713
+ {
714
+ "name": "images",
715
+ "type": "IMAGE",
716
+ "link": 23
717
+ }
718
+ ],
719
+ "outputs": [],
720
+ "properties": {
721
+ "Node name for S&R": "SaveImage"
722
+ },
723
+ "widgets_values": [
724
+ "new-krea2-identity-turbo"
725
+ ]
726
+ },
727
+ {
728
+ "id": 17,
729
+ "type": "MarkdownNote",
730
+ "pos": [
731
+ 1500,
732
+ 60
733
+ ],
734
+ "size": [
735
+ 520,
736
+ 460
737
+ ],
738
+ "flags": {},
739
+ "order": 16,
740
+ "mode": 0,
741
+ "inputs": [],
742
+ "outputs": [],
743
+ "properties": {
744
+ "Node name for S&R": "MarkdownNote"
745
+ },
746
+ "widgets_values": [
747
+ "## Krea 2 Identity Edit \u2014 TURBO MXFP8, single reference (fast, 8 steps)\n\nFrom [The AI Blueprint's Krea 2 Identity LoRA tutorial](https://www.youtube.com/watch?v=44E8s0ejj4g).\n\n**Required:** `krea2_identity_edit_v1_1.safetensors` ([conradlocke/krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)) at strength 1.0 plus the [comfyui-krea2edit](https://github.com/lbouaraba/comfyui-krea2edit) node pack. Both **Krea2 Edit (source patch)** and both **grounded encode** nodes are mandatory \u2014 do not bypass them. `fit_mode` is set to `crop (legacy)` because these are the v1.1 weights; if you switch to the `v1_2` LoRA, set it to `fit` and try `ref_boost` 4 for stronger likeness.\n\n**grounding_px** (768 default): lower = stronger edit adherence, higher = stronger identity. v1.1 trained range 384\u2013768.\n\n**This file = the video's fast recipe:** Krea 2 **Turbo MXFP8** at **8 steps / CFG 1.0 / `euler`** \u2014 ~40\u201350s on an RTX 4090 vs 5\u20137\u00d7 longer for Raw, and the recommended starting point for beginners or low VRAM. At CFG 1 the negative is inert (left empty). Step dial: 8 = composition adherence, 12 = more face detail. For removals switch to the raw workflow."
748
+ ],
749
+ "title": "About this workflow"
750
+ }
751
+ ],
752
+ "links": [
753
+ [
754
+ 1,
755
+ 1,
756
+ 0,
757
+ 2,
758
+ 0,
759
+ "MODEL"
760
+ ],
761
+ [
762
+ 2,
763
+ 5,
764
+ 0,
765
+ 7,
766
+ 0,
767
+ "IMAGE"
768
+ ],
769
+ [
770
+ 3,
771
+ 6,
772
+ 0,
773
+ 7,
774
+ 1,
775
+ "INT"
776
+ ],
777
+ [
778
+ 4,
779
+ 7,
780
+ 0,
781
+ 8,
782
+ 0,
783
+ "IMAGE"
784
+ ],
785
+ [
786
+ 5,
787
+ 4,
788
+ 0,
789
+ 8,
790
+ 1,
791
+ "VAE"
792
+ ],
793
+ [
794
+ 6,
795
+ 7,
796
+ 0,
797
+ 9,
798
+ 0,
799
+ "IMAGE"
800
+ ],
801
+ [
802
+ 7,
803
+ 2,
804
+ 0,
805
+ 10,
806
+ 0,
807
+ "MODEL"
808
+ ],
809
+ [
810
+ 8,
811
+ 8,
812
+ 0,
813
+ 10,
814
+ 1,
815
+ "LATENT"
816
+ ],
817
+ [
818
+ 9,
819
+ 4,
820
+ 0,
821
+ 10,
822
+ 4,
823
+ "VAE"
824
+ ],
825
+ [
826
+ 10,
827
+ 7,
828
+ 0,
829
+ 10,
830
+ 5,
831
+ "IMAGE"
832
+ ],
833
+ [
834
+ 11,
835
+ 3,
836
+ 0,
837
+ 11,
838
+ 0,
839
+ "CLIP"
840
+ ],
841
+ [
842
+ 12,
843
+ 7,
844
+ 0,
845
+ 11,
846
+ 1,
847
+ "IMAGE"
848
+ ],
849
+ [
850
+ 13,
851
+ 3,
852
+ 0,
853
+ 12,
854
+ 0,
855
+ "CLIP"
856
+ ],
857
+ [
858
+ 14,
859
+ 7,
860
+ 0,
861
+ 12,
862
+ 1,
863
+ "IMAGE"
864
+ ],
865
+ [
866
+ 15,
867
+ 9,
868
+ 0,
869
+ 13,
870
+ 0,
871
+ "INT"
872
+ ],
873
+ [
874
+ 16,
875
+ 9,
876
+ 1,
877
+ 13,
878
+ 1,
879
+ "INT"
880
+ ],
881
+ [
882
+ 17,
883
+ 10,
884
+ 0,
885
+ 14,
886
+ 0,
887
+ "MODEL"
888
+ ],
889
+ [
890
+ 18,
891
+ 11,
892
+ 0,
893
+ 14,
894
+ 1,
895
+ "CONDITIONING"
896
+ ],
897
+ [
898
+ 19,
899
+ 12,
900
+ 0,
901
+ 14,
902
+ 2,
903
+ "CONDITIONING"
904
+ ],
905
+ [
906
+ 20,
907
+ 13,
908
+ 0,
909
+ 14,
910
+ 3,
911
+ "LATENT"
912
+ ],
913
+ [
914
+ 21,
915
+ 14,
916
+ 0,
917
+ 15,
918
+ 0,
919
+ "LATENT"
920
+ ],
921
+ [
922
+ 22,
923
+ 4,
924
+ 0,
925
+ 15,
926
+ 1,
927
+ "VAE"
928
+ ],
929
+ [
930
+ 23,
931
+ 15,
932
+ 0,
933
+ 16,
934
+ 0,
935
+ "IMAGE"
936
+ ]
937
+ ],
938
+ "groups": [],
939
+ "config": {},
940
+ "extra": {},
941
+ "version": 0.4
942
+ }