Get Remaining Credits
GET/api/v1/generate/credit
Retrieve the current balance of available credits for your account.
Usage Guide
- Credits are consumed when generating music, lyrics, or using other processing features.
- This endpoint allows you to check your current credit balance before initiating tasks.
- Returns a single integer value representing your available credits.
- No parameters required; authentication via API key is sufficient.
Developer Notes
- Monitor your credit balance regularly to avoid service interruptions.
- If credits are insufficient, generation tasks will fail with error code 429.
- Consider integrating this check before starting expensive generation operations.
- This endpoint is lightweight and can be called frequently as needed.
Responses
- 200
- 500
Request successful
Server error