Skip to main content
GET
/
api
/
open
/
v3
/
faceswap
/
quota
/
info
Get User Credit Info
curl --request GET \
  --url https://openapi.akool.com/api/open/v3/faceswap/quota/info \
  --header 'x-api-key: <api-key>'
{
  "code": 1000,
  "msg": "OK",
  "data": {
    "credit": 123
  }
}

Important Notes

  • This endpoint returns your current account balance
  • Credits are deducted when you submit faceswap requests
  • Monitor your credit balance to ensure uninterrupted service

Authorizations

x-api-key
string
header
required

Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.

Response

200 - application/json

User credit information

code
integer
required

Interface returns business status code (1000: success)

Example:

1000

msg
string
required

Interface returns status information

Example:

"OK"

data
object