Skip to main content
GET
Returns the number of try-on credits left. Each generation POST /try-on consumes 1 credit on success. Out-of-credits requests come back as 402 INSUFFICIENT_CREDITS. Use this endpoint to surface balance in your own dashboards, or to fail fast in a worker before queueing a generation.

Response

integer
required
Number of credits remaining on the account.
Accounts on enterprise agreements with externally managed credits do not decrement a balance; if your account is set up that way, treat the credit fields as informational.

Top-ups

Top up and view transaction history from the Genlook dashboard. The public API doesn’t expose a programmatic top-up endpoint; credit purchases go through the dashboard checkout.

See also