Skip to content

How-ToGPU

How to Run Z-Image-Turbo Locally in ComfyUI

Z-Image-Turbo is a free, Apache 2.0-licensed image model from Alibaba's Tongyi Lab that generates pictures in eight steps and, its developers say, fits within 16GB of VRAM. Using the official ComfyUI tutorial and model card, we show how to set it up and get good results.

By , Systems & Technical Editor

5 min read

How to Run Z-Image-Turbo Locally in ComfyUI

Z-Image-Turbo is a free, open-weight text-to-image model from Alibaba's Tongyi Lab, and it's designed to be small, fast and good at rendering text inside pictures. It needs only eight steps per image, and its developers say it fits within 16GB of VRAM on consumer graphics cards. This guide shows you how to run it in ComfyUI using the official ComfyUI tutorial and the Z-Image model card.

What is Z-Image-Turbo?

Z-Image is a family of 6-billion-parameter image models built on what Tongyi Lab calls a Scalable Single-Stream DiT (S3-DiT) architecture, where text, visual semantic tokens and image VAE tokens are joined into a single input stream. Z-Image-Turbo is the distilled member of the family, and the official model card makes several claims about it:

  • Eight steps: it produces images in only 8 NFEs (number of function evaluations), compared with 50 steps for the non-distilled Z-Image base model.

  • Consumer hardware: it "fits comfortably within 16G VRAM consumer devices", and Tongyi Lab quotes sub-second generation on enterprise H800 GPUs, which you shouldn't expect from a home PC.

  • Text rendering: it's designed to render complex English and Chinese text accurately, which is useful for posters, signs and mock-ups.

  • No CFG: the Turbo model doesn't use classifier-free guidance; the official Diffusers example sets guidance to 0.

  • Licence: the weights are released under the Apache 2.0 licence, so you can use them commercially as well as at home.

The trade-off, according to the model zoo table, is diversity: Tongyi Lab rates Turbo's visual quality "very high" but its diversity "low", and it lists Turbo's fine-tunability as N/A. If you want to train LoRAs or need more varied outputs, the separate Z-Image base model is the one to look at.

What you need

  • ComfyUI, fully updated. If you haven't installed it yet, follow our guide to installing ComfyUI on Windows or on Linux. The ComfyUI docs warn that if the Z-Image template doesn't appear, or nodes are missing, your copy is probably out of date, so update ComfyUI first.

  • A supported GPU. ComfyUI's system requirements list Nvidia GPUs, AMD GPUs on Linux and Windows via ROCm, Intel Arc via PyTorch XPU and Apple Silicon. ComfyUI also has a CPU-only mode, which its docs describe as slower.

  • Around 16GB of VRAM for the official files. Tongyi Lab's 16GB figure makes 16GB cards such as the ASUS RTX 5060 Ti 16GB Dual OC or the MSI RTX 5070 Ti 16GB Ventus 3X OC the natural target. See our VRAM guide if you're unsure what your card has.

Step 1: Download the three model files

The ComfyUI tutorial lists three files for the basic text-to-image workflow:

File

What it is

ComfyUI folder

z_image_turbo_bf16.safetensors

The Z-Image-Turbo diffusion model

ComfyUI/models/diffusion_models/

qwen_3_4b.safetensors

The text encoder

ComfyUI/models/text_encoders/

ae.safetensors

The VAE

ComfyUI/models/vae/

The download links are on the ComfyUI tutorial page. Put each file in the folder shown, then restart ComfyUI or refresh the model lists so it can see them.

Step 2: Load the official workflow

Open ComfyUI's workflow templates and look for Z-Image-Turbo text-to-image, or download the workflow JSON from the ComfyUI tutorial and drag it onto the canvas. Check that the diffusion model loader points at z_image_turbo_bf16.safetensors, the text encoder loader at qwen_3_4b.safetensors and the VAE loader at ae.safetensors. If nodes are missing when the workflow loads, the ComfyUI docs say the usual causes are an out-of-date ComfyUI or nodes that failed to import at startup.

Step 3: Write a prompt and generate

Type your prompt into the text encode node and press Queue (or Ctrl+Enter). Leave the template's sampler settings alone to start with. Turbo was distilled to produce images in eight steps, and Tongyi Lab's own example code sets the guidance value to 0, noting that guidance should be 0 for the Turbo models. Because Turbo runs without CFG, don't rely on negative prompts; the model card lists effective negative prompting as a strength of the base Z-Image model, not the Turbo version.

A few tips based on what the developers say the model is good at:

  • Use it for text in images. Spell out the exact words you want on a shop sign or poster headline inside a descriptive prompt. Accurate English and Chinese text rendering is one of the headline features.

  • Describe the scene in detail. Tongyi Lab's example prompt is long and specific, covering the subject, clothing, lighting and background rather than a short list of keywords.

  • Start at 1024 x 1024. That's the resolution in Tongyi Lab's example code, so it's a sensible default before you experiment.

Step 4: Add ControlNet (optional)

The ComfyUI docs also include a Z-Image-Turbo Fun Union ControlNet workflow, which can guide an image from a Canny edge map, HED lines, a depth map, a pose or MLSD straight lines. It needs one extra file, Z-Image-Turbo-Fun-Controlnet-Union.safetensors, which goes in ComfyUI/models/model_patches/. If ControlNet is new to you, our guide to using ControlNet in ComfyUI explains the idea.

If you have less than 16GB of VRAM

ComfyUI has general memory-saving options covered in our guide to running ComfyUI on a low-VRAM GPU. Separately, the Z-Image GitHub page points to stable-diffusion.cpp, a C++ inference engine that supports Z-Image on CUDA, Vulkan and other back-ends, and says it can run the model on machines with as little as 4GB of VRAM. That's an option for older or smaller cards, though it's a separate tool rather than a ComfyUI workflow, so the steps in this guide won't apply.

Z-Image-Turbo or something else?

Z-Image-Turbo is a strong default for fast, photorealistic text-to-image work on a 16GB card, but it doesn't edit existing images. Tongyi Lab lists a separate Z-Image-Edit model for that, though its model card still marked it "to be released" when we checked on 28 November 2026. If you'd like a smaller model that also edits images, Black Forest Labs' FLUX.2 [klein] is the obvious alternative; our guide to running FLUX.2 [klein] locally covers it. For a wider view, read our pick of the best local AI image models, and if you're choosing hardware, see our best GPU for ComfyUI guide.

The bottom line

Z-Image-Turbo is one of the easiest ways to get fast, high-quality local image generation in ComfyUI: download three files, load the official template and generate in eight steps. Its developers say it fits within 16GB of VRAM, it's designed to render English and Chinese text in images accurately, and its Apache 2.0 licence allows commercial use. Keep the template's default settings at first, and use the base Z-Image model instead if you need more varied results or want to fine-tune.

In this article

Sources

  1. 01ComfyUI documentation, Z-Image-Turbo in ComfyUI
  2. 02Tongyi-MAI, Z-Image-Turbo model card on Hugging Face
  3. 03Tongyi-MAI, Z-Image GitHub repository
  4. 04ComfyUI documentation, System requirements

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Use Special K: Frame Limiter, HDR Retrofit and More

How-To

How to Use Special K: Frame Limiter, HDR Retrofit and More

Special K is a free, open-source tool that adds a frame limiter, HDR retrofit, better borderless windows and NVIDIA Reflex to PC games. We explain how to install it, launch games through SKIF, use the frame limiter and HDR calibration, and avoid anti-cheat and compatibility problems, using the official wiki.

Marcus Thorne6 min

How to Edit Images Locally with Qwen-Image-Edit in ComfyUI

How-To

How to Edit Images Locally with Qwen-Image-Edit in ComfyUI

Qwen-Image-Edit lets you change photos with plain-English instructions, from swapping backgrounds and materials to rewriting text on signs, entirely on your own PC. Using Qwen's model cards and ComfyUI's official tutorials, we show how to set up the latest 2511 version.

Marcus Thorne5 min