账户
管理账户并查看积分余额
GET
/api/v1/account/balances获取您当前网页版和API钱包的信用余额。
回复
{
"success": true,
"request_id": "req_xxx",
"data": {
"web_credits": 100,
"api_credits": 500
}
}响应字段
| 场地 | 类型 | 描述 |
|---|---|---|
| web_credits | number | 网页版体验区可用积分 |
| api_credits | number | 可用于API使用的积分额度 |
代码示例
curl https://gateway.nanobananapro.site/api/v1/account/balances \
-H "Authorization: Bearer sk-your-api-key"