Skip to main content
POST
Z-Image Turbo Free Image Generation
Generate images for FREE using Alibaba Cloud’s Tongyi Wanxiang Z-Image Turbo model.
This is the free version with limited features. For production use, please consider the paid Z-Image Turbo version.
Key Features:
  • FREE - No cost for image generation
  • Fast Speed - 6B parameter distilled model with quick inference
  • Bilingual Text Rendering - Excellent Chinese and English text rendering in images
  • Multiple Resolutions - Support for various aspect ratios (1024x1024, 1280x720, etc.)

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

prompttext(required)

Minimum string length: 1
Example:

"A beautiful sunset over mountains"

nsfw_threshold
number

NSFW detection tolerance, higher values are more permissive. 0.0 is strictest, default 0.02

Required range: 0 <= x <= 1
Example:

0.02

num_images
integer

generationimagecount,1-4

Required range: 1 <= x <= 4
Example:

1

resolution
enum<string>

Resolution settings (supports 1024/1280/1536 series)

Available options:
1024x1024,
1152x896,
896x1152,
1280x720,
720x1280,
1280x1280,
1440x1120,
1536x1024,
1536x864,
1536x1536,
1728x1344,
2048x1152,
1152x2048
Example:

"1024x1024"

seed
integer

Random seed, -1 means random

Example:

-1

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"