Tongyi-MAI (Alibaba): Z-Image (Turbo)

tongyi-mai/z-image

Tongyi-MAI (Alibaba) Z-Image (Turbo) API

Oxyy has not published a price for Z-Image (Turbo) yet. It generates images from text prompts and can work from reference images.

6B-parameter text-to-image model with photorealistic output and strong bilingual (English and Chinese) text rendering. Generates in 8 sampling steps with sub-second latency and fits in 16GB VRAM.
ModalitiesTextImageImage
PriceNot yet published

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderPrice
Tongyi-MAI (Alibaba)Not yet published

Capabilities (6)

Image EditControlnetLoraBilingual Text RenderingLocal InferenceImage To Image

Supported parameters (4)

num_inference_stepsnum_imagesstrengthseed

The endpoint's own fields, shown in the quickstart below, are required as well; a request without them is rejected.

Pricing

Models on Oxyy are billed pay as you go, with no subscription. This one has no published price yet.

Price
Not yet published
Oxyy has not published a price for this model yet.
RateStandard priceChargedUnit
Price not yet published

Specifications

Model ID
z-image
Developer
Tongyi-MAI (Alibaba)
Type
Image generation
Input
Text and images
Output
Images
Image input
Up to 20 MB each
Endpoint
/v1/images/generations

Best for

Image generationText to imageOpen weightsBilingual textLow latencyApache 2.0

Quickstart

Call z-image with a POST to /v1/images/generations on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.images.generate(
    model="z-image",
    prompt="A lighthouse on a cliff at sunset, watercolor",
    n=1,
    size="1024x1024",
)
print(response.data[0].url)

Frequently asked questions

What is Z-Image (Turbo)?
6B-parameter text-to-image model with photorealistic output and strong bilingual (English and Chinese) text rendering. Generates in 8 sampling steps with sub-second latency and fits in 16GB VRAM.
What can I send to Z-Image (Turbo)?
Z-Image (Turbo) takes a text prompt and reference images (up to 20 MB each) and returns images.
Which API endpoint does Z-Image (Turbo) use?
Send a POST request to https://api.oxyy.ai/v1/images/generations with "model": "z-image", authenticated with your Oxyy API key. It is also served on /v1/images/edits, /v1/images/variations, /v1/chat/completions and /v1/responses (Responses API).

Alternatives to Z-Image (Turbo)

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models