Skip to content

Commit 01cd215

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-949: docs: add new faq about checking funds/credits; change nano banana 2 cover
1 parent a50609f commit 01cd215

6 files changed

Lines changed: 50 additions & 3 deletions

File tree

356 KB
Loading

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Open the API reference and copy a working example to integrate it into your code
1111

1212
**Trending Models**
1313

14-
<table data-column-title-hidden data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Pro-Grade Image Model</td><td><a href=".gitbook/assets/nanobanana2.png">nanobanana2.png</a></td><td><a href="api-references/image-models/google/gemini-3.1-flash-image.md">gemini-3.1-flash-image.md</a></td></tr><tr><td align="center">Top Video Generator</td><td><a href=".gitbook/assets/photo_2025-11-10_18-53-24.jpg">photo_2025-11-10_18-53-24.jpg</a></td><td><a href="api-references/video-models/openai/sora-2-t2v.md">sora-2-t2v.md</a></td></tr><tr><td align="center">Smarter Reasoning &#x26; Coding</td><td><a href=".gitbook/assets/gemini3.1pro.png">gemini3.1pro.png</a></td><td><a href="api-references/text-models-llm/google/gemini-3-1-pro-preview.md">gemini-3-1-pro-preview.md</a></td></tr></tbody></table>
14+
<table data-column-title-hidden data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Pro-Grade Image Model</td><td><a href=".gitbook/assets/Nano-Banana-2-new.jpg">Nano-Banana-2-new.jpg</a></td><td><a href="api-references/image-models/google/gemini-3.1-flash-image.md">gemini-3.1-flash-image.md</a></td></tr><tr><td align="center">Top Video Generator</td><td><a href=".gitbook/assets/photo_2025-11-10_18-53-24.jpg">photo_2025-11-10_18-53-24.jpg</a></td><td><a href="api-references/video-models/openai/sora-2-t2v.md">sora-2-t2v.md</a></td></tr><tr><td align="center">Smarter Reasoning &#x26; Coding</td><td><a href=".gitbook/assets/gemini3.1pro.png">gemini3.1pro.png</a></td><td><a href="api-references/text-models-llm/google/gemini-3-1-pro-preview.md">gemini-3-1-pro-preview.md</a></td></tr></tbody></table>
1515

1616
***
1717

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@
489489

490490
## FAQ
491491

492+
* [How can I track my funds?](faq/how-can-i-track-my-funds.md)
492493
* [How can I work with my API keys?](faq/how-can-i-work-with-my-api-keys.md)
493494
* [Can I use API in Python?](faq/can-i-use-api-in-python.md)
494495
* [Can I use API in NodeJS?](faq/can-i-use-api-in-nodejs.md)
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
hidden: true
3+
noIndex: true
4+
icon: circle-question
5+
---
6+
7+
# How can I track my funds?
8+
9+
### How can I check my current balance?
10+
11+
* [https://aimlapi.com/app/billing](https://aimlapi.com/app/billing)
12+
* You can also check your balance [programmatically](../api-references/service-endpoints/account-balance.md).
13+
14+
### Where can I see my outgoing balance?
15+
16+
On [the usage page](https://aimlapi.com/app/usage) in your dashboard, your balance is displayed in credits and is automatically deducted based on model usage.
17+
18+
You can also check your current balance programmatically via the API.
19+
20+
***
21+
22+
### How are real payments converted into usage credits?
23+
24+
AI/ML API uses a unified credit system for all models. Your balance is displayed in credits and automatically deducts based on model usage.
25+
26+
**Conversion Rate:** $1 USD = 2,000,000 credits
27+
28+
**Example calculations:**
29+
30+
* $0.05 = 100k credits
31+
* $0.50 = 1M credits
32+
* $5.00 = 10M credits
33+
* $50.00 = 100M credits
34+
35+
***
36+
37+
### Where can I check in advance how much a specific model call will cost?
38+
39+
You can find the pricing for all available models on the pricing page.
40+
41+
***
42+
43+
### Where can I see how many credits were actually spent for a request?
44+
45+
The number of credits actually consumed by a request is returned in the `total_tokens` field of the API response.
46+

docs/faq/how-can-i-work-with-my-api-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This allows you to:
7373

7474
## Management Keys
7575

76-
This type of key can only be created in the dashboard and is used to call the API for managing regular API keys.
76+
This type of key can only be created in the dashboard and is used to call [the API for managing regular API keys](../api-references/service-endpoints/api-key-management.md).
7777

7878
#### Creating a Management key
7979

docs/quickstart/quickstart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Each language has recommended environments for running code samples.
6161
<table data-header-hidden><thead><tr><th width="196.9332275390625" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top"><strong>cURL</strong></td><td><ul><li><a href="https://reqbin.com/curl">REQBIN</a> is a web-based REST client that lets you quickly run cURL requests directly in your browser, without installing any tools.</li><li><a href="https://git-scm.com/install/windows">Git Bash</a> (Windows) or the built-in Terminal (macOS/Linux) allow you to run cURL examples and other command-line tools locally. </li></ul></td></tr><tr><td valign="top"><strong>Python</strong></td><td><ul><li><a href="https://jupyter.org/try-jupyter/lab/index.html">Jupyter Notebook</a> is a popular online environment for running Python code and is the fastest option if you do not want to install anything locally.</li><li><a href="https://code.visualstudio.com/download">Visual Studio Code</a> (VS Code) is a lightweight and widely used code editor that supports both Python and Node.js. It is suitable for running and debugging local examples and for working on real projects.</li></ul></td></tr><tr><td valign="top"><strong>JavaScript</strong></td><td><ul><li><a href="https://code.visualstudio.com/download">Visual Studio Code</a> (VS Code)</li></ul></td></tr></tbody></table>
6262

6363
{% hint style="info" %}
64-
In the examples below for cURL, JavaScript and Python, we use the [**REST API**](/broken/pages/7AtalEv20tLYnxLuZl2D#rest-api). This approach works with all of our APIs, but it is not the only way to integrate. You can use [**other supported SDKs**](/broken/pages/7AtalEv20tLYnxLuZl2D).
64+
In the examples below for cURL, JavaScript and Python, we use the [**REST API**](../supported-sdks.md#rest-api). This approach works with all of our APIs, but it is not the only way to integrate. You can use [**other supported SDKs**](../supported-sdks.md).
6565
{% endhint %}
6666

6767
## Making an API Call

0 commit comments

Comments
 (0)