Check Studio credits
get_studio_creditsCheck the account owner's Studio credit balance before generating a custom print to show the 1-credit cost and remaining credits; new accounts start at 0 until first generation adds 20 credits.
Instructions
Return the account owner's Studio credit balance; reading it spends nothing. Check it before generate_custom_print so you can tell the human the cost (1 credit per generation with either engine; preserve=true is free) and what will be left. No Studio account yet → balance 0 and studio_account=false; the first generation creates the account with 20 welcome credits. Every bought tee adds 20 credits, and more can be bought at allover.art/studio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| detail | No | ||
| balance | No | Current Studio credit balance. | |
| studio_account | No | False if the user has no Studio account yet (first generate auto-creates one). |