Get balance
get_balanceShow the paid balance of the API key and how many free images are left today.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance_usd | Yes | ||
| balance_credits | Yes | Paid balance in credits (1 credit = $0.0025). | |
| free_images_left | No | Free images left today, out of 25. Used when the paid balance is empty. |