Nodes/Doom_Flux_NodePack/Doom Edit Prompts
ComfyUI Node

Doom Edit Prompts

A preset shelf for edit prompts — and you can add your own

By PeterMikhai·Created about a year ago·Updated 6 days ago· 1
Doom Edit Prompts
    • prompt
    • description
    prompt_presetРеставрация и Улучшение >> colorize this photo

    Doom Edit Prompts is the pack's preset library for image editing. One dropdown, a few dozen ready-made edit instructions ("colorize this photo", "remove noise and artifacts", "make this more photorealistic"), and two outputs: the prompt string and a description of what it's supposed to do. Wire the prompt into an edit-capable sampler - the pack's DoomFlux2I2ISampler or DoomFlux1InpaintSampler, or any Qwen-Image-Edit / Klein style edit workflow - and you're editing in two clicks.

    What makes it more than a hardcoded menu is that the presets are data, not code. The built-in set lives in the pack, but you can drop your own JSON files into prompt_data/presets/ and they appear in the same dropdown on the next restart. Your personal edit prompts become first-class citizens alongside the defaults.

    How it works

    A single combo input, prompt_preset, is populated with entries formatted as Category >> prompt, truncated to ~70 characters so the dropdown stays scannable. Categories you'll see include "Реставрация и Улучшение" (restoration and improvement), "Стилизация" (stylization), and others - the UI labels lean Russian, but the prompts they emit are English.

    Pick one and you get two outputs:

    • prompt - the actual edit instruction, e.g. Upscale this image to 2x resolution, enhancing details and sharpness.
    • description - the author's note on what the preset is for.

    Under the hood it merges a built-in list with user files from prompt_data/presets/. The one operational rule: add a file, restart ComfyUI - the dropdown is built at load time, not on every run.

    Your own presets

    Each file should be a JSON list of objects with prompt (the text), category (which group it lands under), and description (optional, shown in the description output). Rough shape:

    [
      {
        "prompt": "Add a soft film grain and slightly desaturate the sky.",
        "category": "Реставрация и Улучшение",
        "description": "My daily finishing touch"
      }
    ]
    

    Restart, and it shows up in the combo like any built-in.

    Installing it

    The pack installs as a whole:

    cd ComfyUI/custom_nodes
    git clone https://github.com/PeterMikhai/Doom_Flux_NodePack
    

    Restart ComfyUI. No extra pip dependencies. ComfyUI Manager works too. Note the README still references the renamed DoomAI_nodes.git repo - the live URL is Doom_Flux_NodePack.

    Common issues

    • My new preset isn't in the dropdown. It will be after a restart. The combo is cached at node-creation time; it won't hot-reload mid-session.
    • The label shows a truncated prompt. The dropdown cuts entries at 70 chars with "…". The full prompt is what actually comes out of the prompt output, so a truncated label doesn't mean a truncated edit.
    • Two nodes that look identical in your menu. You may also see DoomFluxKontextPrompts - that's the same class registered under its old name so legacy workflows load. Same inputs, same outputs, zero functional difference.

    It's a thin node - a dropdown and a lookup - but the preset-file extension makes it the pack's quiet answer to the problem of "I keep retyping the same five edit prompts."

    CategoryDoom/Prompt

    Inputs (1)

    NameTypeDefaultDescription
    prompt_presetCOMBOРеставрация и Улучшение >> colorize this photoКатегория >> промпт

    Outputs (2)

    NameTypeDescription
    promptSTRINGПромпт для редактирования
    descriptionSTRINGОписание пресета