All models

Z Image Turbo

pruna/z-image-turbo

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "pruna/z-image-turbo",
    "prompt": "<your prompt>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "pruna/z-image-turbo", "prompt": "<your prompt>"}'

Examples

example
example
example

Parameters

Input
prompt string required

Text description of the image to generate.

enable_safety_filter boolean optional

Check the prompt against the content policy. Defaults to false; the always-on categories are still blocked.

go_fast boolean optional

Apply additional optimizations for faster generation. Defaults to false.

guidance_scale number optional

Guidance scale (0-20). Should be 0 for Turbo models, which is the default.

height integer optional

Height of the generated image in pixels (64-2048). Defaults to 1024.

num_inference_steps integer optional

Number of inference steps (1-50). Defaults to 8.

output_format string optional

Format of the output image. Defaults to jpg.

output_quality integer optional

Quality when saving jpg or webp output, from 0 to 100. Defaults to 80.

seed integer optional

Random seed for reproducible generation.

width integer optional

Width of the generated image in pixels (64-2048). Defaults to 1024.

Output