ComfyUI Node

✨ Suffix Editor

Read the quality-tag presets this pack is hiding, and bend them to your taste

By jluo-github·Created 7 months ago·Updated 7 months ago· 0
✨ Suffix Editor
    • suffix
    • negative
    presetstandard
    use_customfalse
    custom_suffix
    custom_negative

    Every other node in the comfyui-auto-anime-prompts pack hides its style presets behind a dropdown and splices them into the prompt automatically. Suffix Editor is the node that takes the presets out of the black box: pick a preset and it hands you the raw positive suffix and the matching negative, as plain strings you can wire anywhere - or inspect, or override.

    You reach for it in two situations. First, when you want to see what dynamic actually appends to your prompt, because the author's presets are the interesting part of this pack - quality tags like masterpiece, best quality, very aesthetic, absurdres plus style-specific extras (dynamic adds wind, motion blur, dramatic pose, foreshortening; gothic adds chiaroscuro, mysterious, shadows). Second, when you're building your own workflow and want the preset strings without the loader node doing its whole character/action/background dance - a clean way to get well-tuned Illustrious quality tags into a graph that uses your own prompt logic.

    How it works

    Nothing clever: nodes/suffix_editor.py returns the preset's positive suffix and its negative from the same PRESETS / NEGATIVE_PRESETS tables the other nodes use, with a safe fallback to standard for legacy workflow values. Outputs are suffix and negative - wire them into your CLIP text encodes, or into a text concatenation node to build your own formula.

    The inputs:

    • preset - the same eight: none, standard, dynamic, atmospheric, flat, dreamy, gothic, retro. none returns an empty suffix and empty negative, which is its own kind of useful.
    • use_custom (off) - flip it on and custom_suffix / custom_negative replace the preset. Handy for iterating: settle on the preset that's closest, then override with your own wording without swapping nodes.
    • custom_suffix, custom_negative - only read when use_custom is on; if you leave them blank it falls back to the preset (and the default negative) rather than erroring.

    Where it fits

    If you're on an Illustrious-family checkpoint - the SDXL lineage where masterpiece, best quality is a real vocabulary and the negative prompt actually does work - these presets are a competent starting point and this node is the cheapest way to audit them. If you're on a natural-language model like Flux or Qwen, the tag-style suffixes are mostly inert, and the honest answer is that the node's not for you.

    One thing it isn't: a quality booster. The standard preset is a solid baseline, not a magic spell - on Illustrious the tags are real, but they're the same tags every model card already recommends.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/jluo-github/comfyui-auto-anime-prompts
    

    Restart ComfyUI - or install via Manager by searching "Auto Anime Prompt". No extra dependencies, no model downloads, Python 3.10+.

    It's a tiny utility in a tiny pack, so expectations should match: no community lore, no hidden features. What you see is a clean, honest way to reuse the pack's best-worked content - its style presets - without inheriting the whole pipeline.

    Categoryprompt/anime

    Inputs (4)

    NameTypeDefaultDescription
    presetCOMBOstandard8 options: none, standard, dynamic, atmospheric, flat, dreamy, +2
    use_customBOOLEANfalse
    custom_suffixoptSTRING
    custom_negativeoptSTRING

    Outputs (2)

    NameTypeDescription
    suffixSTRING
    negativeSTRING