← All models
// image model

Z-Image

by Alibaba (Tongyi)

Ultra-cheap, fast photorealistic image generation.

image Budget Budget
from2credits
Real Z-Image sample output

// Real output from Z-Image — generated through the API

// capabilities

What Z-Image can do

// best for

Where Z-Image fits

Bulk image generation on a budgetRapid photoreal drafts
// api

The Z-Image API — in one request

Call the Z-Image API through your SamAutomation key — submit a job with the model_id, then poll until it's done. One key for every model, no per-vendor onboarding or separate billing.

# 1. submit a generation job
POST /api/ai/jobs
{
  "model_id": "z-image",
  "prompt": "a product shot on a marble surface, soft studio light",
  "options": { "aspect_ratio": "16:9" }
}
# → { "id": "job_a1b2", "status": "queued" }

# 2. poll until the image is ready
GET /api/ai/jobs/{id}
# → { "status": "succeeded", "output": { "url": "…" } }
// questions

Z-Image: the questions people ask

Does Z-Image have an API?

Yes. On SamAutomation Z-Image runs through one endpoint - POST /api/ai/jobs with model_id "z-image" - so you do not need a separate account or key with Alibaba (Tongyi). You submit a job and poll it until the image is ready.

How much does Z-Image cost?

Z-Image starts at 2 credits per job at its cheapest settings. Longer clips, higher resolution and extra options cost more. Credits come with a plan, and the same key also covers JSON-to-video rendering and every other model.

Is Z-Image free?

No. Generation burns real GPU time, so every render costs credits - 2 at the floor for Z-Image. Anything advertising unlimited free generation is either putting you behind a long queue or watermarking the result. Plans bundle monthly credits instead.

Is Z-Image restricted or region-locked?

You reach Z-Image through this API with your SamAutomation key, not through Alibaba (Tongyi)'s own app, so that app's sign-up and regional availability are not what gates you. The model's own content rules still apply to what you generate.

Where is the official Z-Image site?

Alibaba (Tongyi) publishes the model itself; this page is about calling it as an API alongside every other model on one key, which is a different job from their consumer app.

Where is the Z-Image API documentation, and is there a download?

There is nothing to download. The Z-Image API documentation you need here is our own reference: one endpoint, one key, and the model_id above. Alibaba (Tongyi) publishes its own docs for the model, but those describe their platform, not this one.

Is Z-Image available right now?

If it is listed on this page it is active on the platform and you can call it today. Model availability moves — makers retire versions and add tiers — so the list here is the current state rather than a promise about next quarter.

Is there a Z-Image SDK, GitHub repo or Python example?

You do not need a vendor SDK here. Z-Image is an HTTP call: POST /api/ai/jobs with your key and model_id "z-image", then poll the job. Any language that can send JSON can drive it, and the request shape is the same for every model on this platform.

Is Z-Image safe to use, and what happens to my input?

The practical questions are the same for every generation service: what the provider may do with what you upload, how long it is kept, and whether it can be used for training. Read that clause before you send client material through any model, ours included. Alibaba (Tongyi) publishes its own terms for the model itself.

Are the Z-Image weights open source or on Hugging Face?

That is up to Alibaba (Tongyi), not to us, and it differs per model and per release. If open weights matter to you, check the maker's own licence. Running it here is renting inference, not getting the weights.

Do I need the Z-Image app to use it?

No. The consumer app and the API are separate products with separate limits. Here you call Z-Image through this platform, so there is no app to install and no second subscription.

What is Z-Image good at?

Ultra-cheap, fast photorealistic image generation. Pick it when that is the job; a cheaper model wins when it is not.

Generate with Z-Image today

One key for JSON-to-video and every AI model — Z-Image starts at 2 credits. Documented and ready for your pipeline.