D2 Nodes ComfyUI
This is a collection of custom nodes that make ComfyUI slightly more convenient.
Nodes (62)
Carry a whole pipeline's worth of values down one wire
A plain checkpoint loader that actually tells you which file it loaded
ControlNet for the D2 KSampler — strength and schedule in one node
Cut an object out of an image with a mask, cleanly
Blank canvas, but this one has an alpha channel
Stop hand-typing date-stamped output names
The multiline version of the D2 string builder
Batch-process a whole folder by just hitting queue once
Read an image's dimensions without guessing
A contact sheet that waits for all its images first
Batch your images and their masks in one node
The resize node that also does upscale models, rotation, masks, and latent
A batch builder with a dial for how many images you want
The all-in-one sampler that decodes its own image
A KSampler that decodes its own image and reads its prompts as text
Turn an array into a joinable string
Load them from a CSV instead
Load a UNet with fp8 options and get its path, hash, and a pipe out
One loader for the unet + VAE + CLIP triple
The whole folder, loaded into one batch
Load Image that reads back the prompt — including A1111 and NovelAI files
Load LoRAs by typing their names instead of reaching for a dropdown
Read a text file into the graph, with encoding rescue built in
Merge two SDXL models and their CLIPs with one comma-separated list
Censor faces and plates without leaving ComfyUI
Paste a column of numbers and get a list to sweep
Paste an object back into a scene without killing the edges
The bus that carries your whole generation across the graph
One dropdown that swaps whole batches of settings (steps, cfg, whatever)
The click-to-zoom node ComfyUI's default still lacks
A prompt box that eats your comments and counts your tokens
Turn messy prompts (long_hair, ,, , double spaces) into clean tag soup
Stop doing SDXL refiner math in your head — it's end + 1
The math node for SDXL refiner passes, A1111-style
A display-only node that shows you the refiner math before it breaks your workflow
Regex text cleanup that doesn't fight your comma-separated tags
The node behind per-checkpoint quality tags
Upscale math that stays a multiple of 8, because your VAE will thank you
Send generated audio straight into Eagle — your library, not the output folder
The node that turns messy WD14 tag dumps into clean training captions
Save Image with a gallery, a filename template, and A1111 metadata
Save an image straight into Eagle, with the full generation memo
Get files into Eagle without leaving ComfyUI — for videos, mostly
Preset canvas sizes plus a ready-made empty latent — one node replaces three
Find the tags your training captions overuse — before they wreck your LoRA
Join any number of text inputs without the delimiter soup
Actual token counts for your prompt, from the real CLIP tokenizer — not word math
Write your own grid headers when the plot won't
Feed every image in a folder into an XY plot, automatically
The node that turns an XY plot run into one labeled comparison grid
Catch every value the XY plot spits out into one tidy array
The adapter that turns any LIST into something an XY plot can eat
Stop typing checkpoint names into XY plots — pull the whole folder in
Grid any parameter, keep the labels honest
The one-node XY plot that finally makes parameter grids painless
The XY plot that auto-queues a full grid — checkpoint, prompt, seed, steps, you name it
Recreate A1111's Prompt S/R in ComfyUI — without the brain damage
A1111's Prompt S/R, as a node that sits inside the XY loop
Random seeds on demand — type -1, get a fresh number every run
Need 20 seeds, 10 incrementing, or 8 random? Count them out instead of typing
XY-compare whole multi-line prompts without the plot choking on line breaks
Drag and drop a stack of reference images straight into an XY plot
<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 之前的版本。