Skip to main content

Try Z-Image-Turbo in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: z-image-turbo Tongyi-MAI/Z-Image-Turbo is an image generation model that excels in fast text-to-image generation with photorealistic outputs and accurate bilingual (English & Chinese) text rendering, while running efficiently on 16 GB VRAM devices. Some other noteworthy features of Tongyi-MAI/Z-Image-Turbo include strong instruction adherence for prompt-following and an 8-step inference design that enables sub-second latency on data-center GPUs.
MetricValue
Parameter Count6 billion
Mixture of ExpertsNo
Context LengthUnknown
MultilingualYes
Quantized*Yes
Precision*Unknown
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
See the image generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/images/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "z-image-turbo",
  "prompt": "A woman with red curly hair wearing a red flannel shirt, sitting in front of a campfire, night-time, photorealistic, indy folk vibes."
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/z-image-turbo

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"A woman with red curly hair wearing a red flannel shirt, sitting in front of a campfire, night-time, photorealistic, indy folk vibes."Prompt for generated image

Optional parameters

FieldTypeDefaultDescription
num_inference_stepsinteger8Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. Range: 1 – 50.
seedintegerRandom seed. Set for reproducible generation
output_formatstring"webp"Format of the output images One of: webp, jpg, png.