{"slug":"ZImageTurbo_INT8","routeSlug":"z-image-turbo","name":"Z-Image-Turbo INT8","developer":"Tongyi-MAI","modality":"image","inferenceTypes":["txt2img"],"surface":"both","infrastructure":"native-fleet","planRequired":"basic","status":"standard_model","tags":["Native GPU Fleet","OpenAI-compatible"],"description":"INT8 quantized. 128–2048px resolution (16px steps). 1–50 inference steps. Default: 768×768, 8 steps. Fastest option for production.","useCases":["Run Z-Image-Turbo INT8 via unified v2 jobs with free pre-run /price quotes","Drop-in compatible with the OpenAI SDK via the OpenAI-compatible gateway","Low-latency pay-as-you-go inference on direct GPU capacity"],"samplePrompt":"Hyperrealistic portrait photograph of a beautiful young woman, natural skin texture with subtle freckles, piercing green eyes with realistic light reflections, soft volumetric lighting from golden hour sun, wispy strands of auburn hair catching the light, shallow depth of field, shot on Hasselblad medium format camera, 85mm lens, professional fashion photography, magazine cover quality, photorealistic skin pores and fine details, natural makeup, serene confident expression","pricing":{"unit":"Resolution × steps","headlineRate":"$0.00442 / 512×512 (4 steps)","hasLiveQuoteEndpoint":true,"quoteEndpoint":"/api/v2/quote","isEstimated":false,"notes":"Fast distilled INT8 image generation."},"specs":{},"links":{"html":"https://runstage.dev/models/z-image-turbo","markdown":"https://runstage.dev/models/z-image-turbo.md","json":"https://runstage.dev/models/z-image-turbo.json","playground":"https://runstage.dev/playground?model=ZImageTurbo_INT8"},"snippets":{"curl":"# 1. Free pre-run retail quote\ncurl -X POST 'https://runstage.dev/api/v2/quote' \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"ZImageTurbo_INT8\",\"width\":1024,\"height\":1024,\"steps\":4}'\n\n# 2. Submit metered job\ncurl -X POST 'https://runstage.dev/api/v2/run' \\\n  -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{   \"model\": \"ZImageTurbo_INT8\",   \"prompt\": \"Hyperrealistic portrait photograph of a beautiful young woman, natural skin texture with subtle freckles, piercing green eyes with realistic light reflections, soft volumetric lighting from golden hour sun, wispy strands of auburn hair catching the light, shallow depth of field, shot on Hasselblad medium format camera, 85mm lens, professional fashion photography, magazine cover quality, photorealistic skin pores and fine details, natural makeup, serene confident expression\",   \"width\": 1024,   \"height\": 1024,   \"steps\": 4,   \"seed\": 42 }'\n\n# 3. Poll owner-scoped job result until status is \"done\" or \"failed\"\ncurl -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  'https://runstage.dev/api/v2/jobs/<request_id>'","typescript":"const headers = {\n  Authorization: `Bearer ${process.env.RUNSTAGE_API_KEY}`,\n  \"Content-Type\": \"application/json\",\n};\n\n// 1. Free pre-run retail quote\nconst quote = await fetch(\"https://runstage.dev/api/v2/quote\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n  \"model\": \"ZImageTurbo_INT8\",\n  \"width\": 1024,\n  \"height\": 1024,\n  \"steps\": 4\n}),\n}).then((r) => r.json());\nconsole.log(\"Quoted USD:\", quote.data?.price);\n\n// 2. Submit metered job\nconst job = await fetch(\"https://runstage.dev/api/v2/run\", {\n  method: \"POST\",\n  headers,\n  body: JSON.stringify({\n  \"model\": \"ZImageTurbo_INT8\",\n  \"prompt\": \"Hyperrealistic portrait photograph of a beautiful young woman, natural skin texture with subtle freckles, piercing green eyes with realistic light reflections, soft volumetric lighting from golden hour sun, wispy strands of auburn hair catching the light, shallow depth of field, shot on Hasselblad medium format camera, 85mm lens, professional fashion photography, magazine cover quality, photorealistic skin pores and fine details, natural makeup, serene confident expression\",\n  \"width\": 1024,\n  \"height\": 1024,\n  \"steps\": 4,\n  \"seed\": 42\n}),\n}).then((r) => r.json());\n\n// 3. Poll owner-scoped job status until terminal\nlet result;\nfor (let i = 0; i < 60; i++) {\n  result = await fetch(`https://runstage.dev/api/v2/jobs/${job.data.request_id}`, {\n    headers: { Authorization: headers.Authorization },\n  }).then((r) => r.json());\n  if ([\"done\", \"failed\", \"refunded\"].includes(result.data?.status)) break;\n  await new Promise((r) => setTimeout(r, 2000));\n}\nconsole.log(\"Status:\", result?.data?.status, result?.data?.result_url);","python":"import os, time, requests\n\nheaders = {\"Authorization\": f\"Bearer {os.environ['RUNSTAGE_API_KEY']}\"}\n\n# 1. Free pre-run retail quote\nquote = requests.post(\n    \"https://runstage.dev/api/v2/quote\",\n    json={\n    \"model\": \"ZImageTurbo_INT8\",\n    \"width\": 1024,\n    \"height\": 1024,\n    \"steps\": 4\n},\n    timeout=15,\n).json()\nprint(\"Quoted USD:\", quote[\"data\"][\"price\"])\n\n# 2. Submit metered job\njob = requests.post(\n    \"https://runstage.dev/api/v2/run\",\n    headers=headers,\n    json={\n    \"model\": \"ZImageTurbo_INT8\",\n    \"prompt\": \"Hyperrealistic portrait photograph of a beautiful young woman, natural skin texture with subtle freckles, piercing green eyes with realistic light reflections, soft volumetric lighting from golden hour sun, wispy strands of auburn hair catching the light, shallow depth of field, shot on Hasselblad medium format camera, 85mm lens, professional fashion photography, magazine cover quality, photorealistic skin pores and fine details, natural makeup, serene confident expression\",\n    \"width\": 1024,\n    \"height\": 1024,\n    \"steps\": 4,\n    \"seed\": 42\n},\n    timeout=30,\n).json()\njob_id = job[\"data\"][\"request_id\"]\n\n# 3. Poll owner-scoped job status until terminal\nresult = None\nfor _ in range(60):\n    result = requests.get(f\"https://runstage.dev/api/v2/jobs/{job_id}\", headers=headers, timeout=15).json()\n    if result[\"data\"][\"status\"] in (\"done\", \"failed\", \"refunded\"):\n        break\n    time.sleep(2)\nprint(\"Status:\", result[\"data\"][\"status\"], result[\"data\"].get(\"result_url\"))"}}