{ "id": "ad18abd3-bdee-4f80-8fae-d15d4f845b9d", "revision": 0, "last_node_id": 78, "last_link_id": 189, "nodes": [ { "id": 16, "type": "KSamplerSelect", "pos": [ 480, 912 ], "size": [ 315, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 19 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ] }, { "id": 34, "type": "PrimitiveNode", "pos": [ 432, 480 ], "size": [ 210, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "widget": { "name": "width" }, "slot_index": 0, "links": [ 112, 115 ] } ], "title": "width", "properties": { "Run widget replace on values": false }, "widgets_values": [ 1024, "fixed" ], "color": "#323", "bgcolor": "#535" }, { "id": 35, "type": "PrimitiveNode", "pos": [ 672, 480 ], "size": [ 210, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "widget": { "name": "height" }, "slot_index": 0, "links": [ 113, 114 ] } ], "title": "height", "properties": { "Run widget replace on values": false }, "widgets_values": [ 1024, "fixed" ], "color": "#323", "bgcolor": "#535" }, { "id": 10, "type": "VAELoader", "pos": [ 50.72727584838867, 466.54541015625 ], "size": [ 311.81634521484375, 60.429901123046875 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 12, 120 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ] }, { "id": 39, "type": "VAEEncode", "pos": [ 501.1323547363281, -12.391702651977539 ], "size": [ 140, 46 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 143 }, { "name": "vae", "type": "VAE", "link": 120 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 138 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "VAEEncode" }, "widgets_values": [] }, { "id": 42, "type": "ReferenceLatent", "pos": [ 676.4634399414062, -28.66999626159668 ], "size": [ 197.712890625, 46 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 123 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 138 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 157 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "ReferenceLatent" }, "widgets_values": [] }, { "id": 22, "type": "BasicGuider", "pos": [ 887.5904541015625, 60.72023010253906 ], "size": [ 222.3482666015625, 46 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 54 }, { "name": "conditioning", "type": "CONDITIONING", "link": 157 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "slot_index": 0, "links": [ 30 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "BasicGuider" }, "widgets_values": [] }, { "id": 11, "type": "DualCLIPLoader", "pos": [ 48, 288 ], "size": [ 315, 130 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 10 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp8_e4m3fn.safetensors", "clip_l.safetensors", "flux", "default" ] }, { "id": 26, "type": "FluxGuidance", "pos": [ 475.59197998046875, 114.52873992919922 ], "size": [ 317.4000244140625, 58 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 41 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 123 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 2.5 ], "color": "#233", "bgcolor": "#355" }, { "id": 27, "type": "EmptySD3LatentImage", "pos": [ 486.8072814941406, 619.1873168945312 ], "size": [ 315, 106 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 112 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 113 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 116 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 30, "type": "ModelSamplingFlux", "pos": [ 480.3935546875, 1157.8427734375 ], "size": [ 315, 130 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 162 }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 115 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 114 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 54, 55 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "ModelSamplingFlux" }, "widgets_values": [ 1.15, 0.5, 1024, 1024 ] }, { "id": 25, "type": "RandomNoise", "pos": [ 480, 768 ], "size": [ 315, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 37 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "RandomNoise" }, "widgets_values": [ 894709645499706, "randomize" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 60, "type": "TeaCache", "pos": [ 74.38601684570312, 996.0274047851562 ], "size": [ 270, 154 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 189 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 162 ] } ], "properties": { "Node name for S&R": "TeaCache" }, "widgets_values": [ "flux", 0.4, 0, 1, "cuda" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 439.055908203125, 243.34559631347656 ], "size": [ 422.84503173828125, 164.31304931640625 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 10 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 174 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 41 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Change the hairstyle of the person in the picture to Super Saiyan.While maintaining the same facial features, hairstyle, and expression" ], "color": "#232", "bgcolor": "#353" }, { "id": 40, "type": "FluxKontextImageScale", "pos": [ -325.01666259765625, -126.88701629638672 ], "size": [ 187.75448608398438, 26 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 184 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 142 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "FluxKontextImageScale" }, "widgets_values": [] }, { "id": 53, "type": "ImageScaleBy", "pos": [ 249.71116638183594, -83.57847595214844 ], "size": [ 210, 82 ], "flags": {}, "order": 15, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 142 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 143 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "area", 0.5000000000000001 ] }, { "id": 13, "type": "SamplerCustomAdvanced", "pos": [ 903.6406860351562, 181.32699584960938 ], "size": [ 272.3617858886719, 124.53733825683594 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 37 }, { "name": "guider", "type": "GUIDER", "link": 30 }, { "name": "sampler", "type": "SAMPLER", "link": 19 }, { "name": "sigmas", "type": "SIGMAS", "link": 20 }, { "name": "latent_image", "type": "LATENT", "link": 116 } ], "outputs": [ { "name": "output", "type": "LATENT", "slot_index": 0, "links": [ 24 ] }, { "name": "denoised_output", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "SamplerCustomAdvanced" }, "widgets_values": [] }, { "id": 8, "type": "VAEDecode", "pos": [ 921.472900390625, 377.8860168457031 ], "size": [ 210, 46 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 24 }, { "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 9 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 12, "type": "UNETLoader", "pos": [ 68.36222076416016, 80.76095581054688 ], "size": [ 315, 82 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 159 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-dev-kontext_fp8_scaled.safetensors", "default" ], "color": "#223", "bgcolor": "#335" }, { "id": 69, "type": "Text Concatenate", "pos": [ -710.4730224609375, 792.301025390625 ], "size": [ 270, 142 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "text_a", "shape": 7, "type": "STRING", "link": null }, { "name": "text_b", "shape": 7, "type": "STRING", "link": 182 }, { "name": "text_c", "shape": 7, "type": "STRING", "link": null }, { "name": "text_d", "shape": 7, "type": "STRING", "link": null } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 174 ] } ], "properties": { "Node name for S&R": "Text Concatenate" }, "widgets_values": [ ", ", "true" ] }, { "id": 17, "type": "BasicScheduler", "pos": [ 480, 1008 ], "size": [ 315, 106 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 55 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 20 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 10, 1 ] }, { "id": 70, "type": "ttN text", "pos": [ 24.6058349609375, 768.1043090820312 ], "size": [ 400, 200 ], "flags": {}, "order": 7, "mode": 4, "inputs": [], "outputs": [ { "name": "text", "type": "STRING", "links": [] } ], "properties": { "Node name for S&R": "ttN text", "ttNnodeVersion": "1.0.0" }, "widgets_values": [ "wearing a white dress" ] }, { "id": 59, "type": "LoraLoaderModelOnly", "pos": [ -388.7097473144531, 775.824951171875 ], "size": [ 335.4582824707031, 95.47223663330078 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 159 } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 188 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "Flux+Turbo+Lora加速模型_StarAi_Flux+Turbo+Lora.safetensors", 1 ], "color": "#322", "bgcolor": "#533" }, { "id": 41, "type": "LoadImage", "pos": [ -1654.5482177734375, 41.157958984375 ], "size": [ 545.0162963867188, 548.0043334960938 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 184 ] }, { "name": "MASK", "type": "MASK", "links": null }, { "name": "icc_profile", "type": "ICC_PROFILE", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "LoadImage" }, "widgets_values": [ "62b87fa8b87daa226804525484e47b32.jpeg", "image" ] }, { "id": 9, "type": "SaveImage", "pos": [ -1084.4432373046875, 52.118900299072266 ], "size": [ 513.8969116210938, 544.9264526367188 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI" ] }, { "id": 68, "type": "ttN text", "pos": [ -1165.4754638671875, 698.7899169921875 ], "size": [ 400, 200 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "text", "type": "STRING", "links": [ 182 ] } ], "properties": { "Node name for S&R": "ttN text", "ttNnodeVersion": "1.0.0" }, "widgets_values": [ "Repair this photo, remove cracks, enhance balance, correct colors, and restore the detail and balance of the original photo to achieve ultra-high-definition image quality.While maintaining the same facial features, hairstyle, and expression." ] }, { "id": 78, "type": "LoraLoaderModelOnly", "pos": [ -384.87615966796875, 962.2847290039062 ], "size": [ 335.4582824707031, 95.47223663330078 ], "flags": {}, "order": 14, "mode": 4, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 188 } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 189 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "comfyui_portrait_lora64.safetensors", 1 ], "color": "#322", "bgcolor": "#533" } ], "links": [ [ 9, 8, 0, 9, 0, "IMAGE" ], [ 10, 11, 0, 6, 0, "CLIP" ], [ 12, 10, 0, 8, 1, "VAE" ], [ 19, 16, 0, 13, 2, "SAMPLER" ], [ 20, 17, 0, 13, 3, "SIGMAS" ], [ 24, 13, 0, 8, 0, "LATENT" ], [ 30, 22, 0, 13, 1, "GUIDER" ], [ 37, 25, 0, 13, 0, "NOISE" ], [ 41, 6, 0, 26, 0, "CONDITIONING" ], [ 54, 30, 0, 22, 0, "MODEL" ], [ 55, 30, 0, 17, 0, "MODEL" ], [ 112, 34, 0, 27, 0, "INT" ], [ 113, 35, 0, 27, 1, "INT" ], [ 114, 35, 0, 30, 2, "INT" ], [ 115, 34, 0, 30, 1, "INT" ], [ 116, 27, 0, 13, 4, "LATENT" ], [ 120, 10, 0, 39, 1, "VAE" ], [ 123, 26, 0, 42, 0, "CONDITIONING" ], [ 138, 39, 0, 42, 1, "LATENT" ], [ 142, 40, 0, 53, 0, "IMAGE" ], [ 143, 53, 0, 39, 0, "IMAGE" ], [ 157, 42, 0, 22, 1, "CONDITIONING" ], [ 159, 12, 0, 59, 0, "MODEL" ], [ 162, 60, 0, 30, 0, "MODEL" ], [ 174, 69, 0, 6, 1, "STRING" ], [ 182, 68, 0, 69, 1, "STRING" ], [ 184, 41, 0, 40, 0, "IMAGE" ], [ 188, 59, 0, 78, 0, "MODEL" ], [ 189, 78, 0, 60, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7972024500000007, "offset": [ 1840.8116918250805, 48.63965533005738 ] }, "frontendVersion": "1.23.4", "groupNodes": {}, "ue_links": [], "node_versions": { "comfy-core": "0.3.43" }, "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }