VidLabDocsDashboard
ReferenceMarkdown

Balance

GET /v1/balance returns what your API balance can spend now. Free, read only, any key.

curl -s https://vidlab.ai/v1/balance \
  -H "Authorization: Bearer $VIDLAB_API_KEY"
json
{
  "data": {
    "object": "balance",
    "available_cents": 2500,
    "available_usd": 25,
    "balance_cents": 3000,
    "monthly_credit_remaining_cents": 0,
    "held_cents": 500,
    "resets_at": null
  }
}
FieldTypeWhat it is
available_cents, available_usdnumberWhat you can spend now: balance plus monthly credit left, minus what running generations have reserved.
balance_centsintegerThe credit you added. It does not expire.
monthly_credit_remaining_centsintegerIncluded monthly credit left, spent first. It resets on resets_at.
held_centsintegerReserved by generations that are still running.
resets_atstring or nullWhen the included monthly credit resets (UTC).

100 credits are $1: available_cents of 2500 is $25.00, or 2,500 credits.