{ "id": "bea21fb8-6068-44c4-81a7-a9a2691906f8", "revision": 0, "last_node_id": 17, "last_link_id": 24, "nodes": [ { "id": 11, "type": "CLIPTextEncode", "pos": [ -413.2351032231185, 1044.5931700404103 ], "size": [ 400, 200 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 16 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 18 ] } ], "title": "反向提示词", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream" ] }, { "id": 10, "type": "CLIPTextEncode", "pos": [ -426.8174242417456, 771.3013397911164 ], "size": [ 400, 200 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 15 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 17 ] } ], "title": "正向提示词", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "RAW photo, subject, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3,a close up portrait of a woman, highly detailed skin texture, goosebumps, visible skin pores, realistic warm sunset rim lighting, cinematic, photorealistic, 8k, sharp focus" ] }, { "id": 13, "type": "CheckpointLoaderSimple", "pos": [ -875.0426347574872, 1162.6148129676735 ], "size": [ 273.4375, 127.328125 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 8 ] }, { "name": "CLIP", "type": "CLIP", "links": [ 15, 16, 19 ] }, { "name": "VAE", "type": "VAE", "links": [ 10 ] } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "realisticVisionV60B1_v51HyperVAE.safetensors" ] }, { "id": 12, "type": "UltralyticsDetectorProvider", "pos": [ -338.9094620279964, 1328.9634926694944 ], "size": [ 279.0625, 127.328125 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "BBOX_DETECTOR", "type": "BBOX_DETECTOR", "links": [ 13 ] }, { "name": "SEGM_DETECTOR", "type": "SEGM_DETECTOR", "links": null } ], "properties": { "Node name for S&R": "UltralyticsDetectorProvider" }, "widgets_values": [ "bbox/face_yolov8m.pt" ] }, { "id": 3, "type": "ReActorFaceSwap", "pos": [ -327.1687520323299, 313.1134131820224 ], "size": [ 289.96875, 507.328125 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "input_image", "type": "IMAGE", "link": 1 }, { "name": "source_image", "shape": 7, "type": "IMAGE", "link": 2 }, { "name": "face_model", "shape": 7, "type": "FACE_MODEL", "link": null }, { "name": "face_boost", "shape": 7, "type": "FACE_BOOST", "link": null } ], "outputs": [ { "name": "SWAPPED_IMAGE", "type": "IMAGE", "links": [ 5 ] }, { "name": "FACE_MODEL", "type": "FACE_MODEL", "links": null }, { "name": "ORIGINAL_IMAGE", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "ReActorFaceSwap" }, "widgets_values": [ true, "inswapper_128.onnx", "retinaface_resnet50", "codeformer-v0.1.0.pth", 0.75, 0.75, "no", "no", "0", "0", 1 ] }, { "id": 2, "type": "LoadImage", "pos": [ -876.3618160102683, 705.4406973836011 ], "size": [ 270, 339.328125 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 2 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "面部源图", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "d4ca0a103a5b22a1f1aeef9745bee82a_720.jpg", "image" ] }, { "id": 1, "type": "LoadImage", "pos": [ -833.4491495939434, 315.36794595761614 ], "size": [ 270, 339.328125 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 1 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "目标底图", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "屏幕截图 2026-07-04 005646.png", "image" ] }, { "id": 5, "type": "FaceDetailer", "pos": [ 240.31003853678658, 353.5680816684291 ], "size": [ 400, 1267.328125 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 5 }, { "name": "model", "type": "MODEL", "link": 8 }, { "name": "clip", "type": "CLIP", "link": 19 }, { "name": "vae", "type": "VAE", "link": 10 }, { "name": "positive", "type": "CONDITIONING", "link": 17 }, { "name": "negative", "type": "CONDITIONING", "link": 18 }, { "name": "bbox_detector", "type": "BBOX_DETECTOR", "link": 13 }, { "name": "sam_model_opt", "shape": 7, "type": "SAM_MODEL", "link": null }, { "name": "segm_detector_opt", "shape": 7, "type": "SEGM_DETECTOR", "link": null }, { "name": "detailer_hook", "shape": 7, "type": "DETAILER_HOOK", "link": null }, { "name": "scheduler_func_opt", "shape": 7, "type": "SCHEDULER_FUNC", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 24 ] }, { "name": "cropped_refined", "shape": 6, "type": "IMAGE", "links": null }, { "name": "cropped_enhanced_alpha", "shape": 6, "type": "IMAGE", "links": null }, { "name": "mask", "type": "MASK", "links": null }, { "name": "detailer_pipe", "type": "DETAILER_PIPE", "links": null }, { "name": "cnet_images", "shape": 6, "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "FaceDetailer" }, "widgets_values": [ 1024, true, 1024, 155577587366260, "randomize", 15, 1.5, "euler", "normal", 0.05, 5, true, true, 0.5, 10, 3, "center-1", 0, 0.93, 0, 0.7, "False", 10, "", 1, false, 20, false, false ] }, { "id": 15, "type": "SaveImageAdvanced", "pos": [ 936.0902330432738, 370.07536794445707 ], "size": [ 306.96875, 130 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 24 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": null } ], "properties": {}, "widgets_values": [ "ComfyUI", "png", "16-bit", "sRGB" ] } ], "links": [ [ 1, 1, 0, 3, 0, "IMAGE" ], [ 2, 2, 0, 3, 1, "IMAGE" ], [ 5, 3, 0, 5, 0, "IMAGE" ], [ 8, 13, 0, 5, 1, "MODEL" ], [ 10, 13, 2, 5, 3, "VAE" ], [ 13, 12, 0, 5, 6, "BBOX_DETECTOR" ], [ 15, 13, 1, 10, 0, "CLIP" ], [ 16, 13, 1, 11, 0, "CLIP" ], [ 17, 10, 0, 5, 4, "CONDITIONING" ], [ 18, 11, 0, 5, 5, "CONDITIONING" ], [ 19, 13, 1, 5, 2, "CLIP" ], [ 24, 5, 0, 15, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6519090715032471, "offset": [ -227.56960034246637, -298.66240481118433 ] }, "linearData": { "inputs": [ [ "1", "image" ], [ "2", "image" ] ], "outputs": [ "15" ] }, "frontendVersion": "1.45.20" }, "version": 0.4 }