Skip to content
Docs menu

Image models

Z-Image

On this page

Z-Image — fast, high-fidelity AI image generation & editing.

modelIdz-image
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Defaultz-imagePOST /api/v1/generateprompt, aspect_ratio
Poll taskGET /api/v1/task/{id}?model=z-image

Input parameters

FieldTypeRequiredValues / example
promptstringYesA text description of the image you want to generate Max 1000 characters. (example: Photorealistic 3:4 fashion editorial at blue-hour dawn. A glamorous young woman crosses a rain-soaked city intersection barefoot after an all-night party,… — full value in the request example)
aspect_ratiostringYesAspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image). (options: 1:1 | 4:3 | 3:4 | 16:9 | 9:16) (default: 1:1)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"z-image","input":{"prompt":"Photorealistic 3:4 fashion editorial at blue-hour dawn. A glamorous young woman crosses a rain-soaked city intersection barefoot after an all-night party, wearing a silver sequin dress under an oversized black blazer, both heels hanging loosely from one hand. Wet hair, slightly smeared makeup, natural tired expression, captured mid-step rather than posing.\n\nLow 35mm street-level camera, strong asymmetry: she occupies the right third. A plain yellow taxi with NO logos or text sweeps across the left background in soft motion blur. Its wake lifts wet silver confetti into one curved airborne trail behind her, visually tracing her path. Zebra-crossing lines and reflections lead toward her.\n\nCold dawn blue mixes with fading amber streetlights. Smaller condensed white type upper-left: “AFTER HOURS” with generous margin. Small line below: “05:42 AM / STILL GOING”.\n\nRaw, tactile, expensive, candid fashion photography; realistic skin, wet asphalt, sequins, motion and reflections.","aspect_ratio":"1:1","nsfw_checker":true}}'