AI Video APIAI Video API

Credits Query

Check your account balance via the API.

Endpoint

GET https://api.aivideoapi.ai/v1/credits

Request

curl https://api.aivideoapi.ai/v1/credits \
  -H "Authorization: Bearer sk-your-api-key"

Response

{
  "code": 200,
  "msg": "success",
  "data": {
    "balance": 9800,
    "total_purchased": 10000,
    "total_consumed": 200
  }
}

Response Fields

FieldTypeDescription
balanceintegerCurrent available credits
total_purchasedintegerTotal credits purchased (including bonuses)
total_consumedintegerTotal credits consumed by API calls