Skip to content

价格

Pixapi 使用积分计量模型调用。价格取决于模型系列和生成设置。

套餐限制和积分包以线上 Pricing 页面 为准。

成本驱动因素

工作负载主要成本因素
图像生成model id、质量、尺寸、输出数量
图像编辑model id、参考图数量、输出数量
视频生成model id、duration、质量、size

规划用量

可以用下面的公式估算月度成本:

txt
monthly credits = requests per month * average credits per request

再为重试、实验和质量升级预留缓冲。

计费错误

积分不足时,Pixapi 返回:

json
{
  "error": {
    "code": "insufficient_credits",
    "message": "Not enough credits for this request."
  }
}

此时应展示 CreditsBilling 或升级入口,而不是自动重试。