Z-Image Turbo API Pricing
High quality text-to-image generation with pay-as-you-go pricing.
pixels ≤ 0.5MP
$0.002 /image
- e.g. 512 × 512 (0.25 MP)
0.5MP < pixels ≤ 1MP
$0.004 /image
- e.g. 1024 × 1024 (1 MP) — default
1MP < pixels ≤ 1.5MP
$0.006 /image
- e.g. 1024 × 1440 (1.4 MP)
1.5MP < pixels
$0.008 /image
- e.g. 1440 × 1440 (2 MP)
Features
Z Image Turbo API delivers ultra-fast, high-quality AI image generation via PiAPI.
Lightweight Model Architecture
Z-Image uses a Single-Stream Diffusion Transformer architecture with 6 billion parameters, making it significantly lighter than many comparable AI image generation models.
Resource Efficient
Z Image AI is highly VRAM-efficient, running smoothly on consumer-grade GPUs with under 16 GB of memory.
Superb Text Rendering
Z Image Turbo API delivers sharp bilingual text in both English and Chinese, with strong layout and typography for posters, banners and UI.
In-depth World Knowledge
Our Z-Image API has strong world knowledge, accurately rendering famous landmarks, everyday scenes and specific real-world objects for your text-to-image tasks.
SOTA Performance
Z-Image delivers state-of-the-art performance, ranking 4th globally among leading image generation models and 1st among open-source models on benchmarks such as CVTG-2K, LongText-Bench, OneIG, GenEval, DPG-Bench, TIIf, PRISM-Bench and Alibaba AI Arena human preference evaluations.
Ultra-fast Inference
Our Z-Image Turbo API can generate images in as little as one second.
Powerful Prompt Enhancer System
A built-in prompt enhancement system helps Z-Image interpret complex instructions and handle multi-step, reasoning-heavy tasks.
Strong Prompt Adherence
Our Z-Image API follows instructions closely while delivering creative, high-fidelity images across a wide range of workflows.
Commercial License
Released under the Apache 2.0 License for both personal and commercial use, Z-Image Turbo API enables unrestricted creation, modification, and distribution in your products and workflows.
Integrate in Minutes
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/z-image",
"task_type": "txt2img",
"input": {
"prompt": "A high-fidelity cinematic portrait with dramatic rim lighting.",
"width": 1024,
"height": 1024
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"image_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run z-image-turbo \ prompt="A high-fidelity cinematic portrait with dramatic rim lighting." \ width=1024 \ height=1024 ✓ Task completed! https://img.theapi.app/ephemeral/…
Want to know more about Z-Image Turbo API?
What is Z Image Turbo API?
By Alibaba, Z-Image Turbo is the core image generation model under the Z-Image model. It is designed specifically for generating high-quality images via API. Image editing is supported separately through the Z-Image Editing variant. Start creating with Z Image Turbo API today!
What is the difference between Z-Image Turbo and Z-Image Editing?
Z-Image Turbo focuses on image generation from prompts, while Z-Image Editing is designed for modifying existing images. Both models are variants of the Z-Image model and serve different use cases.
How do I generate images with Z Image Turbo API?
You can generate images using PiAPI's Z Image API endpoint by sending a text prompt and configuration parameters. Documentation includes full request examples and integration guides.
Does Z Image Turbo support image editing?
Z-Image Edit is still in the process of being released. If you require image editing workflows, please explore other PiAPI image APIs such as Qwen Image API or Nano Banana Pro API that support edit operations.
Is there free access for Z Image Turbo API?
When you first sign up with us on PiAPI's Workspace, you will be given free credits to try selected APIs, including Z Image Turbo API if it is enabled for your account.
Are there refunds?
No, we do not offer refunds. But when you first sign up for an account on PiAPI's Workspace, you will be given free credits to try our API before making payments!
How can I get in touch with your team?
Please email us at support@piapi.ai - we'd love to talk more regarding our product offering!
More questions? See the API docs.
Our blog
Z-Image API

