Tongyi-MAI's Z-Image Turbo, a 6B-parameter text-to-image model tuned for speed โ a full image in as few as 8 steps. Priced per output megapixel, so smaller presets cost proportionally less, making it one of the cheapest options for high-volume generation.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/z-image/turbo",
"input": {
"prompt": "A hyper-realistic close-up portrait of a weathered lighthouse keeper, salt-crusted beard, storm light raking across his face, shot on a Leica M6 with Kodak Portra 400 grain",
"image_size": "landscape_4_3",
"num_inference_steps": 8,
"num_images": 1,
"output_format": "png"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | The prompt to generate an image from. |
image_size | string | No | landscape_4_3 | Output size preset. Charged per output megapixel, so smaller presets cost less. square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9 |
num_inference_steps | integer | No | 8 | The number of inference steps to perform (1-8). |
num_images | integer | No | 1 | Number of images to generate (1-4). Charged per image. |
seed | integer | No | - | The same seed and the same prompt will output the same image every time. |
enable_safety_checker | boolean | No | true | If set to true, the safety checker will be enabled. |
acceleration | string | No | regular | The acceleration level to use. noneregularhigh |
output_format | string | No | png | The format of the generated image. jpegpngwebp |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Default landscape preset at 8 steps โ the fastest, cheapest path to a usable image.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/z-image/turbo",
"input": {
"prompt": "A hyper-realistic close-up portrait of a weathered lighthouse keeper, salt-crusted beard, storm light raking across his face, shot on a Leica M6 with Kodak Portra 400 grain",
"image_size": "landscape_4_3",
"num_inference_steps": 8,
"num_images": 1,
"output_format": "png"
}
}'The 512x512 square preset is a quarter of a megapixel, so a 4-image batch costs about the same as one square_hd image.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/z-image/turbo",
"input": {
"prompt": "Flat vector icon of a paper airplane, bold single-color silhouette, generous margins, centered",
"image_size": "square",
"num_images": 4,
"output_format": "webp"
}
}'POST /v1/predictions