D2 Nodes ComfyUI
This is a collection of custom nodes that make ComfyUI slightly more convenient.
Nodes (71)
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
Drag rectangles on the node, get one MASK socket per region
Drag a marker, get the coordinates — no calculator needed
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
D2 Merge Cnet
Merge two SDXL models and their CLIPs with one comma-separated list
Censor faces and plates without leaving ComfyUI
Let the mask do the bounding-box math
The layout JSON nobody wants to hand-write
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
A rectangle that lands somewhere new every time you queue
One random X/Y pair, in pixels or as a fraction
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> 2026.11.04 ⚠️
Version 43.0.0 で、ComfyUI 標準の Start Loop / End Loop に対応するため、多数のノードの入出力の名前・型・並び順を変更しました。 古いワークフローでは接続が外れたり、別の出力につながったりするので、ノードを再接続してください。
- 名称変更:
LIST→ARRAY(ComfyUI 標準の Array 型) - 名称変更:
BATCH→LIST(ComfyUI 本来の LIST 出力) - 名称変更:
x / y_list/x_list/y_list→x / y_items/x_items/y_items - 非推奨:
D2 List To String/D2 XY List To Plotは非推奨になりました。今後はD2 List Converterをお使いください。
In version 43.0.0, the names, types and order of inputs/outputs of many nodes have changed to support ComfyUI's built-in Start Loop / End Loop. Links in older workflows may be disconnected or attached to a different output, so please reconnect the nodes.
- Renamed:
LIST→ARRAY(ComfyUI's built-in Array type) - Renamed:
BATCH→LIST(ComfyUI's native LIST output) - Renamed:
x / y_list/x_list/y_list→x / y_items/x_items/y_items - Deprecated:
D2 List To String/D2 XY List To Plotare deprecated. Please useD2 List Converterinstead.
自 43.0.0 版起,為了支援 ComfyUI 內建的 Start Loop / End Loop,變更了許多節點輸入/輸出的名稱、型別與順序。 舊的工作流程中,連線可能會中斷或接到其他輸出,請重新連接節點。
- 名稱變更:
LIST→ARRAY(ComfyUI 內建的 Array 型別) - 名稱變更:
BATCH→LIST(ComfyUI 原生的 LIST 輸出) - 名稱變更:
x / y_list/x_list/y_list→x / y_items/x_items/y_items - 不建議使用:
D2 List To String/D2 XY List To Plot已不建議使用,今後請改用D2 List Converter。
⚠️ <注意 / Notice> 2026.01.15 ⚠️
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 之前的版本。