Skip to main content
GET
Get Remaining Credits
Retrieve the current balance of credits available in your account.

Usage Guide

  • Use this endpoint to check your current credit balance
  • Monitor usage to ensure sufficient credits for continued service
  • Plan credit replenishment based on your usage patterns

Developer Notes

  • Credit balance is required for all generation services
  • Service access will be restricted when credits are depleted
  • Credits are consumed based on the specific service and usage volume

授权

Authorization
string
header
必填

All APIs require authentication via Bearer Token.

Get API Key:

  1. Visit API Key Management Page to get your API Key

Usage: Add to request header: Authorization: Bearer YOUR_API_KEY

响应

Request successful

code
enum<integer>
必填

Response Status Code

可用选项:
200,
401,
402,
404,
422,
429,
455,
500,
505
msg
string
必填

Error message when code != 200

示例:

"success"

data
integer
必填

Remaining credit quantity

示例:

100