Nodes/Factory Prompt Generator/Factory Prompts Negative Generator
ComfyUI Node

Factory Prompts Negative Generator

The Factory Prompts preset node

By HWDigi·Created about a year ago·Updated about a year ago· 2
Factory Prompts Negative Generator
    • negative_prompt
    presetstandard
    include_style_controltrue
    include_nsfw_filtersfalse
    include_violence_filtersfalse
    strength_boostfalse
    custom_negatives
    extra_categoriesnone

    If you've ever stared at a blank negative prompt box and thought "I know I want bad hands in there but I don't want to type forty tags," this is the node for you. FactoryPromptsNegative is the one-input wrapper of the Factory Prompt Generator pack: pick a preset, get a complete booru-style negative prompt, wire it into your CLIP encoder, done. It won't blow your mind, but it's the fastest way in this pack to go from "I have no negative" to "I have a negative."

    What it actually does

    Under the hood is a single hard-coded dictionary of negative tag lists - anatomy, composition, background, text elements, clothing, hair, technical artifacts, and so on - organized into categories. The preset you choose just decides which categories get concatenated together. Duplicates are stripped, and everything is joined with commas into one STRING. There's no model, no API, no random, no JSON file involved. It's deterministic: same inputs, same output, every run.

    The five presets are what you should spend your time on:

    • minimal - just the base quality tags (lowres, bad_hands, watermark, blurry, that family). Fast, and honestly enough for most anime SDXL models.
    • standard (default) - base quality plus anatomy, composition, and text removal. The sensible starting point.
    • comprehensive - standard plus background, clothing, hair, and technical artifacts.
    • professional - everything plus expressions and unwanted mediums.
    • anime_focused - quality + anatomy + non-realistic style control, tuned for the Illustrious/NoobAI crowd.

    The inputs that matter

    Only a handful are worth touching. preset is the big one. include_style_control defaults to on, and here's the trap: it dumps both the non-realistic style negatives (source_cartoon, source_furry, anime_style…) and the realistic ones (3d, photorealistic, render…) into your prompt at the same time. Those two lists fight each other. If you're on an anime model, flip it off or you're telling the sampler to avoid cartoon and realism simultaneously.

    custom_negatives is a multiline field where you can type your own comma-separated tags - this is how you add your checkpoint's scoring tags or that one thing you hate. strength_boost wraps the five critical terms (bad_anatomy, bad_hands, bad_face, worst_quality, low_quality) in (term:1.2) emphasis. include_nsfw_filters and include_violence_filters add content-safety lists - they're off by default and genuinely useful if you're generating for a public-facing workflow. extra_categories is a single-choice dropdown, so it only lets you bolt on one extra category at a time; use custom_negatives for the rest.

    The single output, negative_prompt, feeds straight into the negative input of a CLIPTextEncode node.

    Installing it

    The pack has zero dependencies - no requirements.txt, no model downloads, just stdlib Python. Easiest path: ComfyUI Manager, search "Factory Prompt Generator", install, restart. Or by hand:

    cd ComfyUI/custom_nodes
    git clone https://github.com/HWDigi/Factory-Prompts_comfyui
    # restart ComfyUI
    

    You'll find the nodes under the "Prompt Factory" category, and you'll know the pack loaded because your console prints "🏭 The assembly line is live."

    Where people get burned

    The honest caveat: this emits booru-style tags that earn their keep on the SDXL lineage - Pony, Illustrious, NoobAI. On Flux or a guidance-distilled model at CFG 1, the negative prompt box is basically inert, so this node becomes decoration. And note the README's promise of "works with all checkpoint types" is optimistic in a second way: the quality tags it leans on (worst_quality, low_quality) are the ones that matter on Illustrious-family models, while Pony really wants its score_x system in the negative instead. Don't let the preset be your whole negative game - for Pony, drop score_5, score_4, score_3 into custom_negatives and let the presets handle anatomy.

    It's a small, opinionated utility. Not a workflow on its own, but a genuinely decent default negative when you can't be bothered to curate one.

    CategoryPrompt Factory

    Inputs (7)

    NameTypeDefaultDescription
    presetCOMBOstandard5 options: minimal, standard, comprehensive, professional, anime_focused
    include_style_controlBOOLEANtrue
    include_nsfw_filtersBOOLEANfalse
    include_violence_filtersBOOLEANfalse
    strength_boostBOOLEANfalse
    custom_negativesoptSTRING
    extra_categoriesoptCOMBOnone12 options: none, enhanced_quality, anatomy, unwanted_mediums, color_control, composition, +6

    Outputs (1)

    NameTypeDescription
    negative_promptSTRING