Nodes/ComfyUI EasyUse Anima/Anima Prompt Builder
ComfyUI Node

Anima Prompt Builder

Assemble ANIMA's tag order without the manual comma dance

By n0va39·Created 3 months ago·Updated a day ago· 24
Anima Prompt Builder
    • prompt
    • anima_mod_guidance_quality_tags
    • use_anima_mod_guidance
    • metadata_prompt
    use_anima_mod_guidancefalse
    pin_trigger_tags_to_frontfalse
    lora_trigger_tags
    quality_tagsnewest, masterpiece, best quality, score_8, score_7:, highres, absurdres, very aesthetic
    trigger_and_artist_tags
    prompt
    trailing_quality_tagslocation, (A highly aesthetic Pixiv style illustration, clean composition, high-quality digital art, detailed background, sharp focus on facial expressions.:0.6)

    Anima's model card is unusually specific about prompt order: quality/meta tags first, then triggers and artists, then the body, then trailing style - and the community has strong feelings about all of it (score tags narrow the distribution; drop the quality prefix once you name an artist). Anima Prompt Builder is the node that encodes that ordering so you don't hand-assemble it every time. Type each chunk in its own field; it combines them in the ANIMA-correct sequence. No UI tricks, no autocomplete - just deterministic assembly. That's the whole product, and it's a genuinely useful one.

    What it does

    Five text fields go in:

    • quality_tags - the leading quality block
    • trigger_and_artist_tags - manual model triggers and @artist tags
    • lora_trigger_tags - one-line trigger tags from a LoRA manager
    • prompt - the main body (the expected home for NAIA output)
    • trailing_quality_tags - trailing style/location tags

    Two booleans reshape the result. pin_trigger_tags_to_front (default false) keeps triggers and artists at the very front instead of behind the quality block - useful when a model's trigger only fires if it leads the prompt. use_anima_mod_guidance (default false) is the interesting one: when true, the quality fields are excluded from the assembled prompt and sent out the anima_mod_guidance_quality_tags output instead, to be applied through Spectrum's Anima Mod Guidance model patch. Same idea as the AIO generation flow, but in a plain text-node form.

    Outputs

    • prompt - the final assembled positive prompt.
    • anima_mod_guidance_quality_tags - quality text routed for Mod Guidance (only populated when use_anima_mod_guidance is true).
    • use_anima_mod_guidance - the boolean, passed through so a downstream workflow can branch on it.
    • metadata_prompt - prompt text for metadata purposes, independent of Mod Guidance routing and metadata filters.

    There's no negative prompt here, no width/height, no LoRA stack - if you need those, this isn't the node (see Prompt Studio Advanced or the v2/dict flow).

    Why you'd reach for it

    This is the unglamorous, dependable middle: you want ANIMA's recommended ordering and the Mod Guidance split, but you don't need a fancy editor. Wire prompt to a CLIP text encode, and anima_mod_guidance_quality_tags to a Mod Guidance node when you enable the flag. It also makes a fine bridge node - feed it outputs from other prompt tools and let it normalize the order on the way to the encoder.

    Install and gotchas

    Part of the pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/n0va39/ComfyUI-EasyUseAnima
    cd ComfyUI-EasyUseAnima && pip install -r requirements.txt
    

    Restart ComfyUI; Manager: "ComfyUI EasyUse Anima".

    The classic mistake is leaving use_anima_mod_guidance on while expecting quality tags in the prompt - with it true, the quality block deliberately vanishes from prompt and only appears on the Mod Guidance output. If your quality tags mysteriously disappear, that's the flag. And the lora_trigger_tags field is one-line only by design; it's for trigger words, not a LoRA list. If you want the same assembly with autocomplete and syntax highlighting, use Anima Prompt Studio - it's this node with a front-end bolted on.

    CategoryEasyUse Anima/Prompt

    Inputs (7)

    NameTypeDefaultDescription
    use_anima_mod_guidanceBOOLEANfalsetrue: output prompt excludes quality fields and sends them through anima_mod_guidance_quality_tags.
    pin_trigger_tags_to_frontBOOLEANfalsetrue: keep trigger/artist and LoRA trigger fields at the very front instead of placing quality tags before them.
    lora_trigger_tagsSTRINGOne-line trigger tags received from a LoRA manager or pasted manually.
    quality_tagsSTRINGnewest, masterpiece, best quality, score_8, score_7:, highres, absurdres, very aestheticLeading quality tags. With AMG enabled, these are excluded from prompt output.
    trigger_and_artist_tagsSTRINGManual model triggers and @artist tags.
    promptSTRINGMain prompt body. This is the expected place for NAIA output.
    trailing_quality_tagsSTRINGlocation, (A highly aesthetic Pixiv style illustration, clean composition, high-quality digital art, detailed background, sharp focus on facial expressions.:0.6)Trailing quality or style tags.

    Outputs (4)

    NameTypeDescription
    promptSTRINGFinal positive prompt. When Mod Guidance is enabled, leading quality tags are excluded.
    anima_mod_guidance_quality_tagsSTRINGQuality prompt text intended for Anima Mod Guidance.
    use_anima_mod_guidanceBOOLEANBoolean flag passed through for Anima Mod Guidance workflow control.
    metadata_promptSTRINGPrompt text for metadata, independent from Mod Guidance routing and metadata filters.