prunaai/z-image-turbo

Z-Image Turbo is a super fast text-to-image model of 6B parameters developed by Tongyi-MAI.

Public
3.7K runs

Run time and cost

This model costs approximately $0.0090 to run on Replicate, or 111 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia H100 GPU hardware. Predictions typically complete within 6 seconds.

Readme

Z-Image-Turbo

An optimized version of Tongyi-MAI’s Z-Image-Turbo, accelerated with PrunaAI’s compression engine for even faster image generation.

What is this?

Z-Image-Turbo is a 6 billion parameter text-to-image model that generates photorealistic images in sub-second time. This version has been optimized by PrunaAI to make it faster while keeping the same quality.

The model only needs 8 steps to generate an image, which makes it one of the quickest options available. It’s especially good at two things: creating photorealistic images and accurately rendering text in both English and Chinese.

What makes it fast?

The base model uses a technique called Decoupled-DMD (Distribution Matching Distillation), which is a smart way to compress a larger model into a smaller, faster one without losing quality. PrunaAI has added their own optimization layer on top of this, combining techniques like caching, compilation, and quantization to make it run even faster.

Think of it like this: the original model was already built to be fast, and PrunaAI fine-tuned it even further to squeeze out every bit of performance.

When to use this

This model works great when you need:

  • Quick iterations: Generate images in seconds, perfect for rapid prototyping or exploring ideas
  • Text in images: The model handles complex text rendering really well, especially if you need Chinese characters or English text to appear clearly in your images
  • Photorealistic results: Strong at generating realistic photographs, portraits, and scenes with natural lighting
  • Cost-effective generation: Faster means cheaper, so this is a good choice when you’re generating lots of images

Features

Photorealistic quality: Creates images with natural lighting, realistic textures, and believable scenes. The model handles faces, objects, and environments well.

Bilingual text rendering: One of the model’s standout features is how well it renders text. If you need text to appear in your images (like signs, book covers, labels, or posters), this model can do it accurately in both English and Chinese.

Fast generation: With only 8 steps needed, you get images in seconds rather than minutes. On enterprise hardware, you’re looking at sub-second generation times.

Single-stream architecture: The model uses a Single-Stream Diffusion Transformer architecture, which processes text and image information together efficiently. You don’t need to know the technical details, but this design is part of what makes it fast.

Tips for better results

Be specific with your prompts: Detailed descriptions work better. Instead of “a woman,” try “a young woman in red traditional clothing with intricate embroidery, soft natural lighting, outdoor setting.”

Include style keywords: Mention the artistic style you want, like “photorealistic,” “cinematic,” “portrait photography,” or specific lighting conditions like “golden hour” or “studio lighting.”

Text rendering works best with clear instructions: If you want text in your image, be explicit about what the text should say and where it should appear. For example: “a coffee shop storefront with a sign that says ‘Morning Brew’ in elegant gold lettering.”

Use the optimal settings: The model works best at 1024x1024 resolution with 9 inference steps (which actually results in 8 forward passes through the model). Guidance scale should be set to 0.0 for turbo models like this one.

Technical background

Z-Image-Turbo comes from Tongyi-MAI, part of Alibaba’s AI research division. The base model was built using advanced distillation techniques and trained specifically for fast, high-quality generation.

PrunaAI’s optimization engine applies multiple compression techniques to make the model run faster without sacrificing quality. This includes smart caching (reusing computations from previous steps), model compilation (optimizing how the model runs on your hardware), and quantization (using lower precision numbers where it doesn’t affect quality).

The result is a model that’s already fast becoming even faster, while maintaining the photorealistic quality and text rendering capabilities of the original.

Who made this?

The base Z-Image-Turbo model is from Tongyi-MAI, and this optimized version was created by PrunaAI. PrunaAI builds tools to make machine learning models faster and more efficient, working with models across text, image, video, and audio generation.

The model is open source under the Apache 2.0 license, which means you can use it for commercial projects.

Try it out

You can try this model on the Replicate playground at replicate.com/playground