🎬 새로운 기능이 출시되었습니다: 오늘 첫 번째 AI 비디오를 시작하세요 — 지금 바로 시도해 보세요.🎬 새로움: 오늘 첫 번째 비디오를 시작하세요!
API 토큰
새 토큰 만들기
API로 크레딧 잔액 조회
계정에 대한 신용 관련 정보를 반환합니다.
POST https://backend.kaze.ai/api/ext/v1/get_quota
Header parameters:
- Authorization: Bearer <>
- Content-Type: application/json
Request Body:
Using Image URL
- image_url: https://example.com/image.png
curl --location --request POST 'https://backend.kaze.ai/api/ext/v1/get_quota' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{}'Response:
- limit: 총 쿼터
- usage: 사용된 할당량
- remaining: 남은 할당량
{
"code": 0,
"message": "Success",
"data": {
"limit": 500,
"usage": 0,
"remaining": 500
}
}상태 코드
| CODE | DESCRIPTION |
|---|---|
| 0 | Success |
| 1000 | Parameter Error |
| 1001 | Invalid HTTP Method |
| 1002 | Authentication error |
| 1003 | Insufficient Credits to Perform the Action |
| 11xx | Server Internal Error |