Z-Image Base API
Z-Image Base: undistilled 6B image model suited to fine-tuning
About this model
Z-Image Base is Tongyi-MAI’s 6-billion-parameter undistilled text-to-image foundation model, published as Tongyi-MAI/Z-Image and released on 27 January 2026. It uses a single-stream diffusion transformer and is licensed under Apache 2.0, according to the project’s repository.
Unlike the faster Z-Image-Turbo, Base supports full classifier-free guidance and negative prompts, and offers more diversity. Tongyi-MAI recommends 28 to 50 steps and a guidance scale of 3 to 5. Choose Base for control and variety, and Turbo when speed matters.
Limits: the catalog lists no additional constraints.
Use cases
- Illustration and varied compositions
- Prompts with negative prompts and CFG
- Base for LoRA or ControlNet work
Input and output
- Input
- Text prompt, optional negative prompt
- Output
- Images
Developer
Tongyi Lab (Alibaba)
Official site of Tongyi Lab (Alibaba)- Developer
- Tongyi-MAI
- Type
- Picture
Z-Image Base request example
Use https://gatelum.com/v1 as the base URL and pass tongyi-mai/z-image-base in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/images/generations' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "tongyi-mai/z-image-base",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON