{ "id": "pid_sd3_complete.json", "revision": 0, "last_node_id": 12, "last_link_id": 13, "nodes": [ { "id": 1, "type": "Note", "pos": [ -1120, -430 ], "size": [ 410, 260 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "SD3 PiD complete workflow\nUses Load Checkpoint for SD3/SD3.5 model+CLIP.\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": "CheckpointLoaderSimple", "pos": [ -1120, -130 ], "size": [ 340, 98 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1, 2, 4 ] }, { "name": "CLIP", "type": "CLIP", "links": [] }, { "name": "VAE", "type": "VAE", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73", "Node name for S&R": "CheckpointLoaderSimple", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "sd3.5_large_fp8_scaled.safetensors" ] }, { "id": 3, "type": "ModelSamplingSD3", "pos": [ -720, -130 ], "size": [ 220, 70 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 5 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73", "Node name for S&R": "ModelSamplingSD3" }, "widgets_values": [ 3.0 ] }, { "id": 4, "type": "PiDTextPrompt", "pos": [ -690, 70 ], "size": [ 520, 240 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "text", "type": "STRING", "links": [ 3 ] }, { "name": "caption", "type": "STRING", "links": [ 10 ] } ], "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": 5, "type": "CLIPTextEncode", "pos": [ -120, -360 ], "size": [ 300, 220 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 2 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 3 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.73", "Node name for S&R": "CLIPTextEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ -120, -70 ], "size": [ 300, 220 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 4 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": null } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 7 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.73", "Node name for S&R": "CLIPTextEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ] }, { "id": 7, "type": "PiDEmptyLatentImage", "pos": [ -690, 360 ], "size": [ 390, 166 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "latent", "type": "LATENT", "slot_index": 0, "links": [ 8 ] } ], "properties": { "cnr_id": "comfyui-pid", "ver": "0.6.4", "Node name for S&R": "PiDEmptyLatentImage" }, "widgets_values": [ "2k", "512x512 (1:1)", 1, "sd3" ] }, { "id": 8, "type": "PiDKSamplerCapture", "pos": [ 260, -245 ], "size": [ 340, 405 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 5 }, { "name": "positive", "type": "CONDITIONING", "link": 6 }, { "name": "negative", "type": "CONDITIONING", "link": 7 }, { "name": "latent_image", "type": "LATENT", "link": 8 } ], "outputs": [ { "name": "final_latent", "type": "LATENT", "links": [] }, { "name": "pid_latent", "type": "LATENT", "links": [ 9 ] }, { "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, 4.0, "euler", "flowmatch_euler_discrete", 1.0, 24, 3.0 ] }, { "id": 9, "type": "PiDPrepare", "pos": [ 650, -230 ], "size": [ 370, 386 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "latent", "type": "LATENT", "link": 9 }, { "name": "caption", "type": "STRING", "link": 10 } ], "outputs": [ { "name": "prepared", "type": "PID_PREP", "links": [ 11 ] } ], "properties": { "cnr_id": "comfyui-pid", "ver": "0.2.3", "Node name for S&R": "PiDPrepare" }, "widgets_values": [ "v1", "sd3", "2k", 4, 0.0, true, "bf16", true ] }, { "id": 10, "type": "PiDSample", "pos": [ 1050, -220 ], "size": [ 426, 232 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "prepared", "type": "PID_PREP", "link": 11 } ], "outputs": [ { "name": "sampled", "type": "PID_SAMPLES", "links": [ 12 ] } ], "properties": { "cnr_id": "comfyui-pid", "ver": "0.2.3", "Node name for S&R": "PiDSample" }, "widgets_values": [ 4, 1.0, 0, "randomize", true ] }, { "id": 11, "type": "PiDFinalize", "pos": [ 1510, -210 ], "size": [ 225, 72 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "sampled", "type": "PID_SAMPLES", "link": 12 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 13 ] } ], "properties": { "cnr_id": "comfyui-pid", "ver": "0.2.3", "Node name for S&R": "PiDFinalize" }, "widgets_values": [] }, { "id": 12, "type": "SaveImage", "pos": [ 1760, -330 ], "size": [ 520, 495 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 13 } ], "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-sd3" ] } ], "links": [ [ 1, 2, 0, 3, 0, "MODEL" ], [ 2, 2, 0, 5, 0, "CLIP" ], [ 3, 4, 0, 5, 1, "STRING" ], [ 4, 2, 0, 6, 0, "CLIP" ], [ 5, 3, 0, 8, 0, "MODEL" ], [ 6, 5, 0, 8, 1, "CONDITIONING" ], [ 7, 6, 0, 8, 2, "CONDITIONING" ], [ 8, 7, 0, 8, 3, "LATENT" ], [ 9, 8, 1, 9, 0, "LATENT" ], [ 10, 4, 1, 9, 1, "STRING" ], [ 11, 9, 0, 10, 0, "PID_PREP" ], [ 12, 10, 0, 11, 0, "PID_SAMPLES" ], [ 13, 11, 0, 12, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "frontendVersion": "1.43.18" }, "version": 0.4 }