Z-Image Turbo API

Lightweight image model for fast generation with Chinese and English text rendering.
Output
$0.0065 / MP (variable)

How to use Z-Image Turbo API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to z-image/turbo.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "z-image/turbo",
      "prompt": "A cat holding a sign that says hello"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "z-image/turbo",
    "prompt": "A cat holding a sign that says hello"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-image/turbo","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Z-Image Turbo API Pricing

TypePrice
Output
$0.0065 / MP (variable) tokens

Z-Image Turbo Benchmarks

BenchmarkScoreWhat it measures
Text-to-Image Arena
1102 (Elo)
Human pairwise preference Elo for image generators

Z-Image Turbo vs other models

ModelInputOutputContextBest for
Z-Image Turbo
This page
$0.0065 / MP (variable)
Image generation at scale
$0.325 / 1M
$78 / 1M
128K tokens
Image generation at scale
$6.5 / 1M
$10.4 / 1M tokens
Image generation at scale
$0 / 1M
$0 / 1M
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Start building with Z-Image Turbo

Get API Key
1000+ models, one API.