Text to Image

z-image-turbo

Picverse phase-one image capability.

POST /v1/images/generationsAsync generationFixed Credit pricing

Quick start

Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.

curl -X POST "https://api.artany.ai/v1/images/generations" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: unique-request-id" \
  -d '{"model":"z-image-turbo","prompt":"A cinematic coastal village","size":"1:1","resolution":"1K","prompt_extend":false}'

Request

Headers

HeaderRequiredDescription
AuthorizationYesBearer token for an Artany API key.
Content-TypeYesMust be application/json.
Idempotency-KeyRecommended8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges.

Body

{
  "model": "z-image-turbo",
  "prompt": "A cinematic coastal village",
  "size": "1:1",
  "resolution": "1K",
  "prompt_extend": false
}

Request Parameters

Only fields in this model’s public request contract are shown. Defaults are applied before validation and quoting.

Note:Fast text-to-image workflow.

modelstringrequireddefault: "z-image-turbo"

Stable public model ID for this request.

promptstringrequired

Text description for image generation. Chinese and English are supported.

Length: 1–800

Note:Keep the prompt within 800 characters.

sizestringdefault: "1:1"

Output image aspect ratio. Use one of the supported ratios.

Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9

1:12:33:23:44:39:1616:9
resolutionstringdefault: "1K"

Output resolution tier supported by this fast image workflow.

Allowed: 1K, 2K

1K2K
prompt_extendbooleandefault: false

Whether to expand the prompt before image generation.

Allowed: true, false

Response and task status

A successful asynchronous submission returns HTTP 202 with a supplier-neutral job.

{
  "id": "job_…",
  "object": "generation.job",
  "model": "z-image-turbo",
  "status": "queued",
  "progress": 0,
  "output": null,
  "error": null,
  "billing": {
    "estimated_credits": "…",
    "frozen_credits": "…",
    "charged_credits": "0",
    "state": "frozen",
    "price_version": "2026-07-18.picverse-parity"
  },
  "created_at": "2026-07-21T00:00:00.000Z",
  "completed_at": null
}
  • queued / running: continue polling.
  • succeeded: retrieve media URLs from output; billing has settled.
  • failed / canceled: inspect error; frozen Credits are released.

Pricing

The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.

prompt_extendCredits
false3
true5