AmazingZImageWorkflow
Z-Image workflow with predefined styles for high-quality image generation and a user-friendly experience. Includes pre-configured versions for GGUF and SAFETENSORS checkpoint formats.
Install / Use
npx skills add martin-rizzo/AmazingZImageWorkflowInstalls into whichever agent you are using.
README
Amazing Z-Image Workflow v4.0
<img src="https://img.shields.io/badge/CivitAI%3A-Amazing_Z--Image-EEE?labelColor=1971C2&logo=c%2B%2B&logoColor=white" height="22">
<img src="https://img.shields.io/badge/CivitAI%3A-Amazing_Z--Comics-EEE?labelColor=1971C2&logo=c%2B%2B&logoColor=white" height="22">
<img src="https://img.shields.io/badge/CivitAI%3A-Amazing_Z--Photo-EEE?labelColor=1971C2&logo=c%2B%2B&logoColor=white" height="22">
<img src="files/banner.jpg" width="75%"></img>
A workflow for Z-Image-Turbo that expands the ComfyUI base workflow with additional features, particularly focused on high-quality image styles and user-friendly functionality, while also integrating an image refiner and a simple upscaler. The package includes pre-configured setups for both GGUF and SAFETENSORS formats.
Table of Contents
Features
- Style Selector: Choose from eighteen customizable image styles.
- Refiner: Improves final quality by performing a second pass.
- Upscaler: Increases the resolution of any generated image by 50%.
- Refiner & Upscaler Mode Selector: Allows selecting between photo and illustration modes to optimize refinement and upscaling for specific image types.
- Speed Options:
- 7 Steps Switch: Uses fewer steps while maintaining the quality.
- Smaller Image Switch: Generates images at a lower resolution (1216 x 832 pixels).
- Extra Options:
- Alternative Sampler Switch: Easily test generation with an alternative sampler.
- Landscape Orientation Switch: Change to horizontal image generation with a single click.
- Spicy Impact Booster Switch: Adds a subtle spicy condiment to the prompt (fully experimental).
- Preconfigured workflows for each checkpoint format (GGUF / SAFETENSORS).
- Custom sigma values fine-tuned by hand (version 4.0 utilizes a new set of experimental sigma values)
- Generated images are saved in the "ZImage" folder, organized by date.
- Includes the "Power Lora Loader" node for loading multiple LoRAs.
- Incorporates a trick to enable automatic CivitAI prompt detection.
The 18 Predefined Styles in "amazing-z-image" (a)
<img src="amazing-z-image-a_gallery1.jpg" width="25%"></img>
The 18 Predefined Styles in "amazing-z-image" (b)
<img src="amazing-z-image-b_gallery1.jpg" width="25%"></img>
The 18 Predefined Styles in "amazing-z-comics"
<img src="amazing-z-comics_gallery1.jpg" width="25%"></img>
The 18 Predefined Styles in "amazing-z-photo"
<img src="amazing-z-photo_gallery1.jpg" width="25%"></img>
Workflows Overview
The available styles are organized into workflows based on their focus:
amazing-z-image-a: The original general-purpose workflow with a variety of image styles.amazing-z-image-b: Workflow featuring interesting styles that could not fit into the main 'a' group.amazing-z-comics: Workflow dedicated to illustration (comics, anime, pixel art, etc.).amazing-z-photo: Workflow dedicated to photographic images (phone, vintage, production photos, etc.).
Each of these workflows comes in two versions, one for GGUF checkpoints and another for SafeTensors.
This is reflected in the filenames:
amazing-z-###_GGUF.json: Recommended for GPUs with 12GB or less VRAM.amazing-z-###_SAFETENSORS.json: Based directly on the ComfyUI example.
<sup>When using ComfyUI, you may encounter debates about the best checkpoint format. From my experience, GGUF quantized models provide a better balance between size and prompt response quality compared to SafeTensors versions. However, it's worth noting that ComfyUI includes optimizations that work more efficiently with SafeTensors files, which might make them preferable for some users despite their larger size. The optimal choice depends on factors like your ComfyUI version, PyTorch setup, CUDA configuration, GPU model, and available VRAM and RAM. To help you find the best fit for your system, I've included links to various checkpoint versions below.</sup>
Required Custom Nodes
These nodes can be installed via ComfyUI-Manager or downloaded from their respective repositories.
- rgthree-comfy: Required for both workflows.
- ComfyUI-GGUF: Required if you are using the workflow preconfigured for GGUF checkpoints.
Required Checkpoints Files
For "amazing-z-###_GGUF.json"
<sub>Using Q5_K_S quants, you will likely achieve the best balance between file size and prompt response.</sub>
- z_image_turbo-Q5_K_S.gguf <sub>[5.19 GB]</sub>
Local Directory:ComfyUI/models/diffusion_models/ - Qwen3-4B.i1-Q5_K_S.gguf <sub>[2.82 GB]</sub>
Local Directory:ComfyUI/models/text_encoders/ - ae.safetensors <sub>[335 MB]</sub>
Local Directory:ComfyUI/models/vae/ - 4x_foolhardy_Remacri.safetensors <sub>(for illustration refining) [66.9 MB]</sub>
Local Directory:ComfyUI/models/upscale_models/
For "amazing-z-###_SAFETENSORS.json"
<sub>While it may require 12GB of VRAM or more to run smoothly, ComfyUI's optimizations may allow it to work well on your system.</sub>
- z_image_turbo_bf16.safetensors <sub>(12.3 GB)</sub>
Local Directory:ComfyUI/models/diffusion_models/ - qwen_3_4b.safetensors <sub>(8.04 GB)</sub>
Local Directory:ComfyUI/models/text_encoders/ - ae.safetensors <sub>(335 MB)</sub>
Local Directory:ComfyUI/models/vae/ - 4x_foolhardy_Remacri.safetensors <sub>(for illustration refining) [66.9 MB]</sub>
Local Directory:ComfyUI/models/upscale_models/
For Low-VRAM Systems
If neither of the two provided versions nor their associated checkpoints perform adequately on your system, you can find links to several alternative checkpoint files below. Feel free to experiment with these options to determine which works best for you.
Diffusion Models (ComfyUI/models/diffusion_models/)
-
Z-Image-Turbo (GGUF Quantizations) This repository hosts various quantized versions of the
z_image_turbomodel (e.g., Q4_K_S, Q4_K_M, Q3_K_S). While some of these quantizations offer significantly reduced file sizes, this often comes at the expense of final output quality. -
Z-Image-Turbo (FP8 SafeTensors) Similar to the GGUF options, this repository provides two
z_image_turbomodels quantized to FP8 (8-bit floating point) in SafeTensors format. These can serve as replacements for the original SafeTensors model, but in my opinion, they degrade quality quite a bit.
Text Encoders (ComfyUI/models/text_encoders/)
- Qwen3-4B (Various GGUF Quantizations)
This repository offers various quantized versions of the
Qwen3-4Btext encoder in GGUF format (e.g., Q2_K, Q3_K_M). Note: Quantizations beginning with "IQ" might not work, as the GGUF node did not support them during my testing.
For Version 3.x
If, for some reason, you need to use the older version 3.x, you will also require the following additional file:
- 4x_Nickelback_70000G.safetensors <sub>[66.9 MB]</sub>
Local Directory:ComfyUI/models/upscale_models/
Acknowledgments
I would like to extend my gratitude to the following developers:
- Tongyi-MAI Team: For creating the exceptional Z-Image-Turbo model, which stands out as the best choice for generating high-quality images on consumer GPUs.
- Regis Gaughan III (rgthree): For creating an excellent collection of ComfyUI nodes that enable implementing logic and user interface within workflows, enhancing functionality and usability.
These components have been indispensable in making Amazing Z-Image Workfl
Related Skills
qqbot-channel
385.5kQQ channel management skill. Use qqbot_channel_api for explicit QQ channel-management requests; confirm write, delete, and bulk actions before calling authenticated QQ Open Platform endpoints.
docs-writer
106.4kAlways use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
cpp
40.5kGuide Cursor to write modern C++ and CMake code with clear structure, RAII, const-correctness, and safe error handling.
gamemaker-gml
40.5kGameMaker Language (GML) rules for scripts, objects, events, rooms, data structures, and performance-minded game code
