The latest image generation model released by Tongyi Laboratory 🚀 Z-Image-Turbo: A refined version of Z-Image, which can match or surpass leading competitors with only 8 NFEs (Number of Function Evaluations). It offers ⚡️ sub-second inference latency ⚡️ on enterprise-grade H800 GPUs and easily adapts to 16G VRAM consumer-grade devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction following.Source: https://huggingface.co/Tongyi-MAI/Z-Image-Turbo Average running time: 10-20 secondsPrice: 0.05 PTC per use
Request
Header Params
Body Params application/json
Example
{"prompt":"漂亮中国女生,五官精致,青涩懵懂,皮肤白皙,the image shows two individuals posing for a selfie, both are wearing white dresses and appear to be in a restaurant or similar setting with a red wall in the background, the person on the left has long dark hair and is smiling, while the person on the right has shoulder-length brown hair and is making a playful gesture by touching their face, they both have accessories such as earrings and bracelets, adding to their stylish appearance, the overall atmosphere seems casual and friendly","image_size":{"width":1024,"height":1024},"num_inference_steps":8,"enable_safety_checker":true,"output_format":"png"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/302/submit/z-image-turbo' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"prompt": "漂亮中国女生,五官精致,青涩懵懂,皮肤白皙,the image shows two individuals posing for a selfie, both are wearing white dresses and appear to be in a restaurant or similar setting with a red wall in the background, the person on the left has long dark hair and is smiling, while the person on the right has shoulder-length brown hair and is making a playful gesture by touching their face, they both have accessories such as earrings and bracelets, adding to their stylish appearance, the overall atmosphere seems casual and friendly",
"image_size": {
"width": 1024,
"height": 1024
},
"num_inference_steps": 8,
"enable_safety_checker": true,
"output_format": "png"
}'