{ "id": "38d4a359-349a-444f-acc1-acba3173c650", "revision": 0, "last_node_id": 34, "last_link_id": 58, "nodes": [ { "id": 8, "type": "VAEDecode", "pos": [ 1200.80419921875, 185.2679443359375 ], "size": [ 210, 46 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 46 }, { "name": "vae", "type": "VAE", "link": 14 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 9 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "VAEDecode", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 413, 389 ], "size": [ 425.27801513671875, 180.6060791015625 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 10 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 44, 45 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "CLIPTextEncode", "widget_ue_connectable": {} }, "widgets_values": [ "deformed, blurry, over saturation, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra_limb, ugly, poorly drawn hands, fused fingers, messy drawing, broken legs censor, censored, censor_bar" ] }, { "id": 11, "type": "EmptySD3LatentImage", "pos": [ 565.4563598632812, 607.9689331054688 ], "size": [ 270, 106 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 55 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 56 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 49 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "EmptySD3LatentImage", "widget_ue_connectable": { "width": true, "height": true } }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 32, "type": "GetImageSize", "pos": [ 298.1094055175781, 628.9943237304688 ], "size": [ 246, 136 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 54 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 55 ] }, { "name": "height", "type": "INT", "links": [ 56 ] }, { "name": "batch_size", "type": "INT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "GetImageSize", "widget_ue_connectable": {} }, "widgets_values": [ "width: 1024, height: 1024\n batch size: 1" ] }, { "id": 10, "type": "CLIPLoader", "pos": [ 80, 310 ], "size": [ 310, 106 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 10, 11 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "CLIPLoader", "widget_ue_connectable": {} }, "widgets_values": [ "qwen_2.5_vl_fp16.safetensors", "omnigen2", "default" ] }, { "id": 13, "type": "VAELoader", "pos": [ 80, 460 ], "size": [ 310, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 14, 15 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "VAELoader", "widget_ue_connectable": {} }, "widgets_values": [ "ae.safetensors" ] }, { "id": 17, "type": "ImageScaleToTotalPixels", "pos": [ 183.49476623535156, 43.62110137939453 ], "size": [ 270, 82 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 20 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 21, 54 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "ImageScaleToTotalPixels", "widget_ue_connectable": {} }, "widgets_values": [ "area", 1 ] }, { "id": 12, "type": "UNETLoader", "pos": [ 80, 190 ], "size": [ 310, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 52, 53 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "UNETLoader", "widget_ue_connectable": {} }, "widgets_values": [ "omnigen2_fp16.safetensors", "default" ] }, { "id": 14, "type": "VAEEncode", "pos": [ 477.7489318847656, 55.69953155517578 ], "size": [ 140, 46 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 21 }, { "name": "vae", "type": "VAE", "link": 15 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 18, 42 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "VAEEncode", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 29, "type": "ReferenceLatent", "pos": [ 636.00732421875, 93.17668151855469 ], "size": [ 197.712890625, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 44 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 42 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 43 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.42", "Node name for S&R": "ReferenceLatent" }, "widgets_values": [] }, { "id": 15, "type": "ReferenceLatent", "pos": [ 634.4359741210938, 0.014802759513258934 ], "size": [ 197.712890625, 46 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 16 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 18 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 40 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.42", "Node name for S&R": "ReferenceLatent" }, "widgets_values": [] }, { "id": 27, "type": "DualCFGGuider", "pos": [ 860.4462890625, 67.1290283203125 ], "size": [ 315, 142 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 53 }, { "name": "cond1", "type": "CONDITIONING", "link": 40 }, { "name": "cond2", "type": "CONDITIONING", "link": 43 }, { "name": "negative", "type": "CONDITIONING", "link": 45 }, { "name": "cfg_conds", "type": "FLOAT", "widget": { "name": "cfg_conds" }, "link": 50 }, { "name": "cfg_cond2_negative", "type": "FLOAT", "widget": { "name": "cfg_cond2_negative" }, "link": 51 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "slot_index": 0, "links": [ 34 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "DualCFGGuider", "widget_ue_connectable": { "cfg_conds": true, "cfg_cond2_negative": true } }, "widgets_values": [ 5, 2.9 ] }, { "id": 28, "type": "SamplerCustomAdvanced", "pos": [ 1213.135498046875, 287.6008605957031 ], "size": [ 202.53378295898438, 106 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 33 }, { "name": "guider", "type": "GUIDER", "link": 34 }, { "name": "sampler", "type": "SAMPLER", "link": 58 }, { "name": "sigmas", "type": "SIGMAS", "link": 36 }, { "name": "latent_image", "type": "LATENT", "link": 49 } ], "outputs": [ { "name": "output", "type": "LATENT", "slot_index": 0, "links": [ 46 ] }, { "name": "denoised_output", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "SamplerCustomAdvanced", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 30, "type": "PrimitiveNode", "pos": [ 624.3563232421875, 760.367919921875 ], "size": [ 210, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "widget": { "name": "cfg_conds" }, "links": [ 50 ] } ], "title": "text CFG", "properties": { "Run widget replace on values": false, "widget_ue_connectable": {} }, "widgets_values": [ 5, "fixed" ] }, { "id": 23, "type": "BasicScheduler", "pos": [ 941.00830078125, 731.270263671875 ], "size": [ 210, 106 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 52 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 36 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "BasicScheduler", "widget_ue_connectable": {} }, "widgets_values": [ "sgm_uniform", 20, 1 ] }, { "id": 21, "type": "RandomNoise", "pos": [ 860, 600 ], "size": [ 315, 82 ], "flags": { "collapsed": false }, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 33 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "RandomNoise", "widget_ue_connectable": {} }, "widgets_values": [ 239742796981011, "randomize" ] }, { "id": 9, "type": "SaveImage", "pos": [ 1225.364013671875, 446.59271240234375 ], "size": [ 724.650634765625, 776.3861694335938 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "SaveImage", "widget_ue_connectable": {} }, "widgets_values": [ "ComfyUI" ] }, { "id": 20, "type": "KSamplerSelect", "pos": [ 286.0403747558594, 815.2730102539062 ], "size": [ 315, 58 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 57 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "KSamplerSelect", "widget_ue_connectable": {} }, "widgets_values": [ "res_multistep" ] }, { "id": 34, "type": "Note", "pos": [ 614.6278686523438, 1012.486083984375 ], "size": [ 230.7811737060547, 124.07879638671875 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "** You may need to experiment with the Image CFG value based on your reference image to achieve the desired likeness in the output. In my previous testing, an ideal setting typically falls between 2.0 and 4.0, but results can vary, so some trial and error is recommended." ], "color": "#432", "bgcolor": "#653" }, { "id": 31, "type": "PrimitiveNode", "pos": [ 622.352294921875, 889.0559692382812 ], "size": [ 210, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "widget": { "name": "cfg_cond2_negative" }, "links": [ 51 ] } ], "title": "image CFG", "properties": { "Run widget replace on values": false, "widget_ue_connectable": {} }, "widgets_values": [ 2.9, "fixed" ] }, { "id": 33, "type": "DetailDaemonSamplerNode", "pos": [ 879.7139892578125, 270.6781311035156 ], "size": [ 270, 274 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "sampler", "type": "SAMPLER", "link": 57 } ], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 58 ] } ], "properties": { "cnr_id": "comfyui-detail-daemon", "ver": "1.1.2", "Node name for S&R": "DetailDaemonSamplerNode" }, "widgets_values": [ 0.020000000000000004, 0.30000000000000004, 0.7000000000000002, 0.5, 1, 0, 0, 0, true, 0 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 415, 186 ], "size": [ 422.84503173828125, 164.31304931640625 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 11 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 16 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "CLIPTextEncode", "widget_ue_connectable": {} }, "widgets_values": [ "she is looking at the camera smiling and waving." ] }, { "id": 16, "type": "LoadImage", "pos": [ -11.50705623626709, 577.98681640625 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 20 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "LoadImage", "widget_ue_connectable": {} }, "widgets_values": [ "flux_redux_model_example.png", "image" ] } ], "links": [ [ 9, 8, 0, 9, 0, "IMAGE" ], [ 10, 10, 0, 7, 0, "CLIP" ], [ 11, 10, 0, 6, 0, "CLIP" ], [ 14, 13, 0, 8, 1, "VAE" ], [ 15, 13, 0, 14, 1, "VAE" ], [ 16, 6, 0, 15, 0, "CONDITIONING" ], [ 18, 14, 0, 15, 1, "LATENT" ], [ 20, 16, 0, 17, 0, "IMAGE" ], [ 21, 17, 0, 14, 0, "IMAGE" ], [ 33, 21, 0, 28, 0, "NOISE" ], [ 34, 27, 0, 28, 1, "GUIDER" ], [ 36, 23, 0, 28, 3, "SIGMAS" ], [ 40, 15, 0, 27, 1, "CONDITIONING" ], [ 42, 14, 0, 29, 1, "LATENT" ], [ 43, 29, 0, 27, 2, "CONDITIONING" ], [ 44, 7, 0, 29, 0, "CONDITIONING" ], [ 45, 7, 0, 27, 3, "CONDITIONING" ], [ 46, 28, 0, 8, 0, "LATENT" ], [ 49, 11, 0, 28, 4, "LATENT" ], [ 50, 30, 0, 27, 4, "FLOAT" ], [ 51, 31, 0, 27, 5, "FLOAT" ], [ 52, 12, 0, 23, 0, "MODEL" ], [ 53, 12, 0, 27, 0, "MODEL" ], [ 54, 17, 0, 32, 0, "IMAGE" ], [ 55, 32, 0, 11, 0, "INT" ], [ 56, 32, 1, 11, 1, "INT" ], [ 57, 20, 0, 33, 0, "SAMPLER" ], [ 58, 33, 0, 28, 2, "SAMPLER" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7247295000000101, "offset": [ 16.72692539083962, -264.2604971135936 ] }, "frontendVersion": "1.23.4", "groupNodes": {}, "ue_links": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0 }, "version": 0.4 }