API Reference
Profile
查询和更新 Open API 账户资料与额度。
Profile
使用 Profile 接口查询当前 API Token 对应的账号 id、额度、套餐层级和积分。
查询 Profile
GET /api/open/v1/profile
Authorization: Bearer YOUR_API_TOKEN响应
{
"user_id": "user_123",
"api_quota_remaining": 988000,
"tier": "pro",
"credits": 1200
}更新 Profile
POST /api/open/v1/profile
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json{
"webhookUrl": "https://example.com/webhooks/fishspeech"
}可更新字段由服务端控制。未知字段可能会被忽略或拒绝。