Z-Image Turbo Text to Image API
Text to Image with Z-Image Turbo by Alibaba. Alibaba's 6B open model — photoreal images in 8 steps, under 1.5¢ each.
per image · 1K
With Max: from $0.0042/img →Operational99.98% uptime (30 days)median 2sTry Z-Image Turbo Text to Image
Output image shape.
1K ≈ 1 MP; 2K ≈ 4 MP (long side up to 2048 px).
If set to true, the safety checker will be enabled. Our Acceptable Use Policy applies either way.
Create a free account with Google or email — pay only for what you generate.
Your image will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
Made with Z-Image Turbo Text to Image
Portrait of a tabby Maine Coon cat with green eyes against a clear blue sky, fur lit by soft daylight
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
Close-up of a Peking opera performer in full stage make-up and a jewelled phoenix headdress, embroidered red costume
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
Poster: a toy steam train runs through a split in the snow that reveals a spring meadow; title “造相「Z-IMAGE」”, subtitle “Winter Release. Spring for Generative Art. VOL 1.0”
Image: Tongyi Lab (Alibaba) · Apache-2.0 · cropped from the model card's text-rendering showcase
A young woman in a Tibetan robe with striped trim stands beside a brown horse on a dry highland meadow, mountains behind
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
A canal town at night: lantern-lit wooden houses, a moored boat, a candle on a café table by the water
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
Watercolour exhibition poster “苔痕 Moss Exhibition”: botanical moss and fern illustrations with Latin labels, dates “04.22 [Apr.] am. 09:00”
Image: Tongyi Lab (Alibaba) · Apache-2.0 · cropped from the model card's text-rendering showcase
Smiling elderly man in a black felt hat and dark robe against a weathered wooden wall, warm side light
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
A lone hiker in a dark parka stands on a glacier ridge under a blue sky with drifting clouds
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
A hand with dark nail polish holds up a peach-pink rose against a clear blue sky
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
Hands pour tea from a clay teapot into celadon cups on a dark wooden table
Image: Tongyi Lab (Alibaba) · Apache-2.0 · page from the Z-Image gallery, resized
Product photo of a ceramic tea set on bamboo, soft daylight, minimal
Portrait of a young chef in a busy kitchen, steam and warm light, editorial
Z-Image Turbo Text to Image API
/api/v1/run/alibaba/z-image-turbo/text-to-imageSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
aspect_ratio | string (enum) | Output image shape. Values: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 Default: 1:1 | Yes |
resolution | string (enum) | 1K ≈ 1 MP; 2K ≈ 4 MP (long side up to 2048 px). Values: 1K · 2K Default: 1K | Yes |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Our Acceptable Use Policy applies either way. Default: true | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
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);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "alibaba/z-image-turbo",
"endpoint": "alibaba/z-image-turbo/text-to-image",
"mode": "text-to-image",
"status": "queued",
"input": {
"prompt": "A neon noodle shop sign that reads “深夜食堂 LATE NIGHT”, rainy street, cinematic photo",
"aspect_ratio": "1:1",
"resolution": "1K"
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Z-Image Turbo pricing
Pay per image as you go, with no subscription required. Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
1K ≈1 MP | $0.0048/img With a monthly plan: Pro $0.0045Max $0.0042 | −69% | |
2K ≈4 MP | $0.0117/img With a monthly plan: Pro $0.0113Max $0.0108 | −22% |
Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.
- Official price: Alibaba Cloud Model Studio international (Singapore) list price for z-image-turbo ($0.015 per image, prompt rewriting off). Prices verified October 18, 2026.
More from Alibaba
Popular Alibaba models, on the same API key.

Qwen-Image3.0 Pro
Text → Image · Image Edit
Alibaba's image model for dense text and layouts — menus, posters, infographics

Qwen-Image3.0
Text → Image · Image Edit
Clear instruction following and stable text, at about 2 cents an image

Wan3.0
Text · Image · Reference → Video
Up to 30-second videos with audio from Alibaba

Wan3.0 Prime
Text · Image · Reference → Video
The highest-fidelity Wan for hero shots
Similar image models
Popular text-to-image models from other developers.

Seedream5.0 Pro
Text → Image · Image Edit
Production-grade image generation and precise editing

FLUX 3Image Klein
Text → Image · Image Edit
The open-weights FLUX 3 — 16-step images in seconds, from a fraction of a cent

GPT Image2.5
Text → Image · Image Edit
OpenAI's top image model — precise edits, perfect text, up to 4K

Seedream5.0 Lite
Text → Image · Image Edit
High-quality Seedream images at a lower price
