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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "7cbcec68-7fa6-47bb-a38a-da689949a001",
3
+ "revision": 0,
4
+ "last_node_id": 189,
5
+ "last_link_id": 300,
6
+ "nodes": [
7
+ {
8
+ "id": 135,
9
+ "type": "ConditioningZeroOut",
10
+ "pos": [
11
+ 250,
12
+ 200
13
+ ],
14
+ "size": [
15
+ 240,
16
+ 26
17
+ ],
18
+ "flags": {
19
+ "collapsed": false
20
+ },
21
+ "order": 17,
22
+ "mode": 0,
23
+ "inputs": [
24
+ {
25
+ "name": "conditioning",
26
+ "type": "CONDITIONING",
27
+ "link": 237
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "name": "CONDITIONING",
33
+ "type": "CONDITIONING",
34
+ "links": [
35
+ 238
36
+ ]
37
+ }
38
+ ],
39
+ "properties": {
40
+ "cnr_id": "comfy-core",
41
+ "ver": "0.3.39",
42
+ "Node name for S&R": "ConditioningZeroOut",
43
+ "widget_ue_connectable": {}
44
+ },
45
+ "widgets_values": []
46
+ },
47
+ {
48
+ "id": 8,
49
+ "type": "VAEDecode",
50
+ "pos": [
51
+ 530,
52
+ 350
53
+ ],
54
+ "size": [
55
+ 190,
56
+ 46
57
+ ],
58
+ "flags": {
59
+ "collapsed": false
60
+ },
61
+ "order": 23,
62
+ "mode": 0,
63
+ "inputs": [
64
+ {
65
+ "name": "samples",
66
+ "type": "LATENT",
67
+ "link": 52
68
+ },
69
+ {
70
+ "name": "vae",
71
+ "type": "VAE",
72
+ "link": 61
73
+ }
74
+ ],
75
+ "outputs": [
76
+ {
77
+ "name": "IMAGE",
78
+ "type": "IMAGE",
79
+ "slot_index": 0,
80
+ "links": [
81
+ 240
82
+ ]
83
+ }
84
+ ],
85
+ "properties": {
86
+ "cnr_id": "comfy-core",
87
+ "ver": "0.3.38",
88
+ "Node name for S&R": "VAEDecode",
89
+ "widget_ue_connectable": {}
90
+ },
91
+ "widgets_values": []
92
+ },
93
+ {
94
+ "id": 175,
95
+ "type": "MarkdownNote",
96
+ "pos": [
97
+ -65.56504821777344,
98
+ 650.558349609375
99
+ ],
100
+ "size": [
101
+ 320,
102
+ 88
103
+ ],
104
+ "flags": {},
105
+ "order": 0,
106
+ "mode": 0,
107
+ "inputs": [],
108
+ "outputs": [],
109
+ "title": "About Flux Kontext Edit",
110
+ "properties": {
111
+ "widget_ue_connectable": {}
112
+ },
113
+ "widgets_values": [
114
+ "[English] Use Ctrl + B to enable multipule image input.\n\n[中文] 使用 **Ctrl + B** 来启用多张图片输入"
115
+ ],
116
+ "color": "#432",
117
+ "bgcolor": "#653"
118
+ },
119
+ {
120
+ "id": 146,
121
+ "type": "ImageStitch",
122
+ "pos": [
123
+ -405.56512451171875,
124
+ 580.558349609375
125
+ ],
126
+ "size": [
127
+ 270,
128
+ 150
129
+ ],
130
+ "flags": {},
131
+ "order": 14,
132
+ "mode": 0,
133
+ "inputs": [
134
+ {
135
+ "name": "image1",
136
+ "type": "IMAGE",
137
+ "link": 249
138
+ },
139
+ {
140
+ "name": "image2",
141
+ "shape": 7,
142
+ "type": "IMAGE",
143
+ "link": 250
144
+ }
145
+ ],
146
+ "outputs": [
147
+ {
148
+ "name": "IMAGE",
149
+ "type": "IMAGE",
150
+ "links": [
151
+ 251
152
+ ]
153
+ }
154
+ ],
155
+ "properties": {
156
+ "cnr_id": "comfy-core",
157
+ "ver": "0.3.40",
158
+ "Node name for S&R": "ImageStitch",
159
+ "widget_ue_connectable": {}
160
+ },
161
+ "widgets_values": [
162
+ "right",
163
+ true,
164
+ 0,
165
+ "white"
166
+ ]
167
+ },
168
+ {
169
+ "id": 185,
170
+ "type": "MarkdownNote",
171
+ "pos": [
172
+ -960,
173
+ 490
174
+ ],
175
+ "size": [
176
+ 510,
177
+ 170
178
+ ],
179
+ "flags": {},
180
+ "order": 1,
181
+ "mode": 0,
182
+ "inputs": [],
183
+ "outputs": [],
184
+ "title": "About VRAM",
185
+ "properties": {
186
+ "widget_ue_connectable": {}
187
+ },
188
+ "widgets_values": [
189
+ "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"
190
+ ],
191
+ "color": "#432",
192
+ "bgcolor": "#653"
193
+ },
194
+ {
195
+ "id": 186,
196
+ "type": "MarkdownNote",
197
+ "pos": [
198
+ -960,
199
+ 710
200
+ ],
201
+ "size": [
202
+ 510,
203
+ 170
204
+ ],
205
+ "flags": {},
206
+ "order": 2,
207
+ "mode": 0,
208
+ "inputs": [],
209
+ "outputs": [],
210
+ "title": "Flux Kontext Prompt Techniques",
211
+ "properties": {
212
+ "widget_ue_connectable": {}
213
+ },
214
+ "widgets_values": [
215
+ "\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. "
216
+ ],
217
+ "color": "#432",
218
+ "bgcolor": "#653"
219
+ },
220
+ {
221
+ "id": 187,
222
+ "type": "MarkdownNote",
223
+ "pos": [
224
+ -960,
225
+ 930
226
+ ],
227
+ "size": [
228
+ 510,
229
+ 180
230
+ ],
231
+ "flags": {},
232
+ "order": 3,
233
+ "mode": 0,
234
+ "inputs": [],
235
+ "outputs": [],
236
+ "title": "Flux Kontext 提示词技巧",
237
+ "properties": {
238
+ "widget_ue_connectable": {}
239
+ },
240
+ "widgets_values": [
241
+ "\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 擅长理解详细指令并保持一致性。"
242
+ ],
243
+ "color": "#432",
244
+ "bgcolor": "#653"
245
+ },
246
+ {
247
+ "id": 184,
248
+ "type": "MarkdownNote",
249
+ "pos": [
250
+ -960,
251
+ 40
252
+ ],
253
+ "size": [
254
+ 510,
255
+ 400
256
+ ],
257
+ "flags": {},
258
+ "order": 4,
259
+ "mode": 0,
260
+ "inputs": [],
261
+ "outputs": [],
262
+ "title": "Model links",
263
+ "properties": {
264
+ "widget_ue_connectable": {}
265
+ },
266
+ "widgets_values": [
267
+ "[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"
268
+ ],
269
+ "color": "#432",
270
+ "bgcolor": "#653"
271
+ },
272
+ {
273
+ "id": 180,
274
+ "type": "MarkdownNote",
275
+ "pos": [
276
+ -1430,
277
+ 40
278
+ ],
279
+ "size": [
280
+ 450,
281
+ 450
282
+ ],
283
+ "flags": {},
284
+ "order": 5,
285
+ "mode": 0,
286
+ "inputs": [],
287
+ "outputs": [],
288
+ "title": "✨ New ComfyUI feature for Flux.1 Kontext Dev",
289
+ "properties": {
290
+ "widget_ue_connectable": {}
291
+ },
292
+ "widgets_values": [
293
+ "[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\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\n这种工作流程类似于 LLM 对话的迭代特性,但增加了视觉编辑的优势,并能够维护多个并行的编辑路径。"
294
+ ],
295
+ "color": "#322",
296
+ "bgcolor": "#533"
297
+ },
298
+ {
299
+ "id": 177,
300
+ "type": "ReferenceLatent",
301
+ "pos": [
302
+ 10,
303
+ 140
304
+ ],
305
+ "size": [
306
+ 197.712890625,
307
+ 46
308
+ ],
309
+ "flags": {},
310
+ "order": 20,
311
+ "mode": 0,
312
+ "inputs": [
313
+ {
314
+ "name": "conditioning",
315
+ "type": "CONDITIONING",
316
+ "link": 294
317
+ },
318
+ {
319
+ "name": "latent",
320
+ "shape": 7,
321
+ "type": "LATENT",
322
+ "link": 293
323
+ }
324
+ ],
325
+ "outputs": [
326
+ {
327
+ "name": "CONDITIONING",
328
+ "type": "CONDITIONING",
329
+ "links": [
330
+ 292
331
+ ]
332
+ }
333
+ ],
334
+ "properties": {
335
+ "cnr_id": "comfy-core",
336
+ "ver": "0.3.41",
337
+ "Node name for S&R": "ReferenceLatent",
338
+ "widget_ue_connectable": {}
339
+ },
340
+ "widgets_values": []
341
+ },
342
+ {
343
+ "id": 178,
344
+ "type": "MarkdownNote",
345
+ "pos": [
346
+ -30,
347
+ -150
348
+ ],
349
+ "size": [
350
+ 540,
351
+ 150
352
+ ],
353
+ "flags": {},
354
+ "order": 6,
355
+ "mode": 0,
356
+ "inputs": [],
357
+ "outputs": [],
358
+ "title": "About multiple images reference",
359
+ "properties": {
360
+ "widget_ue_connectable": {}
361
+ },
362
+ "widgets_values": [
363
+ "[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** 的尺寸"
364
+ ],
365
+ "color": "#432",
366
+ "bgcolor": "#653"
367
+ },
368
+ {
369
+ "id": 39,
370
+ "type": "VAELoader",
371
+ "pos": [
372
+ -400,
373
+ 390
374
+ ],
375
+ "size": [
376
+ 337.76861572265625,
377
+ 58
378
+ ],
379
+ "flags": {},
380
+ "order": 7,
381
+ "mode": 0,
382
+ "inputs": [],
383
+ "outputs": [
384
+ {
385
+ "name": "VAE",
386
+ "type": "VAE",
387
+ "links": [
388
+ 61,
389
+ 223
390
+ ]
391
+ }
392
+ ],
393
+ "properties": {
394
+ "cnr_id": "comfy-core",
395
+ "ver": "0.3.38",
396
+ "Node name for S&R": "VAELoader",
397
+ "models": [
398
+ {
399
+ "name": "ae.safetensors",
400
+ "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
401
+ "directory": "vae"
402
+ }
403
+ ],
404
+ "widget_ue_connectable": {}
405
+ },
406
+ "widgets_values": [
407
+ "FLUX1/ae.safetensors"
408
+ ],
409
+ "color": "#322",
410
+ "bgcolor": "#533"
411
+ },
412
+ {
413
+ "id": 147,
414
+ "type": "LoadImageOutput",
415
+ "pos": [
416
+ -65.56504821777344,
417
+ 780.558349609375
418
+ ],
419
+ "size": [
420
+ 320,
421
+ 374
422
+ ],
423
+ "flags": {},
424
+ "order": 8,
425
+ "mode": 4,
426
+ "inputs": [],
427
+ "outputs": [
428
+ {
429
+ "name": "IMAGE",
430
+ "type": "IMAGE",
431
+ "links": [
432
+ 250
433
+ ]
434
+ },
435
+ {
436
+ "name": "MASK",
437
+ "type": "MASK",
438
+ "links": null
439
+ }
440
+ ],
441
+ "properties": {
442
+ "cnr_id": "comfy-core",
443
+ "ver": "0.3.40",
444
+ "Node name for S&R": "LoadImageOutput",
445
+ "widget_ue_connectable": {}
446
+ },
447
+ "widgets_values": [
448
+ "WanEndlessTravel_concat_00010.mp4 [output]",
449
+ false,
450
+ "refresh",
451
+ "image"
452
+ ],
453
+ "color": "#322",
454
+ "bgcolor": "#533"
455
+ },
456
+ {
457
+ "id": 42,
458
+ "type": "FluxKontextImageScale",
459
+ "pos": [
460
+ -91.93726348876953,
461
+ 555.8124389648438
462
+ ],
463
+ "size": [
464
+ 270,
465
+ 30
466
+ ],
467
+ "flags": {
468
+ "collapsed": false
469
+ },
470
+ "order": 16,
471
+ "mode": 4,
472
+ "inputs": [
473
+ {
474
+ "name": "image",
475
+ "type": "IMAGE",
476
+ "link": 251
477
+ }
478
+ ],
479
+ "outputs": [
480
+ {
481
+ "name": "IMAGE",
482
+ "type": "IMAGE",
483
+ "links": [
484
+ 222,
485
+ 289
486
+ ]
487
+ }
488
+ ],
489
+ "properties": {
490
+ "cnr_id": "comfy-core",
491
+ "ver": "0.3.38",
492
+ "Node name for S&R": "FluxKontextImageScale",
493
+ "widget_ue_connectable": {}
494
+ },
495
+ "widgets_values": []
496
+ },
497
+ {
498
+ "id": 188,
499
+ "type": "EmptySD3LatentImage",
500
+ "pos": [
501
+ 522.9542236328125,
502
+ -247.2501220703125
503
+ ],
504
+ "size": [
505
+ 310,
506
+ 106
507
+ ],
508
+ "flags": {},
509
+ "order": 9,
510
+ "mode": 0,
511
+ "inputs": [],
512
+ "outputs": [
513
+ {
514
+ "name": "LATENT",
515
+ "type": "LATENT",
516
+ "links": []
517
+ }
518
+ ],
519
+ "properties": {
520
+ "cnr_id": "comfy-core",
521
+ "ver": "0.3.41",
522
+ "Node name for S&R": "EmptySD3LatentImage",
523
+ "widget_ue_connectable": {}
524
+ },
525
+ "widgets_values": [
526
+ 2048,
527
+ 2048,
528
+ 1
529
+ ]
530
+ },
531
+ {
532
+ "id": 124,
533
+ "type": "VAEEncode",
534
+ "pos": [
535
+ 100.53874969482422,
536
+ 375.1520690917969
537
+ ],
538
+ "size": [
539
+ 240,
540
+ 50
541
+ ],
542
+ "flags": {
543
+ "collapsed": false
544
+ },
545
+ "order": 18,
546
+ "mode": 0,
547
+ "inputs": [
548
+ {
549
+ "name": "pixels",
550
+ "type": "IMAGE",
551
+ "link": 222
552
+ },
553
+ {
554
+ "name": "vae",
555
+ "type": "VAE",
556
+ "link": 223
557
+ }
558
+ ],
559
+ "outputs": [
560
+ {
561
+ "name": "LATENT",
562
+ "type": "LATENT",
563
+ "links": [
564
+ 293,
565
+ 296
566
+ ]
567
+ }
568
+ ],
569
+ "properties": {
570
+ "cnr_id": "comfy-core",
571
+ "ver": "0.3.39",
572
+ "Node name for S&R": "VAEEncode",
573
+ "widget_ue_connectable": {}
574
+ },
575
+ "widgets_values": []
576
+ },
577
+ {
578
+ "id": 38,
579
+ "type": "DualCLIPLoader",
580
+ "pos": [
581
+ -400,
582
+ 210
583
+ ],
584
+ "size": [
585
+ 337.76861572265625,
586
+ 130
587
+ ],
588
+ "flags": {},
589
+ "order": 10,
590
+ "mode": 0,
591
+ "inputs": [],
592
+ "outputs": [
593
+ {
594
+ "name": "CLIP",
595
+ "type": "CLIP",
596
+ "links": [
597
+ 297
598
+ ]
599
+ }
600
+ ],
601
+ "properties": {
602
+ "cnr_id": "comfy-core",
603
+ "ver": "0.3.38",
604
+ "Node name for S&R": "DualCLIPLoader",
605
+ "models": [
606
+ {
607
+ "name": "clip_l.safetensors",
608
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
609
+ "directory": "text_encoders"
610
+ },
611
+ {
612
+ "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
613
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
614
+ "directory": "text_encoders"
615
+ }
616
+ ],
617
+ "widget_ue_connectable": {}
618
+ },
619
+ "widgets_values": [
620
+ "clip_l.safetensors",
621
+ "t5/t5xxl_fp8_e4m3fn.safetensors",
622
+ "flux",
623
+ "default"
624
+ ],
625
+ "color": "#322",
626
+ "bgcolor": "#533"
627
+ },
628
+ {
629
+ "id": 37,
630
+ "type": "UNETLoader",
631
+ "pos": [
632
+ -400,
633
+ 80
634
+ ],
635
+ "size": [
636
+ 337.76861572265625,
637
+ 82
638
+ ],
639
+ "flags": {},
640
+ "order": 11,
641
+ "mode": 0,
642
+ "inputs": [],
643
+ "outputs": [
644
+ {
645
+ "name": "MODEL",
646
+ "type": "MODEL",
647
+ "links": [
648
+ 300
649
+ ]
650
+ }
651
+ ],
652
+ "properties": {
653
+ "cnr_id": "comfy-core",
654
+ "ver": "0.3.38",
655
+ "Node name for S&R": "UNETLoader",
656
+ "models": [
657
+ {
658
+ "name": "flux1-dev-kontext_fp8_scaled.safetensors",
659
+ "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
660
+ "directory": "diffusion_models"
661
+ }
662
+ ],
663
+ "widget_ue_connectable": {}
664
+ },
665
+ "widgets_values": [
666
+ "flux1-dev-kontext_fp8_scaled.safetensors",
667
+ "default"
668
+ ],
669
+ "color": "#322",
670
+ "bgcolor": "#533"
671
+ },
672
+ {
673
+ "id": 173,
674
+ "type": "PreviewImage",
675
+ "pos": [
676
+ 311.8849792480469,
677
+ 855.910888671875
678
+ ],
679
+ "size": [
680
+ 420,
681
+ 310
682
+ ],
683
+ "flags": {},
684
+ "order": 19,
685
+ "mode": 0,
686
+ "inputs": [
687
+ {
688
+ "name": "images",
689
+ "type": "IMAGE",
690
+ "link": 289
691
+ }
692
+ ],
693
+ "outputs": [],
694
+ "properties": {
695
+ "cnr_id": "comfy-core",
696
+ "ver": "0.3.40",
697
+ "Node name for S&R": "PreviewImage",
698
+ "widget_ue_connectable": {}
699
+ },
700
+ "widgets_values": []
701
+ },
702
+ {
703
+ "id": 189,
704
+ "type": "LoraLoader",
705
+ "pos": [
706
+ 556.3443603515625,
707
+ 142.47975158691406
708
+ ],
709
+ "size": [
710
+ 270,
711
+ 126
712
+ ],
713
+ "flags": {},
714
+ "order": 13,
715
+ "mode": 0,
716
+ "inputs": [
717
+ {
718
+ "name": "model",
719
+ "type": "MODEL",
720
+ "link": 300
721
+ },
722
+ {
723
+ "name": "clip",
724
+ "type": "CLIP",
725
+ "link": 297
726
+ }
727
+ ],
728
+ "outputs": [
729
+ {
730
+ "name": "MODEL",
731
+ "type": "MODEL",
732
+ "links": [
733
+ 299
734
+ ]
735
+ },
736
+ {
737
+ "name": "CLIP",
738
+ "type": "CLIP",
739
+ "links": [
740
+ 298
741
+ ]
742
+ }
743
+ ],
744
+ "properties": {
745
+ "cnr_id": "comfy-core",
746
+ "ver": "0.3.44",
747
+ "Node name for S&R": "LoraLoader"
748
+ },
749
+ "widgets_values": [
750
+ "InScene-v1.0.safetensors",
751
+ 1,
752
+ 1
753
+ ]
754
+ },
755
+ {
756
+ "id": 35,
757
+ "type": "FluxGuidance",
758
+ "pos": [
759
+ 250,
760
+ 90
761
+ ],
762
+ "size": [
763
+ 240,
764
+ 58
765
+ ],
766
+ "flags": {
767
+ "collapsed": false
768
+ },
769
+ "order": 21,
770
+ "mode": 0,
771
+ "inputs": [
772
+ {
773
+ "name": "conditioning",
774
+ "type": "CONDITIONING",
775
+ "link": 292
776
+ }
777
+ ],
778
+ "outputs": [
779
+ {
780
+ "name": "CONDITIONING",
781
+ "type": "CONDITIONING",
782
+ "slot_index": 0,
783
+ "links": [
784
+ 57
785
+ ]
786
+ }
787
+ ],
788
+ "properties": {
789
+ "cnr_id": "comfy-core",
790
+ "ver": "0.3.38",
791
+ "Node name for S&R": "FluxGuidance",
792
+ "widget_ue_connectable": {}
793
+ },
794
+ "widgets_values": [
795
+ 4
796
+ ]
797
+ },
798
+ {
799
+ "id": 31,
800
+ "type": "KSampler",
801
+ "pos": [
802
+ 864.6957397460938,
803
+ -138.7202911376953
804
+ ],
805
+ "size": [
806
+ 320,
807
+ 576
808
+ ],
809
+ "flags": {},
810
+ "order": 22,
811
+ "mode": 0,
812
+ "inputs": [
813
+ {
814
+ "name": "model",
815
+ "type": "MODEL",
816
+ "link": 299
817
+ },
818
+ {
819
+ "name": "positive",
820
+ "type": "CONDITIONING",
821
+ "link": 57
822
+ },
823
+ {
824
+ "name": "negative",
825
+ "type": "CONDITIONING",
826
+ "link": 238
827
+ },
828
+ {
829
+ "name": "latent_image",
830
+ "type": "LATENT",
831
+ "link": 296
832
+ }
833
+ ],
834
+ "outputs": [
835
+ {
836
+ "name": "LATENT",
837
+ "type": "LATENT",
838
+ "slot_index": 0,
839
+ "links": [
840
+ 52
841
+ ]
842
+ }
843
+ ],
844
+ "properties": {
845
+ "cnr_id": "comfy-core",
846
+ "ver": "0.3.38",
847
+ "Node name for S&R": "KSampler",
848
+ "widget_ue_connectable": {}
849
+ },
850
+ "widgets_values": [
851
+ 573046238329442,
852
+ "increment",
853
+ 20,
854
+ 1,
855
+ "euler",
856
+ "simple",
857
+ 1,
858
+ ""
859
+ ]
860
+ },
861
+ {
862
+ "id": 142,
863
+ "type": "LoadImageOutput",
864
+ "pos": [
865
+ -405.56512451171875,
866
+ 780.558349609375
867
+ ],
868
+ "size": [
869
+ 320,
870
+ 374
871
+ ],
872
+ "flags": {},
873
+ "order": 12,
874
+ "mode": 0,
875
+ "inputs": [],
876
+ "outputs": [
877
+ {
878
+ "name": "IMAGE",
879
+ "type": "IMAGE",
880
+ "links": [
881
+ 249
882
+ ]
883
+ },
884
+ {
885
+ "name": "MASK",
886
+ "type": "MASK",
887
+ "links": null
888
+ }
889
+ ],
890
+ "properties": {
891
+ "cnr_id": "comfy-core",
892
+ "ver": "0.3.40",
893
+ "Node name for S&R": "LoadImageOutput",
894
+ "widget_ue_connectable": {}
895
+ },
896
+ "widgets_values": [
897
+ "jas_SQUARE.png [output]",
898
+ false,
899
+ "refresh",
900
+ "image"
901
+ ],
902
+ "color": "#322",
903
+ "bgcolor": "#533"
904
+ },
905
+ {
906
+ "id": 136,
907
+ "type": "SaveImage",
908
+ "pos": [
909
+ 760,
910
+ 652.9330444335938
911
+ ],
912
+ "size": [
913
+ 606.2568359375,
914
+ 517.0669555664062
915
+ ],
916
+ "flags": {},
917
+ "order": 24,
918
+ "mode": 0,
919
+ "inputs": [
920
+ {
921
+ "name": "images",
922
+ "type": "IMAGE",
923
+ "link": 240
924
+ }
925
+ ],
926
+ "outputs": [],
927
+ "properties": {
928
+ "cnr_id": "comfy-core",
929
+ "ver": "0.3.39",
930
+ "Node name for S&R": "SaveImage",
931
+ "widget_ue_connectable": {}
932
+ },
933
+ "widgets_values": [
934
+ "jas/tests/flux-kontext/tests"
935
+ ]
936
+ },
937
+ {
938
+ "id": 6,
939
+ "type": "CLIPTextEncode",
940
+ "pos": [
941
+ 330,
942
+ 560
943
+ ],
944
+ "size": [
945
+ 400,
946
+ 220
947
+ ],
948
+ "flags": {},
949
+ "order": 15,
950
+ "mode": 0,
951
+ "inputs": [
952
+ {
953
+ "name": "clip",
954
+ "type": "CLIP",
955
+ "link": 298
956
+ }
957
+ ],
958
+ "outputs": [
959
+ {
960
+ "name": "CONDITIONING",
961
+ "type": "CONDITIONING",
962
+ "slot_index": 0,
963
+ "links": [
964
+ 237,
965
+ 294
966
+ ]
967
+ }
968
+ ],
969
+ "title": "CLIP Text Encode (Positive Prompt)",
970
+ "properties": {
971
+ "cnr_id": "comfy-core",
972
+ "ver": "0.3.38",
973
+ "Node name for S&R": "CLIPTextEncode",
974
+ "widget_ue_connectable": {}
975
+ },
976
+ "widgets_values": [
977
+ "Make a shot in the same scene zoomed out showing the full body of alien character"
978
+ ],
979
+ "color": "#232",
980
+ "bgcolor": "#353"
981
+ }
982
+ ],
983
+ "links": [
984
+ [
985
+ 52,
986
+ 31,
987
+ 0,
988
+ 8,
989
+ 0,
990
+ "LATENT"
991
+ ],
992
+ [
993
+ 57,
994
+ 35,
995
+ 0,
996
+ 31,
997
+ 1,
998
+ "CONDITIONING"
999
+ ],
1000
+ [
1001
+ 61,
1002
+ 39,
1003
+ 0,
1004
+ 8,
1005
+ 1,
1006
+ "VAE"
1007
+ ],
1008
+ [
1009
+ 222,
1010
+ 42,
1011
+ 0,
1012
+ 124,
1013
+ 0,
1014
+ "IMAGE"
1015
+ ],
1016
+ [
1017
+ 223,
1018
+ 39,
1019
+ 0,
1020
+ 124,
1021
+ 1,
1022
+ "VAE"
1023
+ ],
1024
+ [
1025
+ 237,
1026
+ 6,
1027
+ 0,
1028
+ 135,
1029
+ 0,
1030
+ "CONDITIONING"
1031
+ ],
1032
+ [
1033
+ 238,
1034
+ 135,
1035
+ 0,
1036
+ 31,
1037
+ 2,
1038
+ "CONDITIONING"
1039
+ ],
1040
+ [
1041
+ 240,
1042
+ 8,
1043
+ 0,
1044
+ 136,
1045
+ 0,
1046
+ "IMAGE"
1047
+ ],
1048
+ [
1049
+ 249,
1050
+ 142,
1051
+ 0,
1052
+ 146,
1053
+ 0,
1054
+ "IMAGE"
1055
+ ],
1056
+ [
1057
+ 250,
1058
+ 147,
1059
+ 0,
1060
+ 146,
1061
+ 1,
1062
+ "IMAGE"
1063
+ ],
1064
+ [
1065
+ 251,
1066
+ 146,
1067
+ 0,
1068
+ 42,
1069
+ 0,
1070
+ "IMAGE"
1071
+ ],
1072
+ [
1073
+ 289,
1074
+ 42,
1075
+ 0,
1076
+ 173,
1077
+ 0,
1078
+ "IMAGE"
1079
+ ],
1080
+ [
1081
+ 292,
1082
+ 177,
1083
+ 0,
1084
+ 35,
1085
+ 0,
1086
+ "CONDITIONING"
1087
+ ],
1088
+ [
1089
+ 293,
1090
+ 124,
1091
+ 0,
1092
+ 177,
1093
+ 1,
1094
+ "LATENT"
1095
+ ],
1096
+ [
1097
+ 294,
1098
+ 6,
1099
+ 0,
1100
+ 177,
1101
+ 0,
1102
+ "CONDITIONING"
1103
+ ],
1104
+ [
1105
+ 296,
1106
+ 124,
1107
+ 0,
1108
+ 31,
1109
+ 3,
1110
+ "LATENT"
1111
+ ],
1112
+ [
1113
+ 297,
1114
+ 38,
1115
+ 0,
1116
+ 189,
1117
+ 1,
1118
+ "CLIP"
1119
+ ],
1120
+ [
1121
+ 298,
1122
+ 189,
1123
+ 1,
1124
+ 6,
1125
+ 0,
1126
+ "CLIP"
1127
+ ],
1128
+ [
1129
+ 299,
1130
+ 189,
1131
+ 0,
1132
+ 31,
1133
+ 0,
1134
+ "MODEL"
1135
+ ],
1136
+ [
1137
+ 300,
1138
+ 37,
1139
+ 0,
1140
+ 189,
1141
+ 0,
1142
+ "MODEL"
1143
+ ]
1144
+ ],
1145
+ "groups": [
1146
+ {
1147
+ "id": 1,
1148
+ "title": "Step 1- Load models",
1149
+ "bounding": [
1150
+ -410,
1151
+ 10,
1152
+ 360,
1153
+ 450
1154
+ ],
1155
+ "color": "#3f789e",
1156
+ "font_size": 24,
1157
+ "flags": {}
1158
+ },
1159
+ {
1160
+ "id": 3,
1161
+ "title": "Step 2 - Upload images",
1162
+ "bounding": [
1163
+ -425.5650329589844,
1164
+ 490.5581970214844,
1165
+ 700,
1166
+ 680
1167
+ ],
1168
+ "color": "#3f789e",
1169
+ "font_size": 24,
1170
+ "flags": {}
1171
+ },
1172
+ {
1173
+ "id": 5,
1174
+ "title": "Step 3 - Prompt",
1175
+ "bounding": [
1176
+ 310,
1177
+ 480,
1178
+ 430,
1179
+ 330
1180
+ ],
1181
+ "color": "#3f789e",
1182
+ "font_size": 24,
1183
+ "flags": {}
1184
+ },
1185
+ {
1186
+ "id": 6,
1187
+ "title": "Conditioning",
1188
+ "bounding": [
1189
+ -30,
1190
+ 10,
1191
+ 540,
1192
+ 250
1193
+ ],
1194
+ "color": "#3f789e",
1195
+ "font_size": 24,
1196
+ "flags": {}
1197
+ }
1198
+ ],
1199
+ "config": {},
1200
+ "extra": {
1201
+ "ds": {
1202
+ "scale": 0.5730855330116867,
1203
+ "offset": [
1204
+ 3303.2239348784915,
1205
+ 820.2985053258137
1206
+ ]
1207
+ },
1208
+ "frontendVersion": "1.23.4",
1209
+ "groupNodes": {},
1210
+ "VHS_latentpreview": true,
1211
+ "VHS_latentpreviewrate": 0,
1212
+ "VHS_MetadataImage": true,
1213
+ "VHS_KeepIntermediate": true,
1214
+ "ue_links": [],
1215
+ "links_added_by_ue": []
1216
+ },
1217
+ "version": 0.4
1218
+ }