Profile

tongyi-mai / z-image/turbo

High-speed 6B parameter text-to-image generation optimized for cost efficiency and volume. Produces up to 4MP images in an 8-step pipeline suitable for rapid prototyping.

0.005 per megapixel of image

Model Input

Input

The prompt to generate an image from.

The size of the generated image.

Additional Settings

Customize your input with more control.

Min: 1 - Max: 8

The number of inference steps to perform.

The same seed and the same prompt given to the same version of the model will output the same image every time.

Min: 1 - Max: 4

The number of images to generate.

Safety checker can only be disabled on API call

The format of the generated image.

The acceleration level to use.

You need to be logged in to run this model and view results.
Log in

Model Output

Output

preview
Generated in 1.014 seconds
Logs (1 lines)

Model Example Requests

Examples

juAkgdHz9d8dNwfawQNjDGsdYH02OF9YNibaWQZNm6HMWZ78EENyxji8JHDCbqLccYiKN2miovwqM0wutIGEs2BUlBZCTNIj7Il0Yw5s1pfPCfbt7Dw8630X6nzHVe

Model Details

Model Details

Tongyi-MAI's Z-Image Turbo is a streamlined text-to-image generation model engineered for speed and economic scalability. Built on a 6-billion parameter architecture, it prioritizes throughput without sacrificing essential visual coherence. By compressing the diffusion process into a maximum of 8 inference steps, this model significantly reduces generation time compared to standard architectures that typically require 20 to 50 steps.

### Capabilities and Features

This model is specifically tuned for high-volume production environments. Users can generate images with resolutions up to 4 megapixels, supporting various aspect ratios from square to wide landscape. The 8-step pipeline is fully configurable; users can lower the step count to as few as 1 for ultra-fast thumbnail generation or utilize the full 8 steps for final production assets.

**Key benefits include:**

* **Rapid Iteration:** Support for batch sizes up to 4 images per request allows for quick side-by-side comparison of prompts and seeds. * **Flexible Output:** Customize image dimensions via standard presets (e.g., `landscape_4_3`) or specific pixel counts, with support for JPEG, PNG, and WebP formats. * **Cost-Effective Scaling:** The lightweight architecture makes it ideal for applications requiring thousands of assets, such as dynamic content generation or A/B testing visuals.

### When to use this model

Choose Z-Image Turbo when speed and volume are the primary constraints. It excels at rapid prototyping, storyboarding, and generating content variations where cost-per-pixel is a critical metric. While it offers robust prompt adherence, users requiring pixel-perfect photorealism or complex spatial reasoning might prefer larger, slower models.

To run via ModelRunner javascript client, use the following code:

```javascript import { modelrunner } from "@modelrunner/client";

const result = await modelrunner.subscribe('tongyi-mai/z-image/turbo', { input: { prompt: "Cinematic shot of a futuristic cyberpunk street, neon lights, rain on pavement, highly detailed", image_size: "landscape_16_9", num_inference_steps: 8, num_images: 1, enable_safety_checker: true, output_format: "png" } }); ```