ComfyUI Node
Anima Prompt Builder
Checks the LLM answer against the Danbooru tag dictionary and builds the final Anima prompt: fixed group order, a blank line between groups, the description at the end.
Anima Prompt Builder
- prompt
- report
◄text►
◄quality_tagsmasterpiece, best quality, score_7►
◄artist_tag►
◄default_ratingsafe►
◄drop_unknowntrue►
◄fuzzy_fixtrue►
◄strip_canonical_appearancetrue►
Categoryanima
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Answer of the LLM in 'key: value' lines. Connect the llm_text output of the LLM node here. | |
| quality_tags | STRING | masterpiece, best quality, score_7 | Quality tags put at the very start of the prompt. Quality, year and artist tags written by the LLM are always removed. |
| artist_tag | STRING | Artist or LoRA trigger tag added after the series block, for example @name. Leave empty to add nothing. | |
| default_rating | COMBO | safe | Rating tag used when the LLM gives no valid rating. 'none' adds no rating. |
| drop_unknown | BOOLEAN | true | Remove tags that are not in the dictionary. Unknown tags in character and series are always kept. |
| fuzzy_fix | BOOLEAN | true | Fix near-miss tags when they differ only by a common ending (indoor -> indoors). Character names use a strict similarity check. |
| strip_canonical_appearance | BOOLEAN | true | When a named character is set, remove hair and eye colors written by the LLM: the image model already knows the character and the LLM often gets the colors wrong. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| report | STRING | — |