# Z-Image Turbo

Efficient text-to-image diffusion model that produces quality images in as few as 8 steps.

Model id: `z-image-turbo`
Quantization: bf16
Regions: ATL
Hugging Face: [Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)

## Pricing

- Image: $0.02 / megapixel

## Inputs

- text

## Output: image

| Parameter | Type | Values | Default |
| --- | --- | --- | --- |
| `size` | any |  |  |
| `aspect_ratio` | string | 1:1, 9:7, 7:9, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, 9:21 | 1:1 |
| `resolution` | string | 512, 768, 1K, 1.5K, 2K |  |
| `n` | integer | 1–10 | 1 |
| `response_format` | string | url, b64_json | url |
| `seed` | integer |  |  |
| `steps` | integer | 1–50 | 8 |
| `output_format` | string | png, jpeg, webp | png |
| `output_compression` | integer | 0–100 |  |
| `background` | string | auto, opaque | auto |

## Endpoints

- [`POST /v1/images/generations`](/docs/reference/create-image.md): Create Image
- [`POST /v1/images`](/docs/reference/create-image-openrouter.md): Generate Image (OpenRouter)
- [`POST /v1/images/edits`](/docs/reference/create-image-edit.md): Edit Image
