Skip to main content
POST
Z Image Turbo
This is an async API that only returns the async task_id. Use the task_id to call the Get Async Task Result API to retrieve the generated result.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

integer
Random seed for generation. -1 means random seed. Range: -1 to 2147483647.Range: [-1, 2147483647]
string
default:"1024*1024"
Output image pixel dimensions (width*height). Each dimension ranges from 256 to 1536 pixels.
string
required
Positive prompt for generation.
boolean
default:false
If enabled, the output will be encoded as a BASE64 string instead of a URL. This property is only available via API.

Response

string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.