NinjaChat
ModelsAPIPricingToolsBlog
Sign inDashboard→
ModelsAPIPricingToolsBlog
Dashboard →
  1. Home›
  2. API models›
  3. Z-Image Turbo
A

Z-Image Turbo

Replicate/
Get an API key

Alibaba Tongyi's Z-Image Turbo for very low-cost text-to-image drafts.

Modalities
text→image
Price
$0.01/image
Providers
Live
PlaygroundProvidersAPIRecipesPricingRequest logs

Playground

Preparing playground

Providers

API

POST/api/v1/images/generations
z-image-turbo
curl https://www.ninjachat.ai/api/v1/images/generations \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "z-image-turbo", "prompt": "a red fox in a snowy forest, golden hour", "aspect_ratio": "16:9" }'
promptmodelnsizeaspect_ratioimagewidthheight

Recipes for Z-Image Turbo

NinjaChat

Every AI. One app.

Download on the App Store

Product

  • Dashboard
  • ninja for iMessage
  • Pricing
  • Free AI Tools
  • Affiliate Program
  • iOS App

Developers

  • API
  • API Models
  • MCP / Agents
  • API Docs

Models

  • Model Council
  • Seed 1.8
  • Gemini 2.5 Flash
  • Gemini 2.5 Pro
  • Gemini 3 Flash Preview
  • View All Models

Company

  • Blog
  • Uncensored AI
  • Community
  • Careers
  • Support
  • Privacy Policy
  • Terms of Service

Copyright © 2026 NinjaChat AI. Product of Bloon All Rights Reserved.

Each request below is generated from what Z-Image Turbo serves on NinjaChat today — the same capabilities and parameters that GET /models reports — so it runs as written with your key.

Generate an image

One synchronous call returns a hosted image URL you can use straight away.

z-image-turbo· generate an image
# export NINJACHAT_API_KEY="nj_sk_..."   (Developers → Keys)
curl https://www.ninjachat.ai/api/v1/images/generations \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-image-turbo",
    "prompt": "product shot of a matte black espresso machine on walnut, soft window light",
    "size": "2560x1440",
    "n": 1
  }'
  • size is one of 1920x1920, 2560x1440, or 1440x2560; pass aspect_ratio (for example "4:5") or explicit width/height between 256 and 2048 when you need another frame.
  • n goes up to 4 and every image is billed at this model's per-image price; data[i].url is a permanent CDN link, so there is nothing to poll.
  • storage is optional and defaults to "durable". Set it to "provider" to skip the persistence hop for lower latency; then handle either a temporary url or b64_json plus mime_type.

Pricing

Per image
$0.01/image

More from Alibaba

Model
ProvidersContextLatencyUptime30d volumePrice · in / out
A
Wan 2.2 T2V A14B
wan-2.2-t2v-a14b
$0.6/video
A
Wan 2.6 Image
wan-2.6-image
$0.03/image
A
Wan 2.7 Image Edit
wan-2.7-image-edit
$0.03/image
B
Bria 3.2
bria-3.2
$0.04/image
B
Bria FIBO
bria-fibo
$0.04/image
FLUX 1.1 Pro
flux-1.1-pro
$0.04/image