Z Image Turbo Small
Overview
Rate Limit: 1000 requests per minute
Category: Image Generation
Price: 0.003$ / image
Quickstart
Basic Image Generation (Asynchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: z-image-turbo-small' \
-d '{
"input": {
"prompt": "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads."
}
}'
Basic Image Generation (Synchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: z-image-turbo-small' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads."
}
}'
Fast Mode
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: z-image-turbo-small' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "Sunset over mountain landscape, vibrant colors, dramatic clouds",
"go_fast": true,
"seed": 42
}
}'
Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
| prompt | string | Text prompt for image generation |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| seed | integer | (optional) | Random seed. Set for reproducible generation |
| go_fast | boolean | false | Apply additional optimizations for faster generation |