KIE.AI
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
MarketFile Upload APICommon API
MarketFile Upload APICommon API
  1. Common API
  • Common API Quickstart
  • Webhook Security Verification
  • Get Remaining Credits
    GET
  • Get Download URL for Generated Files
    POST
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
MarketFile Upload APICommon API
MarketFile Upload APICommon API
  1. Common API

Get Remaining Credits

GET
/api/v1/chat/credit
Get the current credit balance available in your account.

Usage Guide#

Use this interface to check your current credit balance
Monitor usage to ensure sufficient credits to continue using services
Plan credit replenishment based on usage patterns

Developer Notes#

All generation services require credit balance
Service access will be restricted when credits are exhausted
Credit consumption is based on specific services and usage volume

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢200
application/json
Request successful
Body

🔴500Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.kie.ai/api/v1/chat/credit' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Successful Example
{
    "code": 200,
    "msg": "success",
    "data": 100
}
Previous
Webhook Security Verification
Next
Get Download URL for Generated Files
Built with