AI image API · Alibaba
Z-Image API pricing per image
Generate images with Alibaba's Z-Image through the Cut.Pro API. You see the price before you generate and pay only for what you use.
- Pay as you go, no subscription
- 15 free credits on a new account
- Free quote before every call
From$0.0266per imageR$0.089 · 2 credits10 images: $0.27Updated November 10, 2026
Pricing
Z-Image pricing by mode and resolution
| Mode | Resolution | Price per image | In reais | Credits |
|---|---|---|---|---|
| Text only | 1080p | $0.0266 | R$0.089 | 2 credits |
| With references | 1080p | $0.0266 | R$0.089 | 2 credits |
Updated November 10, 2026. Prices use the cheapest credit pack: 1 credit costs $0.0179 (R$0.0599).
Limits
What Z-Image accepts in each request
- Modes
- Text only and With references
- Resolutions
- 1080p
- Aspect ratios
- 16:9, 4:3, 1:1, 3:4, 9:16
- Reference images
- up to 1
Code
How to call Z-Image free quote, generation and result
BODY='{"model":"alibaba/z-image","prompt":"product photo of a white sneaker on a studio background"}'
CREDITS=$(curl -s -X POST https://api.cut.pro/api/v1/generations/quote \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d "$BODY" | jq .credits)
curl -X POST "https://api.cut.pro/api/v1/generations?wait=60" \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d "$(jq -c --argjson credits "$CREDITS" '. + {credits: $credits}' <<< "$BODY")"const api = "https://api.cut.pro/api/v1";
const headers = { "X-Api-Key": process.env.CUTPRO_API_KEY, "Content-Type": "application/json" };
const body = {
model: "alibaba/z-image",
prompt: "product photo of a white sneaker on a studio background",
};
const quote = await fetch(`${api}/generations/quote`, { method: "POST", headers, body: JSON.stringify(body) }).then((res) => res.json());
let generation = await fetch(`${api}/generations?wait=60`, {
method: "POST",
headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({ ...body, credits: quote.credits }),
}).then((res) => res.json());
while (generation.status === "processing") {
generation = await fetch(`${api}/generations/${generation.id}?wait=60`, { headers }).then((res) => res.json());
}
console.log(generation.output?.url ?? generation.error_code);import os, uuid, requests
API = "https://api.cut.pro/api/v1"
headers = {"X-Api-Key": os.environ["CUTPRO_API_KEY"]}
body = {
"model": "alibaba/z-image",
"prompt": "product photo of a white sneaker on a studio background",
}
quote = requests.post(f"{API}/generations/quote", json=body, headers=headers).json()
generation = requests.post(
f"{API}/generations",
params={"wait": 60},
json={**body, "credits": quote["credits"]},
headers={**headers, "Idempotency-Key": str(uuid.uuid4())},
).json()
while generation["status"] == "processing":
generation = requests.get(f"{API}/generations/{generation['id']}", params={"wait": 60}, headers=headers).json()
print(generation["output"]["url"] if generation["status"] == "ready" else generation["error_code"])Read the docsQuestions
API questions before your first call
- At 1080p, each image costs $0.0266 and 10 images come to $0.27 (R$0.89, 15 credits).
- Create an account, generate an API key, and request a free quote. The 15 free credits cover 10 images with Z-Image.
- Text only: the prompt describes everything. With references: up to 1 images guide the character, product or style.
- No. Buy a credit pack by card, or in reais with Pix from Brazil, and spend it on Z-Image and every other model with the same key.
- No. The Cut.Pro key calls Z-Image without a Alibaba account, with one balance for every model in the catalog.
- Yes. With a CPF or CNPJ and full address in your billing details, the nota fiscal is issued after each payment is confirmed.
Still missing one? Help center
Compare
Other models of the same kind
- Qwen-Image 3.0 ProAlibaba · from $0.11 per imageSee price
- Qwen-Image 3.0Alibaba · from $0.0638 per imageSee price
- Wan 2.2 FlashAlibaba · from $0.0665 per imageSee price
- Qwen ImageAlibaba · from $0.0532 per imageSee price
- Wan 2.7 ProAlibaba · from $0.20 per imageSee price
- Wan 2.5Alibaba · from $0.0558 per imageSee price
Generate with Z-Image today
Create a key, get a free quote and pay only for what you generate.
Create API key