Skip to main content

Z-Image and Z-Image Turbo: Licence and How to Run Them

Z-Image is a 6B-parameter image model family from Alibaba's Tongyi-MAI team, under Apache 2.0. What Turbo and the base model are, and how to run them.

Founder of IImagined.ai

Published
May 8, 2026
Updated
Oct 13, 2026
Reading time
10 min read
Quick answer

Z-Image is a family of open image generation models with 6 billion parameters from the Z-Image Team at Tongyi-MAI, part of Alibaba Group, released under the Apache 2.0 licence. Z-Image-Turbo is the distilled version that generates in 8 function evaluations and, by the team's statement, fits within 16G of VRAM. Z-Image is the undistilled base for fine-tuning. Both run natively in ComfyUI from three files, and through Diffusers with the ZImagePipeline class.

Z-Image is a family of open image generation models with 6 billion parameters, made by the Z-Image Team at Tongyi-MAI, part of Alibaba Group, and released under the Apache 2.0 licence. Z-Image-Turbo is its distilled version, which generates an image in 8 function evaluations, and you can run it natively in ComfyUI or with the Diffusers library.

Checked 13 October 2026 against the Z-Image repository and its licence file, the Z-Image-Turbo and Z-Image model cards, the technical report and the project page; ComfyUI's Z-Image-Turbo and Z-Image tutorials, its Z Image examples and Comfy Org's repackaged files; the Fun ControlNet Union card; and the model cards for FLUX.1 [schnell] and SDXL. An earlier version of this page quoted generation times and a VRAM range that no source supports. They have been removed, and we publish no speed benchmarks because we have not run any.

This page belongs to our AI image generation for influencers workflow. For how Z-Image sits beside the other families you can load, see best ComfyUI models.

What is Z-Image?

Z-Image is described by its authors as "a powerful and highly efficient image generation model family with 6B parameters". The technical report positions it against larger open models: it says leading alternatives have 20 to 80 billion parameters, which makes them impractical on consumer hardware, and presents Z-Image as a 6 billion parameter model built on a Scalable Single-Stream Diffusion Transformer. In that design, text tokens and image tokens are joined into one sequence and processed together.

The repository lists four variants. Two are downloadable today.

VariantStatus on 13 October 2026StepsGuidance (CFG)What it is for
Z-Image-TurboReleased 26 November 20258NoGeneration. Distilled. Visual quality rated very high, diversity low
Z-ImageReleased 27 January 202628 to 50Yes, 3.0 to 5.0Generation. The undistilled foundation model, rated easy to fine-tune
Z-Image-Omni-BaseListed as "To be released"50YesGeneration and editing
Z-Image-EditListed as "To be released"50YesEditing by written instruction

Read the status column before following an older tutorial. The project page talks about Z-Image-Edit, and ComfyUI's docs list it as a variant, but the model table in the repository and on the model card still marks both Z-Image-Edit and Z-Image-Omni-Base as "To be released". There is no official editing checkpoint to download yet.

Z-Image releases
  1. 26 Nov 2025
    Z-Image-Turbo released

    Checkpoint published on Hugging Face and ModelScope.

  2. 27 Nov 2025
    Technical report submitted

    arXiv 2511.22699, by the Z-Image Team.

  3. 8 Dec 2025
    Leaderboard claim

    The team reports Turbo ranked 8th overall on the Artificial Analysis text-to-image leaderboard, first among open-source models. Rankings move.

  4. 27 Jan 2026
    Z-Image released

    The undistilled foundation model.

Source: News section of the Tongyi-MAI/Z-Image repository and arXiv, read 13 October 2026

Who makes Z-Image, and what is the licence?

The project page credits "Z-Image Team, Tongyi MAI, Alibaba Group". The weights are published by the Tongyi-MAI organisation on Hugging Face and on ModelScope.

The licence file in the repository is the Apache License, Version 2.0, and both model cards carry the Apache 2.0 tag. That is one of the most permissive licences among current image models: our SDXL guide sets the families and their licences side by side. Apache 2.0 covers the weights and code. It does not decide what you may publish: likeness law and platform rules still apply to the images.

Z-Image-Turbo vs Z-Image: which one to run

The two released models, by the team's own table
Z-Image-Turbo
  • 8 steps
  • No guidance: the official example sets guidance_scale to 0.0
  • No negative prompting
  • Visual quality rated very high, diversity low
  • Fine-tunability listed as not applicable
Z-Image
  • 28 to 50 steps
  • Guidance scale 3.0 to 5.0
  • Negative prompts strongly recommended
  • Diversity rated above Turbo: high on the model card, medium in the repository table
  • Described as a good base for LoRA training and ControlNet

For persona work the split is practical. Turbo is the lane for fast drafts: composition, outfit and lighting tests where you want many images quickly. Its low diversity rating means seeds resemble each other more, which helps when you want a steady look and hurts when you want options. The base model is the lane for anything you need to steer with a negative prompt, and for training.

How to run Z-Image-Turbo in ComfyUI

ComfyUI supports Z-Image natively: its README lists the model, and the official tutorial ships a workflow in the template library.

First Z-Image-Turbo image
  1. 1
    Update ComfyUI

    The tutorial says to make sure ComfyUI is updated. If the template is missing, your version may be outdated.

  2. 2
    Open the template

    Find the Z-Image-Turbo text-to-image workflow in the Workflow Templates.

  3. 3
    Download three files

    The diffusion model, the text encoder and the VAE, listed in the table below.

  4. 4
    Place them

    diffusion_models, text_encoders and vae, each under ComfyUI/models.

  5. 5
    Write a prompt and queue

    The model supports English and Chinese prompts.

FileSizeFolderWhat it is
z_image_turbo_bf16.safetensors12.3 GBComfyUI/models/diffusion_modelsThe Turbo diffusion model
qwen_3_4b.safetensors8.04 GBComfyUI/models/text_encodersThe text encoder, shared by Turbo and the base model
ae.safetensors335 MBComfyUI/models/vaeThe VAE. ComfyUI's examples note it is the Flux 1 VAE
z_image_bf16.safetensors12.3 GBComfyUI/models/diffusion_modelsThe base model, used in place of the Turbo file

Sizes are from Comfy Org's Hugging Face repositories. The same repository lists smaller versions of the Turbo diffusion model (6.2 GB and 4.51 GB files) and of the text encoder (5.63 GB and 3.48 GB files). No custom nodes are needed for the basic workflow. If you add community packs later, install them through ComfyUI Manager.

Pose and depth control exist too. ComfyUI's tutorial includes a workflow for the Z-Image-Turbo Fun Union ControlNet, which supports Canny, HED, Depth, Pose and MLSD and goes in ComfyUI/models/model_patches. Our ControlNet guide explains the control types, and the img2img guide covers refining a draft in a second pass.

How to run Z-Image-Turbo with Diffusers

The repository's quick start installs Diffusers from source, then loads the model with the ZImagePipeline class:

pip install git+https://github.com/huggingface/diffusers
import torch
from diffusers import ZImagePipeline

pipe = ZImagePipeline.from_pretrained(
    "Tongyi-MAI/Z-Image-Turbo",
    torch_dtype=torch.bfloat16,
    low_cpu_mem_usage=False,
)
pipe.to("cuda")

image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    num_inference_steps=9,  # This actually results in 8 DiT forwards
    guidance_scale=0.0,     # Guidance should be 0 for the Turbo models
    generator=torch.Generator("cuda").manual_seed(42),
).images[0]

The comments are the README's own, and prompt is your text. For memory-constrained devices the same example offers pipe.enable_model_cpu_offload(). For the base model, load Tongyi-MAI/Z-Image and use the recommended parameters: 28 to 50 steps, a guidance scale of 3.0 to 5.0, and a resolution from 512x512 to 2048x2048.

Z-Image hardware requirements

The team makes one statement about consumer hardware: Z-Image-Turbo "fits comfortably within 16G VRAM consumer devices". It also reports sub-second inference on an enterprise H800 GPU, which says little about a home graphics card. ComfyUI's README says it can run even the biggest open source models on as low as 4GB of VRAM with 8GB of RAM, a stated minimum and not a speed promise; the project's other documented requirements are on our ComfyUI statistics page.

Z-Image-Turbo vs FLUX.1 schnell vs SDXL

These are each publisher's own statements. We have not timed or scored the models against each other.

Z-Image-TurboFLUX.1 [schnell]SDXL 1.0
Parameters6 billion12 billion3.5 billion base model
Steps8 function evaluations1 to 4Not distilled. SDXL Turbo is the 1 to 4 step version
Weights licenceApache 2.0Apache 2.0CreativeML Open RAIL++-M
Publisher's hardware statementFits within 16G VRAM consumer devicesNone on the model cardConsumer GPUs with 8GB VRAM
Made byTongyi-MAI, AlibabaBlack Forest LabsStability AI

Training a persona LoRA on Z-Image

Turbo will not give you the same face twice from a prompt alone; no base model does. For a persona you add a character LoRA, and the model cards point to the base model for that: Z-Image's "non-distilled nature makes it a good base for LoRA training". AI Toolkit, OneTrainer and musubi-tuner list Z-Image, and our LoRA training guide covers the dataset and settings. The free LoRA training steps calculator works out the length of the run.

The subject of that LoRA is a fictional adult persona that you created, or yourself. An Apache 2.0 licence on the model does not permit training on, or reproducing, a real person's face without their written permission. The AI Influencers program covers the full persona pipeline on current models, from the trained face to video and the disclosure rules for publishing.

Z-Image FAQ

What is Z-Image?

Z-Image is a family of open image generation models with 6 billion parameters, built on a single-stream diffusion transformer. Two members are released: Z-Image-Turbo, a distilled model that generates in 8 function evaluations, and Z-Image, the undistilled foundation model. Two more, Z-Image-Omni-Base and Z-Image-Edit, are listed by the team as to be released.

Who makes Z-Image?

The Z-Image Team at Tongyi-MAI, part of Alibaba Group. The project page credits "Z-Image Team, Tongyi MAI, Alibaba Group", the weights are published under the Tongyi-MAI organisation on Hugging Face and ModelScope, and ComfyUI's docs describe the model as developed by Alibaba's Tongyi Lab. The technical report was submitted to arXiv on 27 November 2025.

Is Z-Image free for commercial use?

The repository's licence file is the Apache License 2.0, and the Hugging Face cards for both Z-Image and Z-Image-Turbo carry the Apache 2.0 tag. Apache 2.0 permits commercial use and requires you to keep the licence and notices when you redistribute. It says nothing about whose face you may generate, which is a separate question.

What is the difference between Z-Image and Z-Image-Turbo?

Turbo is the distilled version. The model card compares them directly: Z-Image uses 28 to 50 steps with full guidance and negative prompts, and is marked as fine-tunable with more diversity. Z-Image-Turbo uses 8 steps, with no guidance and no negative prompting, and is rated very high for visual quality and low for diversity.

How much VRAM does Z-Image-Turbo need?

The team says Z-Image-Turbo "fits comfortably within 16G VRAM consumer devices". In ComfyUI the standard files are 12.3 GB for the diffusion model, 8.04 GB for the text encoder and 335 MB for the VAE, and Comfy Org's repository also lists smaller versions of the first two. No generation time per graphics card is published.

How do I run Z-Image-Turbo in ComfyUI?

Update ComfyUI, open the Z-Image-Turbo workflow from the template library, and place three files: z_image_turbo_bf16.safetensors in models/diffusion_models, qwen_3_4b.safetensors in models/text_encoders and ae.safetensors in models/vae. ComfyUI supports the model natively, so no custom nodes are needed for text-to-image.

Can I train a LoRA on Z-Image?

Yes, on the base model. Its card says the non-distilled nature of Z-Image "makes it a good base for LoRA training", while the model table marks Turbo's fine-tunability as not applicable. AI Toolkit, OneTrainer and musubi-tuner list Z-Image. Train a character LoRA only on a fictional persona or on yourself, never on a real person without written permission.

Free · no card needed

Start with the free Starter Kit.

An AI character bible from AI Influencers, plus four more working files.

Starter Kit5 files · free
All Access · all four programs · $99/mo

A fast model makes drafts. A system makes a persona.

AI Influencers, included in All Access, covers base-model setup in ComfyUI, LoRA training for a consistent face, pose control, photorealism and video, with the disclosure rules for publishing. The other three programs, live coaching and the private community come with the same subscription.

See All Access: $99/mo →30-day money-back guarantee
Free

Planning a Z-Image LoRA?

Enter images, repeats, epochs and batch size and the free calculator returns steps per epoch and total steps, before you spend a training run.