Extensions/ComfyUI-NS-Util
ComfyUI Extension

ComfyUI-NS-Util

A collection of nodes for ComfyUI. ex:A node for batch managing int, float, and string parameters with presets

By NakamuraShippo·Created about a year ago·Updated 3 months ago· 5
NakamuraShippo/ComfyUI-NS-Util
Nodes36
On cloudLocal install
CategoryNS/Filter, NS/Attention
Stars5
Updated3 months ago

Nodes (36)

NS-Albedo Map Filter

Strip the lighting off any render and get a clean albedo

NS/Filter
NS Cross-Attention Map Recycler

Reuse your early attention maps to keep the composition honest

NS/Attention
NS Dual Encoder Guidance Scale

Scale the content encoder and the style encoder separately

NS/Conditioning
NS Dual Encoder Schedule

Sweep the content/style balance as the image develops

NS/Conditioning
NS Dual Encoder Text Encode

Give SDXL's two encoders two different prompts

NS/Conditioning
NS Flex Preset

Save and reload whole groups of node settings as YAML presets

NS/Utility
NS Many Sliders

Fifteen sliders that hand you one comma-separated string

NS/Utility
NS Micro Conditioning Guidance

Guidance from the difference between high-res and low-res predictions

NS/Conditioning
NS Micro Conditioning Override

Fake the size and crop SDXL thinks it's rendering at

NS/Conditioning
NS Micro Conditioning Schedule

Walk SDXL's perceived resolution from giant to normal mid-run

NS/Conditioning
NS Prompt List

NS Prompt List, reviewed

NS/Utility
NS Refiner Boundary Optimizer

Let the image decide where the base model hands off to the refiner

NS/Sampling
NS Refiner Guidance Scale

A volume knob for the refiner's bigG conditioning

NS/Conditioning
NS Refiner Schedule

Ramp the refiner's conditioning across the sampling run

NS/Conditioning
NS Refiner Text Encode

The SDXL refiner's text encoder, plus an aesthetic score dial

NS/Conditioning
NS Toon Filter

A classic cel-shade toon pass, straight out of OpenCV

NS/Filter
Simple LLM: Add Document

Stuff a text document into the Simple LLM's vector store

NS/LLM/RAG
Simple LLM: Add Memory

The one slider that decides what your agent actually remembers

NS/LLM/Memory
Simple LLM Agent

Turn an LLM config and a system prompt into something you can call

NS/LLM/Agent
Simple LLM: Agent to Tool

Packaging one LLM agent so another can call it

NS/LLM/Tools
Simple LLM: Agent with Rules

Your guardrails are just system prompt surgery

NS/LLM/Agent
Simple LLM: Chain of Thought

Chain of Thought here is a prompt factory — it doesn't think, it writes the script

NS/LLM/Advanced
Simple LLM Config: Claude

Pick a model, plug a key, cap the temperature at 1.0

NS/LLM/Config
Simple LLM Config: Gemini

The cheap, long-context option with the 65k token ceiling

NS/LLM/Config
Simple LLM Config: Ollama

The only one with no API key — local, private, free

NS/LLM/Config
Simple LLM Config: OpenAI

The default dials, with gpt-4.1-mini already picked for you

NS/LLM/Config
Simple LLM: Display Text

See your LLM's answer without leaving the graph

NS/LLM/Output
Simple LLM: Load Workflow

A workflow loader that (for now) just says 'loaded'

NS/LLM/Utils
Simple LLM: Memory Bank

A named box with a capacity — the container that makes Add Memory make sense

NS/LLM/Memory
Simple LLM: Merge Text

Stitch up to four strings with a separator you actually control

NS/LLM/Text
Simple LLM: RAG Query

A 'RAG' query that's really just a document sandwich

NS/LLM/RAG
Simple LLM Run: Prompt

The node that actually calls the LLM (and returns text)

NS/LLM/Run
Simple LLM: String Viewer

Inspect a string, wrap it in prefix/suffix, pass it along

NS/LLM/Output
Simple LLM: Text Input

The boring little node every LLM workflow actually starts with

NS/LLM/Input
Simple LLM: Text Output

The terminal node that takes a string and gives nothing back

NS/LLM/Output
Simple LLM: Vector Store

A name tag for a box of text — set your RAG expectations accordingly

NS/LLM/RAG
Readme

ComfyUI-NS-Util

日本語README

A collection of nodes for ComfyUI.

This consolidates the previously created nodes into one package.

Please see the wiki for an explanation of each node.

Node Contents

Utility

Contains useful nodes.

Graphics Filter

A filter that applies special effects to images.

LLM(Implementing the tests now.)

Functions for connecting to and interacting with external LLM services. Local LLM supports Ollama.

Installation

If you have ComfyUI-Manager installed

  1. Click Main Menu -> Manager -> Install via Git URL
  2. Paste the URL into the text box that appears at the top of the window and press OK
    https://github.com/NakamuraShippo/ComfyUI-NS-Util
  3. Once installation is complete, restart ComfyUI

If you don't have ComfyUI-Manager installed

  1. Navigate to ComfyUI's custom nodes directory (usually ComfyUI/custom_nodes/)
  2. Clone this repository:
    git clone https://github.com/NakamuraShippo/ComfyUI-NS-Util
  3. Restart ComfyUI
  4. In ComfyUI\venv\Scripts, Shift+right-click -> Open terminal -> activate
pip install pyyaml watchdog

Usage

Each node page of the wiki is written in both Japanese and English.

wiki

Requirements

  • ComfyUI (0.3 or later recommended, other versions not tested)
  • Python packages (automatically included with ComfyUI):
    • pyyaml
    • watchdog
    • aiohttp
    • opencv-python

Roadmap

This is the first node in the NS-Util collection. Future additions planned:

  • ManySliders
    • Will be redesigned to be switchable with presets before addition

Contributing

Contributions are welcome! Feel free to submit pull requests or create issues for bugs and feature requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter problems or have questions:

Acknowledgments

  • Thanks to the ComfyUI team for creating an amazing platform
  • Thanks to AI animals for giving me ideas

NakamuraShippo

X : @nakamurashippo

支援をお願いします