API 参考 / 账户

余额

llms-full.txt
GEThttps://api.minicut.ai/v1/balance

钱包与限额

响应 200

balancestring

钱包余额,保留 6 位小数,币种由 `currency` 字段指明

heldstring

运行中的任务冻结的金额,保留 6 位小数,币种由 `currency` 字段指明

availablestring

现在可花的金额,保留 6 位小数,币种由 `currency` 字段指明

lifetime_addedstring

累计充值的金额,保留 6 位小数,币种由 `currency` 字段指明

currencystring

这个对象及其内部各项金额的币种。始终是 USD

stepinteger
jobs_at_onceinteger
submits_per_minuteinteger
monthly_capstring

月度消费上限,保留 6 位小数,币种由 `currency` 字段指明

month_spendstring

本月已消费的金额,保留 6 位小数,币种由 `currency` 字段指明

curl "https://api.minicut.ai/v1/balance" \
  -H "Authorization: Key $MINIAPI_KEY"
响应 200
{
  "balance": "24.500000",
  "held": "1.750000",
  "available": "22.750000",
  "lifetime_added": "25.000000",
  "currency": "USD",
  "step": 1,
  "jobs_at_once": 2,
  "submits_per_minute": 10,
  "monthly_cap": "100.000000",
  "month_spend": "0.500000"
}
401missing_api_key 没有 Authorization 请求头
401invalid_api_key 密钥错误、不存在或已被撤销
429rate_limited 请求太多,请等待 Retry-After 指定的时间
500internal_error 问题在我们这边,请重试