AI Credits

The dashboard top bar shows your available AI credit balance. Generation operations can reserve and consume credits according to the model and workflow.

Shared Inertia Prop

Authenticated Inertia pages receive:
Unlimited balances return "balance": null and "is_unlimited": true.

API

The same balance payload and top-up flow are available for clients through the versioned API. The create endpoint accepts:
Client top-ups should use payment_method=stripe, call the Stripe Checkout endpoint, and redirect the user to the returned session URL. Status verification is idempotent: checking an already credited order does not add the credits twice.