Guides
Account, balance and pricing
The account behind a key, its AI balance, transactions, usage, limits and prices.
https://imgsearch.com/llms.txt
On this page
These calls need the account:read scope.
The account #
GET /account answers the account and the key or app that called (reference):
id(a stable id, not the internal one),email,email_verified,plan(key,name; not for an app connected as ChatGPT) andadult_confirmed.can_generate, andgenerate_blocked_reasonwhen it is false:plan_required,insufficient_balance,storage_full,spending_not_enabled,spend_cap_reached,adult_confirmation_required,safety_lockedorgenerator_disabled.connection: the key or app itself, with itstype(api_keyoroauth_app),name,scopes,created_atandexpires_at, and its spending in US dollars:spending_enabled,monthly_cap_usd,spent_this_month_usdandresets_at.
Check can_generate once at the start of a job, and tell the user what to change before you plan a generation that cannot run.
Balance #
The AI balance pays for generations. Every amount is in US dollars, a number with at most three decimals. GET /account/balance answers it (reference):
available_usd: what the account can spend now.held_usd: plan and gift balance that waits for a paid plan (held_reason: plan_required).by_source_usd: the balance from the plan, gifts and what the account bought (top_up).lots: each batch with its source,amount_usd,expires_atand whether it is on hold.next_grant: the next amount the plan grants (amount_usd), and when.
The balance comes in lots, and the lot that expires soonest is spent first. A plan's lots last 3 months, bought ones 2 years and gifts 12 months. A refund goes back to the lot it came from. Reading the balance settles lots that are due, as the account page does.
Transactions and usage #
GET /account/balance/transactions is the ledger, newest first, paged with next_cursor; ?direction=credit or debit narrows it. Each entry has its amount_usd, balance_after_usd, a reason in words, its source (generation, plan, top_up, gift, expiry, adjustment and others), whether it was refunded, and the job it paid for (a generation’s id).
# The last five debits of the AI balance ledger.
# Needs IMGSEARCH_API_KEY.
curl -sS \
"${IMGSEARCH_API_BASE:-https://imgsearch.com/api/v2}/account/balance/transactions?direction=debit&limit=5" \
-H "Authorization: Bearer $IMGSEARCH_API_KEY"
# The last five debits of the AI balance ledger.
# Needs IMGSEARCH_API_KEY.
import json
import os
import httpx
base = os.environ.get("IMGSEARCH_API_BASE", "https://imgsearch.com/api/v2")
headers = {"Authorization": f"Bearer {os.environ['IMGSEARCH_API_KEY']}"}
r = httpx.get(
f"{base}/account/balance/transactions",
headers=headers,
params={"direction": "debit", "limit": 5},
timeout=60,
)
print(r.status_code)
print(json.dumps(r.json(), indent=2))
// The last five debits of the AI balance ledger.
// Needs IMGSEARCH_API_KEY.
const base = process.env.IMGSEARCH_API_BASE ?? "https://imgsearch.com/api/v2";
const r = await fetch(`${base}/account/balance/transactions?direction=debit&limit=5`, {
headers: { Authorization: `Bearer ${process.env.IMGSEARCH_API_KEY}` },
});
console.log(r.status);
console.log(JSON.stringify(await r.json(), null, 2));
{
"object": "list",
"data": [
{
"object": "balance_transaction",
"id": "ctx_d66c5ca1206947be",
"direction": "debit",
"amount_usd": 0.01,
"balance_after_usd": 0.594,
"reason": "AI Generator: Image",
"source": "generation",
"refunded": true,
"refund_of": null,
"created_at": "2026-11-26T11:45:29Z",
"job": {
"type": "generation",
"id": "01m8bkxvdyfespxd9sbk178hkr"
}
},
{
"object": "balance_transaction",
"id": "ctx_b696eda286414952",
"direction": "debit",
"amount_usd": 0.01,
"balance_after_usd": 0.604,
"reason": "AI Generator: Image",
"source": "generation",
"refunded": false,
"refund_of": null,
"created_at": "2026-11-26T11:45:29Z",
"job": {
"type": "generation",
"id": "01m8bkxtwgssxsn1ed6e65jnza"
}
},
{
"object": "balance_transaction",
"id": "ctx_ced81b22e73d7a89",
"direction": "debit",
"amount_usd": 0.006,
"balance_after_usd": 0.608,
"reason": "AI Generator: Image",
"source": "generation",
"refunded": true,
"refund_of": null,
"created_at": "2026-11-26T11:45:28Z",
"job": {
"type": "generation",
"id": "01m8bkxt07eds5vxbad257azj0"
}
},
{
"object": "balance_transaction",
"id": "ctx_370722fa702fb1fd",
"direction": "debit",
"amount_usd": 0.01,
"balance_after_usd": 0.614,
"reason": "AI Generator: Image",
"source": "generation",
"refunded": false,
"refund_of": null,
"created_at": "2026-11-26T11:45:27Z",
"job": {
"type": "generation",
"id": "01m8bkxs9212pmc6h2hzwnys3s"
}
},
{
"object": "balance_transaction",
"id": "ctx_eff8dde049fb20e5",
"direction": "debit",
"amount_usd": 0.1,
"balance_after_usd": 0.624,
"reason": "AI Generator: 3D model",
"source": "generation",
"refunded": false,
"refund_of": null,
"created_at": "2026-11-26T11:45:23Z",
"job": {
"type": "generation",
"id": "01m8bkxnmvbtztw64v4jc0b3jb"
}
}
],
"has_more": true,
"next_cursor": "EXAMPLE-CURSOR"
}
A key’s own spending this month is connection.spent_this_month_usd in GET /account. What your agents reused instead of generating is on savings.
Pricing #
- Prices are in US dollars, before VAT, which is added where it applies when the balance is bought.
- A generation costs the same through the API, the MCP server and the website: the website’s prices, with nothing added. Models lists every price.
- Searching and downloading cost nothing. Downloads count only toward fair use.
- Plans, the AI balance each gives every month and buying more are on the pricing page.
Who can generate #
- An account with a paid plan can generate with its plan's balance, gifts and what it bought.
- An account without a paid plan can spend the balance it bought; buying more needs a paid plan. Its plan and gift balance waits on hold.
- Every key also needs spending allowed for it on the website (spending).
Limits #
GET /account/limits shows how the account stands now, without the limits themselves (limits):
requests: the request line closest to its limit, withremainingandreset_seconds.searchanddownloads:ok, orlimitedwithretry_after_secondswhile an enforced limit is full.fair_use:okorreached, for files and for videos, and when it resets.generations: how many are unfinished now, the most an account may have, and how many may be worked on here at once (running_max; a clip, track, sound, SVG or 3D model no longer counts once it is with the provider, so more of those may be running there).
# How the account stands against its limits right now.
# Needs IMGSEARCH_API_KEY.
curl -sS \
"${IMGSEARCH_API_BASE:-https://imgsearch.com/api/v2}/account/limits" \
-H "Authorization: Bearer $IMGSEARCH_API_KEY"
# How the account stands against its limits right now.
# Needs IMGSEARCH_API_KEY.
import json
import os
import httpx
base = os.environ.get("IMGSEARCH_API_BASE", "https://imgsearch.com/api/v2")
headers = {"Authorization": f"Bearer {os.environ['IMGSEARCH_API_KEY']}"}
r = httpx.get(f"{base}/account/limits", headers=headers, timeout=60)
print(r.status_code)
print(json.dumps(r.json(), indent=2))
// How the account stands against its limits right now.
// Needs IMGSEARCH_API_KEY.
const base = process.env.IMGSEARCH_API_BASE ?? "https://imgsearch.com/api/v2";
const r = await fetch(`${base}/account/limits`, { headers: { Authorization: `Bearer ${process.env.IMGSEARCH_API_KEY}` } });
console.log(r.status);
console.log(JSON.stringify(await r.json(), null, 2));
{
"object": "limits",
"requests": {
"limit": 600,
"remaining": 549,
"reset_seconds": 42
},
"search": {
"status": "ok",
"retry_after_seconds": null
},
"downloads": {
"status": "ok",
"retry_after_seconds": null
},
"fair_use": {
"status": "ok",
"videos_status": "ok",
"resets_at": "2026-12-07T14:57:00Z"
},
"generations": {
"active": 0,
"max_active": 4,
"running_max": 2
}
}