Skip to main content
POST
https://api.novita.ai
/
v3
/
async
/
z-image-turbo
Z Image Turbo
curl --request POST \
  --url https://api.novita.ai/v3/async/z-image-turbo \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "seed": 123,
  "size": "<string>",
  "prompt": "<string>",
  "enable_base64_output": true
}
'
{
  "task_id": "<string>"
}
Z-Image Turbo is a high-speed image generation model that supports rapid generation of high-quality images based on text prompts.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

seed
integer
Random seed for generation. -1 means using a random seed. Range: -1 to 2147483647Value range: [-1, 2147483647]
size
string
default:"1024*1024"
Pixel dimensions of the generated image (width*height). Each dimension ranges from 256 to 1536 pixels
prompt
string
required
Positive prompt for generation
enable_base64_output
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

task_id
string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.