Files
2026-07-16 14:25:24 +03:00

712 lines
12 KiB
JSON

{
"id": "pid_flux_complete.json",
"revision": 0,
"last_node_id": 13,
"last_link_id": 14,
"nodes": [
{
"id": 1,
"type": "Note",
"pos": [
-1120,
-430
],
"size": [
410,
260
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Flux PiD complete workflow\nModels: flux1-dev + t5xxl + clip_l.\nRecommended PiD capture: 28 steps, capture 24.\nPiD output: 512 latent -> 2048 image with 2k/scale 4.\nUse 2kto4k and 1024 latent for 4K."
]
},
{
"id": 2,
"type": "UNETLoader",
"pos": [
-1120,
-130
],
"size": [
340,
148
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux1-dev.safetensors",
"default"
]
},
{
"id": 3,
"type": "ModelSamplingFlux",
"pos": [
-720,
-130
],
"size": [
340,
150
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
512,
512
]
},
{
"id": 4,
"type": "DualCLIPLoader",
"pos": [
-1120,
70
],
"size": [
340,
179
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
5
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "DualCLIPLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 5,
"type": "PiDTextPrompt",
"pos": [
-690,
70
],
"size": [
520,
240
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
3,
4
]
},
{
"name": "caption",
"type": "STRING",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDTextPrompt",
"aux_id": "Merserk/ComfyUI-PiD"
},
"widgets_values": [
"A cinematic photorealistic portrait, detailed lighting, sharp focus, rich colors, high quality."
]
},
{
"id": 6,
"type": "CLIPTextEncodeFlux",
"pos": [
-120,
-395
],
"size": [
330,
260
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
},
{
"name": "clip_l",
"type": "STRING",
"widget": {
"name": "clip_l"
},
"link": 3
},
{
"name": "t5xxl",
"type": "STRING",
"widget": {
"name": "t5xxl"
},
"link": 4
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7
]
}
],
"title": "CLIP Text Encode Flux (Positive)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
3.5
]
},
{
"id": 7,
"type": "CLIPTextEncodeFlux",
"pos": [
-120,
-70
],
"size": [
330,
260
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
},
{
"name": "clip_l",
"type": "STRING",
"widget": {
"name": "clip_l"
},
"link": null
},
{
"name": "t5xxl",
"type": "STRING",
"widget": {
"name": "t5xxl"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8
]
}
],
"title": "CLIP Text Encode Flux (Negative)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
3.5
]
},
{
"id": 8,
"type": "PiDEmptyLatentImage",
"pos": [
-690,
360
],
"size": [
390,
166
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.6.4",
"Node name for S&R": "PiDEmptyLatentImage"
},
"widgets_values": [
"2k",
"512x512 (1:1)",
1,
"flux"
]
},
{
"id": 9,
"type": "PiDKSamplerCapture",
"pos": [
260,
-245
],
"size": [
340,
405
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 6
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 7
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 8
},
{
"name": "latent_image",
"type": "LATENT",
"link": 9
}
],
"outputs": [
{
"name": "final_latent",
"type": "LATENT",
"links": []
},
{
"name": "pid_latent",
"type": "LATENT",
"links": [
10
]
},
{
"name": "pid_sigma",
"type": "FLOAT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDKSamplerCapture"
},
"widgets_values": [
0,
"randomize",
28,
1.0,
"euler",
"flowmatch_euler_discrete",
1.0,
24,
3.0
]
},
{
"id": 10,
"type": "PiDPrepare",
"pos": [
650,
-230
],
"size": [
370,
386
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "latent",
"type": "LATENT",
"link": 10
},
{
"name": "caption",
"type": "STRING",
"link": 11
}
],
"outputs": [
{
"name": "prepared",
"type": "PID_PREP",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDPrepare"
},
"widgets_values": [
"v1",
"flux",
"2k",
4,
0.0,
true,
"bf16",
true
]
},
{
"id": 11,
"type": "PiDSample",
"pos": [
1050,
-220
],
"size": [
426,
232
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "prepared",
"type": "PID_PREP",
"link": 12
}
],
"outputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDSample"
},
"widgets_values": [
4,
1.0,
0,
"randomize",
true
]
},
{
"id": 12,
"type": "PiDFinalize",
"pos": [
1510,
-210
],
"size": [
225,
72
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"link": 13
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
14
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDFinalize"
},
"widgets_values": []
},
{
"id": 13,
"type": "SaveImage",
"pos": [
1760,
-330
],
"size": [
520,
495
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"pid-flux"
]
}
],
"links": [
[
1,
2,
0,
3,
0,
"MODEL"
],
[
2,
4,
0,
6,
0,
"CLIP"
],
[
3,
5,
0,
6,
1,
"STRING"
],
[
4,
5,
0,
6,
2,
"STRING"
],
[
5,
4,
0,
7,
0,
"CLIP"
],
[
6,
3,
0,
9,
0,
"MODEL"
],
[
7,
6,
0,
9,
1,
"CONDITIONING"
],
[
8,
7,
0,
9,
2,
"CONDITIONING"
],
[
9,
8,
0,
9,
3,
"LATENT"
],
[
10,
9,
1,
10,
0,
"LATENT"
],
[
11,
5,
1,
10,
1,
"STRING"
],
[
12,
10,
0,
11,
0,
"PID_PREP"
],
[
13,
11,
0,
12,
0,
"PID_SAMPLES"
],
[
14,
12,
0,
13,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"frontendVersion": "1.43.18"
},
"version": 0.4
}