dghs-imgutils>=0.17.0 huggingface_hub timm>=1.0.16 pandas


ComfyUI custom node for tagging anime images using models from animetimm.
ComfyUI/custom_nodes in your terminal (cmd).custom_nodes directory using the following command:“`
git clone https://github.com/MakkiShizu/ComfyUI-animetimm
cd ComfyUI-animetimm
“`
ComfyUI\custom_nodes\ComfyUI-animetimm:“`
..\..\..\python_embeded\python.exe -m pip install -r requirements.txt
“`
“`
pip install -r requirements.txt
“`
The node provides the following parameters:
image: Input imagethreshold: Confidence threshold (default 0.35), only tags with confidence above this value will be outputmodel_repo: Select model repository (default animetimm/caformer_s36.dbv4-full)include_general: Whether to include general tags (default True)include_character: Whether to include character tags (default True)include_artist: Whether to include artist tags (default False)include_rating: Whether to include rating tags (default True)replace_underscore: Whether to replace underscores in tags with spaces (default True)use_custom_threshold: Whether to use only the custom threshold from input (ignoring the best_threshold from selected_tags.csv) (default to False)tags: Comma-separated tag stringconfidence_scores: Corresponding confidence score listraw_output: Raw output with categories and confidence scoresgeneral_tags: General tagscharacter_tags: Character tagsartist_tags: Artist tagsrating_tags: Rating tagsComfyUI/models/animetimm directory after first useeva02_large_patch14_448.dbv4-full) require larger VRAMRanklist: dbv4-full-ranklist
The official repository is publicly accessible, but you must log in and accept the terms to access its files and content. If download from the official repository fails, the node will automatically try to download from a backup repository.