CREDITS for per-generation spend.
Subscriptions
All active plans include a monthly credit grant. Refer to the checkout terms in the app for expiry details.
Top-ups
Server-side spend
All credit deduction happens server-side. The flow is:1
Quote
Client calls
POST /v1/projects/{id}/quote. The server prices the job.2
Reserve
The
CREDITS balance is atomically decremented by the quoted amount.3
Run
The generation job is enqueued. On success, the deduction is finalized. On failure, credits are refunded.
Insufficient balance
If your balance is below the quote, the API returns402 Payment Required before any generation runs. No partial charge, no partial job.
