Skip to content
Node packVerifiedExternal
Open source

ComfyUI-nhknodes

ComfyUI custom nodes collection - workflow utilities, image processing, and AI integration

Maintainer@EnashkaBgrade

Package profile

Status
Verified
Publisher
@Enashka
Source
GitHub
Stars
23

README

NHK Nodes for ComfyUI

A comprehensive collection of utility nodes for ComfyUI workflows. Organized into logical categories for better workflow management.

🌟 Featured Node

🖼️ Image Loader With Previews

The standout feature of this collection - an advanced image loader that hopefully simplifies how you browse and select images in ComfyUI.

  • Browse from any folder on your system
  • Live image previews - see images before selecting
  • Multiple sorting options: name, date modified, created

📦 Installation

Via ComfyUI Manager (Recommended)

  1. Open ComfyUI Manager
  2. Search for "NHK Nodes"
  3. Click Install
  4. Restart ComfyUI

Manual Installation

  1. Clone or download this repository to ComfyUI/custom_nodes/nhknodes
  2. Restart ComfyUI
  3. Nodes will appear in organized categories under nhk

🗂️ Node catalog

🔤 Text Processing (nhk/text)

  • 📝 Simple Text Input (nhk) – Minimal text entry node that just forwards its value.
  • 📄 Text Display (nhk) – Shows any incoming string inside the UI while keeping the data flowing.
  • 📂 Load Text Files (nhk) – Load text files with auto-incrementing index, repeat count, and wrap-around. Scans folders for numbered files (e.g., saved_text_001.txt).
  • 🧩 Text Combiner (nhk) – Unlimited text inputs with automatic sockets and configurable separator.
  • 🧷 Text Template (nhk) – Lightweight templating (The [a] walks in the [b]) with 4 placeholders [a]-[d].
  • 🧷 Text Template Extended (nhk) – Same as Text Template but with 8 placeholders [a]-[h].

🖼️ Image Processing (nhk/image)

  • 🖼️ Image Loader With Previews (nhk) – The featured browser with searchable folders, previews, and sorting.
  • 📸 Load Image Series (nhk) – Sequence loader with two modes (single_image/random). Use control_after_generate=increment for auto-advancing.
  • 📁 Image Series With Prompts (nhk) – Loads a folder sequence and attaches per-file prompts from a markdown lookup, with optional default fallback.
  • 📦 Image Grid Batch (nhk) – Stacks arbitrary images into a batch tensor for downstream samplers.
  • 🎯 Image Grid Composite (nhk) – Creates presentation grids with gutters, padding, and background control.
  • 📏 Visual Resizer (nhk) – Drops any image onto a custom canvas size with precise offsets.
  • 🧑 Add Headroom (nhk) – Shrinks the subject within the original canvas to create breathing room up top.
  • 🎨 Edit with Krita (nhk) – Sends a frame to Krita, waits for edits, and re-imports it into the workflow.
  • ⏹️ Extract Grid Panel (nhk) – Extracts a single panel from a grid image using spreadsheet notation (a1, b2, c3). Supports variable grid sizes and separator widths.
  • ⏹️ Load 2x2 Grid Series (nhk) – Loads images from a directory, treating each as a 2x2 grid. Extracts cells in reading order.
  • ⏹️ Load 3x3 Grid Series (nhk) – Loads images from a directory, treating each as a 3x3 grid. Extracts cells in reading order.
  • 🎨 RGBA Flatten (nhk) – Composites RGBA over solid background color, eliminating alpha artifacts and color bleed.
  • 🎯 Crop To Mask (nhk) – Crops image and mask to the mask bbox with a single padding value. Outputs bbox for stitch-back.

⚙️ Workflow Utilities (nhk/utility)

  • 📋 List Selector (nhk) – Select from a list by index, use a default input, or batch the entire list. Index 0 = default, 1+ = list item. Batch mode outputs all items as an output list.
  • 🔄 Cycling Switch (nhk) – Rotates through unlimited inputs, staying on each for a configurable number of runs.
  • 🚪 Interval Gate (nhk) – Turns a branch on/off every N executions (perfect for “every 5th image” flows).
  • 🔀 Double Switch (In/Out) (nhk) – Paired A/B switches that route image/text tuples together.
  • ⏱️ Execution Counter (nhk) – Counts queue runs, stops when a limit is reached, and shows progress.
  • **📐

Nodes in this pack

39 nodes
  • AddHeadroom
  • Bookmark
  • ConditionalRouter
  • ConditionalRouterDual
  • ConditionalSplitter
  • ConditionalStop
  • CropToMask
  • CyclingSwitch
  • DoubleSwitch
  • DoubleSwitchOut
  • EditWithKrita
  • ExecutionCounter
  • ExtractGridPanel
  • GeminiImageChat
  • ImageEvaluator
  • ImageGridBatch
  • ImageGridComposite
  • ImageLoaderWithPreviews
  • IntervalGate
  • ListSelector
  • LLMChat
  • Load2x2GridSeries
  • Load3x3GridSeries
  • LoadImageSeries
  • LoadImageSeriesWithPrompts
  • LoadTextFiles
  • OllamaChat
  • PlaySound
  • PreviewImagePassthrough
  • RGBAFlatten
  • SaveImagePassthrough
  • SimpleTextInput
  • SizePicker
  • TextCombiner
  • TextDisplay
  • TextEncodeFlux2ImageEdit
  • TextTemplate
  • TextTemplateExtended
  • VisualResizer

Related resources

5 connections

Sources

3 sources
GitHubSource
github.com/Enashka/ComfyUI-nhknodes

Verified Oct 9

GitHubSourceVersion 566d73067e3e9d47d3b1d6baa5a2a3ef8c81a195
github.com/Enashka/ComfyUI-nhknodes

Verified Oct 14

Source excerpts

1 excerpt

Source context: Repo Enashka/ComfyUI-nhknodes