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.
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
| Feature | Z-Image Turbo |
|---|---|
| Text to image | Yes |
| Sizes | 1K, 2K |
| Aspect ratios | 7 |
| Released | Nov 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.
| Model | Endpoint |
|---|---|
| Z-Image Turbo · Text to Image | alibaba/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
Z-Image Turbo
up to 69% below Official
FAQ
Z-Image API questions
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.