Tongyi-MAI (Alibaba): Z-Image (Turbo)
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.
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.
| Provider | Price |
|---|---|
| Tongyi-MAI (Alibaba) | Not yet published |
Capabilities (6)
Supported parameters (4)
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.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| 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
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)?
What can I send to Z-Image (Turbo)?
Which API endpoint does Z-Image (Turbo) use?
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.
