Request
- URL:
https://www.ailabapi.com/api/common/query-credits - Method:
GET
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | String | Application API KEY. Get API KEY |
Response
Public Response Fields
Viewing Public Response Fields and Error CodesBusiness Response Fields
| Field | Type | Scope | Description |
|---|---|---|---|
data | array | ||
+unique_sign | string | View | Unique identification. |
+name | string | Name. | |
+balance | float | Credit Balance. | |
+total | float | Total Credits. | |
+last_recharge_balance | float | Balance after last purchase. | |
+balance_warning | float | Credit Balance Early Warning Value. | |
+first_buy_time | integer | Time of first purchase. | |
+last_update_time | integer | Last update time. |
Unique Identification
- COMMON
- AI IMAGE
- AI PORTRAIT
- AI BACKGROUND REMOVAL
| Name | Unique identification |
|---|---|
| Universal credits (all APIs supported) | common |
Response Example
Sample Code
Authorizations
API Key for authentication
Response
200 - application/json
Success
The response is of type object.

