ReplicateText to imageComing soon
prunaai/z-image-turbo
prunaai/z-image-turbo is a text to image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for image generation |
seed | number (whole) | — | Random seed. Set for reproducible generation |
width | number (whole) 64 to 2048 | 1024 | Width of the generated image |
height | number (whole) 64 to 2048 | 1024 | Height of the generated image |
go_fast | true or false | false | Unused compatibility field; this endpoint always runs the bf16 model. |
megapixels | text | — | Unused compatibility field; set width/height directly instead. |
num_outputs | number (whole) 1 to 4 | 1 | Number of output images to generate (currently only 1 is supported). |
aspect_ratio | text | — | Unused compatibility field; set width/height directly instead. |
model_version | text | — | Unused compatibility field; this endpoint always runs Z-Image-Turbo. |
output_format | JSON | jpg | Format of the output images |
guidance_scale | number 0 to 20 | 0 | Guidance scale. Should be 0 for Turbo models |
output_quality | number (whole) 0 to 100 | 80 | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs |
negative_prompt | text | — | Unused compatibility field; Z-Image-Turbo is guidance-free (guidance_scale=0) and does not use negative prompts. |
safety_tolerance | number (whole) 1 to 6 | 2 | Unused compatibility field for Flux-style clients; this model has no safety checker. |
num_inference_steps | number (whole) 1 to 50 | 8 | Number of inference steps. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "replicate",
"model": "prunaai/z-image-turbo",
"input": {
"prompt": "<prompt>"
}
}'