Extensions/D2 Nodes ComfyUI
ComfyUI Extension

D2 Nodes ComfyUI

This is a collection of custom nodes that make ComfyUI slightly more convenient.

By da2el-ai·Created 2 years ago·Updated 24 days ago· 66
da2el-ai/D2-nodes-ComfyUI
Nodes62
On cloudLocal install
CategoryD2, D2/Image
Stars66
Updated24 days ago

Nodes (62)

D2 Any Delivery

Carry a whole pipeline's worth of values down one wire

D2
D2 Checkpoint Loader

A plain checkpoint loader that actually tells you which file it loaded

D2
D2 Controlnet Loader

ControlNet for the D2 KSampler — strength and schedule in one node

D2
D2 Cut By Mask

Cut an object out of an image with a mask, cleanly

D2/Image
D2 EmptyImage Alpha

Blank canvas, but this one has an alpha channel

D2/Image
D2 Filename Template

Stop hand-typing date-stamped output names

D2/Text
D2 Filename Template2

The multiline version of the D2 string builder

D2/Text
D2 Folder Image Queue

Batch-process a whole folder by just hitting queue once

D2/Image
D2 Get Image Size

Read an image's dimensions without guessing

D2
D2 Grid Image

A contact sheet that waits for all its images first

D2/Image
D2 Image Mask Stack

Batch your images and their masks in one node

D2/Image
D2 Image Resize

The resize node that also does upscale models, rotation, masks, and latent

D2
D2 Image Stack

A batch builder with a dial for how many images you want

D2/Image
D2 KSampler

The all-in-one sampler that decodes its own image

D2
D2 KSampler(Advanced)

A KSampler that decodes its own image and reads its prompts as text

D2
D2 List To String

Turn an array into a joinable string

D2/Text
D2 Load CSV

Load them from a CSV instead

D2/Text
D2 Load Diffusion Model

Load a UNet with fp8 options and get its path, hash, and a pipe out

D2
D2 Load Diffusion Model Set

One loader for the unet + VAE + CLIP triple

D2
D2 Load Folder Images

The whole folder, loaded into one batch

D2/Image
D2 Load Image

Load Image that reads back the prompt — including A1111 and NovelAI files

D2/Image
D2 Load Lora

Load LoRAs by typing their names instead of reaching for a dropdown

D2
D2 Load Text

Read a text file into the graph, with encoding rescue built in

D2/Text
D2 Model and CLIP Merge SDXL

Merge two SDXL models and their CLIPs with one comma-separated list

D2/Merge
D2 Mosaic Filter

Censor faces and plates without leaving ComfyUI

D2/Image
D2 Multi Output

Paste a column of numbers and get a list to sweep

D2/Text
D2 Paste By Mask

Paste an object back into a scene without killing the edges

D2/Image
D2 Pipe

The bus that carries your whole generation across the graph

D2
D2 Preset Selector

One dropdown that swaps whole batches of settings (steps, cfg, whatever)

D2
D2 Preview Image

The click-to-zoom node ComfyUI's default still lacks

D2/Image
D2 Prompt

A prompt box that eats your comments and counts your tokens

D2/Text
D2 Prompt Sanitizer

Turn messy prompts (long_hair, ,, , double spaces) into clean tag soup

D2/Text
D2 Refiner Steps

Stop doing SDXL refiner math in your head — it's end + 1

D2/Refiner
D2 Refiner Steps A1111

The math node for SDXL refiner passes, A1111-style

D2/Refiner
D2 Refiner Steps Tester

A display-only node that shows you the refiner math before it breaks your workflow

D2/Refiner
D2 Regex Replace

Regex text cleanup that doesn't fight your comma-separated tags

D2/Text
D2 Regex Switcher

The node behind per-checkpoint quality tags

D2/Text
D2 Resize Calculator

Upscale math that stays a multiple of 8, because your VAE will thank you

D2
D2 Save Audio Eagle

Send generated audio straight into Eagle — your library, not the output folder

D2/Audio
D2 Save Caption

The node that turns messy WD14 tag dumps into clean training captions

D2/Text
D2 Save Image

Save Image with a gallery, a filename template, and A1111 metadata

D2/Image
D2 Save Image Eagle

Save an image straight into Eagle, with the full generation memo

D2/Image
D2 Send File Eagle

Get files into Eagle without leaving ComfyUI — for videos, mostly

D2/Image
D2 Size Selector

Preset canvas sizes plus a ready-made empty latent — one node replaces three

D2
D2 Tag Report

Find the tags your training captions overuse — before they wreck your LoRA

D2/Text
D2 Text Concat

Join any number of text inputs without the delimiter soup

D2/Text
D2 Token Counter

Actual token counts for your prompt, from the real CLIP tokenizer — not word math

D2/Text
D2 XY Annotation

Write your own grid headers when the plot won't

D2/XY Plot
D2 XY Folder Images

Feed every image in a folder into an XY plot, automatically

D2/XY Plot
D2 XY Grid Image

The node that turns an XY plot run into one labeled comparison grid

D2/XY Plot
D2 XY List Collector

Catch every value the XY plot spits out into one tidy array

D2/XY Plot
D2 XY List To Plot

The adapter that turns any LIST into something an XY plot can eat

D2/XY Plot
D2 XY Model List

Stop typing checkpoint names into XY plots — pull the whole folder in

D2/XY Plot
D2 XY Plot

Grid any parameter, keep the labels honest

D2/XY Plot
D2 XY Plot Easy

The one-node XY plot that finally makes parameter grids painless

D2/XY Plot
D2 XY Plot Easy Mini

The XY plot that auto-queues a full grid — checkpoint, prompt, seed, steps, you name it

D2/XY Plot
D2 XY Prompt SR

Recreate A1111's Prompt S/R in ComfyUI — without the brain damage

D2/XY Plot
D2 XY Prompt SR2

A1111's Prompt S/R, as a node that sits inside the XY loop

D2/XY Plot
D2 XY Seed

Random seeds on demand — type -1, get a fresh number every run

D2/XY Plot
D2 XY Seed2

Need 20 seeds, 10 incrementing, or 8 random? Count them out instead of typing

D2/XY Plot
D2 XY String To Plot

XY-compare whole multi-line prompts without the plot choking on line breaks

D2/XY Plot
D2 XY Upload Image

Drag and drop a stack of reference images straight into an XY plot

D2/XY Plot
Readme
<h1 style="border:none;"> <img src="./docs/img/title.jpg" style="max-width:100%"> </h1>

<a href="docs/en/index.md">English</a> | <a href="docs/ja/index.md">日本語</a> | <a href="docs/zh/index.md">繁体中文</a>

<strong>D2 Nodes ComfyUI</strong> is a collection of custom nodes created with the themes of "slightly convenient," "simple," and "maintaining versatility." Features:

  • Versatile XY Plot
  • Workflow that automatically switches quality tags based on Checkpoint lineage
  • Queue button with freely adjustable batch sizes
  • Various other "slightly convenient nodes"

⚠️ <注意 / Notice> ⚠️

Version 32.0.0 から ComfyUI V3 Scheme に移行しました。 古いバージョンのComfyUIで動作しない場合は Ver32.0.0より前のバージョンをお使いください。

Starting from version 32.0.0, this project has migrated to the ComfyUI V3 schema. If it does not work on an older version of ComfyUI, please use a version earlier than v32.0.0.

自 32.0.0 版起,本專案已遷移至 ComfyUI V3 Scheme。 若在舊版 ComfyUI 上無法運作,請改用 32.0.0 之前的版本。