Files
martin-rizzo-ComfyUI-ZImage…/README.md
T
Martin Rizzo 203538e462 fix: Correct wording in sponsorship section
This commit makes a small correction in README file, changing "tools" to "nodes" to accurately reflect that the project consists of nodes for ComfyUI.
2026-01-29 10:16:23 -03:00

7.9 KiB

Z-Image Power Nodes
Pushing the best image generation model to its limits!

Platform License Version Last

ComfyUI-ZImagePowerNodes is a collection of custom nodes designed and refined specifically for the Z-Image model. They are based on some ideas and discoveries I made while developing the Amazing Z-Image Workflow.

Table of Contents

  1. Nodes
  2. Examples
  3. Installation
  4. Recommended Checkpoints
  5. ❤️ Support my work
  6. License

Nodes

⚡ ZSampler Turbo

  • A specialized sampler designed to divide the denoising process into three stages: composition, details, and refinement. It maintains image stability between 4 and 9 steps and achieves sufficient quality and detail starting from step 7, eliminating the need for further refining or post-processing.
    "ZSampler Turbo" node documentation.

⚡ Style & Prompt Encoder

  • Applies a selected visual styles to the prompt and encodes them using a text-encoder model (clip). Enables generating images that follow the desired aesthetic while guiding the diffusion process.
    "Style Prompt Encoder" node documentation

⚡ Style String Injector

⚡ Save Image

  • Saves generated images with the option to embed CivitAI-compatible metadata, making it easy to share generation parameters through that platform.
    "Save Image" node documentation.

⚡ Empty Z-Image Latent Image

💀 Photo-Style Prompt Encoder

  • Deprecated, use "Style & Prompt Encoder" node.

💀 Illustration-Style Prompt Encoder

  • Deprecated, use "Style & Prompt Encoder" node.

Examples

A few example workflows demonstrating basic usage of these nodes can be found in the /workflows directory.

And hundreds of images generated with Z-Image model and the Power Nodes are available on the Z-Image Power Nodes page on CivitAI. The images posted by me include their prompts and complete generation workflows and you can use them freely as a basis for your own images. Additionally, there are also many users sharing their amazing creations there.

Installation

Ensure you have the latest version of ComfyUi.

The easiest way to install the nodes is through ComfyUI-Manager:

  1. Open ComfyUI and click on the "Manager" button to launch the "ComfyUI Manager Menu".
  2. Within the ComfyUI Manager, locate and click on the "Custom Nodes Manager" button.
  3. In the search bar, type "Z-Image Power Nodes".
  4. Select the option from the search results and click the "Install" button.
  5. Restart ComfyUI to ensure the changes take effect.

Manual Installation

🛠️ Manual installation instructions. (expand for details) .
  1. Open your preferred terminal application.
  2. Navigate to your ComfyUI directory:
    cd <your_comfyui_directory>
    
  3. Move into the custom_nodes folder and clone the repository:
    cd custom_nodes
    git clone https://github.com/martin-rizzo/ComfyUI-ZImagePowerNodes.git
    

Windows Portable Installation

🛠️ Windows portable installation instructions. (expand for details) .
  1. Go to where you unpacked ComfyUI_windows_portable,
    you'll find your run_nvidia_gpu.bat file here, confirming the correct location.
  2. Press CTRL + SHIFT + RightClick in an empty space and select "Open PowerShell window here".
  3. Clone the repository into your custom nodes folder using:
    git clone https://github.com/martin-rizzo/ComfyUI-ZImagePowerNodes .\ComfyUI\custom_nodes\ComfyUI-ZImagePowerNodes
    

GGUF Format

GGUF checkpoints tend to run slightly slower in ComfyUI. However, if you are building a complex workflow that involves other models or using heavy LLMs with ollama, GGUF files can help prevent system freezes and OOM errors during generation, especially when VRAM is limited. For simple image generation workflows, a safetensors file (though heavier) might be preferable. When working with GGUF in Z-Image, from my experience, using the Q5_K_S quantization typically offers the best balance between file size and prompt response.

Note: ComfyUI does not natively support GGUF format, so you need to install the ComfyUI-GGUF nodes.

Safetensors Format

Safetensors files are generally larger, but ComfyUI includes several built-in optimizations to speed up generation even with limited VRAM. It's always a good idea to test the original safetensors checkpoints on your system to see how they perform. However, using safetensors in fp8 format is strongly discouraged as it can significantly reduce quality. If you have an RTX 50 series GPU based on Blackwell architecture, NVFP4 quantized safetensors could be a better choice.

❤️ Support my work

If you find these nodes useful or it has helped you in your projects, please consider becoming a sponsor. Your support allows me to keep my tools free and accessible for everyone.

Every contribution, no matter how small, is greatly appreciated!

License

Copyright (c) 2026 Martin Rizzo
This project is licensed under the MIT license.
See the "LICENSE" file for details.