{
 "last_node_id": 9,
 "last_link_id": 7,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -438.0
   ],
   "size": [
    640,
    268
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "**Needs in ComfyUI's `input` folder:** `example.png`\n\nTags and a safety label for one image: the WD tagger (against the WD14 Tagger of the pysssss pack, the same model: about 43x faster here) and an NSFW check that returns a label and a score (nsfw_score above your threshold: do not pass the image on).\n\n**Orange group:** the same task in another pack; install it, or delete the group."
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      1,
      3,
      6
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "example.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "FastforksTag",
   "pos": [
    540.0,
    0.0
   ],
   "size": [
    330,
    220
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 1
    }
   ],
   "outputs": [
    {
     "name": "tags",
     "type": "STRING",
     "links": [
      2
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "tag (fastforks)",
   "widgets_values": [
    "wd-eva02-large-tagger-v3",
    "auto",
    "auto",
    0.35,
    0.75,
    1
   ]
  },
  {
   "id": 4,
   "type": "PreviewAny",
   "pos": [
    950.0,
    0.0
   ],
   "size": [
    420,
    200
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 2
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "tags (fastforks)",
   "widgets_values": []
  },
  {
   "id": 5,
   "type": "FastforksNsfwCheck",
   "pos": [
    540.0,
    340.0
   ],
   "size": [
    330,
    200
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 3
    }
   ],
   "outputs": [
    {
     "name": "label",
     "type": "STRING",
     "links": [
      4
     ],
     "slot_index": 0
    },
    {
     "name": "nsfw_score",
     "type": "FLOAT",
     "links": [
      5
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "nsfw check (fastforks)",
   "widgets_values": [
    "falconsai-nsfw-vit",
    "auto",
    "auto",
    1
   ]
  },
  {
   "id": 6,
   "type": "PreviewAny",
   "pos": [
    950.0,
    340.0
   ],
   "size": [
    300,
    100
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 4
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "label",
   "widgets_values": []
  },
  {
   "id": 7,
   "type": "PreviewAny",
   "pos": [
    950.0,
    500.0
   ],
   "size": [
    300,
    100
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 5
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "nsfw score",
   "widgets_values": []
  },
  {
   "id": 8,
   "type": "WD14Tagger|pysssss",
   "pos": [
    540.0,
    810.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [
      7
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "pysssss: WD14 Tagger",
   "widgets_values": [
    "wd-eva02-large-tagger-v3",
    0.35,
    0.85,
    false,
    false,
    ""
   ]
  },
  {
   "id": 9,
   "type": "PreviewAny",
   "pos": [
    950.0,
    810.0
   ],
   "size": [
    420,
    200
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 7
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "tags (pysssss)",
   "widgets_values": []
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   2,
   3,
   0,
   4,
   0,
   "*"
  ],
  [
   3,
   2,
   0,
   5,
   0,
   "IMAGE"
  ],
  [
   4,
   5,
   0,
   6,
   0,
   "*"
  ],
  [
   5,
   5,
   1,
   7,
   0,
   "*"
  ],
  [
   6,
   2,
   0,
   8,
   0,
   "IMAGE"
  ],
  [
   7,
   8,
   0,
   9,
   0,
   "*"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Inputs",
   "bounding": [
    -30.0,
    -90.0,
    360.0,
    460.0
   ],
   "color": "#88A",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "fastforks",
   "bounding": [
    510.0,
    -90.0,
    890.0,
    720.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 3,
   "title": "Other packs (install them, or delete this group)",
   "bounding": [
    510.0,
    720.0,
    890.0,
    380.0
   ],
   "color": "#b58b2a",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}