From 7ffb3a0d014545742bd2a873807d5f0d016ad048 Mon Sep 17 00:00:00 2001 From: RyanOnTheInside <7623207+ryanontheinside@users.noreply.github.com> Date: Mon, 28 Apr 2025 08:35:45 -0400 Subject: [PATCH] hand tracking examples https://youtu.be/KgB8XlUoeVs --- examples/hand_tracking1/one-hand-api.json | 485 ++++ .../hand_tracking1/one-hand-workflow.json | 1754 ++++++++++++ examples/hand_tracking1/two-hands-api.json | 662 +++++ .../hand_tracking1/two-hands-workflow.json | 2444 +++++++++++++++++ 4 files changed, 5345 insertions(+) create mode 100644 examples/hand_tracking1/one-hand-api.json create mode 100644 examples/hand_tracking1/one-hand-workflow.json create mode 100644 examples/hand_tracking1/two-hands-api.json create mode 100644 examples/hand_tracking1/two-hands-workflow.json diff --git a/examples/hand_tracking1/one-hand-api.json b/examples/hand_tracking1/one-hand-api.json new file mode 100644 index 0000000..9d57ab0 --- /dev/null +++ b/examples/hand_tracking1/one-hand-api.json @@ -0,0 +1,485 @@ +{ + "1": { + "inputs": { + "backend": "inductor", + "fullgraph": false, + "mode": "reduce-overhead", + "controlnet": [ + "8", + 0 + ] + }, + "class_type": "TorchCompileLoadControlNet", + "_meta": { + "title": "TorchCompileLoadControlNet" + } + }, + "2": { + "inputs": { + "vae_name": "taesd" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "3": { + "inputs": { + "backend": "inductor", + "fullgraph": true, + "mode": "reduce-overhead", + "compile_encoder": true, + "compile_decoder": true, + "vae": [ + "2", + 0 + ] + }, + "class_type": "TorchCompileLoadVAE", + "_meta": { + "title": "TorchCompileLoadVAE" + } + }, + "4": { + "inputs": { + "samples": [ + "14", + 0 + ], + "vae": [ + "3", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "5": { + "inputs": { + "images": [ + "40", + 0 + ] + }, + "class_type": "PreviewImage", + "_meta": { + "title": "Preview Image" + } + }, + "6": { + "inputs": { + "width": 512, + "height": 512, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "8": { + "inputs": { + "control_net_name": "control_v11f1p_sd15_depth_fp16.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "10": { + "inputs": { + "engine": "depth_anything_vitl14-fp16.engine", + "images": [ + "21", + 0 + ] + }, + "class_type": "DepthAnythingTensorrt", + "_meta": { + "title": "Depth Anything Tensorrt" + } + }, + "11": { + "inputs": { + "clip_name": "CLIPText/model.fp16.safetensors", + "type": "stable_diffusion", + "device": "default" + }, + "class_type": "CLIPLoader", + "_meta": { + "title": "Load CLIP" + } + }, + "12": { + "inputs": { + "text": "beautiful pencil sketch, masterpiece, greyscale", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "13": { + "inputs": { + "text": "", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "14": { + "inputs": { + "seed": 245202513098312, + "steps": 2, + "cfg": 1, + "sampler_name": "lcm", + "scheduler": "normal", + "denoise": 1, + "model": [ + "23", + 0 + ], + "positive": [ + "16", + 0 + ], + "negative": [ + "16", + 1 + ], + "latent_image": [ + "6", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "16": { + "inputs": { + "strength": 0.7000000000000002, + "start_percent": 0, + "end_percent": 1, + "positive": [ + "24", + 0 + ], + "negative": [ + "13", + 0 + ], + "control_net": [ + "1", + 0 + ], + "image": [ + "10", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced", + "_meta": { + "title": "Apply ControlNet" + } + }, + "19": { + "inputs": { + "stop_at_clip_layer": -2, + "clip": [ + "11", + 0 + ] + }, + "class_type": "CLIPSetLastLayer", + "_meta": { + "title": "CLIP Set Last Layer" + } + }, + "21": { + "inputs": { + "image": "example-512x512.png" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Load Image" + } + }, + "22": { + "inputs": { + "unet_name": "static-dreamshaper8_SD15_$stat-b-1-h-512-w-512_00001_.engine", + "model_type": "SD15" + }, + "class_type": "TensorRTLoader", + "_meta": { + "title": "TensorRT Loader" + } + }, + "23": { + "inputs": { + "use_feature_injection": false, + "feature_injection_strength": 0.8000000000000002, + "feature_similarity_threshold": 0.9800000000000002, + "feature_cache_interval": 4, + "feature_bank_max_frames": 4, + "model": [ + "22", + 0 + ] + }, + "class_type": "FeatureBankAttentionProcessor", + "_meta": { + "title": "Feature Bank Attention Processor" + } + }, + "24": { + "inputs": { + "conditioning_to_strength": [ + "38", + 0 + ], + "conditioning_to": [ + "12", + 0 + ], + "conditioning_from": [ + "25", + 0 + ] + }, + "class_type": "ConditioningAverage", + "_meta": { + "title": "ConditioningAverage" + } + }, + "25": { + "inputs": { + "text": "paint abstract humanoid paint sculpture multicolored masterpiece", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "28": { + "inputs": { + "running_mode": "video", + "delegate": "cpu", + "max_results": 2, + "min_confidence": 0.5000000000000001, + "min_presence_confidence": 0.5000000000000001, + "min_tracking_confidence": 0.5000000000000001, + "image": [ + "21", + 0 + ], + "model_info": [ + "29", + 0 + ] + }, + "class_type": "MediaPipeHandLandmarkerNode", + "_meta": { + "title": "Media Pipe Hand Landmarker Node 🕒🅡🅣🅝" + } + }, + "29": { + "inputs": { + "model_variant": "default" + }, + "class_type": "MediaPipeHandLandmarkerModelLoaderNode", + "_meta": { + "title": "Media Pipe Hand Landmarker Model Loader Node 🕒🅡🅣🅝" + } + }, + "30": { + "inputs": { + "landmark_index": 4, + "result_index": 0, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "31": { + "inputs": { + "landmark_index": 8, + "result_index": 0, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "32": { + "inputs": { + "value": [ + "44", + 0 + ], + "input_min": 0.20000000000000004, + "input_max": 0.3500000000000001, + "output_min": 0, + "output_max": 1.0000000000000002, + "clamp": true + }, + "class_type": "RenormalizeFloat", + "_meta": { + "title": "Renormalize Float 🕒🅡🅣🅝" + } + }, + "34": { + "inputs": { + "output": "", + "source": [ + "44", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "35": { + "inputs": { + "output": "", + "source": [ + "32", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "38": { + "inputs": { + "value": [ + "32", + 0 + ], + "decimal_places": 2 + }, + "class_type": "RoundNode", + "_meta": { + "title": "Round Node 🕒🅡🅣🅝" + } + }, + "40": { + "inputs": { + "x1": [ + "30", + 0 + ], + "y1": [ + "30", + 1 + ], + "x2": [ + "31", + 0 + ], + "y2": [ + "31", + 1 + ], + "thickness": 2, + "color_hex": "#00FF00", + "is_normalized": true, + "batch_mapping": "broadcast", + "draw_endpoints": true, + "point_radius": 3, + "draw_label": true, + "label_text": [ + "41", + 0 + ], + "label_position": "Midpoint", + "font_scale": 0.5, + "image": [ + "4", + 0 + ] + }, + "class_type": "RTDrawLinesNode", + "_meta": { + "title": "Rt Draw Lines Node 🕒🅡🅣🅝" + } + }, + "41": { + "inputs": { + "format_string": "{}", + "prepend": "paint: ", + "append": "", + "any": [ + "38", + 0 + ] + }, + "class_type": "ToString", + "_meta": { + "title": "To String 🕒🅡🅣🅝" + } + }, + "44": { + "inputs": { + "x1": [ + "30", + 0 + ], + "y1": [ + "30", + 1 + ], + "z1": [ + "30", + 2 + ], + "x2": [ + "31", + 0 + ], + "y2": [ + "31", + 1 + ], + "z2": [ + "31", + 2 + ] + }, + "class_type": "CoordinateProximityNode", + "_meta": { + "title": "Coordinate Proximity Node 🕒🅡🅣🅝" + } + } +} \ No newline at end of file diff --git a/examples/hand_tracking1/one-hand-workflow.json b/examples/hand_tracking1/one-hand-workflow.json new file mode 100644 index 0000000..eb73dab --- /dev/null +++ b/examples/hand_tracking1/one-hand-workflow.json @@ -0,0 +1,1754 @@ +{ + "id": "00000000-0000-0000-0000-000000000000", + "revision": 0, + "last_node_id": 54, + "last_link_id": 132, + "nodes": [ + { + "id": 19, + "type": "CLIPSetLastLayer", + "pos": [ + 867.800048828125, + 650 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 60 + } + ], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 50, + 51, + 65 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPSetLastLayer" + }, + "widgets_values": [ + -2 + ] + }, + { + "id": 6, + "type": "EmptyLatentImage", + "pos": [ + 135.04940795898438, + 79.02685546875 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 55 + ] + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 35, + "type": "Display Any (rgthree)", + "pos": [ + 2921.89208984375, + 1661.1204833984375 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 78 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 13, + "type": "CLIPTextEncode", + "pos": [ + 2475.30810546875, + 321.7348937988281 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 51 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 57 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 23, + "type": "FeatureBankAttentionProcessor", + "pos": [ + 640.6536254882812, + -467.7774658203125 + ], + "size": [ + 403.1999816894531, + 154 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 61 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 52 + ] + } + ], + "properties": { + "Node name for S&R": "FeatureBankAttentionProcessor" + }, + "widgets_values": [ + false, + 0.8000000000000002, + 0.9800000000000002, + 4, + 4 + ] + }, + { + "id": 22, + "type": "TensorRTLoader", + "pos": [ + 132.08944702148438, + -468.782470703125 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 61 + ] + } + ], + "properties": { + "Node name for S&R": "TensorRTLoader" + }, + "widgets_values": [ + "static-dreamshaper8_SD15_$stat-b-1-h-512-w-512_00001_.engine", + "SD15" + ] + }, + { + "id": 2, + "type": "VAELoader", + "pos": [ + 147.4224395751953, + -196.42735290527344 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 45 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "taesd" + ] + }, + { + "id": 3, + "type": "TorchCompileLoadVAE", + "pos": [ + 646.0916748046875, + -199.7022705078125 + ], + "size": [ + 315, + 154 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "VAE", + "link": 45 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 47 + ] + } + ], + "properties": { + "Node name for S&R": "TorchCompileLoadVAE" + }, + "widgets_values": [ + "inductor", + true, + "reduce-overhead", + true, + true + ] + }, + { + "id": 11, + "type": "CLIPLoader", + "pos": [ + 109.81047821044922, + 665.1513061523438 + ], + "size": [ + 315, + 98 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 60 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "CLIPText/model.fp16.safetensors", + "stable_diffusion", + "default" + ] + }, + { + "id": 21, + "type": "LoadImage", + "pos": [ + 135.612060546875, + 949.022705078125 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 49, + 66 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example-512x512.png", + "image", + "" + ] + }, + { + "id": 29, + "type": "MediaPipeHandLandmarkerModelLoaderNode", + "pos": [ + 317.61602783203125, + 1415.4444580078125 + ], + "size": [ + 445.20001220703125, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model_info", + "type": "HAND_LANDMARKER_MODEL_INFO", + "links": [ + 67 + ] + } + ], + "properties": { + "Node name for S&R": "MediaPipeHandLandmarkerModelLoaderNode" + }, + "widgets_values": [ + "default" + ] + }, + { + "id": 30, + "type": "HandLandmarkPositionNode", + "pos": [ + 1517.9024658203125, + 1117.733642578125 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 68 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 80, + 97 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 81, + 98 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 99 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 4, + 0, + false + ] + }, + { + "id": 34, + "type": "Display Any (rgthree)", + "pos": [ + 2576.14013671875, + 1564.373046875 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 104 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 44, + "type": "CoordinateProximityNode", + "pos": [ + 2077.005126953125, + 1207.534423828125 + ], + "size": [ + 428.4000244140625, + 178 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": null + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 98 + }, + { + "name": "z1", + "type": "FLOAT", + "widget": { + "name": "z1" + }, + "link": 99 + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 100 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 101 + }, + { + "name": "z2", + "type": "FLOAT", + "widget": { + "name": "z2" + }, + "link": 102 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 97 + } + ], + "outputs": [ + { + "name": "distance", + "type": "FLOAT", + "links": [ + 103, + 104 + ] + } + ], + "properties": { + "Node name for S&R": "CoordinateProximityNode" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "id": 25, + "type": "CLIPTextEncode", + "pos": [ + 2466.44775390625, + -261.87677001953125 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 65 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 63, + 127 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "paint abstract humanoid paint sculpture multicolored masterpiece" + ] + }, + { + "id": 41, + "type": "ToString", + "pos": [ + 3452.4970703125, + 1416.63427734375 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "any", + "type": "*", + "link": 86 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 84 + ] + } + ], + "properties": { + "Node name for S&R": "ToString" + }, + "widgets_values": [ + "{}", + "paint: ", + "" + ] + }, + { + "id": 1, + "type": "TorchCompileLoadControlNet", + "pos": [ + 4371.38037109375, + 380.1637268066406 + ], + "size": [ + 327.5999755859375, + 106 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "controlnet", + "type": "CONTROL_NET", + "link": 44 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 58 + ] + } + ], + "properties": { + "Node name for S&R": "TorchCompileLoadControlNet" + }, + "widgets_values": [ + "inductor", + false, + "reduce-overhead" + ] + }, + { + "id": 8, + "type": "ControlNetLoader", + "pos": [ + 4306.9970703125, + 571.0620727539062 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 44 + ] + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11f1p_sd15_depth_fp16.safetensors" + ] + }, + { + "id": 10, + "type": "DepthAnythingTensorrt", + "pos": [ + 835.4834594726562, + 866.3729858398438 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 49 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 59 + ] + } + ], + "properties": { + "Node name for S&R": "DepthAnythingTensorrt" + }, + "widgets_values": [ + "depth_anything_vitl14-fp16.engine" + ] + }, + { + "id": 14, + "type": "KSampler", + "pos": [ + 5415.77392578125, + 227.34852600097656 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 52 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 53 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 54 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 55 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 46 + ] + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 245202513098312, + "randomize", + 2, + 1, + "lcm", + "normal", + 1 + ] + }, + { + "id": 31, + "type": "HandLandmarkPositionNode", + "pos": [ + 1550.7359619140625, + 1407.9090576171875 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 69 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 82, + 100 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 83, + 101 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 102 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 8, + 0, + false + ] + }, + { + "id": 28, + "type": "MediaPipeHandLandmarkerNode", + "pos": [ + 893.6428833007812, + 1311.845947265625 + ], + "size": [ + 504, + 198 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 66 + }, + { + "name": "model_info", + "type": "HAND_LANDMARKER_MODEL_INFO", + "link": 67 + } + ], + "outputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "links": [ + 68, + 69 + ] + }, + { + "name": "handedness", + "type": "HANDEDNESS_LIST", + "links": null + } + ], + "properties": { + "Node name for S&R": "MediaPipeHandLandmarkerNode" + }, + "widgets_values": [ + "video", + "cpu", + 2, + 0.5000000000000001, + 0.5000000000000001, + 0.5000000000000001 + ] + }, + { + "id": 38, + "type": "RoundNode", + "pos": [ + 3045.984130859375, + 1290.6689453125 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 79 + } + ], + "outputs": [ + { + "name": "rounded_value", + "type": "FLOAT", + "links": [ + 62, + 86 + ] + } + ], + "properties": { + "Node name for S&R": "RoundNode" + }, + "widgets_values": [ + 0, + 2 + ] + }, + { + "id": 32, + "type": "RenormalizeFloat", + "pos": [ + 2596.10595703125, + 1181.9354248046875 + ], + "size": [ + 327.5999755859375, + 178 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 103 + } + ], + "outputs": [ + { + "name": "renormalized", + "type": "FLOAT", + "links": [ + 78, + 79 + ] + } + ], + "properties": { + "Node name for S&R": "RenormalizeFloat" + }, + "widgets_values": [ + 0.5, + 0.20000000000000004, + 0.3500000000000001, + 0, + 1.0000000000000002, + true + ] + }, + { + "id": 24, + "type": "ConditioningAverage", + "pos": [ + 3281.85791015625, + -31.42570686340332 + ], + "size": [ + 380.4000244140625, + 78 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "conditioning_to", + "type": "CONDITIONING", + "link": 128 + }, + { + "name": "conditioning_from", + "type": "CONDITIONING", + "link": 127 + }, + { + "name": "conditioning_to_strength", + "type": "FLOAT", + "widget": { + "name": "conditioning_to_strength" + }, + "link": 62 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 56 + ] + } + ], + "properties": { + "Node name for S&R": "ConditioningAverage" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 12, + "type": "CLIPTextEncode", + "pos": [ + 2470.72802734375, + 26.743772506713867 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 50 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 128 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful pencil sketch, masterpiece, greyscale" + ] + }, + { + "id": 16, + "type": "ControlNetApplyAdvanced", + "pos": [ + 4796.63671875, + 334.20263671875 + ], + "size": [ + 315, + 186 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 56 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 57 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 58 + }, + { + "name": "image", + "type": "IMAGE", + "link": 59 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 53 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 54 + ] + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.7000000000000002, + 0, + 1 + ] + }, + { + "id": 4, + "type": "VAEDecode", + "pos": [ + 5985.98779296875, + 327.9513244628906 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 46 + }, + { + "name": "vae", + "type": "VAE", + "link": 47 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 85 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 40, + "type": "RTDrawLinesNode", + "pos": [ + 6484.01318359375, + 1207.9716796875 + ], + "size": [ + 340.20001220703125, + 370 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 85 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 80 + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 81 + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 82 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 83 + }, + { + "name": "label_text", + "shape": 7, + "type": "STRING", + "widget": { + "name": "label_text" + }, + "link": 84 + } + ], + "outputs": [ + { + "name": "image_out", + "type": "IMAGE", + "links": [ + 132 + ] + } + ], + "properties": { + "Node name for S&R": "RTDrawLinesNode" + }, + "widgets_values": [ + 0.25, + 0.25, + 0.75, + 0.75, + 2, + "#00FF00", + true, + "broadcast", + true, + 3, + true, + "Line", + "Midpoint", + 0.5 + ] + }, + { + "id": 5, + "type": "PreviewImage", + "pos": [ + 7649.77880859375, + 1321.267578125 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 132 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [ + "" + ] + } + ], + "links": [ + [ + 44, + 8, + 0, + 1, + 0, + "CONTROL_NET" + ], + [ + 45, + 2, + 0, + 3, + 0, + "VAE" + ], + [ + 46, + 14, + 0, + 4, + 0, + "LATENT" + ], + [ + 47, + 3, + 0, + 4, + 1, + "VAE" + ], + [ + 49, + 21, + 0, + 10, + 0, + "IMAGE" + ], + [ + 50, + 19, + 0, + 12, + 0, + "CLIP" + ], + [ + 51, + 19, + 0, + 13, + 0, + "CLIP" + ], + [ + 52, + 23, + 0, + 14, + 0, + "MODEL" + ], + [ + 53, + 16, + 0, + 14, + 1, + "CONDITIONING" + ], + [ + 54, + 16, + 1, + 14, + 2, + "CONDITIONING" + ], + [ + 55, + 6, + 0, + 14, + 3, + "LATENT" + ], + [ + 56, + 24, + 0, + 16, + 0, + "CONDITIONING" + ], + [ + 57, + 13, + 0, + 16, + 1, + "CONDITIONING" + ], + [ + 58, + 1, + 0, + 16, + 2, + "CONTROL_NET" + ], + [ + 59, + 10, + 0, + 16, + 3, + "IMAGE" + ], + [ + 60, + 11, + 0, + 19, + 0, + "CLIP" + ], + [ + 61, + 22, + 0, + 23, + 0, + "MODEL" + ], + [ + 62, + 38, + 0, + 24, + 2, + "FLOAT" + ], + [ + 65, + 19, + 0, + 25, + 0, + "CLIP" + ], + [ + 66, + 21, + 0, + 28, + 0, + "IMAGE" + ], + [ + 67, + 29, + 0, + 28, + 1, + "HAND_LANDMARKER_MODEL_INFO" + ], + [ + 68, + 28, + 0, + 30, + 0, + "HAND_LANDMARKS" + ], + [ + 69, + 28, + 0, + 31, + 0, + "HAND_LANDMARKS" + ], + [ + 78, + 32, + 0, + 35, + 0, + "*" + ], + [ + 79, + 32, + 0, + 38, + 0, + "FLOAT" + ], + [ + 80, + 30, + 0, + 40, + 1, + "FLOAT" + ], + [ + 81, + 30, + 1, + 40, + 2, + "FLOAT" + ], + [ + 82, + 31, + 0, + 40, + 3, + "FLOAT" + ], + [ + 83, + 31, + 1, + 40, + 4, + "FLOAT" + ], + [ + 84, + 41, + 0, + 40, + 5, + "STRING" + ], + [ + 85, + 4, + 0, + 40, + 0, + "IMAGE" + ], + [ + 86, + 38, + 0, + 41, + 0, + "*" + ], + [ + 97, + 30, + 0, + 44, + 6, + "FLOAT" + ], + [ + 98, + 30, + 1, + 44, + 1, + "FLOAT" + ], + [ + 99, + 30, + 2, + 44, + 2, + "FLOAT" + ], + [ + 100, + 31, + 0, + 44, + 3, + "FLOAT" + ], + [ + 101, + 31, + 1, + 44, + 4, + "FLOAT" + ], + [ + 102, + 31, + 2, + 44, + 5, + "FLOAT" + ], + [ + 103, + 44, + 0, + 32, + 0, + "FLOAT" + ], + [ + 104, + 44, + 0, + 34, + 0, + "*" + ], + [ + 127, + 25, + 0, + 24, + 1, + "CONDITIONING" + ], + [ + 128, + 12, + 0, + 24, + 0, + "CONDITIONING" + ], + [ + 132, + 40, + 0, + 5, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "id": 1, + "title": "Hand Tracking", + "bounding": [ + 856.4967651367188, + 1022.9521484375, + 2974.574462890625, + 770.6577758789062 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "Prompts", + "bounding": [ + 2368.851806640625, + -348.8624572753906, + 1398.2921142578125, + 1049.4388427734375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "Controlnet", + "bounding": [ + 4261.96484375, + 203.65249633789062, + 938.6217041015625, + 561.0648193359375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.5054470284993025, + "offset": [ + -3275.7917109656364, + -138.98993406396016 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/hand_tracking1/two-hands-api.json b/examples/hand_tracking1/two-hands-api.json new file mode 100644 index 0000000..bbd8856 --- /dev/null +++ b/examples/hand_tracking1/two-hands-api.json @@ -0,0 +1,662 @@ +{ + "1": { + "inputs": { + "backend": "inductor", + "fullgraph": false, + "mode": "reduce-overhead", + "controlnet": [ + "8", + 0 + ] + }, + "class_type": "TorchCompileLoadControlNet", + "_meta": { + "title": "TorchCompileLoadControlNet" + } + }, + "2": { + "inputs": { + "vae_name": "taesd" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "3": { + "inputs": { + "backend": "inductor", + "fullgraph": true, + "mode": "reduce-overhead", + "compile_encoder": true, + "compile_decoder": true, + "vae": [ + "2", + 0 + ] + }, + "class_type": "TorchCompileLoadVAE", + "_meta": { + "title": "TorchCompileLoadVAE" + } + }, + "4": { + "inputs": { + "samples": [ + "14", + 0 + ], + "vae": [ + "3", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "5": { + "inputs": { + "images": [ + "53", + 0 + ] + }, + "class_type": "PreviewImage", + "_meta": { + "title": "Preview Image" + } + }, + "6": { + "inputs": { + "width": 512, + "height": 512, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "8": { + "inputs": { + "control_net_name": "control_v11f1p_sd15_depth_fp16.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "10": { + "inputs": { + "engine": "depth_anything_vitl14-fp16.engine", + "images": [ + "21", + 0 + ] + }, + "class_type": "DepthAnythingTensorrt", + "_meta": { + "title": "Depth Anything Tensorrt" + } + }, + "11": { + "inputs": { + "clip_name": "CLIPText/model.fp16.safetensors", + "type": "stable_diffusion", + "device": "default" + }, + "class_type": "CLIPLoader", + "_meta": { + "title": "Load CLIP" + } + }, + "12": { + "inputs": { + "text": "beautiful pencil sketch, masterpiece, greyscale", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "13": { + "inputs": { + "text": "", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "14": { + "inputs": { + "seed": 245202513098312, + "steps": 2, + "cfg": 1, + "sampler_name": "lcm", + "scheduler": "normal", + "denoise": 1, + "model": [ + "23", + 0 + ], + "positive": [ + "16", + 0 + ], + "negative": [ + "16", + 1 + ], + "latent_image": [ + "6", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "16": { + "inputs": { + "strength": [ + "51", + 0 + ], + "start_percent": 0, + "end_percent": 1, + "positive": [ + "24", + 0 + ], + "negative": [ + "13", + 0 + ], + "control_net": [ + "1", + 0 + ], + "image": [ + "10", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced", + "_meta": { + "title": "Apply ControlNet" + } + }, + "19": { + "inputs": { + "stop_at_clip_layer": -2, + "clip": [ + "11", + 0 + ] + }, + "class_type": "CLIPSetLastLayer", + "_meta": { + "title": "CLIP Set Last Layer" + } + }, + "21": { + "inputs": { + "image": "example-512x512.png" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Load Image" + } + }, + "22": { + "inputs": { + "unet_name": "static-dreamshaper8_SD15_$stat-b-1-h-512-w-512_00001_.engine", + "model_type": "SD15" + }, + "class_type": "TensorRTLoader", + "_meta": { + "title": "TensorRT Loader" + } + }, + "23": { + "inputs": { + "use_feature_injection": false, + "feature_injection_strength": 0.8000000000000002, + "feature_similarity_threshold": 0.9800000000000002, + "feature_cache_interval": 4, + "feature_bank_max_frames": 4, + "model": [ + "22", + 0 + ] + }, + "class_type": "FeatureBankAttentionProcessor", + "_meta": { + "title": "Feature Bank Attention Processor" + } + }, + "24": { + "inputs": { + "conditioning_to_strength": [ + "38", + 0 + ], + "conditioning_to": [ + "12", + 0 + ], + "conditioning_from": [ + "25", + 0 + ] + }, + "class_type": "ConditioningAverage", + "_meta": { + "title": "ConditioningAverage" + } + }, + "25": { + "inputs": { + "text": "paint abstract humanoid paint sculpture multicolored masterpiece", + "clip": [ + "19", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "28": { + "inputs": { + "running_mode": "video", + "delegate": "cpu", + "max_results": 2, + "min_confidence": 0.5000000000000001, + "min_presence_confidence": 0.5000000000000001, + "min_tracking_confidence": 0.5000000000000001, + "image": [ + "21", + 0 + ], + "model_info": [ + "29", + 0 + ] + }, + "class_type": "MediaPipeHandLandmarkerNode", + "_meta": { + "title": "Media Pipe Hand Landmarker Node 🕒🅡🅣🅝" + } + }, + "29": { + "inputs": { + "model_variant": "default" + }, + "class_type": "MediaPipeHandLandmarkerModelLoaderNode", + "_meta": { + "title": "Media Pipe Hand Landmarker Model Loader Node 🕒🅡🅣🅝" + } + }, + "30": { + "inputs": { + "landmark_index": 4, + "result_index": 0, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "31": { + "inputs": { + "landmark_index": 8, + "result_index": 0, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "32": { + "inputs": { + "value": [ + "44", + 0 + ], + "input_min": 0.20000000000000004, + "input_max": 0.3500000000000001, + "output_min": 0, + "output_max": 1.0000000000000002, + "clamp": true + }, + "class_type": "RenormalizeFloat", + "_meta": { + "title": "Renormalize Float 🕒🅡🅣🅝" + } + }, + "34": { + "inputs": { + "output": "", + "source": [ + "44", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "35": { + "inputs": { + "output": "", + "source": [ + "32", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "38": { + "inputs": { + "value": [ + "32", + 0 + ], + "decimal_places": 2 + }, + "class_type": "RoundNode", + "_meta": { + "title": "Round Node 🕒🅡🅣🅝" + } + }, + "40": { + "inputs": { + "x1": [ + "30", + 0 + ], + "y1": [ + "30", + 1 + ], + "x2": [ + "31", + 0 + ], + "y2": [ + "31", + 1 + ], + "thickness": 2, + "color_hex": "#00FF00", + "is_normalized": true, + "batch_mapping": "broadcast", + "draw_endpoints": true, + "point_radius": 3, + "draw_label": true, + "label_text": [ + "41", + 0 + ], + "label_position": "Midpoint", + "font_scale": 0.5, + "image": [ + "4", + 0 + ] + }, + "class_type": "RTDrawLinesNode", + "_meta": { + "title": "Rt Draw Lines Node 🕒🅡🅣🅝" + } + }, + "41": { + "inputs": { + "format_string": "{}", + "prepend": "paint: ", + "append": "", + "any": [ + "38", + 0 + ] + }, + "class_type": "ToString", + "_meta": { + "title": "To String 🕒🅡🅣🅝" + } + }, + "44": { + "inputs": { + "x1": [ + "30", + 0 + ], + "y1": [ + "30", + 1 + ], + "z1": [ + "30", + 2 + ], + "x2": [ + "31", + 0 + ], + "y2": [ + "31", + 1 + ], + "z2": [ + "31", + 2 + ] + }, + "class_type": "CoordinateProximityNode", + "_meta": { + "title": "Coordinate Proximity Node 🕒🅡🅣🅝" + } + }, + "45": { + "inputs": { + "landmark_index": 8, + "result_index": 1, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "46": { + "inputs": { + "output": "", + "source": [ + "48", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "47": { + "inputs": { + "landmark_index": 4, + "result_index": 1, + "use_world_coordinates": false, + "landmarks": [ + "28", + 0 + ] + }, + "class_type": "HandLandmarkPositionNode", + "_meta": { + "title": "Hand Landmark Position Node 🕒🅡🅣🅝" + } + }, + "48": { + "inputs": { + "value": [ + "50", + 0 + ], + "input_min": 0.20000000000000004, + "input_max": 0.3500000000000001, + "output_min": 0.15000000000000002, + "output_max": 1.0000000000000002, + "clamp": true + }, + "class_type": "RenormalizeFloat", + "_meta": { + "title": "Renormalize Float 🕒🅡🅣🅝" + } + }, + "49": { + "inputs": { + "output": "", + "source": [ + "50", + 0 + ] + }, + "class_type": "Display Any (rgthree)", + "_meta": { + "title": "Display Any (rgthree)" + } + }, + "50": { + "inputs": { + "x1": [ + "47", + 0 + ], + "y1": [ + "47", + 1 + ], + "z1": [ + "47", + 2 + ], + "x2": [ + "45", + 0 + ], + "y2": [ + "45", + 1 + ], + "z2": [ + "45", + 2 + ] + }, + "class_type": "CoordinateProximityNode", + "_meta": { + "title": "Coordinate Proximity Node 🕒🅡🅣🅝" + } + }, + "51": { + "inputs": { + "value": [ + "48", + 0 + ], + "decimal_places": 2 + }, + "class_type": "RoundNode", + "_meta": { + "title": "Round Node 🕒🅡🅣🅝" + } + }, + "52": { + "inputs": { + "format_string": "{}", + "prepend": "dream: ", + "append": "", + "any": [ + "51", + 0 + ] + }, + "class_type": "ToString", + "_meta": { + "title": "To String 🕒🅡🅣🅝" + } + }, + "53": { + "inputs": { + "x1": [ + "47", + 0 + ], + "y1": [ + "47", + 1 + ], + "x2": [ + "45", + 0 + ], + "y2": [ + "45", + 1 + ], + "thickness": 2, + "color_hex": "#00FF00", + "is_normalized": true, + "batch_mapping": "broadcast", + "draw_endpoints": true, + "point_radius": 3, + "draw_label": true, + "label_text": [ + "52", + 0 + ], + "label_position": "Midpoint", + "font_scale": 0.5, + "image": [ + "40", + 0 + ] + }, + "class_type": "RTDrawLinesNode", + "_meta": { + "title": "Rt Draw Lines Node 🕒🅡🅣🅝" + } + } +} \ No newline at end of file diff --git a/examples/hand_tracking1/two-hands-workflow.json b/examples/hand_tracking1/two-hands-workflow.json new file mode 100644 index 0000000..d8d6e2a --- /dev/null +++ b/examples/hand_tracking1/two-hands-workflow.json @@ -0,0 +1,2444 @@ +{ + "id": "00000000-0000-0000-0000-000000000000", + "revision": 0, + "last_node_id": 54, + "last_link_id": 129, + "nodes": [ + { + "id": 19, + "type": "CLIPSetLastLayer", + "pos": [ + 867.800048828125, + 650 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 60 + } + ], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 50, + 51, + 65 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPSetLastLayer" + }, + "widgets_values": [ + -2 + ] + }, + { + "id": 6, + "type": "EmptyLatentImage", + "pos": [ + 135.04940795898438, + 79.02685546875 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 55 + ] + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 35, + "type": "Display Any (rgthree)", + "pos": [ + 2921.89208984375, + 1661.1204833984375 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 78 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 13, + "type": "CLIPTextEncode", + "pos": [ + 2475.30810546875, + 321.7348937988281 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 51 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 57 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 23, + "type": "FeatureBankAttentionProcessor", + "pos": [ + 640.6536254882812, + -467.7774658203125 + ], + "size": [ + 403.1999816894531, + 154 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 61 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 52 + ] + } + ], + "properties": { + "Node name for S&R": "FeatureBankAttentionProcessor" + }, + "widgets_values": [ + false, + 0.8000000000000002, + 0.9800000000000002, + 4, + 4 + ] + }, + { + "id": 22, + "type": "TensorRTLoader", + "pos": [ + 132.08944702148438, + -468.782470703125 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 61 + ] + } + ], + "properties": { + "Node name for S&R": "TensorRTLoader" + }, + "widgets_values": [ + "static-dreamshaper8_SD15_$stat-b-1-h-512-w-512_00001_.engine", + "SD15" + ] + }, + { + "id": 2, + "type": "VAELoader", + "pos": [ + 147.4224395751953, + -196.42735290527344 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 45 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "taesd" + ] + }, + { + "id": 3, + "type": "TorchCompileLoadVAE", + "pos": [ + 646.0916748046875, + -199.7022705078125 + ], + "size": [ + 315, + 154 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "VAE", + "link": 45 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 47 + ] + } + ], + "properties": { + "Node name for S&R": "TorchCompileLoadVAE" + }, + "widgets_values": [ + "inductor", + true, + "reduce-overhead", + true, + true + ] + }, + { + "id": 11, + "type": "CLIPLoader", + "pos": [ + 109.81047821044922, + 665.1513061523438 + ], + "size": [ + 315, + 98 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 60 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "CLIPText/model.fp16.safetensors", + "stable_diffusion", + "default" + ] + }, + { + "id": 21, + "type": "LoadImage", + "pos": [ + 135.612060546875, + 949.022705078125 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 49, + 66 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example-512x512.png", + "image", + "" + ] + }, + { + "id": 29, + "type": "MediaPipeHandLandmarkerModelLoaderNode", + "pos": [ + 317.61602783203125, + 1415.4444580078125 + ], + "size": [ + 445.20001220703125, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model_info", + "type": "HAND_LANDMARKER_MODEL_INFO", + "links": [ + 67 + ] + } + ], + "properties": { + "Node name for S&R": "MediaPipeHandLandmarkerModelLoaderNode" + }, + "widgets_values": [ + "default" + ] + }, + { + "id": 30, + "type": "HandLandmarkPositionNode", + "pos": [ + 1517.9024658203125, + 1117.733642578125 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 68 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 80, + 97 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 81, + 98 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 99 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 4, + 0, + false + ] + }, + { + "id": 34, + "type": "Display Any (rgthree)", + "pos": [ + 2576.14013671875, + 1564.373046875 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 104 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 44, + "type": "CoordinateProximityNode", + "pos": [ + 2077.005126953125, + 1207.534423828125 + ], + "size": [ + 428.4000244140625, + 178 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": null + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 98 + }, + { + "name": "z1", + "type": "FLOAT", + "widget": { + "name": "z1" + }, + "link": 99 + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 100 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 101 + }, + { + "name": "z2", + "type": "FLOAT", + "widget": { + "name": "z2" + }, + "link": 102 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 97 + } + ], + "outputs": [ + { + "name": "distance", + "type": "FLOAT", + "links": [ + 103, + 104 + ] + } + ], + "properties": { + "Node name for S&R": "CoordinateProximityNode" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "id": 25, + "type": "CLIPTextEncode", + "pos": [ + 2466.44775390625, + -261.87677001953125 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 65 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 63, + 127 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "paint abstract humanoid paint sculpture multicolored masterpiece" + ] + }, + { + "id": 41, + "type": "ToString", + "pos": [ + 3452.4970703125, + 1416.63427734375 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "any", + "type": "*", + "link": 86 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 84 + ] + } + ], + "properties": { + "Node name for S&R": "ToString" + }, + "widgets_values": [ + "{}", + "paint: ", + "" + ] + }, + { + "id": 1, + "type": "TorchCompileLoadControlNet", + "pos": [ + 4371.38037109375, + 380.1637268066406 + ], + "size": [ + 327.5999755859375, + 106 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "controlnet", + "type": "CONTROL_NET", + "link": 44 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 58 + ] + } + ], + "properties": { + "Node name for S&R": "TorchCompileLoadControlNet" + }, + "widgets_values": [ + "inductor", + false, + "reduce-overhead" + ] + }, + { + "id": 8, + "type": "ControlNetLoader", + "pos": [ + 4306.9970703125, + 571.0620727539062 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 44 + ] + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11f1p_sd15_depth_fp16.safetensors" + ] + }, + { + "id": 10, + "type": "DepthAnythingTensorrt", + "pos": [ + 835.4834594726562, + 866.3729858398438 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 49 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 59 + ] + } + ], + "properties": { + "Node name for S&R": "DepthAnythingTensorrt" + }, + "widgets_values": [ + "depth_anything_vitl14-fp16.engine" + ] + }, + { + "id": 14, + "type": "KSampler", + "pos": [ + 5415.77392578125, + 227.34852600097656 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 52 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 53 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 54 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 55 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 46 + ] + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 245202513098312, + "randomize", + 2, + 1, + "lcm", + "normal", + 1 + ] + }, + { + "id": 31, + "type": "HandLandmarkPositionNode", + "pos": [ + 1550.7359619140625, + 1407.9090576171875 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 69 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 82, + 100 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 83, + 101 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 102 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 8, + 0, + false + ] + }, + { + "id": 46, + "type": "Display Any (rgthree)", + "pos": [ + 2950, + 2390 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 105 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 49, + "type": "Display Any (rgthree)", + "pos": [ + 2610, + 2300 + ], + "size": [ + 264.5999755859375, + 88 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "source", + "type": "*", + "link": 107 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Display Any (rgthree)" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 50, + "type": "CoordinateProximityNode", + "pos": [ + 2110, + 1940 + ], + "size": [ + 428.4000244140625, + 178 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": null + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 108 + }, + { + "name": "z1", + "type": "FLOAT", + "widget": { + "name": "z1" + }, + "link": 109 + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 110 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 111 + }, + { + "name": "z2", + "type": "FLOAT", + "widget": { + "name": "z2" + }, + "link": 112 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 113 + } + ], + "outputs": [ + { + "name": "distance", + "type": "FLOAT", + "links": [ + 106, + 107 + ] + } + ], + "properties": { + "Node name for S&R": "CoordinateProximityNode" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "id": 28, + "type": "MediaPipeHandLandmarkerNode", + "pos": [ + 893.6428833007812, + 1311.845947265625 + ], + "size": [ + 504, + 198 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 66 + }, + { + "name": "model_info", + "type": "HAND_LANDMARKER_MODEL_INFO", + "link": 67 + } + ], + "outputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "links": [ + 68, + 69, + 116, + 117 + ] + }, + { + "name": "handedness", + "type": "HANDEDNESS_LIST", + "links": null + } + ], + "properties": { + "Node name for S&R": "MediaPipeHandLandmarkerNode" + }, + "widgets_values": [ + "video", + "cpu", + 2, + 0.5000000000000001, + 0.5000000000000001, + 0.5000000000000001 + ] + }, + { + "id": 38, + "type": "RoundNode", + "pos": [ + 3045.984130859375, + 1290.6689453125 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 79 + } + ], + "outputs": [ + { + "name": "rounded_value", + "type": "FLOAT", + "links": [ + 62, + 86 + ] + } + ], + "properties": { + "Node name for S&R": "RoundNode" + }, + "widgets_values": [ + 0, + 2 + ] + }, + { + "id": 52, + "type": "ToString", + "pos": [ + 3480, + 2150 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "any", + "type": "*", + "link": 115 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 121 + ] + } + ], + "properties": { + "Node name for S&R": "ToString" + }, + "widgets_values": [ + "{}", + "dream: ", + "" + ] + }, + { + "id": 47, + "type": "HandLandmarkPositionNode", + "pos": [ + 1550, + 1850 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 116 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 113, + 122 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 108, + 123 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 109 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 4, + 1, + false + ] + }, + { + "id": 45, + "type": "HandLandmarkPositionNode", + "pos": [ + 1580, + 2140 + ], + "size": [ + 453.5999755859375, + 206 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "landmarks", + "type": "HAND_LANDMARKS", + "link": 117 + } + ], + "outputs": [ + { + "name": "x", + "type": "FLOAT", + "links": [ + 110, + 124 + ] + }, + { + "name": "y", + "type": "FLOAT", + "links": [ + 111, + 125 + ] + }, + { + "name": "z", + "type": "FLOAT", + "links": [ + 112 + ] + }, + { + "name": "visibility", + "type": "FLOAT", + "links": null + }, + { + "name": "presence", + "type": "FLOAT", + "links": null + }, + { + "name": "is_valid", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "Node name for S&R": "HandLandmarkPositionNode" + }, + "widgets_values": [ + 8, + 1, + false + ] + }, + { + "id": 51, + "type": "RoundNode", + "pos": [ + 3088.175537109375, + 1867.9375 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 114 + } + ], + "outputs": [ + { + "name": "rounded_value", + "type": "FLOAT", + "links": [ + 115, + 126 + ] + } + ], + "properties": { + "Node name for S&R": "RoundNode" + }, + "widgets_values": [ + 0, + 2 + ] + }, + { + "id": 32, + "type": "RenormalizeFloat", + "pos": [ + 2596.10595703125, + 1181.9354248046875 + ], + "size": [ + 327.5999755859375, + 178 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 103 + } + ], + "outputs": [ + { + "name": "renormalized", + "type": "FLOAT", + "links": [ + 78, + 79 + ] + } + ], + "properties": { + "Node name for S&R": "RenormalizeFloat" + }, + "widgets_values": [ + 0.5, + 0.20000000000000004, + 0.3500000000000001, + 0, + 1.0000000000000002, + true + ] + }, + { + "id": 24, + "type": "ConditioningAverage", + "pos": [ + 3281.85791015625, + -31.42570686340332 + ], + "size": [ + 380.4000244140625, + 78 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "conditioning_to", + "type": "CONDITIONING", + "link": 128 + }, + { + "name": "conditioning_from", + "type": "CONDITIONING", + "link": 127 + }, + { + "name": "conditioning_to_strength", + "type": "FLOAT", + "widget": { + "name": "conditioning_to_strength" + }, + "link": 62 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 56 + ] + } + ], + "properties": { + "Node name for S&R": "ConditioningAverage" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 12, + "type": "CLIPTextEncode", + "pos": [ + 2470.72802734375, + 26.743772506713867 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 50 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 128 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful pencil sketch, masterpiece, greyscale" + ] + }, + { + "id": 48, + "type": "RenormalizeFloat", + "pos": [ + 2666.854248046875, + 1929.827880859375 + ], + "size": [ + 327.5999755859375, + 178 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "FLOAT", + "widget": { + "name": "value" + }, + "link": 106 + } + ], + "outputs": [ + { + "name": "renormalized", + "type": "FLOAT", + "links": [ + 105, + 114 + ] + } + ], + "properties": { + "Node name for S&R": "RenormalizeFloat" + }, + "widgets_values": [ + 0.5, + 0.20000000000000004, + 0.3500000000000001, + 0.15000000000000002, + 1.0000000000000002, + true + ] + }, + { + "id": 16, + "type": "ControlNetApplyAdvanced", + "pos": [ + 4796.63671875, + 334.20263671875 + ], + "size": [ + 315, + 186 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 56 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 57 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 58 + }, + { + "name": "image", + "type": "IMAGE", + "link": 59 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + }, + { + "name": "strength", + "type": "FLOAT", + "widget": { + "name": "strength" + }, + "link": 126 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 53 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 54 + ] + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.7000000000000002, + 0, + 1 + ] + }, + { + "id": 4, + "type": "VAEDecode", + "pos": [ + 5985.98779296875, + 327.9513244628906 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 46 + }, + { + "name": "vae", + "type": "VAE", + "link": 47 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 85 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 40, + "type": "RTDrawLinesNode", + "pos": [ + 6484.01318359375, + 1207.9716796875 + ], + "size": [ + 340.20001220703125, + 370 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 85 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 80 + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 81 + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 82 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 83 + }, + { + "name": "label_text", + "shape": 7, + "type": "STRING", + "widget": { + "name": "label_text" + }, + "link": 84 + } + ], + "outputs": [ + { + "name": "image_out", + "type": "IMAGE", + "links": [ + 119 + ] + } + ], + "properties": { + "Node name for S&R": "RTDrawLinesNode" + }, + "widgets_values": [ + 0.25, + 0.25, + 0.75, + 0.75, + 2, + "#00FF00", + true, + "broadcast", + true, + 3, + true, + "Line", + "Midpoint", + 0.5 + ] + }, + { + "id": 5, + "type": "PreviewImage", + "pos": [ + 7649.77880859375, + 1321.267578125 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 120 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 53, + "type": "RTDrawLinesNode", + "pos": [ + 6866.26416015625, + 2026.8919677734375 + ], + "size": [ + 340.20001220703125, + 370 + ], + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 119 + }, + { + "name": "x1", + "type": "FLOAT", + "widget": { + "name": "x1" + }, + "link": 122 + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": null + }, + { + "name": "x2", + "type": "FLOAT", + "widget": { + "name": "x2" + }, + "link": 124 + }, + { + "name": "y2", + "type": "FLOAT", + "widget": { + "name": "y2" + }, + "link": 125 + }, + { + "name": "label_text", + "shape": 7, + "type": "STRING", + "widget": { + "name": "label_text" + }, + "link": 121 + }, + { + "name": "y1", + "type": "FLOAT", + "widget": { + "name": "y1" + }, + "link": 123 + } + ], + "outputs": [ + { + "name": "image_out", + "type": "IMAGE", + "links": [ + 120 + ] + } + ], + "properties": { + "Node name for S&R": "RTDrawLinesNode" + }, + "widgets_values": [ + 0.25, + 0.25, + 0.75, + 0.75, + 2, + "#00FF00", + true, + "broadcast", + true, + 3, + true, + "Line", + "Midpoint", + 0.5 + ] + } + ], + "links": [ + [ + 44, + 8, + 0, + 1, + 0, + "CONTROL_NET" + ], + [ + 45, + 2, + 0, + 3, + 0, + "VAE" + ], + [ + 46, + 14, + 0, + 4, + 0, + "LATENT" + ], + [ + 47, + 3, + 0, + 4, + 1, + "VAE" + ], + [ + 49, + 21, + 0, + 10, + 0, + "IMAGE" + ], + [ + 50, + 19, + 0, + 12, + 0, + "CLIP" + ], + [ + 51, + 19, + 0, + 13, + 0, + "CLIP" + ], + [ + 52, + 23, + 0, + 14, + 0, + "MODEL" + ], + [ + 53, + 16, + 0, + 14, + 1, + "CONDITIONING" + ], + [ + 54, + 16, + 1, + 14, + 2, + "CONDITIONING" + ], + [ + 55, + 6, + 0, + 14, + 3, + "LATENT" + ], + [ + 56, + 24, + 0, + 16, + 0, + "CONDITIONING" + ], + [ + 57, + 13, + 0, + 16, + 1, + "CONDITIONING" + ], + [ + 58, + 1, + 0, + 16, + 2, + "CONTROL_NET" + ], + [ + 59, + 10, + 0, + 16, + 3, + "IMAGE" + ], + [ + 60, + 11, + 0, + 19, + 0, + "CLIP" + ], + [ + 61, + 22, + 0, + 23, + 0, + "MODEL" + ], + [ + 62, + 38, + 0, + 24, + 2, + "FLOAT" + ], + [ + 65, + 19, + 0, + 25, + 0, + "CLIP" + ], + [ + 66, + 21, + 0, + 28, + 0, + "IMAGE" + ], + [ + 67, + 29, + 0, + 28, + 1, + "HAND_LANDMARKER_MODEL_INFO" + ], + [ + 68, + 28, + 0, + 30, + 0, + "HAND_LANDMARKS" + ], + [ + 69, + 28, + 0, + 31, + 0, + "HAND_LANDMARKS" + ], + [ + 78, + 32, + 0, + 35, + 0, + "*" + ], + [ + 79, + 32, + 0, + 38, + 0, + "FLOAT" + ], + [ + 80, + 30, + 0, + 40, + 1, + "FLOAT" + ], + [ + 81, + 30, + 1, + 40, + 2, + "FLOAT" + ], + [ + 82, + 31, + 0, + 40, + 3, + "FLOAT" + ], + [ + 83, + 31, + 1, + 40, + 4, + "FLOAT" + ], + [ + 84, + 41, + 0, + 40, + 5, + "STRING" + ], + [ + 85, + 4, + 0, + 40, + 0, + "IMAGE" + ], + [ + 86, + 38, + 0, + 41, + 0, + "*" + ], + [ + 97, + 30, + 0, + 44, + 6, + "FLOAT" + ], + [ + 98, + 30, + 1, + 44, + 1, + "FLOAT" + ], + [ + 99, + 30, + 2, + 44, + 2, + "FLOAT" + ], + [ + 100, + 31, + 0, + 44, + 3, + "FLOAT" + ], + [ + 101, + 31, + 1, + 44, + 4, + "FLOAT" + ], + [ + 102, + 31, + 2, + 44, + 5, + "FLOAT" + ], + [ + 103, + 44, + 0, + 32, + 0, + "FLOAT" + ], + [ + 104, + 44, + 0, + 34, + 0, + "*" + ], + [ + 105, + 48, + 0, + 46, + 0, + "*" + ], + [ + 106, + 50, + 0, + 48, + 0, + "FLOAT" + ], + [ + 107, + 50, + 0, + 49, + 0, + "*" + ], + [ + 108, + 47, + 1, + 50, + 1, + "FLOAT" + ], + [ + 109, + 47, + 2, + 50, + 2, + "FLOAT" + ], + [ + 110, + 45, + 0, + 50, + 3, + "FLOAT" + ], + [ + 111, + 45, + 1, + 50, + 4, + "FLOAT" + ], + [ + 112, + 45, + 2, + 50, + 5, + "FLOAT" + ], + [ + 113, + 47, + 0, + 50, + 6, + "FLOAT" + ], + [ + 114, + 48, + 0, + 51, + 0, + "FLOAT" + ], + [ + 115, + 51, + 0, + 52, + 0, + "*" + ], + [ + 116, + 28, + 0, + 47, + 0, + "HAND_LANDMARKS" + ], + [ + 117, + 28, + 0, + 45, + 0, + "HAND_LANDMARKS" + ], + [ + 119, + 40, + 0, + 53, + 0, + "IMAGE" + ], + [ + 120, + 53, + 0, + 5, + 0, + "IMAGE" + ], + [ + 121, + 52, + 0, + 53, + 5, + "STRING" + ], + [ + 122, + 47, + 0, + 53, + 1, + "FLOAT" + ], + [ + 123, + 47, + 1, + 53, + 6, + "FLOAT" + ], + [ + 124, + 45, + 0, + 53, + 3, + "FLOAT" + ], + [ + 125, + 45, + 1, + 53, + 4, + "FLOAT" + ], + [ + 126, + 51, + 0, + 16, + 5, + "FLOAT" + ], + [ + 127, + 25, + 0, + 24, + 1, + "CONDITIONING" + ], + [ + 128, + 12, + 0, + 24, + 0, + "CONDITIONING" + ] + ], + "groups": [ + { + "id": 1, + "title": "Hand Tracking", + "bounding": [ + 856.4967651367188, + 1022.9521484375, + 2974.574462890625, + 770.6577758789062 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "Prompts", + "bounding": [ + 2368.851806640625, + -348.8624572753906, + 1398.2921142578125, + 1049.4388427734375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "Controlnet", + "bounding": [ + 4261.96484375, + 203.65249633789062, + 938.6217041015625, + 561.0648193359375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.19487171000000303, + "offset": [ + -179.35552244654593, + -994.5576064370631 + ] + } + }, + "version": 0.4 +} \ No newline at end of file