CheaperGen

Alibaba · 1 model

Z-Image API

Alibaba's Z-Image image models through one API: Z-Image Turbo. From $0.0048/image, up to 69% below official. Text to image, up to 2K.

Models
1
image
From
$0.0048/image
Z-Image Turbo
Below official
up to 69%
Z-Image Turbo
Failed runs
$0
refunded automatically

Lineup

Z-Image image model on CheaperGen

Starting price per image at each model's lowest tier, next to Alibaba's official price.

Z-Image API: image models, specs and prices. Select a column header to sort.
T2I
2K
—
$0.0048/image
1K
$0.015/image
up to 69%

Try it

Try the Z-Image models

Switch models with the tabs. Runs on your balance at the price on the button; failed runs are refunded.

Capabilities

Z-Image image capabilities

Z-Image image capabilities
FeatureZ-Image Turbo
Text to imageYes
Sizes1K, 2K
Aspect ratios7
ReleasedNov 2025

Quick start

Call the Z-Image API

One request shape for every Z-Image model: POST /v1/run/{endpoint} with your key, then poll the generation or pass a webhook_url. Switching models means changing the endpoint.

Z-Image endpoints
ModelEndpoint
Z-Image Turbo · Text to Imagealibaba/z-image-turbo/text-to-image

Z-Image Turbo · Text to Image

const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/alibaba/z-image-turbo/text-to-image`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "A neon noodle shop sign that reads “深夜食堂 LATE NIGHT”, rainy street, cinematic photo",
    "aspect_ratio": "1:1",
    "resolution": "1K"
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.images[0].url : job.error);

Go deeper

Pricing, cost and docs for each Z-Image model

FAQ

Z-Image API questions

Z-Image is Alibaba's family of AI image models. Through CheaperGen you call Z-Image Turbo with one API key: POST /v1/run/{endpoint}, then poll the generation or receive a webhook. What each version does: Z-Image AI; the newest: Z-Image Latest.

Z-Image Turbo starts at $0.0048/image — up to 69% below Alibaba's official price. Pay as you go from prepaid credits; failed generations are refunded.

Create a CheaperGen account, add credits and create a key in Dashboard → API keys. The same key runs every Z-Image model and the other 44 models in the catalog; you don't need a Alibaba account. Step by step: Z-Image Turbo API key.

Yes. Z-Image Turbo is Alibaba's open-weights model; CheaperGen provides API access to the open weights, run on GPU inference for open-source models, and doesn't own it.

Z-Image Turbo is Alibaba's open-weights model; CheaperGen provides API access to the open weights, run on GPU inference for open-source models, and does not own it. Trademarks belong to their respective owners.