{
  "dependencies": [
    {
      "typeId": "nodra.adjust.huesat",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.ai.hairmask",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.ai.mattemask",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.analyze.dimensions",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.blend.maskmix",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.gen.gradient",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.io.fileinput",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.view.preview",
      "version": "0.1.0"
    }
  ],
  "editor": {
    "names": {
      "1": "Fallback Image",
      "10": "Subject on New Backdrop",
      "11": "Hair Masking Preview",
      "2": "Source Image",
      "3": "Image Size",
      "4": "Cut Out with Every Strand",
      "5": "Find Only the Hair",
      "6": "Hair Colour",
      "7": "Recolour Hair Only",
      "8": "Studio Backdrop",
      "9": "Backdrop Hue"
    },
    "pluginPreviewNode": 11,
    "positions": {
      "1": [
        0.0,
        0.0
      ],
      "10": [
        1300.0,
        0.0
      ],
      "11": [
        1560.0,
        0.0
      ],
      "2": [
        260.0,
        0.0
      ],
      "3": [
        520.0,
        0.0
      ],
      "4": [
        520.0,
        200.0
      ],
      "5": [
        520.0,
        360.0
      ],
      "6": [
        780.0,
        0.0
      ],
      "7": [
        1040.0,
        0.0
      ],
      "8": [
        780.0,
        120.0
      ],
      "9": [
        1040.0,
        160.0
      ]
    },
    "schemaVersion": 1
  },
  "format": "nodra-patch",
  "formatVersion": 1,
  "graph": {
    "connections": [
      {
        "dst": [
          2,
          1
        ],
        "src": [
          1,
          0
        ]
      },
      {
        "dst": [
          3,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          8,
          0
        ],
        "src": [
          3,
          0
        ]
      },
      {
        "dst": [
          8,
          1
        ],
        "src": [
          3,
          1
        ]
      },
      {
        "dst": [
          4,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          5,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          6,
          0
        ],
        "src": [
          4,
          1
        ]
      },
      {
        "dst": [
          7,
          0
        ],
        "src": [
          4,
          1
        ]
      },
      {
        "dst": [
          7,
          1
        ],
        "src": [
          6,
          0
        ]
      },
      {
        "dst": [
          7,
          2
        ],
        "src": [
          5,
          0
        ]
      },
      {
        "dst": [
          9,
          0
        ],
        "src": [
          8,
          0
        ]
      },
      {
        "dst": [
          10,
          0
        ],
        "src": [
          9,
          0
        ]
      },
      {
        "dst": [
          10,
          1
        ],
        "src": [
          7,
          0
        ]
      },
      {
        "dst": [
          10,
          2
        ],
        "src": [
          4,
          0
        ]
      },
      {
        "dst": [
          11,
          0
        ],
        "src": [
          10,
          0
        ]
      }
    ],
    "nodes": [
      {
        "id": 1,
        "params": {
          "colorA": {
            "t": "color",
            "v": [
              0.5840784907341003,
              0.25415217876434326,
              0.10224174708127975,
              1.0
            ]
          },
          "colorB": {
            "t": "color",
            "v": [
              0.024157630279660225,
              0.0284260381013155,
              0.0423114113509655,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 768
          },
          "type": {
            "t": "int",
            "v": 2
          },
          "width": {
            "t": "int",
            "v": 768
          }
        },
        "type": "nodra.gen.gradient"
      },
      {
        "id": 2,
        "params": {
          "containerMode": {
            "t": "int",
            "v": 0
          },
          "exifOrientation": {
            "t": "int",
            "v": 0
          },
          "file": {
            "t": "string",
            "v": ""
          },
          "tiffPage": {
            "t": "int",
            "v": 1
          }
        },
        "type": "nodra.io.fileinput"
      },
      {
        "id": 3,
        "params": {},
        "type": "nodra.analyze.dimensions"
      },
      {
        "id": 4,
        "params": {
          "band": {
            "t": "float",
            "v": 40.0
          },
          "computeUnits": {
            "t": "int",
            "v": 0
          },
          "decontaminate": {
            "t": "bool",
            "v": true
          },
          "feather": {
            "t": "float",
            "v": 0.0
          },
          "invert": {
            "t": "bool",
            "v": false
          },
          "margin": {
            "t": "float",
            "v": 0.0
          },
          "quality": {
            "t": "int",
            "v": 1
          },
          "refine": {
            "t": "float",
            "v": 0.6
          }
        },
        "type": "nodra.ai.mattemask"
      },
      {
        "id": 5,
        "params": {
          "addActive": {
            "t": "bool",
            "v": false
          },
          "addX": {
            "t": "float",
            "v": 0.5
          },
          "addY": {
            "t": "float",
            "v": 0.2
          },
          "computeUnits": {
            "t": "int",
            "v": 0
          },
          "decontaminate": {
            "t": "bool",
            "v": true
          },
          "extraPoints": {
            "t": "string",
            "v": ""
          },
          "feather": {
            "t": "float",
            "v": 0.0
          },
          "margin": {
            "t": "float",
            "v": 0.0
          },
          "matting": {
            "t": "int",
            "v": 1
          },
          "method": {
            "t": "int",
            "v": 2
          },
          "removeActive": {
            "t": "bool",
            "v": false
          },
          "removeX": {
            "t": "float",
            "v": 0.5
          },
          "removeY": {
            "t": "float",
            "v": 0.5
          },
          "strandSoftness": {
            "t": "float",
            "v": 0.3
          }
        },
        "type": "nodra.ai.hairmask"
      },
      {
        "id": 6,
        "params": {
          "colorSpace": {
            "t": "int",
            "v": 3
          },
          "hue": {
            "t": "float",
            "v": -12.0
          },
          "lightness": {
            "t": "float",
            "v": 0.0
          },
          "saturation": {
            "t": "float",
            "v": 0.1
          }
        },
        "type": "nodra.adjust.huesat"
      },
      {
        "id": 7,
        "params": {
          "invert": {
            "t": "bool",
            "v": false
          },
          "opacity": {
            "t": "float",
            "v": 1.0
          }
        },
        "type": "nodra.blend.maskmix"
      },
      {
        "id": 8,
        "params": {
          "colorA": {
            "t": "color",
            "v": [
              0.04970656335353851,
              0.15896086394786835,
              0.17144109308719635,
              1.0
            ]
          },
          "colorB": {
            "t": "color",
            "v": [
              0.005181516986340284,
              0.011612244881689548,
              0.015996292233467102,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 512
          },
          "type": {
            "t": "int",
            "v": 2
          },
          "width": {
            "t": "int",
            "v": 512
          }
        },
        "type": "nodra.gen.gradient"
      },
      {
        "id": 9,
        "params": {
          "colorSpace": {
            "t": "int",
            "v": 0
          },
          "hue": {
            "t": "float",
            "v": 0.0
          },
          "lightness": {
            "t": "float",
            "v": 0.0
          },
          "saturation": {
            "t": "float",
            "v": 0.0
          }
        },
        "type": "nodra.adjust.huesat"
      },
      {
        "id": 10,
        "params": {
          "invert": {
            "t": "bool",
            "v": false
          },
          "opacity": {
            "t": "float",
            "v": 1.0
          }
        },
        "type": "nodra.blend.maskmix"
      },
      {
        "id": 11,
        "params": {},
        "type": "nodra.view.preview"
      }
    ]
  },
  "metadata": {
    "author": "",
    "description": "Hair masking with every strand: Studio Cutout separates the person from a busy wall with fine, decontaminated hair edges, Hair Mask finds only the hair so its colour can be changed on its own, and the subject is placed on a new studio backdrop. Pick your own photo in the Image Input node; without one, a synthetic image is used.",
    "i18n": {
      "de": {
        "description": "Haare freistellen bis in die Spitzen: „Studio-Freistellung“ löst die Person mit feinen, entfärbten Haarkanten von einer unruhigen Wand, die „Haarmaske“ findet nur die Haare, damit sich ihre Farbe getrennt ändern lässt, und das Motiv kommt auf einen neuen Studiohintergrund. Eigenes Foto im Bild-Eingang wählen; ohne Foto wird ein synthetisches Bild verwendet.",
        "name": "Showcase: Haare freistellen"
      }
    },
    "name": "Showcase: Hair Masking"
  },
  "ui": {
    "assets": {},
    "elements": [
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "id": 1,
        "size": 1,
        "text": "Haare freistellen",
        "textEn": "Hair Masking",
        "type": "heading"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Wie eng die Freistellung den feinen Haarsträhnen folgt.",
        "helpEn": "How closely the cutout follows the fine strands of hair.",
        "id": 2,
        "label": "Kantenverfeinerung",
        "labelEn": "Edge Refinement",
        "nodeId": "4",
        "param": "refine",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Dreht nur die Farbe der Haare, Haut und Kleidung bleiben unverändert.",
        "helpEn": "Turns only the colour of the hair; skin and clothes stay as they are.",
        "id": 3,
        "label": "Haarfarbe",
        "labelEn": "Hair Hue",
        "nodeId": "6",
        "param": "hue",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Wie kräftig die Haarfarbe ist.",
        "helpEn": "How rich the hair colour is.",
        "id": 4,
        "label": "Haarsättigung",
        "labelEn": "Hair Saturation",
        "nodeId": "6",
        "param": "saturation",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Dreht die Farbe des neuen Studiohintergrunds.",
        "helpEn": "Turns the colour of the new studio backdrop.",
        "id": 5,
        "label": "Hintergrundfarbe",
        "labelEn": "Backdrop Hue",
        "nodeId": "9",
        "param": "hue",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      }
    ],
    "layout": {
      "align": "stretch",
      "direction": "vertical",
      "gap": "md",
      "justify": "start",
      "mode": "stack",
      "padding": "lg",
      "wrap": false
    },
    "minWidth": 240,
    "style": {
      "template": "infiniteDark"
    },
    "stylePresets": [],
    "version": 3
  }
}
