{ "id": "44259803-f9d6-4eb1-a94a-75b8213649d0", "revision": 0, "last_node_id": 636, "last_link_id": 1568, "nodes": [ { "id": 617, "type": "PreviewImage", "pos": [ 2439.855712890625, 1482.3291015625 ], "size": [ 554.5741577148438, 515.9512939453125 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 1540 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.1", "Node name for S&R": "PreviewImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 262, "type": "VAEDecode", "pos": [ 2196.558349609375, 1538.8663330078125 ], "size": [ 140, 62.208309173583984 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 1568 }, { "name": "vae", "type": "VAE", "link": 507 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 1540 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "VAEDecode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 626, "type": "Note", "pos": [ 810, 560 ], "size": [ 285.24835205078125, 126.58960723876953 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Some additional methods not included in the paper, intended to further improve the results. These can be bypassed/removed." ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 265, "type": "ImageScaleToTotalPixelsX", "pos": [ 240, 876.4774780273438 ], "size": [ 306.5982360839844, 214 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 1539 }, { "name": "width", "shape": 7, "type": "INT", "link": null }, { "name": "height", "shape": 7, "type": "INT", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 749 ] }, { "name": "width", "type": "INT", "links": [ 1560 ] }, { "name": "height", "type": "INT", "links": [ 1561 ] } ], "properties": { "cnr_id": "scale-image-to-total-pixels-advanced", "ver": "dd4135f4ee6dcd71443e2935ceb5c037e3f23230", "Node name for S&R": "ImageScaleToTotalPixelsX", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 1.05, 16, "crop", "lanczos" ] }, { "id": 612, "type": "LoadImage", "pos": [ -115.60904693603516, 775.1746826171875 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 1539 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.1", "Node name for S&R": "LoadImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "example.png", "image" ] }, { "id": 619, "type": "Note", "pos": [ 240, 703.904052734375 ], "size": [ 306.5982360839844, 112.57343292236328 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "https://github.com/BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced" ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 261, "type": "VAELoader", "pos": [ -102.46358489990234, 1440 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 507, 750 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "VAELoader", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 618, "type": "CLIPLoader", "pos": [ -102.46358489990234, 1720.394287109375 ], "size": [ 270, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 1541, 1542 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.1", "Node name for S&R": "CLIPLoader", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "qwen3vl_4b_fp8_scaled.safetensors", "krea2", "default" ] }, { "id": 614, "type": "Note", "pos": [ 240, 1304.4775390625 ], "size": [ 306.5982360839844, 116.00450134277344 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "You can create two CLIP Text Encode (one for the reference and one for the target), but personally, I find that using the target prompt for both yields better results." ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 634, "type": "EmptyLatentImage", "pos": [ 1500, 1960 ], "size": [ 197.72500610351562, 106 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 1560 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 1561 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 1562 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.25.0", "Node name for S&R": "EmptyLatentImage", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.2.1" } }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 259, "type": "CLIPTextEncode", "pos": [ 240, 1156.4775390625 ], "size": [ 306.5982360839844, 88 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 1542 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 1564 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "CLIPTextEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "" ] }, { "id": 333, "type": "VAEEncode", "pos": [ 610, 1010 ], "size": [ 140, 46 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 749 }, { "name": "vae", "type": "VAE", "link": 750 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 1526 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "VAEEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [] }, { "id": 636, "type": "ConditioningZeroOut", "pos": [ 1500, 1870 ], "size": [ 197.72500610351562, 26 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 1566 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 1567 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.25.0", "Node name for S&R": "ConditioningZeroOut", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.2.1" } }, "widgets_values": [] }, { "id": 635, "type": "KSampler", "pos": [ 1850, 1740 ], "size": [ 270, 339.3125 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1565 }, { "name": "positive", "type": "CONDITIONING", "link": 1563 }, { "name": "negative", "type": "CONDITIONING", "link": 1567 }, { "name": "latent_image", "type": "LATENT", "link": 1562 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 1568 ] } ], "title": "⚡KSampler⚡", "properties": { "cnr_id": "comfy-core", "ver": "0.25.1", "Node name for S&R": "KSampler", "ue_properties": { "widget_ue_connectable": { "seed": true, "steps": true, "cfg": true, "sampler_name": true, "scheduler": true, "denoise": true }, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 811, "increment", 8, 1, "euler_ancestral", "simple", 1 ], "color": "#009933" }, { "id": 601, "type": "UNETLoader", "pos": [ -102.46358489990234, 1558 ], "size": [ 270, 102.3942642211914 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1558 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.22.0", "Node name for S&R": "UNETLoader", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "krea2_turbo.safetensors", "default" ] }, { "id": 632, "type": "UnofficialExtensions", "pos": [ 810, 740 ], "size": [ 285.24835205078125, 202 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "unofficial_extensions", "type": "UNTWISTING_ROPE_EXTENSIONS", "links": [ 1557 ] } ], "properties": { "cnr_id": "untwistingrope", "ver": "ec08050c160633dc890972120598e2912ce26870", "Node name for S&R": "UnofficialExtensions", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 0, "default", 0, 0, 0, 0 ] }, { "id": 615, "type": "Note", "pos": [ 810, 1010 ], "size": [ 289.0740051269531, 112.57343292236328 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "The quality of the style transfer depends largely on the quality of the RF inversion. These settings work well, but feel free to try other values." ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 603, "type": "RFInversion", "pos": [ 810, 1180 ], "size": [ 273.3614807128906, 266 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1558 }, { "name": "reference_latent", "type": "LATENT", "link": 1526 }, { "name": "ref_conditioning", "type": "CONDITIONING", "link": 1564 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 1549 ] }, { "name": "rf_inversion", "type": "LATENT", "links": [ 1550 ] } ], "properties": { "cnr_id": "untwistingrope", "ver": "c9136fcced444ea84778a25a37a2b45371ea06a5", "Node name for S&R": "RFInversion", "aux_id": "BigStationW/ComfyUi-Untwisting-RoPE", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "flowturbo_pc", 0.5, 0, 0, 20, false ] }, { "id": 616, "type": "Note", "pos": [ 1790, 1560 ], "size": [ 303.6560363769531, 116.00450134277344 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "recommend using only SDE samplers like er_sde or euler_ancestral, adding noise during the process really helps eliminate some transfer style artifacts." ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 633, "type": "Note", "pos": [ 1140, 970 ], "size": [ 310, 150 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "for Krea2 :\n\n- blocks: 7-27\n- beta: 2 - 4 (2.5)\n- high_scale_start: 1.0 and 1.08 (1.04)\n- low_scale_end: 1.35 - 1.45 (1.40)\n- adain_strength: 0.75-1.0 \n- key_subspace_alignment: 0.00 - 0.05 (err lower)" ], "color": "#c09430", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 623, "type": "UntwistingRoPE", "pos": [ 1136.9560546875, 1171.701171875 ], "size": [ 270, 270 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1549 }, { "name": "rf_inversion", "type": "LATENT", "link": 1550 }, { "name": "unofficial_extensions", "shape": 7, "type": "UNTWISTING_ROPE_EXTENSIONS", "link": 1557 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 1565 ] } ], "properties": { "cnr_id": "untwistingrope", "ver": "9fb6a19e82077dc54ddb120f202d474d01497cf7", "Node name for S&R": "UntwistingRoPE", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ 2.5, 1.04, 0, 1, 1.4, 0.85, "7-27", false ] }, { "id": 607, "type": "CLIPTextEncode", "pos": [ 887.940185546875, 1654.943115234375 ], "size": [ 400, 200 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 1541 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 1563, 1566 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "CLIPTextEncode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.2.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "a woman and a man on a small sailboat in rough seas" ] } ], "links": [ [ 507, 261, 0, 262, 1, "VAE" ], [ 749, 265, 0, 333, 0, "IMAGE" ], [ 750, 261, 0, 333, 1, "VAE" ], [ 1526, 333, 0, 603, 1, "LATENT" ], [ 1539, 612, 0, 265, 0, "IMAGE" ], [ 1540, 262, 0, 617, 0, "IMAGE" ], [ 1541, 618, 0, 607, 0, "CLIP" ], [ 1542, 618, 0, 259, 0, "CLIP" ], [ 1549, 603, 0, 623, 0, "MODEL" ], [ 1550, 603, 1, 623, 1, "LATENT" ], [ 1557, 632, 0, 623, 2, "UNTWISTING_ROPE_EXTENSIONS" ], [ 1558, 601, 0, 603, 0, "MODEL" ], [ 1560, 265, 1, 634, 0, "INT" ], [ 1561, 265, 2, 634, 1, "INT" ], [ 1562, 634, 0, 635, 3, "LATENT" ], [ 1563, 607, 0, 635, 1, "CONDITIONING" ], [ 1564, 259, 0, 603, 2, "CONDITIONING" ], [ 1565, 623, 0, 635, 0, "MODEL" ], [ 1566, 607, 0, 636, 0, "CONDITIONING" ], [ 1567, 636, 0, 635, 2, "CONDITIONING" ], [ 1568, 635, 0, 262, 0, "LATENT" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6727499949325698, "offset": [ 336.80954608198755, -829.4092910421372 ] }, "frontendVersion": "1.27.10", "workflowRendererVersion": "LG", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "ue_links": [], "links_added_by_ue": [] }, "version": 0.4 }