{ "id": "krea2-identity-edit-unified", "revision": 0, "last_node_id": 140, "last_link_id": 128, "nodes": [ { "id": 105, "type": "Note", "pos": [ 2800, 490 ], "size": [ 320, 280 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "Sampling", "properties": { "Node name for S&R": "Note", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Turbo model: 10 steps, cfg 1.\n\nStep dial:\n 8 = stronger composition/instruction adherence\n 12 = more face detail\n 10 = balanced\n\nUsing krea2_raw instead of turbo:\n40 steps, cfg 3-4 (negative then matters)." ], "color": "#432", "bgcolor": "#653" }, { "id": 56, "type": "CLIPLoader", "pos": [ 60, 30 ], "size": [ 480, 140 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 5, 78 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen3vl_4b_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors", "directory": "text_encoders" } ], "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "qwen3vl_4b_fp8_scaled.safetensors", "krea2", "default" ] }, { "id": 57, "type": "VAELoader", "pos": [ 60, 220 ], "size": [ 480, 90 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 6, 7, 62, 83 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "VAELoader", "models": [ { "name": "qwen_image_vae.safetensors", "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors", "directory": "vae" } ], "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 107, "type": "Note", "pos": [ 1282.2101999999995, -206.0309099999999 ], "size": [ 270, 110 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "Resolution", "properties": { "Node name for S&R": "Note", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Output resolution. 1MP is the\nsweet spot; go higher only for\nsingle-person edits." ], "color": "#432", "bgcolor": "#653" }, { "id": 73, "type": "VAEEncode", "pos": [ 1925.4627319999988, 125.38670599999996 ], "size": [ 225, 46 ], "flags": { "collapsed": false }, "order": 16, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 102 }, { "name": "vae", "type": "VAE", "link": 7 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 82 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "VAEEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 117, "type": "VAEEncode", "pos": [ 1923.69859, 242.15609999999995 ], "size": [ 225, 46 ], "flags": { "collapsed": false }, "order": 10, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": null }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "VAEEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 54, "type": "VAEDecode", "pos": [ 3023.118788300002, 373.56646249999983 ], "size": [ 223.05128289999993, 46 ], "flags": { "collapsed": true }, "order": 21, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 25 }, { "name": "vae", "type": "VAE", "link": 6 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 26, 126 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "VAEDecode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 55, "type": "UNETLoader", "pos": [ 60, -160 ], "size": [ 480, 130 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 112 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "UNETLoader", "models": [ { "name": "krea2_turbo_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors", "directory": "diffusion_models" } ], "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Downloads/krea2_turbo_int8_convrot.safetensors", "default" ] }, { "id": 29, "type": "SaveImage", "pos": [ 3206.98816210097, -157.31367550037118 ], "size": [ 760, 860 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 26 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "SaveImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "krea2_identity_edit" ] }, { "id": 131, "type": "Reroute", "pos": [ 658.7139613927915, 345.33146244228845 ], "size": [ 75, 26 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 119 } ], "outputs": [ { "name": "", "type": "MODEL", "links": [ 116 ] } ], "properties": { "showOutputText": false, "horizontal": false, "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } } }, { "id": 121, "type": "GetImageSize", "pos": [ 1686.666411834646, 226.53456689476195 ], "size": [ 140, 124.00000000000003 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 100 } ], "outputs": [ { "name": "width", "type": "INT", "links": [] }, { "name": "height", "type": "INT", "links": [] }, { "name": "batch_size", "type": "INT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.28.0", "Node name for S&R": "GetImageSize", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [] }, { "id": 120, "type": "Krea2EditModelPatch", "pos": [ 2347.2840537416273, -155.05470208261704 ], "size": [ 270, 226 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 116 }, { "name": "source_latent", "type": "LATENT", "link": 82 }, { "name": "source_latent_b", "shape": 7, "type": "LATENT", "link": null }, { "name": "ref_boost_mask", "shape": 7, "type": "MASK", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": 83 }, { "name": "source_image", "shape": 7, "type": "IMAGE", "link": 103 }, { "name": "source_image_b", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 85 ] } ], "properties": { "cnr_id": "comfyui-krea2edit", "ver": "1.2.2", "Node name for S&R": "Krea2EditModelPatch", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 1, 1, "fit" ] }, { "id": 85, "type": "Krea2EditGroundedEncode", "pos": [ 2390.7329125848746, 144.23337940566134 ], "size": [ 225, 206 ], "flags": { "collapsed": true }, "order": 17, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 107 }, { "name": "image_b", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ] } ], "title": "negative (leave empty)", "properties": { "cnr_id": "comfyui-krea2edit", "ver": "1.2.2", "Node name for S&R": "Krea2EditGroundedEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "", 768, "" ] }, { "id": 104, "type": "Note", "pos": [ 2326.5302153490475, 223.84986514153076 ], "size": [ 420, 420 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [], "title": "Fidelity dial", "properties": { "Node name for S&R": "Note", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "THE FIDELITY DIAL (ref_boost) - how hard the model looks at your\nreference. New in this release.\n\n 1.0 = classic v1.1 behavior\n 4.0 = recommended (pre-set): much stronger face + body likeness,\n more reliable edits\n >10 = over-copy: removals/replacements start failing\n <1 = suppress the reference (creative freedom)\n\nref_boost_a: the scene dial (image 1) in two-image mode -\nleave at 1.0 unless you are exploring. ref_boost applies to the\nperson (image 2) when group 2 is enabled, else to your image.\n\nfit_mode: how inputs fit a different output aspect\nratio. fit = resample to the output shape (default, recommended); crop (legacy) = center-crop\nonly for v1/v1.1 weights." ], "color": "#432", "bgcolor": "#653" }, { "id": 102, "type": "Note", "pos": [ 665.0281707292258, 640.1629442994395 ], "size": [ 520, 210 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [], "title": "Enable for two-image edits", "properties": { "Node name for S&R": "Note", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "OPTIONAL second reference - the PERSON for insert-into-scene edits\n('place this person at the table').\n\nThis group ships DISABLED (purple = bypassed) - the workflow is a\nplain single-image editor until you need it.\nEnable: right-click this group's title bar -> toggle Bypass off.\nOrder rule: scene = image 1 (group 1), person = image 2 (here)." ], "color": "#432", "bgcolor": "#653" }, { "id": 123, "type": "ImageResizeKJv2", "pos": [ 1289.4117708936583, -14.310868979647031 ], "size": [ 270, 336 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 96 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 98, 100, 102, 103, 107, 124 ] }, { "name": "width", "type": "INT", "links": null }, { "name": "height", "type": "INT", "links": null }, { "name": "mask", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55", "Node name for S&R": "ImageResizeKJv2", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 1024, 1024, "lanczos", "resize", "0, 0, 0", "center", 2, "cpu" ] }, { "id": 137, "type": "AddLabel", "pos": [ 3140.8883926558424, 889.3162850218695 ], "size": [ 270, 270 ], "flags": { "collapsed": true }, "order": 18, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 124 }, { "name": "caption", "shape": 7, "type": "STRING", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 125 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55", "Node name for S&R": "AddLabel", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 10, 2, 48, 32, "white", "black", "FreeMono.ttf", "Input", "up" ] }, { "id": 138, "type": "AddLabel", "pos": [ 3141.1211220407545, 965.0756909440062 ], "size": [ 270, 270 ], "flags": { "collapsed": true }, "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 126 }, { "name": "caption", "shape": 7, "type": "STRING", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 127 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55", "Node name for S&R": "AddLabel", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 10, 2, 48, 32, "white", "black", "FreeMono.ttf", "Output", "up" ] }, { "id": 125, "type": "ImageConcatMulti", "pos": [ 3512.887405672789, 892.1482789106526 ], "size": [ 270, 170 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE,MASK", "link": 125 }, { "name": "image_2", "shape": 7, "type": "IMAGE,MASK", "link": 127 } ], "outputs": [ { "name": "output", "type": "IMAGE", "links": [ 111 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55", "Node name for S&R": "ImageConcatMulti", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 2, "right", false, null ] }, { "id": 126, "type": "PreviewImage", "pos": [ 4293.522908827185, -95.04814455054083 ], "size": [ 619.0551801415504, 567.4594573286292 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 111 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.28.0", "Node name for S&R": "PreviewImage", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [] }, { "id": 135, "type": "EmptySD3LatentImage", "pos": [ 1716.3810068530868, 451.7558419429835 ], "size": [ 270, 150 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 122 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "EmptySD3LatentImage", "ue_properties": { "widget_ue_connectable": { "width": true, "height": true }, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 1536, 1024, 1 ] }, { "id": 53, "type": "KSampler", "pos": [ 2806.7279048807945, -162.5532725985141 ], "size": [ 320, 476 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 85 }, { "name": "positive", "type": "CONDITIONING", "link": 80 }, { "name": "negative", "type": "CONDITIONING", "link": 23 }, { "name": "latent_image", "type": "LATENT", "link": 122 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "KSampler", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 215782529644523, "randomize", 10, 1, "euler", "simple", 1 ] }, { "id": 127, "type": "LoraLoaderModelOnly", "pos": [ 73.79463945757097, 391.1666793584018 ], "size": [ 480, 120 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 112 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 119 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "LoraLoaderModelOnly", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Downloads/krea2_4panel_hia_1536.safetensors", 1 ] }, { "id": 72, "type": "LoadImage", "pos": [ 651.3019409321118, -161.0647839082453 ], "size": [ 520, 440 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 96 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "Body Reference", "properties": { "cnr_id": "comfy-core", "ver": "0.26.0", "Node name for S&R": "LoadImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "393079873741116720.jpg", "image" ] }, { "id": 119, "type": "Krea2EditGroundedEncode", "pos": [ 1757.171623833626, -133.51036857961654 ], "size": [ 400, 206 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 78 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 98 }, { "name": "image_b", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 80 ] } ], "properties": { "cnr_id": "comfyui-krea2edit", "ver": "1.2.2", "Node name for S&R": "Krea2EditGroundedEncode", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ "Convert the character in the image to a Character Sheet showing a face close-up, front full body, side full body and back full body views", 0, "" ] }, { "id": 100, "type": "Note", "pos": [ 81.62387608626308, 559.7268512891109 ], "size": [ 480, 150 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [], "title": "Model files", "properties": { "Node name for S&R": "Note", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Files (auto-downloadable via the manager links):\n- krea2_turbo_fp8_scaled (or krea2_raw_bf16 - see GENERATE note)\n- qwen3vl_4b_fp8_scaled text encoder, type 'krea2'\n- qwen_image_vae\n- krea2_4panel.safetensors LoRA (this model)" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 5, 56, 0, 85, 0, "CLIP" ], [ 6, 57, 0, 54, 1, "VAE" ], [ 7, 57, 0, 73, 1, "VAE" ], [ 23, 85, 0, 53, 2, "CONDITIONING" ], [ 25, 53, 0, 54, 0, "LATENT" ], [ 26, 54, 0, 29, 0, "IMAGE" ], [ 62, 57, 0, 117, 1, "VAE" ], [ 78, 56, 0, 119, 0, "CLIP" ], [ 80, 119, 0, 53, 1, "CONDITIONING" ], [ 82, 73, 0, 120, 1, "LATENT" ], [ 83, 57, 0, 120, 4, "VAE" ], [ 85, 120, 0, 53, 0, "MODEL" ], [ 96, 72, 0, 123, 0, "IMAGE" ], [ 98, 123, 0, 119, 1, "IMAGE" ], [ 100, 123, 0, 121, 0, "IMAGE" ], [ 102, 123, 0, 73, 0, "IMAGE" ], [ 103, 123, 0, 120, 5, "IMAGE" ], [ 107, 123, 0, 85, 1, "IMAGE" ], [ 111, 125, 0, 126, 0, "IMAGE" ], [ 112, 55, 0, 127, 0, "MODEL" ], [ 116, 131, 0, 120, 0, "MODEL" ], [ 119, 127, 0, 131, 0, "MODEL" ], [ 122, 135, 0, 53, 3, "LATENT" ], [ 124, 123, 0, 137, 0, "IMAGE" ], [ 125, 137, 0, 125, 0, "IMAGE" ], [ 126, 54, 0, 138, 0, "IMAGE" ], [ 127, 138, 0, 125, 1, "IMAGE" ] ], "groups": [ { "id": 1, "title": "MODELS", "bounding": [ 40, -240, 540, 950 ], "color": "#3f789e", "flags": {} }, { "id": 2, "title": "1 · REFERENCE", "bounding": [ 620, -240, 580, 790 ], "color": "#8A8", "flags": {} }, { "id": 4, "title": "3 · INSTRUCTION", "bounding": [ 1600, -240, 680, 930 ], "color": "#b58b2a", "flags": {} }, { "id": 5, "title": "4 · FIDELITY", "bounding": [ 2300, -240, 460, 910 ], "color": "#c15f3c", "flags": {} }, { "id": 6, "title": "5 · GENERATE", "bounding": [ 2780, -240, 1200, 1030 ], "color": "#3f789e", "flags": {} } ], "config": {}, "extra": { "frontendVersion": "1.45.20", "ds": { "scale": 0.6303940863129054, "offset": [ -178.72825101623036, 690.9121065355899 ] }, "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "ue_links": [], "links_added_by_ue": [] }, "version": 0.4 }