# Billing and usage

See how video time is reserved, used, and topped up.

## Video seconds are the unit of usage

On submission SignAPI holds a length limit: twice the length expected for your text plus 10 seconds (at least 30, at most 600, and never more than you have available). Set the optional `max_duration_seconds` to choose your own limit. On success the exact delivered duration is deducted and the rest is released; failed and cancelled jobs release everything. Long text is signed sentence by sentence and joined into one video.

If your available balance is below the limit a job needs, submission returns `402 insufficient_credits`.

The usage API reports milliseconds; the console shows seconds.

```bash
curl "https://signapi.fingerdance.ai/v1/usage" -H "Authorization: Bearer $FINGERDANCE_API_KEY"
```

```json
{"unit": "video_millisecond", "balance_ms": 96195876, "reserved_ms": 0, "available_ms": 96195876, "delivered_ms": 3804124, "as_of": 1794853700.2}
```

## Buy more video time

Choose a pack at https://signapi.fingerdance.ai/account/billing, review the amount and video time, and finish checkout on Stripe. The return page shows when the purchase has been credited. If confirmation takes longer, check the order in Billing before retrying. Prices: https://signapi.fingerdance.ai/pricing
