Skip to content

z-image ​

📝 模型简介待补充(TODO)。 本页所有取值均来自 ModelFold 模型目录,未编造任何技术细节。

概览 ​

字段值
模型 IDz-image
所属系列z-image
模态图像生成 (image)
计费积分12
上游成本—
定价来源default — 上游定价表未覆盖 —— 按模态起步价,待人工核对
调用端点POST /v1/images/generations

调用示例 ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建

curl -X POST "$API_BASE/images/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-image","prompt":"Generate a photorealistic image of a cafe terrace in the Marais district of Paris on a Wednesday morning in March 2025. It is a crisp, cool spring morning with clear skies. Locals are drinking coffee. In sharp focus should be a young woman with a pixie cut wearing a scarf, stirring a cappuccino and looking thoughtfully to the side; the waiter and street traffic behind her are blurred. The photo should have the candid, natural morning light feel of an iPhone image.","aspect_ratio":"1:1"}'

必填参数 ​

必填:prompt、aspect_ratio。

模型参数直接放在请求体顶层,不要套 input。示例素材地址需替换为自己的公开可访问文件;请求等待生成完成后返回 data[].url。

条件必填、取值限制及其它输入模式见完整参数文档。

相关模型 ​

延伸阅读 ​

ModelFold — 一个 API,接入所有主流 AI 模型。