https://yescale.bogia.appAuthorization header for most endpoints.Authorization: Bearer ACCESS_KEYACCESS_KEY with your actual Access Key./yescale/userGETAuthorization: Bearer ACCESS_KEY (Replace ACCESS_KEY){
"data": {
"access_token": "XXXXX",
"display_name": "Your Display Name",
"email": "your.email@example.com",
"quota": 8664402091,
"request_count": 213527,
"role": 1,
"telegram_id": "",
"used_quota": 1460014143,
"username": "your_username"
},
"message": "",
"success": true
}quota: Your remaining credits. To convert to USD, divide by 500,000.used_quota: Your consumed credits. To convert to USD, divide by 500,000./yescale/apikeylistGETkeyword (optional): A string to filter API keys by name.token (optional): Your user token.Authorization: Bearer ACCESS_KEY (Replace ACCESS_KEY){
"data": [
{
"DeletedAt": null,
"accessed_time": 1752898519,
"allow_ips": "",
"created_time": 1750262525,
"expired_time": -1,
"group": "normal",
"id": 7136,
"key": "XXXXX",
"model_limits": "",
"model_limits_enabled": false,
"name": "dsdfs",
"remain_quota": 113777,
"status": 1,
"unlimited_quota": true,
"used_quota": 386223,
"user_id": 2
}
]
}id: The unique identifier for the API key.key: The API key string (partially masked).name: A user-defined name for the key.status: The status of the key (e.g., 1 for active).remain_quota: The remaining quota assigned to this key.unlimited_quota: A boolean indicating if the key has unlimited quota.used_quota: The total quota consumed by this key.expired_time: The Unix timestamp for when the key expires (-1 for no expiration)./yescale/deletekey/{key_id}DELETEkey_id (required): The unique ID of the API key to delete.Authorization: Bearer ACCESS_KEY (Replace ACCESS_KEY){
"message": "",
"success": true
}/yescale/editquota/{key_id}PUTkey_id (required): The unique ID of the API key to modify.Authorization: Bearer ACCESS_KEY (Replace ACCESS_KEY)Content-Type: application/json{
"remain_quota": 50000000
}remain_quota value is converted to USD credits by dividing it by 500,000. For example, a remain_quota of 50,000,000 is equivalent to $100./yescale/taskGETstart_timestamp (required): The Unix timestamp marking the beginning of the time range.end_timestamp (required): The Unix timestamp marking the end of the time range.Authorization: Bearer ACCESS_KEY (Replace ACCESS_KEY)/yescale/logsGETp (optional): Page number for pagination. Defaults to 1.page_size (optional): Number of items per page. Defaults to 10000.type (optional): Type of logs to retrieve (e.g., 2).token_name (optional): Filter logs by a specific token name.model_name (optional): Filter logs by a specific model name.username (optional): Filter logs by username.start_timestamp (optional): The Unix timestamp marking the beginning of the time range for logs.end_timestamp (optional): The Unix timestamp marking the end of the time range for logs.Authorization: Bearer ACCESS_KEY (Replace ACCESS_KEY)/yescale/modelsGETAuthorization: Bearer ACCESS_KEY (Replace ACCESS_KEY with your actual key){
"data": [
{
"alternative_info": null,
"avg_time_high": 10.6153846153846,
"avg_time_low": 5.83333333333333,
"avg_time_normal": 6.76923076923077,
"billing_type": "pay-per-request",
"category": "Image, Dall-e",
"created_at": "2025-06-27T09:08:29.908425+00:00",
"docs": "https://im06lq19wz.apifox.cn/api-311905851",
"endpoint": "/v1/images/generations",
"group_name": "drawing",
"group_ratio": 1.25,
"id": 143,
"input_price": null,
"is_deprecation": 0,
"is_hot": 0,
"is_image": 0,
"is_web_access": 0,
"knowledge_cutoff": null,
"max_input": null,
"max_output": null,
"model_name": "imagen4-fast",
"notes": "",
"output_price": null,
"price_per_request": "0.04 ~ 400 VND",
"provider_logo": "data:image/svg+xml;base64,...",
"provider_name": "Google",
"quality_api": 41.3,
"release_date": null,
"saving": 23.08,
"saving_details": "- **Offical Price**: $0.02x26.000(VNDUSD Ex) = 520VND \n- **YEScale Price**: $0.04x1.25(GroupRatio)x8.000(TopUp Price)= 400VND \n- **Saving Ratio**: 23.08%",
"throughput": null,
"updated_at": null,
"uptime": 1
}
]
}model_name: The unique identifier for the model (e.g., imagen4-fast).uptime: Indicates the operational status of the model's API.1: The API is operating normally.0: The API is currently under maintenance.is_deprecation: Shows the deprecation status of the model.0: The model is active and fully supported.1: The model is deprecated and will be removed in a future update. Users should plan to migrate to an alternative.2: The model is no longer active and cannot be used.endpoint: The specific API path to use for making requests to this model (e.g., /v1/images/generations).billing_type: The method used for billing (e.g., pay-per-request).price_per_request: The estimated cost for a single API call to this model.provider_name: The original provider of the AI model (e.g., "Google", "OpenAI").category: The categories the model belongs to, such as "Image" or "Text Generation".docs: A link to the official documentation for the model.saving_details: A breakdown of the cost savings when using YEScale compared to the official provider's price.