Extensions/ComfyUI-LZNodes
ComfyUI Extension

ComfyUI-LZNodes

A ComfyUI extension with 42 custom nodes.

By liz-ils·Created 6 months ago·Updated 3 months ago· 1
liz-ils/ComfyUI-LZNodes
Nodes42
On cloudLocal install
CategoryMyCustomNodes/Prompt, MyCustomNodes/Conditioning
Stars1
Updated3 months ago

Nodes (42)

LZ Advanced Negative Prompt
MyCustomNodes/Prompt
LZ Advanced Positive Prompt
MyCustomNodes/Prompt
LZ Dual CLIP Text Encode
MyCustomNodes/Conditioning
LZ Checkpoint Loader & Encode
MyCustomNodes/Loaders
LZ Anima Artist Cross-Attn (v2)
LZNodes/Anima
LZ Anima Artist Node
LZNodes/Anima
LZ Anima Artist Options (Advanced)
LZNodes/Anima
LZ Anima Artist Pack (Split + Encode)
LZNodes/Anima
LZ Anima Loader
MyCustomNodes/Loaders
LZ Append Log to CSV
MyCustomNodes/Log
LZ Batch Save With Labels
MyCustomNodes/IO
LZ CLIP Text Encode
MyCustomNodes/Conditioning
LZ KSampler & Decode
MyCustomNodes/Sampling
LZ Log Reader
MyCustomNodes/Log
LZ LoRA Loader (Model Only)
MyCustomNodes/Loaders
LZ LoRA Stacker
MyCustomNodes/Loaders
LZ Merge Recipe Manual
MyCustomNodes/Merge
LZ Merge Recipe Random
MyCustomNodes/Merge
LZ Merge Recipe Random Advanced
MyCustomNodes/Merge
LZ Pipe Info
MyCustomNodes/Pipe
LZ Pipe Merge
MyCustomNodes/Pipe
LZ Pipe Pack
MyCustomNodes/Pipe
LZ Pipe Pack XL
MyCustomNodes/Pipe
LZ Pipe Unpack
MyCustomNodes/Pipe
LZ Prompt Replace Multi
MyCustomNodes/Text
LZ Prompt Replace Single
MyCustomNodes/Text
LZ Prompt Replace String
MyCustomNodes/Text
LZ Prompt Weight
MyCustomNodes/Text
LZ Save Image & Log
MyCustomNodes/IO
LZ Save String to CSV
MyCustomNodes/Text
LZ Simple Checkpoint Loader
MyCustomNodes/Loaders
LZ String Sanitize
MyCustomNodes/Text
LZ String Select
MyCustomNodes/Text
LZ Tag Editor
MyCustomNodes/Text
LZ Text Preview
MyCustomNodes/Text
LZ XY Grid Output
MyCustomNodes/XY
LZ XY Plot
MyCustomNodes/XY
LZ XY Plot & Sampler
MyCustomNodes/XY
LZ XY Sampler
MyCustomNodes/XY
LZ Preset Empty Latent Image
MyCustomNodes/Latent
LZ String Concat
MyCustomNodes/Text
LZ String Output
MyCustomNodes/Text
Readme

ComfyUI-LZNodes

ComfyUI-LZNodes is a collection of custom nodes for ComfyUI designed to simplify complex node workflows and enhance the image generation process.

日本語版 (Japanese Version)

Features

This extension provides several quality-of-life nodes that condense common workflows:

  • LZ Pipe System (LZPipePack / LZPipePackXL / LZPipeUnpack / LZPipeMerge / LZPipeInfo): Simplifies "spaghetti" node connections by bundling MODEL, CLIP, VAE, CONDITIONING, LATENT, and generation parameters into a single lz_pipe connection.
  • Smart Loaders:
    • EZCheckpointLoader: Loads a checkpoint and automatically encodes positive/negative prompts in a single node.
    • LZSimpleCheckpointLoader: A lightweight loader strictly for extracting model components.
    • LZLoRAStacker: Easily stack up to 10 LoRAs with built-in caching for faster generation.
    • LZAnimaLoader: Specialized loader for Anima models that loads the diffusion model, text encoder, and VAE separately.
  • Anima Artist Mixer:
    • LZAnimaArtistNode: Combined node that splits/encodes artist chains and applies cross-attention injection in one step. Outputs (MODEL, CONDITIONING, STRING) with the base prompt text as positive_text for direct connection to the pipe system.
    • LZAnimaArtistPack / LZAnimaArtistCrossAttn: Separate split-encode and cross-attn injection nodes for advanced workflows. LZAnimaArtistCrossAttn also outputs positive_text (STRING).
    • LZAnimaArtistOptions: Advanced options for fine-tuning block ranges, fusion modes, EMA smoothing, low-rank injection, static capture, and anchor Q.
  • Prompt Management:
    • AdvancedPositivePrompt / AdvancedNegativePrompt: Cleanly separate base prompts, artist tags, and quality tags. Automatically concatenates and encodes them.
    • DualCLIPTextEncode: Encodes both positive and negative prompts simultaneously.
    • LZPromptWeight: Automatically wraps prompt tags with weight syntax (tag:weight).
    • LZTagEditor: Visually edit up to 10 tags with individual strength and on/off toggles.
    • LZPromptReplaceSingle / LZPromptReplaceMulti / LZPromptReplaceString: Dynamically replace placeholders in prompts using CSV files or inline candidate lists.
  • Text Utilities:
    • StringNode / StringConcatNode: Basic string output and multi-input concatenation.
    • LZTextPreview: Display string values directly in the node UI.
    • LZStringSanitize: Remove or replace illegal filename characters.
    • LZStringSelect: Select one string from multiple inputs by index.
  • All-In-One Sampling (LZKSamplerDecode): Combines KSampler and VAEDecode into a single step, pulling directly from the lz_pipe routing. It can also accept raw text and perform CLIP encoding dynamically if conditioning isn't explicitly provided.
  • XY Plot System (LZXYPlot / LZXYPlotSampler / LZXYSampler / LZXYGridOutput): Grid comparison system for checkpoints, LoRAs, samplers, schedulers, and prompt variations. Supports replacement keys and automatic grid image generation with labels.
  • Comprehensive Image Saving & Logging:
    • LZSaveImageAndLog: Saves generated images (PNG/WEBP/JPG) alongside a highly detailed .txt log file capturing everything from Seed and Steps to Checkpoint Hash and full Prompt text. It also injects this data into PNG metadata invisibly.
    • LZBatchSaveWithLabels: Batch-save images with XY labels embedded in filenames and metadata, plus automatic batch log output.
    • LZAppendLogToCSV: Append generation parameters to a CSV file for spreadsheet tracking.
    • LZLogReader: Read back .txt log files generated by LZSaveImageAndLog to restore parameters as node outputs.
  • Model Merge Recipe (LZMergeRecipeRandom / LZMergeRecipeManual / LZMergeRecipeRandomAdvanced): Generate 19-block merge recipes (IN00-IN08, M00, OUT00-OUT08) compatible with Model Merge tools.
  • Preset Latent (PresetEmptyLatentImage): Quickly create empty latent images using common SDXL resolutions. Supports both SDXL (4ch) and Anima (16ch) latent formats.

Node List

| Category | Nodes | |---|---| | Loaders | EZCheckpointLoader, LZSimpleCheckpointLoader, LZLoRAStacker, LZAnimaLoader | | Anima | LZAnimaArtistNode, LZAnimaArtistPack, LZAnimaArtistCrossAttn, LZAnimaArtistOptions | | Prompt | DualCLIPTextEncode, AdvancedPositivePrompt, AdvancedNegativePrompt, LZPromptWeight, LZTagEditor | | Text | StringNode, StringConcatNode, LZTextPreview, LZStringSanitize, LZStringSelect, LZPromptReplaceSingle, LZPromptReplaceMulti, LZPromptReplaceString | | Latent | PresetEmptyLatentImage | | Pipe | LZPipePack, LZPipePackXL, LZPipeUnpack, LZPipeInfo, LZPipeMerge | | Sampling | LZKSamplerDecode | | XY Plot | LZXYPlot, LZXYPlotSampler, LZXYSampler, LZXYGridOutput | | IO | LZSaveImageAndLog, LZBatchSaveWithLabels | | Log | LZAppendLogToCSV, LZLogReader | | Merge | LZMergeRecipeRandom, LZMergeRecipeManual, LZMergeRecipeRandomAdvanced |

Installation

  1. Navigate to your ComfyUI custom_nodes directory:
    cd ComfyUI/custom_nodes
    
  2. Clone this repository:
    git clone https://github.com/liz-ils/ComfyUI-LZNodes
    
  3. Restart ComfyUI.

Usage

Once installed, the nodes can be found in the ComfyUI add-node menu under the MyCustomNodes category (e.g., MyCustomNodes/Loaders, MyCustomNodes/Prompt, MyCustomNodes/Sampling, etc.).

Tip: A great starting point is connecting an EZCheckpointLoader through an LZPipePack to an LZKSamplerDecode, and finishing with LZSaveImageAndLog.

License

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

About Third-Party Nodes

Anima Artist Mixer - LZAnimaArtistNode, LZAnimaArtistPack, LZAnimaArtistCrossAttn, and LZAnimaArtistOptions are modified versions of the code from Anima-Artist-Mixer (by An1X3R and 汐浮尘).

  • Used under the MIT License:
MIT License

Copyright (c) 2026 An1X3R and 汐浮尘

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.