DEFAULT
{"1":{"class_type":"CheckpointLoaderSimple","inputs":{"ckpt_name":"693154172192916828","tams_ckpt_name":"DreamShaper XL - v2 Turbo"},"_properties":{"Node name for S&R":"CheckpointLoaderSimple"},"_widgets":[{"name":"ckpt_name","options":{},"type":"button","value":"693154172192916828"},{"name":"tams_ckpt_name","options":{"values":[""]},"type":"combo","value":"DreamShaper XL - v2 Turbo"}]},"118":{"class_type":"LoadImage","inputs":{"image":"https://7022ae40757f8d53295a57619de9b364.r2.cloudflarestorage.com/tensor-sf-sig/workspace/imagetoimage/771736122203071803/f745a172-02fd-42da-8fcc-6b50b5f3bc08.png","upload":"image","_width":2048,"_height":2048},"_properties":{"Node name for S&R":"LoadImage"},"_widgets":[{"name":"image","options":{"values":[]},"type":"combo"},{"name":"upload","options":{},"type":"button","value":"image"}]},"126":{"class_type":"Face Swap (mtb)","inputs":{"faceanalysis_model":["127",0],"faces_index":"0","faceswap_model":["128",0],"image":["257",0],"reference":["94",0]},"_properties":{"Node name for S&R":"Face Swap (mtb)"},"_widgets":[{"name":"faces_index","options":{},"type":"text","value":"0"}]},"127":{"class_type":"Load Face Analysis Model (mtb)","inputs":{"faceswap_model":"buffalo_l"},"_properties":{"Node name for S&R":"Load Face Analysis Model (mtb)"},"_widgets":[{"name":"faceswap_model","options":{"values":["antelopev2","buffalo_l","buffalo_m","buffalo_sc"]},"type":"combo","value":"buffalo_l"}]},"128":{"class_type":"Load Face Swap Model (mtb)","inputs":{"faceswap_model":"inswapper_128_fp16.onnx"},"_properties":{"Node name for S&R":"Load Face Swap Model (mtb)"},"_widgets":[{"name":"faceswap_model","options":{"values":["inswapper_128_fp16.onnx"]},"type":"combo","value":"inswapper_128_fp16.onnx"}]},"13":{"class_type":"LoadImage","inputs":{"image":"https://7022ae40757f8d53295a57619de9b364.r2.cloudflarestorage.com/tensor-sf-sig/workspace/imagetoimage/771736122203071803/167dbb22-25de-4c2a-9bdf-2c278a2b4c5b.png","upload":"image","_width":1080,"_height":1072},"_properties":{"Node name for S&R":"LoadImage"},"_widgets":[{"name":"image","options":{"values":[]},"type":"combo"},{"name":"upload","options":{},"type":"button","value":"image"}]},"164":{"class_type":"FaceDetailer","inputs":{"bbox_crop_factor":3,"bbox_detector":["266",0],"bbox_dilation":10,"bbox_threshold":0.45,"cfg":1,"clip":["1",1],"cycle":1,"denoise":0.45,"drop_size":10,"feather":20,"force_inpaint":true,"guide_size":512,"guide_size_for":true,"image":["257",0],"inpaint_model":false,"max_size":1024,"model":["62",0],"negative":["167",0],"noise_mask":true,"noise_mask_feather":20,"positive":["166",0],"sam_bbox_expansion":0,"sam_detection_hint":"center-1","sam_dilation":0,"sam_mask_hint_threshold":0.7,"sam_mask_hint_use_negative":"False","sam_threshold":0.93,"sampler_name":"dpmpp_sde","scheduler":"karras","seed":729166435952927,"segm_detector_opt":["266",1],"steps":4,"vae":["5",0],"wildcard":""},"_properties":{"Node name for S&R":"FaceDetailer"},"_widgets":[{"name":"guide_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":512},{"name":"guide_size_for","options":{"off":"crop_region","on":"bbox"},"type":"toggle","value":true},{"name":"max_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":1024},{"name":"seed","options":{"max":18446744073709552000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":729166435952927},{"name":"control_after_generate","options":{"serialize":false,"values":["fixed","increment","decrement","randomize"]},"type":"combo","value":"randomize"},{"name":"steps","options":{"max":10000,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":4},{"name":"cfg","options":{"max":100,"min":0,"precision":1,"round":0.1,"step":5},"type":"number","value":1},{"name":"sampler_name","options":{"values":["euler","euler_pp","euler_ancestral","euler_ancestral_pp","heun","heunpp2","dpm_2","dpm_2_ancestral","lms","dpm_fast","dpm_adaptive","dpmpp_2s_ancestral","dpmpp_sde","dpmpp_sde_gpu","dpmpp_2m","dpmpp_2m_alt","dpmpp_2m_sde","dpmpp_2m_sde_gpu","dpmpp_3m_sde","dpmpp_3m_sde_gpu","ddpm","lcm","ipndm","ipndm_v","deis","restart","euler_dy","euler_smea_dy","ddim","uni_pc","uni_pc_bh2","supreme","dpmpp_3m_sde_dynamic_eta","euler_ancestral_dancing","lcm_custom_noise","ttm","clyb_4m_sde_momentumized","dpmpp_dualsde_momentumized","res_momentumized","euler_dy","euler_smea_dy","euler_negative","euler_dy_negative","sonar_euler","sonar_euler_ancestral","sonar_dpmpp_sde"]},"type":"combo","value":"dpmpp_sde"},{"name":"scheduler","options":{"values":["ddim_uniform","simple","sgm_uniform","exponential","karras","normal"]},"type":"combo","value":"karras"},{"name":"denoise","options":{"max":1,"min":0.0001,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20},{"name":"noise_mask","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"force_inpaint","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"bbox_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"bbox_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"bbox_crop_factor","options":{"max":10,"min":1,"precision":1,"round":0.1,"step":1},"type":"number","value":3},{"name":"sam_detection_hint","options":{"values":["center-1","horizontal-2","vertical-2","rect-4","diamond-4","mask-area","mask-points","mask-point-bbox","none"]},"type":"combo","value":"center-1"},{"name":"sam_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.93},{"name":"sam_bbox_expansion","options":{"max":1000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_mask_hint_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.7},{"name":"sam_mask_hint_use_negative","options":{"values":["False","Small","Outter"]},"type":"combo","value":"False"},{"name":"drop_size","options":{"max":8192,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"wildcard","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""},{"name":"cycle","options":{"max":10,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":1},{"name":"inpaint_model","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":false},{"name":"noise_mask_feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20}]},"166":{"class_type":"CLIPTextEncode","inputs":{"clip":["1",1],"text":""},"_properties":{"Node name for S&R":"CLIPTextEncode"},"_widgets":[{"name":"text","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""}]},"167":{"class_type":"CLIPTextEncode","inputs":{"clip":["1",1],"text":""},"_properties":{"Node name for S&R":"CLIPTextEncode"},"_widgets":[{"name":"text","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""}]},"170":{"class_type":"PreviewImage","inputs":{"images":["164",0]},"_properties":{"Node name for S&R":"PreviewImage"},"_widgets":[]},"171":{"class_type":"FaceDetailer","inputs":{"bbox_crop_factor":3,"bbox_detector":["266",0],"bbox_dilation":10,"bbox_threshold":0.45,"cfg":1,"clip":["1",1],"cycle":1,"denoise":0.45,"drop_size":10,"feather":20,"force_inpaint":true,"guide_size":512,"guide_size_for":true,"image":["257",0],"inpaint_model":false,"max_size":1024,"model":["54",0],"negative":["54",2],"noise_mask":true,"noise_mask_feather":20,"positive":["54",1],"sam_bbox_expansion":0,"sam_detection_hint":"center-1","sam_dilation":0,"sam_mask_hint_threshold":0.7,"sam_mask_hint_use_negative":"False","sam_threshold":0.93,"sampler_name":"dpmpp_sde","scheduler":"karras","seed":549390471247708,"segm_detector_opt":["266",1],"steps":4,"vae":["5",0],"wildcard":""},"_properties":{"Node name for S&R":"FaceDetailer"},"_widgets":[{"name":"guide_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":512},{"name":"guide_size_for","options":{"off":"crop_region","on":"bbox"},"type":"toggle","value":true},{"name":"max_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":1024},{"name":"seed","options":{"max":18446744073709552000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":549390471247708},{"name":"control_after_generate","options":{"serialize":false,"values":["fixed","increment","decrement","randomize"]},"type":"combo","value":"randomize"},{"name":"steps","options":{"max":10000,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":4},{"name":"cfg","options":{"max":100,"min":0,"precision":1,"round":0.1,"step":5},"type":"number","value":1},{"name":"sampler_name","options":{"values":["euler","euler_pp","euler_ancestral","euler_ancestral_pp","heun","heunpp2","dpm_2","dpm_2_ancestral","lms","dpm_fast","dpm_adaptive","dpmpp_2s_ancestral","dpmpp_sde","dpmpp_sde_gpu","dpmpp_2m","dpmpp_2m_alt","dpmpp_2m_sde","dpmpp_2m_sde_gpu","dpmpp_3m_sde","dpmpp_3m_sde_gpu","ddpm","lcm","ipndm","ipndm_v","deis","restart","euler_dy","euler_smea_dy","ddim","uni_pc","uni_pc_bh2","supreme","dpmpp_3m_sde_dynamic_eta","euler_ancestral_dancing","lcm_custom_noise","ttm","clyb_4m_sde_momentumized","dpmpp_dualsde_momentumized","res_momentumized","euler_dy","euler_smea_dy","euler_negative","euler_dy_negative","sonar_euler","sonar_euler_ancestral","sonar_dpmpp_sde"]},"type":"combo","value":"dpmpp_sde"},{"name":"scheduler","options":{"values":["ddim_uniform","simple","sgm_uniform","exponential","karras","normal"]},"type":"combo","value":"karras"},{"name":"denoise","options":{"max":1,"min":0.0001,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20},{"name":"noise_mask","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"force_inpaint","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"bbox_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"bbox_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"bbox_crop_factor","options":{"max":10,"min":1,"precision":1,"round":0.1,"step":1},"type":"number","value":3},{"name":"sam_detection_hint","options":{"values":["center-1","horizontal-2","vertical-2","rect-4","diamond-4","mask-area","mask-points","mask-point-bbox","none"]},"type":"combo","value":"center-1"},{"name":"sam_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.93},{"name":"sam_bbox_expansion","options":{"max":1000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_mask_hint_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.7},{"name":"sam_mask_hint_use_negative","options":{"values":["False","Small","Outter"]},"type":"combo","value":"False"},{"name":"drop_size","options":{"max":8192,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"wildcard","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""},{"name":"cycle","options":{"max":10,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":1},{"name":"inpaint_model","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":false},{"name":"noise_mask_feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20}]},"172":{"class_type":"PreviewImage","inputs":{"images":["171",0]},"_properties":{"Node name for S&R":"PreviewImage"},"_widgets":[]},"190":{"class_type":"PreviewImage","inputs":{"images":["197",0]},"_properties":{"Node name for S&R":"PreviewImage"},"_widgets":[]},"192":{"class_type":"IPAdapter","inputs":{"end_at":1,"image":["94",0],"ipadapter":["59",1],"model":["59",0],"start_at":0,"weight":0.7000000000000001,"weight_type":"standard"},"_properties":{"Node name for S&R":"IPAdapter"},"_widgets":[{"name":"weight","options":{"max":3,"min":-1,"precision":2,"round":0.01,"step":0.5},"type":"number","value":0.7000000000000001},{"name":"start_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":0},{"name":"end_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":1},{"name":"weight_type","options":{"values":["standard","prompt is more important","style transfer"]},"type":"combo","value":"standard"}]},"197":{"class_type":"FaceDetailer","inputs":{"bbox_crop_factor":3,"bbox_detector":["266",0],"bbox_dilation":10,"bbox_threshold":0.45,"cfg":1,"clip":["1",1],"cycle":1,"denoise":0.45,"drop_size":10,"feather":20,"force_inpaint":true,"guide_size":512,"guide_size_for":true,"image":["126",0],"inpaint_model":false,"max_size":1024,"model":["62",0],"negative":["167",0],"noise_mask":true,"noise_mask_feather":20,"positive":["166",0],"sam_bbox_expansion":0,"sam_detection_hint":"center-1","sam_dilation":0,"sam_mask_hint_threshold":0.7,"sam_mask_hint_use_negative":"False","sam_threshold":0.93,"sampler_name":"dpmpp_sde","scheduler":"karras","seed":510017805566347,"segm_detector_opt":["266",1],"steps":4,"vae":["5",0],"wildcard":""},"_properties":{"Node name for S&R":"FaceDetailer"},"_widgets":[{"name":"guide_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":512},{"name":"guide_size_for","options":{"off":"crop_region","on":"bbox"},"type":"toggle","value":true},{"name":"max_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":1024},{"name":"seed","options":{"max":18446744073709552000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":510017805566347},{"name":"control_after_generate","options":{"serialize":false,"values":["fixed","increment","decrement","randomize"]},"type":"combo","value":"randomize"},{"name":"steps","options":{"max":10000,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":4},{"name":"cfg","options":{"max":100,"min":0,"precision":1,"round":0.1,"step":5},"type":"number","value":1},{"name":"sampler_name","options":{"values":["euler","euler_pp","euler_ancestral","euler_ancestral_pp","heun","heunpp2","dpm_2","dpm_2_ancestral","lms","dpm_fast","dpm_adaptive","dpmpp_2s_ancestral","dpmpp_sde","dpmpp_sde_gpu","dpmpp_2m","dpmpp_2m_alt","dpmpp_2m_sde","dpmpp_2m_sde_gpu","dpmpp_3m_sde","dpmpp_3m_sde_gpu","ddpm","lcm","ipndm","ipndm_v","deis","restart","euler_dy","euler_smea_dy","ddim","uni_pc","uni_pc_bh2","supreme","dpmpp_3m_sde_dynamic_eta","euler_ancestral_dancing","lcm_custom_noise","ttm","clyb_4m_sde_momentumized","dpmpp_dualsde_momentumized","res_momentumized","euler_dy","euler_smea_dy","euler_negative","euler_dy_negative","sonar_euler","sonar_euler_ancestral","sonar_dpmpp_sde"]},"type":"combo","value":"dpmpp_sde"},{"name":"scheduler","options":{"values":["ddim_uniform","simple","sgm_uniform","exponential","karras","normal"]},"type":"combo","value":"karras"},{"name":"denoise","options":{"max":1,"min":0.0001,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20},{"name":"noise_mask","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"force_inpaint","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"bbox_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"bbox_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"bbox_crop_factor","options":{"max":10,"min":1,"precision":1,"round":0.1,"step":1},"type":"number","value":3},{"name":"sam_detection_hint","options":{"values":["center-1","horizontal-2","vertical-2","rect-4","diamond-4","mask-area","mask-points","mask-point-bbox","none"]},"type":"combo","value":"center-1"},{"name":"sam_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.93},{"name":"sam_bbox_expansion","options":{"max":1000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_mask_hint_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.7},{"name":"sam_mask_hint_use_negative","options":{"values":["False","Small","Outter"]},"type":"combo","value":"False"},{"name":"drop_size","options":{"max":8192,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"wildcard","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""},{"name":"cycle","options":{"max":10,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":1},{"name":"inpaint_model","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":false},{"name":"noise_mask_feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20}]},"257":{"class_type":"ImageResize+","inputs":{"condition":"always","height":2048,"image":["260",0],"interpolation":"nearest-exact","method":"keep proportion","multiple_of":0,"width":2048},"_properties":{"Node name for S&R":"ImageResize+"},"_widgets":[{"name":"width","options":{"max":16384,"min":0,"precision":0,"round":1,"step":80},"type":"number","value":2048},{"name":"height","options":{"max":16384,"min":0,"precision":0,"round":1,"step":80},"type":"number","value":2048},{"name":"interpolation","options":{"values":["nearest","bilinear","bicubic","area","nearest-exact","lanczos"]},"type":"combo","value":"nearest-exact"},{"name":"method","options":{"values":["stretch","keep proportion","fill / crop","pad"]},"type":"combo","value":"keep proportion"},{"name":"condition","options":{"values":["always","downscale if bigger","upscale if smaller","if bigger area","if smaller area"]},"type":"combo","value":"always"},{"name":"multiple_of","options":{"max":512,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0}]},"260":{"class_type":"ImageUpscaleWithModel","inputs":{"image":["118",0],"upscale_model":["93",0]},"_properties":{"Node name for S&R":"ImageUpscaleWithModel"},"_widgets":[]},"266":{"class_type":"UltralyticsDetectorProvider","inputs":{"model_name":"segm/face_yolov8n-seg2_60.pt"},"_properties":{"Node name for S&R":"UltralyticsDetectorProvider"},"_widgets":[{"name":"model_name","options":{"values":["bbox/face_yolov8m.pt","bbox/face_yolov8n.pt","bbox/face_yolov8n_v2.pt","bbox/face_yolov8s.pt","bbox/hand_yolov8n.pt","bbox/hand_yolov8s.pt","segm/deepfashion2_yolov8s-seg.pt","segm/face_yolov8m-seg_60.pt","segm/face_yolov8n-seg2_60.pt","segm/hair_yolov8n-seg_60.pt","segm/person_yolov8m-seg.pt","segm/person_yolov8n-seg.pt","segm/person_yolov8s-seg.pt","segm/skin_yolov8m-seg_400.pt","segm/skin_yolov8n-seg_400.pt","segm/skin_yolov8n-seg_800.pt"]},"type":"combo","value":"segm/face_yolov8n-seg2_60.pt"}]},"267":{"class_type":"FaceDetailer","inputs":{"bbox_crop_factor":3,"bbox_detector":["266",0],"bbox_dilation":10,"bbox_threshold":0.5,"cfg":1,"clip":["1",1],"cycle":1,"denoise":0.45,"drop_size":10,"feather":20,"force_inpaint":true,"guide_size":512,"guide_size_for":true,"image":["197",0],"inpaint_model":false,"max_size":1024,"model":["54",0],"negative":["167",0],"noise_mask":true,"noise_mask_feather":20,"positive":["166",0],"sam_bbox_expansion":0,"sam_detection_hint":"center-1","sam_dilation":0,"sam_mask_hint_threshold":0.7,"sam_mask_hint_use_negative":"False","sam_threshold":0.93,"sampler_name":"dpmpp_sde","scheduler":"karras","seed":241216925839403,"segm_detector_opt":["266",1],"steps":4,"vae":["5",0],"wildcard":""},"_properties":{"Node name for S&R":"FaceDetailer"},"_widgets":[{"name":"guide_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":512},{"name":"guide_size_for","options":{"off":"crop_region","on":"bbox"},"type":"toggle","value":true},{"name":"max_size","options":{"max":16384,"min":64,"precision":0,"round":1,"step":80},"type":"number","value":1024},{"name":"seed","options":{"max":18446744073709552000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":241216925839403},{"name":"control_after_generate","options":{"serialize":false,"values":["fixed","increment","decrement","randomize"]},"type":"combo","value":"randomize"},{"name":"steps","options":{"max":10000,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":4},{"name":"cfg","options":{"max":100,"min":0,"precision":1,"round":0.1,"step":5},"type":"number","value":1},{"name":"sampler_name","options":{"values":["euler","euler_pp","euler_ancestral","euler_ancestral_pp","heun","heunpp2","dpm_2","dpm_2_ancestral","lms","dpm_fast","dpm_adaptive","dpmpp_2s_ancestral","dpmpp_sde","dpmpp_sde_gpu","dpmpp_2m","dpmpp_2m_alt","dpmpp_2m_sde","dpmpp_2m_sde_gpu","dpmpp_3m_sde","dpmpp_3m_sde_gpu","ddpm","lcm","ipndm","ipndm_v","deis","restart","euler_dy","euler_smea_dy","ddim","uni_pc","uni_pc_bh2","supreme","dpmpp_3m_sde_dynamic_eta","euler_ancestral_dancing","lcm_custom_noise","ttm","clyb_4m_sde_momentumized","dpmpp_dualsde_momentumized","res_momentumized","euler_dy","euler_smea_dy","euler_negative","euler_dy_negative","sonar_euler","sonar_euler_ancestral","sonar_dpmpp_sde"]},"type":"combo","value":"dpmpp_sde"},{"name":"scheduler","options":{"values":["ddim_uniform","simple","sgm_uniform","exponential","karras","normal"]},"type":"combo","value":"karras"},{"name":"denoise","options":{"max":1,"min":0.0001,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.45},{"name":"feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20},{"name":"noise_mask","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"force_inpaint","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":true},{"name":"bbox_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.5},{"name":"bbox_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"bbox_crop_factor","options":{"max":10,"min":1,"precision":1,"round":0.1,"step":1},"type":"number","value":3},{"name":"sam_detection_hint","options":{"values":["center-1","horizontal-2","vertical-2","rect-4","diamond-4","mask-area","mask-points","mask-point-bbox","none"]},"type":"combo","value":"center-1"},{"name":"sam_dilation","options":{"max":512,"min":-512,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.93},{"name":"sam_bbox_expansion","options":{"max":1000,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0},{"name":"sam_mask_hint_threshold","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.7},{"name":"sam_mask_hint_use_negative","options":{"values":["False","Small","Outter"]},"type":"combo","value":"False"},{"name":"drop_size","options":{"max":8192,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":10},{"name":"wildcard","options":{"hideOnZoom":true,"selectOn":["focus","click"]},"type":"customtext","value":""},{"name":"cycle","options":{"max":10,"min":1,"precision":0,"round":1,"step":10},"type":"number","value":1},{"name":"inpaint_model","options":{"off":"disabled","on":"enabled"},"type":"toggle","value":false},{"name":"noise_mask_feather","options":{"max":100,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":20}]},"294":{"class_type":"PreviewImage","inputs":{"images":["267",0]},"_properties":{"Node name for S&R":"PreviewImage"},"_widgets":[]},"306":{"class_type":"Crop Face","inputs":{"confidence":0.8,"image":["13",0],"margin":64,"model":["307",0]},"_properties":{"Node name for S&R":"Crop Face"},"_widgets":[{"name":"confidence","options":{"max":1,"min":0,"precision":1,"round":0.1,"step":5},"type":"number","value":0.8},{"name":"margin","options":{"max":2048,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":64}]},"307":{"class_type":"Load RetinaFace","inputs":{},"_properties":{"Node name for S&R":"Load RetinaFace"},"_widgets":[]},"46":{"class_type":"InstantIDModelLoader","inputs":{"instantid_file":"ip-adapter.bin"},"_properties":{"Node name for S&R":"InstantIDModelLoader"},"_widgets":[{"name":"instantid_file","options":{"values":["ip-adapter.bin"]},"type":"combo","value":"ip-adapter.bin"}]},"47":{"class_type":"InstantIDFaceAnalysis","inputs":{"provider":"CPU"},"_properties":{"Node name for S&R":"InstantIDFaceAnalysis"},"_widgets":[{"name":"provider","options":{"values":["CPU","CUDA","ROCM"]},"type":"combo","value":"CPU"}]},"48":{"class_type":"ControlNetLoader","inputs":{"control_net_name":"instantid/diffusion_pytorch_model.safetensors"},"_properties":{"Node name for S&R":"ControlNetLoader"},"_widgets":[{"name":"control_net_name","options":{"values":["MistoLine/mistoLine_fp16.safetensors","MistoLine/mistoLine_rank256.safetensors","OpenPoseXL2.safetensors","animatediff_controlnet/controlnet_checkpoint.ckpt","animatediff_controlnet/motion_checkpoint_less_motion.ckpt","animatediff_controlnet/motion_checkpoint_more_motion.ckpt","coadapter-color-sd15v1.pth","control_sd15_canny.pth","control_sd15_depth.pth","control_sd15_hed.pth","control_sd15_inpaint_depth_hand_fp16.safetensors","control_sd15_normal.pth","control_sd15_openpose.pth","control_sd15_scribble.pth","control_sd15_seg.pth","control_v11e_sd15_ip2p.pth","control_v11e_sd15_shuffle.pth","control_v11f1e_sd15_tile.pth","control_v11f1p_sd15_depth.pth","control_v11p_sd15_canny.pth","control_v11p_sd15_inpaint.pth","control_v11p_sd15_lineart.pth","control_v11p_sd15_mlsd.pth","control_v11p_sd15_normalbae.pth","control_v11p_sd15_openpose.pth","control_v11p_sd15_scribble.pth","control_v11p_sd15_seg.pth","control_v11p_sd15_softedge.pth","control_v11p_sd15s2_lineart_anime.pth","control_v1p_sd15_brightness.safetensors","control_v1p_sd15_qrcode_monster.safetensors","control_v1p_sdxl_qrcode_monster.safetensors","controlnet-scribble-sdxl-1.0.safetensors","diffusers_xl_canny_full.safetensors","diffusers_xl_canny_mid.safetensors","diffusers_xl_canny_small.safetensors","diffusers_xl_depth_full.safetensors","diffusers_xl_depth_mid.safetensors","hunyuandit/HunyuanDIT-Controlnet-Canny.safetensors","illumination/illumination11000.safetensors","illumination/illumination15000.safetensors","illumination/illumination20000.safetensors","illumination11000.safetensors","illumination15000.safetensors","illumination20000.safetensors","instantid/diffusion_pytorch_model.safetensors","ip-adapter-plus-face_sd15.pth","ip-adapter_sd15.pth","ip-adapter_xl.pth","kohya_controllllite_xl_blur.safetensors","kohya_controllllite_xl_blur_anime.safetensors","kohya_controllllite_xl_blur_anime_beta.safetensors","kohya_controllllite_xl_canny.safetensors","kohya_controllllite_xl_canny_anime.safetensors","kohya_controllllite_xl_depth.safetensors","kohya_controllllite_xl_depth_anime.safetensors","kohya_controllllite_xl_openpose_anime.safetensors","kohya_controllllite_xl_openpose_anime_v2.safetensors","kohya_controllllite_xl_scribble_anime.safetensors","sai_xl_canny_128lora.safetensors","sai_xl_canny_256lora.safetensors","sai_xl_depth_128lora.safetensors","sai_xl_depth_256lora.safetensors","sai_xl_recolor_128lora.safetensors","sai_xl_recolor_256lora.safetensors","sargezt_xl_depth.safetensors","sargezt_xl_depth_faid_vidit.safetensors","sd3/instantx/SD3-Controlnet-Canny.safetensors","sd3/instantx/SD3-Controlnet-Pose.safetensors","sd3/instantx/SD3-Controlnet-Tile.safetensors","sdxl/control_v1p_sdxl_qrcode_monster.safetensors","sdxl/diffusers_xl_canny_full.safetensors","sdxl/diffusers_xl_canny_mid.safetensors","sdxl/diffusers_xl_canny_small.safetensors","sdxl/diffusers_xl_depth_full.safetensors","sdxl/diffusers_xl_depth_mid.safetensors","sdxl/ip-adapter_xl.pth","sdxl/kohya_controllllite_xl_blur.safetensors","sdxl/kohya_controllllite_xl_blur_anime.safetensors","sdxl/kohya_controllllite_xl_blur_anime_beta.safetensors","sdxl/kohya_controllllite_xl_canny.safetensors","sdxl/kohya_controllllite_xl_canny_anime.safetensors","sdxl/kohya_controllllite_xl_depth.safetensors","sdxl/kohya_controllllite_xl_depth_anime.safetensors","sdxl/kohya_controllllite_xl_openpose_anime.safetensors","sdxl/kohya_controllllite_xl_openpose_anime_v2.safetensors","sdxl/kohya_controllllite_xl_scribble_anime.safetensors","sdxl/sai_xl_canny_128lora.safetensors","sdxl/sai_xl_canny_256lora.safetensors","sdxl/sai_xl_depth_128lora.safetensors","sdxl/sai_xl_depth_256lora.safetensors","sdxl/sai_xl_recolor_128lora.safetensors","sdxl/sai_xl_recolor_256lora.safetensors","sdxl/sargezt_xl_depth.safetensors","sdxl/sargezt_xl_depth_faid_vidit.safetensors","sdxl/t2i-adapter_diffusers_xl_canny.safetensors","sdxl/t2i-adapter_xl_canny.safetensors","sdxl/t2i-adapter_xl_openpose.safetensors","sdxl/t2i-adapter_xl_sketch.safetensors","sdxl/v2_lora_RollingClockwise.ckpt","sdxl/v2_lora_TiltUp.ckpt","sdxl/v2_lora_ZoomOut.ckpt","t2i-adapter_diffusers_xl_canny.safetensors","t2i-adapter_diffusers_xl_lineart.safetensors","t2i-adapter_xl_canny.safetensors","t2i-adapter_xl_openpose.safetensors","t2i-adapter_xl_sketch.safetensors","t2iadapter_color_sd14v1.pth","v2_lora_RollingClockwise.ckpt","v2_lora_TiltUp.ckpt","v2_lora_ZoomOut.ckpt","xinsir/controlnet-depth-sdxl-1.0.safetensors","xinsir/controlnet-openpose-sdxl-1.0.safetensors","xinsir/controlnet-scribble-sdxl-1.0.safetensors","xinsir/controlnet-union-sdxl-1.0.safetensors"]},"type":"combo","value":"instantid/diffusion_pytorch_model.safetensors"}]},"5":{"class_type":"VAELoader","inputs":{"vae_name":"sdxl_vae.safetensors"},"_properties":{"Node name for S&R":"VAELoader"},"_widgets":[{"name":"vae_name","options":{"values":["ClearVAE.safetensors","ClearVAE_V2.3.safetensors","NyanMix.vae.pt","YOZORA.vae.pt","animevae.pt","blessed2.vae.pt","consistency-decoder.vae.pt","cute_vae.safetensors","kl-f8-anime.ckpt","kl-f8-anime2.ckpt","lastpiecexlVAE_baseonA0897.safetensors","orangemix.vae.pt","pastel-waifu-diffusion.vae.pt","playground-v2.5-fp16-vae.safetensors","sdxl-vae-fp16-fix.safetensors","sdxl_vae.safetensors","stable_cascade_a.safetensors","vae-ft-mse-840000-ema-pruned.ckpt","xlVAEC_c91.safetensors"]},"type":"combo","value":"sdxl_vae.safetensors"}]},"54":{"class_type":"ApplyInstantID","inputs":{"control_net":["48",0],"end_at":1,"image":["94",0],"insightface":["47",0],"instantid":["46",0],"model":["192",0],"negative":["167",0],"positive":["166",0],"start_at":0,"weight":0.8},"_properties":{"Node name for S&R":"ApplyInstantID"},"_widgets":[{"name":"weight","options":{"max":5,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.8},{"name":"start_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":0},{"name":"end_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":1}]},"59":{"class_type":"IPAdapterUnifiedLoaderFaceID","inputs":{"lora_strength":0.8,"model":["1",0],"preset":"FACEID PLUS V2","provider":"CPU"},"_properties":{"Node name for S&R":"IPAdapterUnifiedLoaderFaceID"},"_widgets":[{"name":"preset","options":{"values":["FACEID","FACEID PLUS - SD1.5 only","FACEID PLUS V2","FACEID PORTRAIT (style transfer)","FACEID PORTRAIT UNNORM - SDXL only (strong)"]},"type":"combo","value":"FACEID PLUS V2"},{"name":"lora_strength","options":{"max":1,"min":0,"precision":2,"round":0.01,"step":0.1},"type":"number","value":0.8},{"name":"provider","options":{"values":["CPU","CUDA","ROCM","DirectML","OpenVINO","CoreML"]},"type":"combo","value":"CPU"}]},"62":{"class_type":"IPAdapter","inputs":{"end_at":1,"image":["94",0],"ipadapter":["59",1],"model":["59",0],"start_at":0,"weight":1,"weight_type":"standard"},"_properties":{"Node name for S&R":"IPAdapter"},"_widgets":[{"name":"weight","options":{"max":3,"min":-1,"precision":2,"round":0.01,"step":0.5},"type":"number","value":1},{"name":"start_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":0},{"name":"end_at","options":{"max":1,"min":0,"precision":3,"round":0.001,"step":0.01},"type":"number","value":1},{"name":"weight_type","options":{"values":["standard","prompt is more important","style transfer"]},"type":"combo","value":"standard"}]},"92":{"class_type":"ImageUpscaleWithModel","inputs":{"image":["306",0],"upscale_model":["93",0]},"_properties":{"Node name for S&R":"ImageUpscaleWithModel"},"_widgets":[]},"93":{"class_type":"UpscaleModelLoader","inputs":{"model_name":"2x-ESRGAN.pth"},"_properties":{"Node name for S&R":"UpscaleModelLoader"},"_widgets":[{"name":"model_name","options":{"values":["2x-ESRGAN.pth","4x-AnimeSharp.pth","4x-UltraSharp.pth","4xFaceUpSharpDAT.pth","4xLexicaDAT2_otf.pth","4x_APISR_GRL_GAN_generator.pth","4x_APISR_RRDB_GAN_generator.pth","4x_IllustrationJaNai_V1_DAT2_190k.pth","4x_IllustrationJaNai_V1_ESRGAN_135k.pth","4x_NMKD-Siax_200k.pth","4x_NMKD-Superscale-SP_178000_G.pth","4x_RealisticRescaler_100000_G.pth","4x_foolhardy_Remacri.pth","8x_NMKD-Superscale_150000_G.pth","DAT_x2.pth","DAT_x3.pth","DAT_x4.pth","ESRGAN_4x.pth","RealESRGAN_x2plus.pth","RealESRGAN_x4plus.pth","RealESRGAN_x4plus_anime_6B.pth","SwinIR_4x.pth"]},"type":"combo","value":"2x-ESRGAN.pth"}]},"94":{"class_type":"ImageResize+","inputs":{"condition":"always","height":2048,"image":["92",0],"interpolation":"nearest-exact","method":"keep proportion","multiple_of":0,"width":2048},"_properties":{"Node name for S&R":"ImageResize+"},"_widgets":[{"name":"width","options":{"max":16384,"min":0,"precision":0,"round":1,"step":80},"type":"number","value":2048},{"name":"height","options":{"max":16384,"min":0,"precision":0,"round":1,"step":80},"type":"number","value":2048},{"name":"interpolation","options":{"values":["nearest","bilinear","bicubic","area","nearest-exact","lanczos"]},"type":"combo","value":"nearest-exact"},{"name":"method","options":{"values":["stretch","keep proportion","fill / crop","pad"]},"type":"combo","value":"keep proportion"},{"name":"condition","options":{"values":["always","downscale if bigger","upscale if smaller","if bigger area","if smaller area"]},"type":"combo","value":"always"},{"name":"multiple_of","options":{"max":512,"min":0,"precision":0,"round":1,"step":10},"type":"number","value":0}]}}

0
Load Image Face (Photo of face to be replaced, reference face)
image
https://7022ae40757f8d53295a57619de9b364.r2.cloudflarestorage.com/tensor-sf-sig/workspace/imagetoimage/771736122203071803/167dbb22-25de-4c2a-9bdf-2c278a2b4c5b.png
{"name":"image","type":"combo","options":{"values":[]},"value":""}
13
LoadImage
Load Image Output (Photo you want to change new face. Should use high quality photo from 1024px to 2048px. The created photo will be 2048px in size)
image
https://7022ae40757f8d53295a57619de9b364.r2.cloudflarestorage.com/tensor-sf-sig/workspace/imagetoimage/771736122203071803/f745a172-02fd-42da-8fcc-6b50b5f3bc08.png
{"name":"image","type":"combo","options":{"values":[]},"value":""}
118
LoadImage
Margin face (reduce less than 64 if the result is blurry face or surrounding hair)
margin
64
{"name":"margin","type":"number","value":64,"options":{"max":2048,"min":0,"step":10,"round":1,"precision":0}}
306
Crop Face
749786537214024756
WORKFLOW_TEMPLATE