PixAI Tagger v1.0 — Classification AI Model
A ViTDet image classifier with one sigmoid output per tag, run at 1008 px. The vocabulary is split into six groups — general (15,043 tags), character (8,308), copyright (2,460), style (4,917), meta (145) and rating (4) — and each group has its own confidence threshold, fitted by the authors on their calibration set for best macro-F1. The node emits the four groups that describe the picture; meta (file properties like 'highres') and rating are each behind a switch. Typical use is to read an existing image and feed its tags into a generation prompt, or to label a collection. Tag knowledge has a cutoff of May 2026, so characters and series released after that are not in the vocabulary. It is trained on anime and illustration; photographs are outside what it was fitted for.
Details
- CategoryClassification
- Year2026
- Licenseapache-2.0
Inputs & Outputs
- ImageInputimage
The illustration to tag. Trained on anime and illustration — a photograph will still produce tags, but they are outside what the model was fitted for. Resized to 1008x1008 internally, keeping aspect ratio and padding the rest, so the input does not need to be square. Supports up to 4096x4096 resolution.
- TextOutputstring
The tags, comma-separated and ordered by confidence, highest first
Parameters
- min_thresholdfloatdefault 0range 0–1
Minimum confidence (0 = model defaults)
A floor under the confidence each tag must reach. The default 0 means every tag group uses the threshold the authors fitted for it (general 0.17, character 0.27, copyright 0.24, style 0.15, meta 0.17, rating 0.41), which is the right starting point. A value above a group's fitted threshold raises it; a value below it changes nothing, because this is a floor and never a replacement. Raise it for fewer, more confident tags.
- max_tagsintegerdefault 0range 0–200
Maximum number of tags (0 = no limit)
Keeps only this many of the highest-confidence tags. Default 0 means no limit, which on a detailed illustration can be fifty tags or more. Set it to 20-30 when the tags are going into a generation prompt, where a long tail of low-confidence tags dilutes the ones that matter.
- include_scoresbooleandefault falseadvanced
Append each tag's confidence
When true each tag is written as 'tag:0.873' instead of 'tag'. Useful for inspecting the model or choosing a threshold. Leave it off when the output feeds a generation prompt, where the numbers are read as part of the prompt text.
- include_metabooleandefault falseadvanced
Include meta tags
Adds the 145 meta tags, which describe the file rather than the picture — 'highres', 'absurdres', 'scan', 'official_art', medium and artefact labels. Off by default because they are noise in a generation prompt. Turn it on when cataloguing or filtering a collection by image quality.
- include_ratingbooleandefault falseadvanced
Include the content rating
Adds the four Danbooru rating tags — rating:g (general), rating:s (sensitive), rating:q (questionable), rating:e (explicit) — as a predicted content rating with a confidence. Off by default because it answers a different question from 'what is in this picture'. Turn it on to triage or filter a collection; it is the model's estimate, not a moderation decision.
Tags
Alternatives in Image Classification
- Adult Content Detection
Classify image safety (safe / nsfw).
- Gender Recognition
Classify pedestrian gender (male/female).
- Object Classification
ImageNet-1k classification (ResNet).