svjack commited on
Commit
09eca7f
·
verified ·
1 Parent(s): 025cdbb

Upload flux_kontext_dev_transformation.json

Browse files
Files changed (1) hide show
  1. flux_kontext_dev_transformation.json +1973 -0
flux_kontext_dev_transformation.json ADDED
@@ -0,0 +1,1973 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "7cbcec68-7fa6-47bb-a38a-da689949a001",
3
+ "revision": 0,
4
+ "last_node_id": 209,
5
+ "last_link_id": 333,
6
+ "nodes": [
7
+ {
8
+ "id": 35,
9
+ "type": "FluxGuidance",
10
+ "pos": [
11
+ 250,
12
+ 90
13
+ ],
14
+ "size": [
15
+ 240,
16
+ 58
17
+ ],
18
+ "flags": {
19
+ "collapsed": false
20
+ },
21
+ "order": 21,
22
+ "mode": 0,
23
+ "inputs": [
24
+ {
25
+ "name": "conditioning",
26
+ "type": "CONDITIONING",
27
+ "link": 292
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "name": "CONDITIONING",
33
+ "type": "CONDITIONING",
34
+ "slot_index": 0,
35
+ "links": [
36
+ 57
37
+ ]
38
+ }
39
+ ],
40
+ "properties": {
41
+ "cnr_id": "comfy-core",
42
+ "ver": "0.3.38",
43
+ "Node name for S&R": "FluxGuidance"
44
+ },
45
+ "widgets_values": [
46
+ 2.5
47
+ ]
48
+ },
49
+ {
50
+ "id": 185,
51
+ "type": "MarkdownNote",
52
+ "pos": [
53
+ -960,
54
+ 490
55
+ ],
56
+ "size": [
57
+ 510,
58
+ 170
59
+ ],
60
+ "flags": {},
61
+ "order": 0,
62
+ "mode": 0,
63
+ "inputs": [],
64
+ "outputs": [],
65
+ "title": "About VRAM",
66
+ "properties": {},
67
+ "widgets_values": [
68
+ "For reference:\n- **fp8_scaled**: Requires about 20GB of VRAM.\n- **Original**: Requires about 32GB of VRAM.\n\n---\n\n供参考:\n- **fp8_scaled** : 大概需要 20GB 左右 VRAM \n- **原始权重**: 原始权重,大概需要 32GB 左右 VRAM \n"
69
+ ],
70
+ "color": "#432",
71
+ "bgcolor": "#653"
72
+ },
73
+ {
74
+ "id": 186,
75
+ "type": "MarkdownNote",
76
+ "pos": [
77
+ -960,
78
+ 710
79
+ ],
80
+ "size": [
81
+ 510,
82
+ 170
83
+ ],
84
+ "flags": {},
85
+ "order": 1,
86
+ "mode": 0,
87
+ "inputs": [],
88
+ "outputs": [],
89
+ "title": "Flux Kontext Prompt Techniques",
90
+ "properties": {},
91
+ "widgets_values": [
92
+ "\n## Flux Kontext Prompt Techniques\n\n### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. "
93
+ ],
94
+ "color": "#432",
95
+ "bgcolor": "#653"
96
+ },
97
+ {
98
+ "id": 184,
99
+ "type": "MarkdownNote",
100
+ "pos": [
101
+ -960,
102
+ 40
103
+ ],
104
+ "size": [
105
+ 510,
106
+ 400
107
+ ],
108
+ "flags": {},
109
+ "order": 2,
110
+ "mode": 0,
111
+ "inputs": [],
112
+ "outputs": [],
113
+ "title": "Model links",
114
+ "properties": {},
115
+ "widgets_values": [
116
+ "[tutorial](http://docs.comfy.org/tutorials/flux/flux-1-kontext-dev) | [教程](http://docs.comfy.org/zh-CN/tutorials/flux/flux-1-kontext-dev)\n\n**diffusion model**\n\n- [flux1-dev-kontext_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/blob/main/split_files/vae/ae.safetensors)\n\n**text encoder**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) or [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── flux1-dev-kontext_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── ae.safetensor\n│ └── 📂 text_encoders/\n│ ├── clip_l.safetensors\n│ └── t5xxl_fp16.safetensors 或者 t5xxl_fp8_e4m3fn_scaled.safetensors\n```\n"
117
+ ],
118
+ "color": "#432",
119
+ "bgcolor": "#653"
120
+ },
121
+ {
122
+ "id": 177,
123
+ "type": "ReferenceLatent",
124
+ "pos": [
125
+ 10,
126
+ 140
127
+ ],
128
+ "size": [
129
+ 197.712890625,
130
+ 46
131
+ ],
132
+ "flags": {},
133
+ "order": 20,
134
+ "mode": 0,
135
+ "inputs": [
136
+ {
137
+ "name": "conditioning",
138
+ "type": "CONDITIONING",
139
+ "link": 294
140
+ },
141
+ {
142
+ "name": "latent",
143
+ "shape": 7,
144
+ "type": "LATENT",
145
+ "link": 293
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "name": "CONDITIONING",
151
+ "type": "CONDITIONING",
152
+ "links": [
153
+ 292
154
+ ]
155
+ }
156
+ ],
157
+ "properties": {
158
+ "cnr_id": "comfy-core",
159
+ "ver": "0.3.41",
160
+ "Node name for S&R": "ReferenceLatent"
161
+ },
162
+ "widgets_values": []
163
+ },
164
+ {
165
+ "id": 188,
166
+ "type": "EmptySD3LatentImage",
167
+ "pos": [
168
+ 530,
169
+ -140
170
+ ],
171
+ "size": [
172
+ 310,
173
+ 106
174
+ ],
175
+ "flags": {},
176
+ "order": 3,
177
+ "mode": 4,
178
+ "inputs": [],
179
+ "outputs": [
180
+ {
181
+ "name": "LATENT",
182
+ "type": "LATENT",
183
+ "links": null
184
+ }
185
+ ],
186
+ "properties": {
187
+ "cnr_id": "comfy-core",
188
+ "ver": "0.3.41",
189
+ "Node name for S&R": "EmptySD3LatentImage"
190
+ },
191
+ "widgets_values": [
192
+ 1024,
193
+ 1024,
194
+ 1
195
+ ]
196
+ },
197
+ {
198
+ "id": 180,
199
+ "type": "MarkdownNote",
200
+ "pos": [
201
+ -1430,
202
+ 40
203
+ ],
204
+ "size": [
205
+ 450,
206
+ 450
207
+ ],
208
+ "flags": {},
209
+ "order": 4,
210
+ "mode": 0,
211
+ "inputs": [],
212
+ "outputs": [],
213
+ "title": "✨ New ComfyUI feature for Flux.1 Kontext Dev",
214
+ "properties": {},
215
+ "widgets_values": [
216
+ "[English]\nWe have added an **Edit** button to the **Selection Toolbox** of the node for **FLUX.1 Kontext Image Edit** support. When clicked, it quickly adds a **FLUX.1 Kontext Image Edit** group node to the Latent output of your current workflow. This enables an interactive editing experience where you can:\n\n- Create multiple editing iterations, each preserved as a separate node\n- Easily branch off from any previous edit point to explore different creative directions\n- Return to any earlier version and start a new editing branch\n- Modify parameters in earlier nodes and automatically update all downstream edits\n- Execute or re-execute any branch of edits at any time\n- When you want to maintain the effect of the corresponding branch, please set the seed of the corresponding group node to fixed.\n\n\nThis workflow mirrors the iterative nature of LLM conversations, but with the added advantage of visual editing and the ability to maintain multiple parallel editing paths.\n\n---\n\n[中文]\n我们为 **FLUX.1 Kontext Image Edit** 的相关支持在节点的**选择工具箱**上新增了一个**编辑**按钮。点击后,系统会在当前工作流的 Latent 输出上快速添加一个 **FLUX.1 Kontext Image Edit** 的组节点。这种设计带来了灵活的交互式编辑体验:\n\n- 创建多个编辑迭代,每次编辑都会保存为独立节点\n- 可以从任何之前的编辑点分支出新的创作方向\n- 随时返回到早期版本并开始新的编辑分支\n- 修改早期节点的参数,自动更新所有下游编辑\n- 可以随时执行或重新执行任何编辑分支\n- 想要固定对应分支效果时,请将对应的 seed 设置为 fixed\n\n这种工作流程类似于 LLM 对话的迭代特性,但增加了视觉编辑的优势,并能够维护多个并行的编辑路径。"
217
+ ],
218
+ "color": "#322",
219
+ "bgcolor": "#533"
220
+ },
221
+ {
222
+ "id": 187,
223
+ "type": "MarkdownNote",
224
+ "pos": [
225
+ -960,
226
+ 930
227
+ ],
228
+ "size": [
229
+ 510,
230
+ 180
231
+ ],
232
+ "flags": {},
233
+ "order": 5,
234
+ "mode": 0,
235
+ "inputs": [],
236
+ "outputs": [],
237
+ "title": "Flux Kontext 提示词技巧",
238
+ "properties": {},
239
+ "widgets_values": [
240
+ "\n## Flux Kontext 提示词技巧\n\n使用英文\n\n### 1. 基础修改\n- 简单直接:`\"Change the car color to red\"`\n- 保持风格:`\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. 风格转换\n**原则:**\n- 明确命名风格:`\"Transform to Bauhaus art style\"`\n- 描述特征:`\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- 保留构图:`\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. 角色一致性\n**框架:**\n- 具体描述:`\"The woman with short black hair\"`而非`\"她\"`\n- 保留特征:`\"while maintaining the same facial features, hairstyle, and expression\"`\n- 分步修改:先改背景,再改动作\n\n### 4. 文本编辑\n- 使用引号:`\"Replace 'joy' with 'BFL'\"`\n- 保持格式:`\"Replace text while maintaining the same font style\"`\n\n## 常见问题解决\n\n### 角色变化过大\n❌ 错误:`\"Transform the person into a Viking\"`\n✅ 正确:`\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### 构图位置改变\n❌ 错误:`\"Put him on a beach\"`\n✅ 正确:`\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### 风格应用不准确\n❌ 错误:`\"Make it a sketch\"`\n✅ 正确:`\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## 核心原则\n\n1. **具体明确** - 使用精确描述,避免模糊词汇\n2. **分步编辑** - 复杂修改分为多个简单步骤\n3. **明确保留** - 说明哪些要保持不变\n4. **动词选择** - 用\"更改\"、\"替换\"而非\"转换\"\n\n## 最佳实践模板\n\n**对象修改:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**风格转换:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**背景替换:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**文本编辑:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **记住:** 越具体越好,Kontext 擅长理解详细指令并保持一致性。"
241
+ ],
242
+ "color": "#432",
243
+ "bgcolor": "#653"
244
+ },
245
+ {
246
+ "id": 189,
247
+ "type": "MarkdownNote",
248
+ "pos": [
249
+ -400,
250
+ 1200
251
+ ],
252
+ "size": [
253
+ 340,
254
+ 90
255
+ ],
256
+ "flags": {},
257
+ "order": 6,
258
+ "mode": 0,
259
+ "inputs": [],
260
+ "outputs": [],
261
+ "title": "About multi-round edit",
262
+ "properties": {},
263
+ "widgets_values": [
264
+ "The **Load Image (from Outputs)** node allows you to fetch the last image from the output. Click on the **refresh** button to fetch the latest image or manually select an image from the dropdown list."
265
+ ],
266
+ "color": "#432",
267
+ "bgcolor": "#653"
268
+ },
269
+ {
270
+ "id": 135,
271
+ "type": "ConditioningZeroOut",
272
+ "pos": [
273
+ 250,
274
+ 200
275
+ ],
276
+ "size": [
277
+ 240,
278
+ 26
279
+ ],
280
+ "flags": {
281
+ "collapsed": false
282
+ },
283
+ "order": 16,
284
+ "mode": 0,
285
+ "inputs": [
286
+ {
287
+ "name": "conditioning",
288
+ "type": "CONDITIONING",
289
+ "link": 237
290
+ }
291
+ ],
292
+ "outputs": [
293
+ {
294
+ "name": "CONDITIONING",
295
+ "type": "CONDITIONING",
296
+ "links": [
297
+ 238
298
+ ]
299
+ }
300
+ ],
301
+ "properties": {
302
+ "cnr_id": "comfy-core",
303
+ "ver": "0.3.39",
304
+ "Node name for S&R": "ConditioningZeroOut"
305
+ },
306
+ "widgets_values": []
307
+ },
308
+ {
309
+ "id": 196,
310
+ "type": "ConditioningZeroOut",
311
+ "pos": [
312
+ 1341.8414306640625,
313
+ -56.74663543701172
314
+ ],
315
+ "size": [
316
+ 240,
317
+ 26
318
+ ],
319
+ "flags": {
320
+ "collapsed": false
321
+ },
322
+ "order": 17,
323
+ "mode": 0,
324
+ "inputs": [
325
+ {
326
+ "name": "conditioning",
327
+ "type": "CONDITIONING",
328
+ "link": 302
329
+ }
330
+ ],
331
+ "outputs": [
332
+ {
333
+ "name": "CONDITIONING",
334
+ "type": "CONDITIONING",
335
+ "links": [
336
+ 303
337
+ ]
338
+ }
339
+ ],
340
+ "properties": {
341
+ "cnr_id": "comfy-core",
342
+ "ver": "0.3.39",
343
+ "Node name for S&R": "ConditioningZeroOut"
344
+ },
345
+ "widgets_values": []
346
+ },
347
+ {
348
+ "id": 6,
349
+ "type": "CLIPTextEncode",
350
+ "pos": [
351
+ 286.31640625,
352
+ 548.604248046875
353
+ ],
354
+ "size": [
355
+ 400,
356
+ 220
357
+ ],
358
+ "flags": {},
359
+ "order": 12,
360
+ "mode": 0,
361
+ "inputs": [
362
+ {
363
+ "name": "clip",
364
+ "type": "CLIP",
365
+ "link": 59
366
+ }
367
+ ],
368
+ "outputs": [
369
+ {
370
+ "name": "CONDITIONING",
371
+ "type": "CONDITIONING",
372
+ "slot_index": 0,
373
+ "links": [
374
+ 237,
375
+ 294
376
+ ]
377
+ }
378
+ ],
379
+ "title": "CLIP Text Encode (Positive Prompt)",
380
+ "properties": {
381
+ "cnr_id": "comfy-core",
382
+ "ver": "0.3.38",
383
+ "Node name for S&R": "CLIPTextEncode"
384
+ },
385
+ "widgets_values": [
386
+ "zoom out the picture to show full body man and outpainting the surroundings\n"
387
+ ],
388
+ "color": "#232",
389
+ "bgcolor": "#353"
390
+ },
391
+ {
392
+ "id": 42,
393
+ "type": "FluxKontextImageScale",
394
+ "pos": [
395
+ -28.272167205810547,
396
+ 581.1773071289062
397
+ ],
398
+ "size": [
399
+ 270,
400
+ 30
401
+ ],
402
+ "flags": {
403
+ "collapsed": false
404
+ },
405
+ "order": 15,
406
+ "mode": 0,
407
+ "inputs": [
408
+ {
409
+ "name": "image",
410
+ "type": "IMAGE",
411
+ "link": 295
412
+ }
413
+ ],
414
+ "outputs": [
415
+ {
416
+ "name": "IMAGE",
417
+ "type": "IMAGE",
418
+ "links": [
419
+ 222
420
+ ]
421
+ }
422
+ ],
423
+ "properties": {
424
+ "cnr_id": "comfy-core",
425
+ "ver": "0.3.38",
426
+ "Node name for S&R": "FluxKontextImageScale"
427
+ },
428
+ "widgets_values": []
429
+ },
430
+ {
431
+ "id": 205,
432
+ "type": "ConditioningZeroOut",
433
+ "pos": [
434
+ 2486.732666015625,
435
+ 201.67367553710938
436
+ ],
437
+ "size": [
438
+ 240,
439
+ 26
440
+ ],
441
+ "flags": {
442
+ "collapsed": false
443
+ },
444
+ "order": 18,
445
+ "mode": 0,
446
+ "inputs": [
447
+ {
448
+ "name": "conditioning",
449
+ "type": "CONDITIONING",
450
+ "link": 317
451
+ }
452
+ ],
453
+ "outputs": [
454
+ {
455
+ "name": "CONDITIONING",
456
+ "type": "CONDITIONING",
457
+ "links": [
458
+ 315
459
+ ]
460
+ }
461
+ ],
462
+ "properties": {
463
+ "cnr_id": "comfy-core",
464
+ "ver": "0.3.39",
465
+ "Node name for S&R": "ConditioningZeroOut"
466
+ }
467
+ },
468
+ {
469
+ "id": 207,
470
+ "type": "ReferenceLatent",
471
+ "pos": [
472
+ 2413.60986328125,
473
+ -102.54360961914062
474
+ ],
475
+ "size": [
476
+ 197.712890625,
477
+ 46
478
+ ],
479
+ "flags": {},
480
+ "order": 34,
481
+ "mode": 0,
482
+ "inputs": [
483
+ {
484
+ "name": "conditioning",
485
+ "type": "CONDITIONING",
486
+ "link": 319
487
+ },
488
+ {
489
+ "name": "latent",
490
+ "shape": 7,
491
+ "type": "LATENT",
492
+ "link": 330
493
+ }
494
+ ],
495
+ "outputs": [
496
+ {
497
+ "name": "CONDITIONING",
498
+ "type": "CONDITIONING",
499
+ "links": [
500
+ 320
501
+ ]
502
+ }
503
+ ],
504
+ "properties": {
505
+ "cnr_id": "comfy-core",
506
+ "ver": "0.3.41",
507
+ "Node name for S&R": "ReferenceLatent"
508
+ }
509
+ },
510
+ {
511
+ "id": 208,
512
+ "type": "FluxGuidance",
513
+ "pos": [
514
+ 2653.60986328125,
515
+ -152.54360961914062
516
+ ],
517
+ "size": [
518
+ 240,
519
+ 58
520
+ ],
521
+ "flags": {
522
+ "collapsed": false
523
+ },
524
+ "order": 35,
525
+ "mode": 0,
526
+ "inputs": [
527
+ {
528
+ "name": "conditioning",
529
+ "type": "CONDITIONING",
530
+ "link": 320
531
+ }
532
+ ],
533
+ "outputs": [
534
+ {
535
+ "name": "CONDITIONING",
536
+ "type": "CONDITIONING",
537
+ "slot_index": 0,
538
+ "links": [
539
+ 314
540
+ ]
541
+ }
542
+ ],
543
+ "properties": {
544
+ "cnr_id": "comfy-core",
545
+ "ver": "0.3.38",
546
+ "Node name for S&R": "FluxGuidance"
547
+ },
548
+ "widgets_values": [
549
+ 2.5
550
+ ]
551
+ },
552
+ {
553
+ "id": 203,
554
+ "type": "KSampler",
555
+ "pos": [
556
+ 947.738525390625,
557
+ -275.2375793457031
558
+ ],
559
+ "size": [
560
+ 320,
561
+ 262
562
+ ],
563
+ "flags": {},
564
+ "order": 36,
565
+ "mode": 0,
566
+ "inputs": [
567
+ {
568
+ "name": "model",
569
+ "type": "MODEL",
570
+ "link": 332
571
+ },
572
+ {
573
+ "name": "positive",
574
+ "type": "CONDITIONING",
575
+ "link": 314
576
+ },
577
+ {
578
+ "name": "negative",
579
+ "type": "CONDITIONING",
580
+ "link": 315
581
+ },
582
+ {
583
+ "name": "latent_image",
584
+ "type": "LATENT",
585
+ "link": 316
586
+ }
587
+ ],
588
+ "outputs": [
589
+ {
590
+ "name": "LATENT",
591
+ "type": "LATENT",
592
+ "slot_index": 0,
593
+ "links": [
594
+ 318
595
+ ]
596
+ }
597
+ ],
598
+ "properties": {
599
+ "cnr_id": "comfy-core",
600
+ "ver": "0.3.38",
601
+ "Node name for S&R": "KSampler"
602
+ },
603
+ "widgets_values": [
604
+ 913446498152213,
605
+ "randomize",
606
+ 20,
607
+ 1,
608
+ "euler",
609
+ "simple",
610
+ 1
611
+ ]
612
+ },
613
+ {
614
+ "id": 38,
615
+ "type": "DualCLIPLoader",
616
+ "pos": [
617
+ -400,
618
+ 210
619
+ ],
620
+ "size": [
621
+ 337.76861572265625,
622
+ 130
623
+ ],
624
+ "flags": {},
625
+ "order": 7,
626
+ "mode": 0,
627
+ "inputs": [],
628
+ "outputs": [
629
+ {
630
+ "name": "CLIP",
631
+ "type": "CLIP",
632
+ "links": [
633
+ 59,
634
+ 307,
635
+ 327
636
+ ]
637
+ }
638
+ ],
639
+ "properties": {
640
+ "cnr_id": "comfy-core",
641
+ "ver": "0.3.38",
642
+ "Node name for S&R": "DualCLIPLoader",
643
+ "models": [
644
+ {
645
+ "name": "clip_l.safetensors",
646
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
647
+ "directory": "text_encoders"
648
+ },
649
+ {
650
+ "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
651
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
652
+ "directory": "text_encoders"
653
+ }
654
+ ]
655
+ },
656
+ "widgets_values": [
657
+ "clip_l.safetensors",
658
+ "t5xxl_fp8_e4m3fn_scaled.safetensors",
659
+ "flux",
660
+ "default"
661
+ ],
662
+ "color": "#322",
663
+ "bgcolor": "#533"
664
+ },
665
+ {
666
+ "id": 39,
667
+ "type": "VAELoader",
668
+ "pos": [
669
+ -400,
670
+ 390
671
+ ],
672
+ "size": [
673
+ 337.76861572265625,
674
+ 58
675
+ ],
676
+ "flags": {},
677
+ "order": 8,
678
+ "mode": 0,
679
+ "inputs": [],
680
+ "outputs": [
681
+ {
682
+ "name": "VAE",
683
+ "type": "VAE",
684
+ "links": [
685
+ 61,
686
+ 223,
687
+ 306,
688
+ 311,
689
+ 323,
690
+ 328
691
+ ]
692
+ }
693
+ ],
694
+ "properties": {
695
+ "cnr_id": "comfy-core",
696
+ "ver": "0.3.38",
697
+ "Node name for S&R": "VAELoader",
698
+ "models": [
699
+ {
700
+ "name": "ae.safetensors",
701
+ "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
702
+ "directory": "vae"
703
+ }
704
+ ]
705
+ },
706
+ "widgets_values": [
707
+ "ae.safetensors"
708
+ ],
709
+ "color": "#322",
710
+ "bgcolor": "#533"
711
+ },
712
+ {
713
+ "id": 199,
714
+ "type": "FluxKontextImageScale",
715
+ "pos": [
716
+ 920.8074951171875,
717
+ 494.73382568359375
718
+ ],
719
+ "size": [
720
+ 270,
721
+ 30
722
+ ],
723
+ "flags": {
724
+ "collapsed": false
725
+ },
726
+ "order": 25,
727
+ "mode": 0,
728
+ "inputs": [
729
+ {
730
+ "name": "image",
731
+ "type": "IMAGE",
732
+ "link": 309
733
+ }
734
+ ],
735
+ "outputs": [
736
+ {
737
+ "name": "IMAGE",
738
+ "type": "IMAGE",
739
+ "links": [
740
+ 310
741
+ ]
742
+ }
743
+ ],
744
+ "properties": {
745
+ "cnr_id": "comfy-core",
746
+ "ver": "0.3.38",
747
+ "Node name for S&R": "FluxKontextImageScale"
748
+ },
749
+ "widgets_values": []
750
+ },
751
+ {
752
+ "id": 31,
753
+ "type": "KSampler",
754
+ "pos": [
755
+ 575.108154296875,
756
+ 40.3798828125
757
+ ],
758
+ "size": [
759
+ 320,
760
+ 262
761
+ ],
762
+ "flags": {},
763
+ "order": 22,
764
+ "mode": 0,
765
+ "inputs": [
766
+ {
767
+ "name": "model",
768
+ "type": "MODEL",
769
+ "link": 331
770
+ },
771
+ {
772
+ "name": "positive",
773
+ "type": "CONDITIONING",
774
+ "link": 57
775
+ },
776
+ {
777
+ "name": "negative",
778
+ "type": "CONDITIONING",
779
+ "link": 238
780
+ },
781
+ {
782
+ "name": "latent_image",
783
+ "type": "LATENT",
784
+ "link": 291
785
+ }
786
+ ],
787
+ "outputs": [
788
+ {
789
+ "name": "LATENT",
790
+ "type": "LATENT",
791
+ "slot_index": 0,
792
+ "links": [
793
+ 52
794
+ ]
795
+ }
796
+ ],
797
+ "properties": {
798
+ "cnr_id": "comfy-core",
799
+ "ver": "0.3.38",
800
+ "Node name for S&R": "KSampler"
801
+ },
802
+ "widgets_values": [
803
+ 926665374178617,
804
+ "randomize",
805
+ 20,
806
+ 1,
807
+ "euler",
808
+ "simple",
809
+ 1
810
+ ]
811
+ },
812
+ {
813
+ "id": 124,
814
+ "type": "VAEEncode",
815
+ "pos": [
816
+ 17.60597038269043,
817
+ 430.2935791015625
818
+ ],
819
+ "size": [
820
+ 240,
821
+ 50
822
+ ],
823
+ "flags": {
824
+ "collapsed": false
825
+ },
826
+ "order": 19,
827
+ "mode": 0,
828
+ "inputs": [
829
+ {
830
+ "name": "pixels",
831
+ "type": "IMAGE",
832
+ "link": 222
833
+ },
834
+ {
835
+ "name": "vae",
836
+ "type": "VAE",
837
+ "link": 223
838
+ }
839
+ ],
840
+ "outputs": [
841
+ {
842
+ "name": "LATENT",
843
+ "type": "LATENT",
844
+ "links": [
845
+ 291,
846
+ 293
847
+ ]
848
+ }
849
+ ],
850
+ "properties": {
851
+ "cnr_id": "comfy-core",
852
+ "ver": "0.3.39",
853
+ "Node name for S&R": "VAEEncode"
854
+ },
855
+ "widgets_values": []
856
+ },
857
+ {
858
+ "id": 8,
859
+ "type": "VAEDecode",
860
+ "pos": [
861
+ 399.8988342285156,
862
+ 373.456298828125
863
+ ],
864
+ "size": [
865
+ 190,
866
+ 46
867
+ ],
868
+ "flags": {
869
+ "collapsed": false
870
+ },
871
+ "order": 23,
872
+ "mode": 0,
873
+ "inputs": [
874
+ {
875
+ "name": "samples",
876
+ "type": "LATENT",
877
+ "link": 52
878
+ },
879
+ {
880
+ "name": "vae",
881
+ "type": "VAE",
882
+ "link": 61
883
+ }
884
+ ],
885
+ "outputs": [
886
+ {
887
+ "name": "IMAGE",
888
+ "type": "IMAGE",
889
+ "slot_index": 0,
890
+ "links": [
891
+ 240,
892
+ 309
893
+ ]
894
+ }
895
+ ],
896
+ "properties": {
897
+ "cnr_id": "comfy-core",
898
+ "ver": "0.3.38",
899
+ "Node name for S&R": "VAEDecode"
900
+ },
901
+ "widgets_values": []
902
+ },
903
+ {
904
+ "id": 197,
905
+ "type": "VAEDecode",
906
+ "pos": [
907
+ 1306.77001953125,
908
+ 396.21270751953125
909
+ ],
910
+ "size": [
911
+ 190,
912
+ 46
913
+ ],
914
+ "flags": {
915
+ "collapsed": false
916
+ },
917
+ "order": 30,
918
+ "mode": 0,
919
+ "inputs": [
920
+ {
921
+ "name": "samples",
922
+ "type": "LATENT",
923
+ "link": 305
924
+ },
925
+ {
926
+ "name": "vae",
927
+ "type": "VAE",
928
+ "link": 306
929
+ }
930
+ ],
931
+ "outputs": [
932
+ {
933
+ "name": "IMAGE",
934
+ "type": "IMAGE",
935
+ "slot_index": 0,
936
+ "links": [
937
+ 304,
938
+ 324
939
+ ]
940
+ }
941
+ ],
942
+ "properties": {
943
+ "cnr_id": "comfy-core",
944
+ "ver": "0.3.38",
945
+ "Node name for S&R": "VAEDecode"
946
+ },
947
+ "widgets_values": []
948
+ },
949
+ {
950
+ "id": 192,
951
+ "type": "KSampler",
952
+ "pos": [
953
+ 506.3446960449219,
954
+ -576.4866333007812
955
+ ],
956
+ "size": [
957
+ 320,
958
+ 262
959
+ ],
960
+ "flags": {},
961
+ "order": 29,
962
+ "mode": 0,
963
+ "inputs": [
964
+ {
965
+ "name": "model",
966
+ "type": "MODEL",
967
+ "link": 333
968
+ },
969
+ {
970
+ "name": "positive",
971
+ "type": "CONDITIONING",
972
+ "link": 301
973
+ },
974
+ {
975
+ "name": "negative",
976
+ "type": "CONDITIONING",
977
+ "link": 303
978
+ },
979
+ {
980
+ "name": "latent_image",
981
+ "type": "LATENT",
982
+ "link": 312
983
+ }
984
+ ],
985
+ "outputs": [
986
+ {
987
+ "name": "LATENT",
988
+ "type": "LATENT",
989
+ "slot_index": 0,
990
+ "links": [
991
+ 305
992
+ ]
993
+ }
994
+ ],
995
+ "properties": {
996
+ "cnr_id": "comfy-core",
997
+ "ver": "0.3.38",
998
+ "Node name for S&R": "KSampler"
999
+ },
1000
+ "widgets_values": [
1001
+ 425858018751870,
1002
+ "randomize",
1003
+ 20,
1004
+ 1,
1005
+ "euler",
1006
+ "simple",
1007
+ 1
1008
+ ]
1009
+ },
1010
+ {
1011
+ "id": 195,
1012
+ "type": "FluxGuidance",
1013
+ "pos": [
1014
+ 1564.748046875,
1015
+ -517.3240356445312
1016
+ ],
1017
+ "size": [
1018
+ 240,
1019
+ 58
1020
+ ],
1021
+ "flags": {
1022
+ "collapsed": false
1023
+ },
1024
+ "order": 28,
1025
+ "mode": 0,
1026
+ "inputs": [
1027
+ {
1028
+ "name": "conditioning",
1029
+ "type": "CONDITIONING",
1030
+ "link": 300
1031
+ }
1032
+ ],
1033
+ "outputs": [
1034
+ {
1035
+ "name": "CONDITIONING",
1036
+ "type": "CONDITIONING",
1037
+ "slot_index": 0,
1038
+ "links": [
1039
+ 301
1040
+ ]
1041
+ }
1042
+ ],
1043
+ "properties": {
1044
+ "cnr_id": "comfy-core",
1045
+ "ver": "0.3.38",
1046
+ "Node name for S&R": "FluxGuidance"
1047
+ },
1048
+ "widgets_values": [
1049
+ 2.5
1050
+ ]
1051
+ },
1052
+ {
1053
+ "id": 194,
1054
+ "type": "ReferenceLatent",
1055
+ "pos": [
1056
+ 1245.92724609375,
1057
+ -493.9140319824219
1058
+ ],
1059
+ "size": [
1060
+ 197.712890625,
1061
+ 46
1062
+ ],
1063
+ "flags": {},
1064
+ "order": 27,
1065
+ "mode": 0,
1066
+ "inputs": [
1067
+ {
1068
+ "name": "conditioning",
1069
+ "type": "CONDITIONING",
1070
+ "link": 299
1071
+ },
1072
+ {
1073
+ "name": "latent",
1074
+ "shape": 7,
1075
+ "type": "LATENT",
1076
+ "link": 329
1077
+ }
1078
+ ],
1079
+ "outputs": [
1080
+ {
1081
+ "name": "CONDITIONING",
1082
+ "type": "CONDITIONING",
1083
+ "links": [
1084
+ 300
1085
+ ]
1086
+ }
1087
+ ],
1088
+ "properties": {
1089
+ "cnr_id": "comfy-core",
1090
+ "ver": "0.3.41",
1091
+ "Node name for S&R": "ReferenceLatent"
1092
+ },
1093
+ "widgets_values": []
1094
+ },
1095
+ {
1096
+ "id": 200,
1097
+ "type": "VAEEncode",
1098
+ "pos": [
1099
+ 793.555419921875,
1100
+ 364.1575622558594
1101
+ ],
1102
+ "size": [
1103
+ 240,
1104
+ 50
1105
+ ],
1106
+ "flags": {
1107
+ "collapsed": false
1108
+ },
1109
+ "order": 26,
1110
+ "mode": 0,
1111
+ "inputs": [
1112
+ {
1113
+ "name": "pixels",
1114
+ "type": "IMAGE",
1115
+ "link": 310
1116
+ },
1117
+ {
1118
+ "name": "vae",
1119
+ "type": "VAE",
1120
+ "link": 311
1121
+ }
1122
+ ],
1123
+ "outputs": [
1124
+ {
1125
+ "name": "LATENT",
1126
+ "type": "LATENT",
1127
+ "links": [
1128
+ 312,
1129
+ 329
1130
+ ]
1131
+ }
1132
+ ],
1133
+ "properties": {
1134
+ "cnr_id": "comfy-core",
1135
+ "ver": "0.3.39",
1136
+ "Node name for S&R": "VAEEncode"
1137
+ },
1138
+ "widgets_values": []
1139
+ },
1140
+ {
1141
+ "id": 206,
1142
+ "type": "VAEDecode",
1143
+ "pos": [
1144
+ 2215.64111328125,
1145
+ 194.1325225830078
1146
+ ],
1147
+ "size": [
1148
+ 190,
1149
+ 46
1150
+ ],
1151
+ "flags": {
1152
+ "collapsed": false
1153
+ },
1154
+ "order": 37,
1155
+ "mode": 0,
1156
+ "inputs": [
1157
+ {
1158
+ "name": "samples",
1159
+ "type": "LATENT",
1160
+ "link": 318
1161
+ },
1162
+ {
1163
+ "name": "vae",
1164
+ "type": "VAE",
1165
+ "link": 328
1166
+ }
1167
+ ],
1168
+ "outputs": [
1169
+ {
1170
+ "name": "IMAGE",
1171
+ "type": "IMAGE",
1172
+ "slot_index": 0,
1173
+ "links": [
1174
+ 321
1175
+ ]
1176
+ }
1177
+ ],
1178
+ "properties": {
1179
+ "cnr_id": "comfy-core",
1180
+ "ver": "0.3.38",
1181
+ "Node name for S&R": "VAEDecode"
1182
+ }
1183
+ },
1184
+ {
1185
+ "id": 201,
1186
+ "type": "VAEEncode",
1187
+ "pos": [
1188
+ 1710.2486572265625,
1189
+ 361.8056945800781
1190
+ ],
1191
+ "size": [
1192
+ 240,
1193
+ 50
1194
+ ],
1195
+ "flags": {
1196
+ "collapsed": false
1197
+ },
1198
+ "order": 33,
1199
+ "mode": 0,
1200
+ "inputs": [
1201
+ {
1202
+ "name": "pixels",
1203
+ "type": "IMAGE",
1204
+ "link": 325
1205
+ },
1206
+ {
1207
+ "name": "vae",
1208
+ "type": "VAE",
1209
+ "link": 323
1210
+ }
1211
+ ],
1212
+ "outputs": [
1213
+ {
1214
+ "name": "LATENT",
1215
+ "type": "LATENT",
1216
+ "links": [
1217
+ 316,
1218
+ 330
1219
+ ]
1220
+ }
1221
+ ],
1222
+ "properties": {
1223
+ "cnr_id": "comfy-core",
1224
+ "ver": "0.3.39",
1225
+ "Node name for S&R": "VAEEncode"
1226
+ }
1227
+ },
1228
+ {
1229
+ "id": 136,
1230
+ "type": "SaveImage",
1231
+ "pos": [
1232
+ 791.82958984375,
1233
+ 608.5175170898438
1234
+ ],
1235
+ "size": [
1236
+ 650,
1237
+ 660
1238
+ ],
1239
+ "flags": {},
1240
+ "order": 24,
1241
+ "mode": 0,
1242
+ "inputs": [
1243
+ {
1244
+ "name": "images",
1245
+ "type": "IMAGE",
1246
+ "link": 240
1247
+ }
1248
+ ],
1249
+ "outputs": [],
1250
+ "properties": {
1251
+ "cnr_id": "comfy-core",
1252
+ "ver": "0.3.39"
1253
+ },
1254
+ "widgets_values": [
1255
+ "ComfyUI"
1256
+ ]
1257
+ },
1258
+ {
1259
+ "id": 202,
1260
+ "type": "FluxKontextImageScale",
1261
+ "pos": [
1262
+ 1805.4180908203125,
1263
+ 497.4234619140625
1264
+ ],
1265
+ "size": [
1266
+ 270,
1267
+ 30
1268
+ ],
1269
+ "flags": {
1270
+ "collapsed": false
1271
+ },
1272
+ "order": 32,
1273
+ "mode": 0,
1274
+ "inputs": [
1275
+ {
1276
+ "name": "image",
1277
+ "type": "IMAGE",
1278
+ "link": 324
1279
+ }
1280
+ ],
1281
+ "outputs": [
1282
+ {
1283
+ "name": "IMAGE",
1284
+ "type": "IMAGE",
1285
+ "links": [
1286
+ 325
1287
+ ]
1288
+ }
1289
+ ],
1290
+ "properties": {
1291
+ "cnr_id": "comfy-core",
1292
+ "ver": "0.3.38",
1293
+ "Node name for S&R": "FluxKontextImageScale"
1294
+ }
1295
+ },
1296
+ {
1297
+ "id": 209,
1298
+ "type": "SaveImage",
1299
+ "pos": [
1300
+ 2264.119140625,
1301
+ 602.625244140625
1302
+ ],
1303
+ "size": [
1304
+ 650,
1305
+ 660
1306
+ ],
1307
+ "flags": {},
1308
+ "order": 38,
1309
+ "mode": 0,
1310
+ "inputs": [
1311
+ {
1312
+ "name": "images",
1313
+ "type": "IMAGE",
1314
+ "link": 321
1315
+ }
1316
+ ],
1317
+ "outputs": [],
1318
+ "properties": {
1319
+ "cnr_id": "comfy-core",
1320
+ "ver": "0.3.39"
1321
+ },
1322
+ "widgets_values": [
1323
+ "ComfyUI"
1324
+ ]
1325
+ },
1326
+ {
1327
+ "id": 178,
1328
+ "type": "MarkdownNote",
1329
+ "pos": [
1330
+ -30,
1331
+ -150
1332
+ ],
1333
+ "size": [
1334
+ 540,
1335
+ 150
1336
+ ],
1337
+ "flags": {},
1338
+ "order": 9,
1339
+ "mode": 0,
1340
+ "inputs": [],
1341
+ "outputs": [],
1342
+ "title": "About multiple images reference",
1343
+ "properties": {},
1344
+ "widgets_values": [
1345
+ "[English] In addition to using **Image Stitch** to combine two images at a time, you can also encode individual images, then concatenate multiple latent conditions using the **ReferenceLatent** node, thus achieving the purpose of referencing multiple images. You can use the **EmptySD3LatentImage** node on the right to connect to **KSamper** and customize the size of the **latent_image**.\n\n[中文] 除了使用 **Image Stitch** 将两个两个图像拼合之外,你同样可以将单独的图像 encode 之后,将多个 latent 条件使用 **ReferenceLatent** 节点串联,从而实现多张图像参考的目的。可以使用右边的 **EmptySD3LatentImage** 节点连接到 **KSamper**来自定义 **latent_image** 的尺寸"
1346
+ ],
1347
+ "color": "#432",
1348
+ "bgcolor": "#653"
1349
+ },
1350
+ {
1351
+ "id": 190,
1352
+ "type": "LoadImage",
1353
+ "pos": [
1354
+ -349.99053955078125,
1355
+ 541.55810546875
1356
+ ],
1357
+ "size": [
1358
+ 270,
1359
+ 314
1360
+ ],
1361
+ "flags": {},
1362
+ "order": 10,
1363
+ "mode": 0,
1364
+ "inputs": [],
1365
+ "outputs": [
1366
+ {
1367
+ "name": "IMAGE",
1368
+ "type": "IMAGE",
1369
+ "links": [
1370
+ 295
1371
+ ]
1372
+ },
1373
+ {
1374
+ "name": "MASK",
1375
+ "type": "MASK",
1376
+ "links": null
1377
+ }
1378
+ ],
1379
+ "properties": {
1380
+ "cnr_id": "comfy-core",
1381
+ "ver": "0.3.43",
1382
+ "Node name for S&R": "LoadImage"
1383
+ },
1384
+ "widgets_values": [
1385
+ "image.webp",
1386
+ "image"
1387
+ ]
1388
+ },
1389
+ {
1390
+ "id": 204,
1391
+ "type": "CLIPTextEncode",
1392
+ "pos": [
1393
+ 1345.513916015625,
1394
+ -314.04766845703125
1395
+ ],
1396
+ "size": [
1397
+ 400,
1398
+ 220
1399
+ ],
1400
+ "flags": {},
1401
+ "order": 14,
1402
+ "mode": 0,
1403
+ "inputs": [
1404
+ {
1405
+ "name": "clip",
1406
+ "type": "CLIP",
1407
+ "link": 327
1408
+ }
1409
+ ],
1410
+ "outputs": [
1411
+ {
1412
+ "name": "CONDITIONING",
1413
+ "type": "CONDITIONING",
1414
+ "slot_index": 0,
1415
+ "links": [
1416
+ 317,
1417
+ 319
1418
+ ]
1419
+ }
1420
+ ],
1421
+ "title": "CLIP Text Encode (Positive Prompt)",
1422
+ "properties": {
1423
+ "cnr_id": "comfy-core",
1424
+ "ver": "0.3.38",
1425
+ "Node name for S&R": "CLIPTextEncode"
1426
+ },
1427
+ "widgets_values": [
1428
+ "transform the character into Super man , keep background"
1429
+ ],
1430
+ "color": "#232",
1431
+ "bgcolor": "#353"
1432
+ },
1433
+ {
1434
+ "id": 193,
1435
+ "type": "CLIPTextEncode",
1436
+ "pos": [
1437
+ 1338.0118408203125,
1438
+ 63.78425598144531
1439
+ ],
1440
+ "size": [
1441
+ 400,
1442
+ 220
1443
+ ],
1444
+ "flags": {},
1445
+ "order": 13,
1446
+ "mode": 0,
1447
+ "inputs": [
1448
+ {
1449
+ "name": "clip",
1450
+ "type": "CLIP",
1451
+ "link": 307
1452
+ }
1453
+ ],
1454
+ "outputs": [
1455
+ {
1456
+ "name": "CONDITIONING",
1457
+ "type": "CONDITIONING",
1458
+ "slot_index": 0,
1459
+ "links": [
1460
+ 299,
1461
+ 302
1462
+ ]
1463
+ }
1464
+ ],
1465
+ "title": "CLIP Text Encode (Positive Prompt)",
1466
+ "properties": {
1467
+ "cnr_id": "comfy-core",
1468
+ "ver": "0.3.38",
1469
+ "Node name for S&R": "CLIPTextEncode"
1470
+ },
1471
+ "widgets_values": [
1472
+ "The character stand and holds a flashlight as transformation device in their hand."
1473
+ ],
1474
+ "color": "#232",
1475
+ "bgcolor": "#353"
1476
+ },
1477
+ {
1478
+ "id": 198,
1479
+ "type": "SaveImage",
1480
+ "pos": [
1481
+ 1538.5048828125,
1482
+ 606.0989990234375
1483
+ ],
1484
+ "size": [
1485
+ 650,
1486
+ 660
1487
+ ],
1488
+ "flags": {},
1489
+ "order": 31,
1490
+ "mode": 0,
1491
+ "inputs": [
1492
+ {
1493
+ "name": "images",
1494
+ "type": "IMAGE",
1495
+ "link": 304
1496
+ }
1497
+ ],
1498
+ "outputs": [],
1499
+ "properties": {
1500
+ "cnr_id": "comfy-core",
1501
+ "ver": "0.3.39"
1502
+ },
1503
+ "widgets_values": [
1504
+ "ComfyUI"
1505
+ ]
1506
+ },
1507
+ {
1508
+ "id": 37,
1509
+ "type": "UNETLoader",
1510
+ "pos": [
1511
+ -400,
1512
+ 80
1513
+ ],
1514
+ "size": [
1515
+ 337.76861572265625,
1516
+ 82
1517
+ ],
1518
+ "flags": {},
1519
+ "order": 11,
1520
+ "mode": 0,
1521
+ "inputs": [],
1522
+ "outputs": [
1523
+ {
1524
+ "name": "MODEL",
1525
+ "type": "MODEL",
1526
+ "links": [
1527
+ 331,
1528
+ 332,
1529
+ 333
1530
+ ]
1531
+ }
1532
+ ],
1533
+ "properties": {
1534
+ "cnr_id": "comfy-core",
1535
+ "ver": "0.3.38",
1536
+ "Node name for S&R": "UNETLoader",
1537
+ "models": [
1538
+ {
1539
+ "name": "flux1-dev-kontext_fp8_scaled.safetensors",
1540
+ "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
1541
+ "directory": "diffusion_models"
1542
+ }
1543
+ ]
1544
+ },
1545
+ "widgets_values": [
1546
+ "flux1-dev-kontext_fp8_scaled.safetensors",
1547
+ "default"
1548
+ ],
1549
+ "color": "#322",
1550
+ "bgcolor": "#533"
1551
+ }
1552
+ ],
1553
+ "links": [
1554
+ [
1555
+ 52,
1556
+ 31,
1557
+ 0,
1558
+ 8,
1559
+ 0,
1560
+ "LATENT"
1561
+ ],
1562
+ [
1563
+ 57,
1564
+ 35,
1565
+ 0,
1566
+ 31,
1567
+ 1,
1568
+ "CONDITIONING"
1569
+ ],
1570
+ [
1571
+ 59,
1572
+ 38,
1573
+ 0,
1574
+ 6,
1575
+ 0,
1576
+ "CLIP"
1577
+ ],
1578
+ [
1579
+ 61,
1580
+ 39,
1581
+ 0,
1582
+ 8,
1583
+ 1,
1584
+ "VAE"
1585
+ ],
1586
+ [
1587
+ 222,
1588
+ 42,
1589
+ 0,
1590
+ 124,
1591
+ 0,
1592
+ "IMAGE"
1593
+ ],
1594
+ [
1595
+ 223,
1596
+ 39,
1597
+ 0,
1598
+ 124,
1599
+ 1,
1600
+ "VAE"
1601
+ ],
1602
+ [
1603
+ 237,
1604
+ 6,
1605
+ 0,
1606
+ 135,
1607
+ 0,
1608
+ "CONDITIONING"
1609
+ ],
1610
+ [
1611
+ 238,
1612
+ 135,
1613
+ 0,
1614
+ 31,
1615
+ 2,
1616
+ "CONDITIONING"
1617
+ ],
1618
+ [
1619
+ 240,
1620
+ 8,
1621
+ 0,
1622
+ 136,
1623
+ 0,
1624
+ "IMAGE"
1625
+ ],
1626
+ [
1627
+ 291,
1628
+ 124,
1629
+ 0,
1630
+ 31,
1631
+ 3,
1632
+ "LATENT"
1633
+ ],
1634
+ [
1635
+ 292,
1636
+ 177,
1637
+ 0,
1638
+ 35,
1639
+ 0,
1640
+ "CONDITIONING"
1641
+ ],
1642
+ [
1643
+ 293,
1644
+ 124,
1645
+ 0,
1646
+ 177,
1647
+ 1,
1648
+ "LATENT"
1649
+ ],
1650
+ [
1651
+ 294,
1652
+ 6,
1653
+ 0,
1654
+ 177,
1655
+ 0,
1656
+ "CONDITIONING"
1657
+ ],
1658
+ [
1659
+ 295,
1660
+ 190,
1661
+ 0,
1662
+ 42,
1663
+ 0,
1664
+ "IMAGE"
1665
+ ],
1666
+ [
1667
+ 299,
1668
+ 193,
1669
+ 0,
1670
+ 194,
1671
+ 0,
1672
+ "CONDITIONING"
1673
+ ],
1674
+ [
1675
+ 300,
1676
+ 194,
1677
+ 0,
1678
+ 195,
1679
+ 0,
1680
+ "CONDITIONING"
1681
+ ],
1682
+ [
1683
+ 301,
1684
+ 195,
1685
+ 0,
1686
+ 192,
1687
+ 1,
1688
+ "CONDITIONING"
1689
+ ],
1690
+ [
1691
+ 302,
1692
+ 193,
1693
+ 0,
1694
+ 196,
1695
+ 0,
1696
+ "CONDITIONING"
1697
+ ],
1698
+ [
1699
+ 303,
1700
+ 196,
1701
+ 0,
1702
+ 192,
1703
+ 2,
1704
+ "CONDITIONING"
1705
+ ],
1706
+ [
1707
+ 304,
1708
+ 197,
1709
+ 0,
1710
+ 198,
1711
+ 0,
1712
+ "IMAGE"
1713
+ ],
1714
+ [
1715
+ 305,
1716
+ 192,
1717
+ 0,
1718
+ 197,
1719
+ 0,
1720
+ "LATENT"
1721
+ ],
1722
+ [
1723
+ 306,
1724
+ 39,
1725
+ 0,
1726
+ 197,
1727
+ 1,
1728
+ "VAE"
1729
+ ],
1730
+ [
1731
+ 307,
1732
+ 38,
1733
+ 0,
1734
+ 193,
1735
+ 0,
1736
+ "CLIP"
1737
+ ],
1738
+ [
1739
+ 309,
1740
+ 8,
1741
+ 0,
1742
+ 199,
1743
+ 0,
1744
+ "IMAGE"
1745
+ ],
1746
+ [
1747
+ 310,
1748
+ 199,
1749
+ 0,
1750
+ 200,
1751
+ 0,
1752
+ "IMAGE"
1753
+ ],
1754
+ [
1755
+ 311,
1756
+ 39,
1757
+ 0,
1758
+ 200,
1759
+ 1,
1760
+ "VAE"
1761
+ ],
1762
+ [
1763
+ 312,
1764
+ 200,
1765
+ 0,
1766
+ 192,
1767
+ 3,
1768
+ "LATENT"
1769
+ ],
1770
+ [
1771
+ 314,
1772
+ 208,
1773
+ 0,
1774
+ 203,
1775
+ 1,
1776
+ "CONDITIONING"
1777
+ ],
1778
+ [
1779
+ 315,
1780
+ 205,
1781
+ 0,
1782
+ 203,
1783
+ 2,
1784
+ "CONDITIONING"
1785
+ ],
1786
+ [
1787
+ 316,
1788
+ 201,
1789
+ 0,
1790
+ 203,
1791
+ 3,
1792
+ "LATENT"
1793
+ ],
1794
+ [
1795
+ 317,
1796
+ 204,
1797
+ 0,
1798
+ 205,
1799
+ 0,
1800
+ "CONDITIONING"
1801
+ ],
1802
+ [
1803
+ 318,
1804
+ 203,
1805
+ 0,
1806
+ 206,
1807
+ 0,
1808
+ "LATENT"
1809
+ ],
1810
+ [
1811
+ 319,
1812
+ 204,
1813
+ 0,
1814
+ 207,
1815
+ 0,
1816
+ "CONDITIONING"
1817
+ ],
1818
+ [
1819
+ 320,
1820
+ 207,
1821
+ 0,
1822
+ 208,
1823
+ 0,
1824
+ "CONDITIONING"
1825
+ ],
1826
+ [
1827
+ 321,
1828
+ 206,
1829
+ 0,
1830
+ 209,
1831
+ 0,
1832
+ "IMAGE"
1833
+ ],
1834
+ [
1835
+ 323,
1836
+ 39,
1837
+ 0,
1838
+ 201,
1839
+ 1,
1840
+ "VAE"
1841
+ ],
1842
+ [
1843
+ 324,
1844
+ 197,
1845
+ 0,
1846
+ 202,
1847
+ 0,
1848
+ "IMAGE"
1849
+ ],
1850
+ [
1851
+ 325,
1852
+ 202,
1853
+ 0,
1854
+ 201,
1855
+ 0,
1856
+ "IMAGE"
1857
+ ],
1858
+ [
1859
+ 327,
1860
+ 38,
1861
+ 0,
1862
+ 204,
1863
+ 0,
1864
+ "CLIP"
1865
+ ],
1866
+ [
1867
+ 328,
1868
+ 39,
1869
+ 0,
1870
+ 206,
1871
+ 1,
1872
+ "VAE"
1873
+ ],
1874
+ [
1875
+ 329,
1876
+ 200,
1877
+ 0,
1878
+ 194,
1879
+ 1,
1880
+ "LATENT"
1881
+ ],
1882
+ [
1883
+ 330,
1884
+ 201,
1885
+ 0,
1886
+ 207,
1887
+ 1,
1888
+ "LATENT"
1889
+ ],
1890
+ [
1891
+ 331,
1892
+ 37,
1893
+ 0,
1894
+ 31,
1895
+ 0,
1896
+ "MODEL"
1897
+ ],
1898
+ [
1899
+ 332,
1900
+ 37,
1901
+ 0,
1902
+ 203,
1903
+ 0,
1904
+ "MODEL"
1905
+ ],
1906
+ [
1907
+ 333,
1908
+ 37,
1909
+ 0,
1910
+ 192,
1911
+ 0,
1912
+ "MODEL"
1913
+ ]
1914
+ ],
1915
+ "groups": [
1916
+ {
1917
+ "id": 1,
1918
+ "title": "Step 1- Load models",
1919
+ "bounding": [
1920
+ -410,
1921
+ 10,
1922
+ 360,
1923
+ 450
1924
+ ],
1925
+ "color": "#3f789e",
1926
+ "font_size": 24,
1927
+ "flags": {}
1928
+ },
1929
+ {
1930
+ "id": 5,
1931
+ "title": "Step 3 - Prompt",
1932
+ "bounding": [
1933
+ 310,
1934
+ 480,
1935
+ 430,
1936
+ 330
1937
+ ],
1938
+ "color": "#3f789e",
1939
+ "font_size": 24,
1940
+ "flags": {}
1941
+ },
1942
+ {
1943
+ "id": 6,
1944
+ "title": "Conditioning",
1945
+ "bounding": [
1946
+ -30,
1947
+ 10,
1948
+ 540,
1949
+ 250
1950
+ ],
1951
+ "color": "#3f789e",
1952
+ "font_size": 24,
1953
+ "flags": {}
1954
+ }
1955
+ ],
1956
+ "config": {},
1957
+ "extra": {
1958
+ "ds": {
1959
+ "scale": 0.6727499949326041,
1960
+ "offset": [
1961
+ -112.0696156903759,
1962
+ -265.6493482255086
1963
+ ]
1964
+ },
1965
+ "frontendVersion": "1.23.4",
1966
+ "groupNodes": {},
1967
+ "VHS_latentpreview": false,
1968
+ "VHS_latentpreviewrate": 0,
1969
+ "VHS_MetadataImage": true,
1970
+ "VHS_KeepIntermediate": true
1971
+ },
1972
+ "version": 0.4
1973
+ }