Check your account remaining credits balance
Account
Get Remaining Credits
Check your account remaining credits balance.
GET
Check your account remaining credits balance
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
Authorizations
All APIs require authentication via API Key.
Get API Key:
- Visit API Key Management Page to get your API Key
Usage: Add to request header:
x-api-key: YOUR_API_KEY
Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately in the management page
Response
get successfully.
Response status code
- 200: Success - Request has been processed successfully
- 401: Unauthorized - Authentication credentials are missing or invalid
- 402: Insufficient Credits - Account does not have enough credits to perform the operation
- 404: Not Found - The requested resource or endpoint does not exist
- 422: Validation Error - The request parameters failed validation checks
- 429: Rate Limited - Request limit has been exceeded for this resource
- 455: Service Unavailable - System is currently undergoing maintenance
- 500: Server Error - An unexpected error occurred while processing the request
- 501: Generation Failed - Content generation task failed
- 505: Feature Disabled - The requested feature is currently disabled
Response message
result information.
