Tongyi-MAI
Z-Image-Turbo INT8
采用 INT8 量化。分辨率为 128–2048 px,以 16 px 为增量,支持 1–50 个推理步。默认设置为 768×768、8 步。适合生产环境的最快选项。
公开 API 价格
查看所有价格档位$0.00442 / 512×512 (4 steps)
512×512$0.00442
1024×1024~$0.00884
1536×1024~$0.0108
API 模型 ID
适用场景
- 通过 POST /api/v2/run 从文本生成用于营销活动、广告和产品构思的图像
- 使用预付点数前可通过 POST /api/v2/quote 免费估价
- 直连 GPU 支持高吞吐处理,费率不足一美分,无月度席位费
更多示例
- API 模型 ID
ZImageTurbo_INT8- 模型开发者
- Tongyi-MAI
- 模态
- 图像生成与编辑
- 输入
- Text prompt
- 输出
- Image (PNG / WebP)
- 端点列表
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- 基础设施
- 直连 GPU 集群
请求参数
modelstring · 必填Exact Runstage model slug (ZImageTurbo_INT8).
promptstring · 必填Visual description of subject, composition, lighting, and medium.
width / heightinteger · 可选Output pixel dimensions (e.g. 1024×1024 or 1536×1024).
stepsinteger · 可选Number of denoising steps controlling fidelity and cost.
其他参数
negative_promptguidanceseedlorasenhance_prompt
复制 Z-Image-Turbo INT8 的 curl 示例
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
-H "Content-Type: application/json" \
-d '{"model":"ZImageTurbo_INT8","width":1024,"height":1024,"steps":4}'
# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-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 }'
# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
'https://runstage.dev/api/v2/jobs/<request_id>'价格
| 计费单位和选项 | 费率(美元) |
|---|---|
| Draft · 512×512 (4 steps)Fast exploration & thumbnails | $0.00442 |
| Standard · 1024×1024 (4 steps)Production square artwork (estimated) | ~$0.00884 |
| Widescreen · 1536×1024 (4 steps)Hero & banner aspect ratio (estimated) | ~$0.0108 |
计费说明
- Fast distilled INT8 image generation.
- 动用预付点数前,可通过 POST /api/v2/quote 免费估算运行费用。
- 任务完成或失败时按实际费用自动结算,并退回未使用的预留点数。
Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。
在完整目录中比较