fb-pixel

एपीआई टोकन

एक नया टोकन बनाएं

एपीआई के साथ क्रेडिट बैलेंस पूछें

खाते के बारे में क्रेडिट से संबंधित जानकारी लौटाएँ।

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
    }
  }

स्थिति कोड

CODEDESCRIPTION
0Success
1000Parameter Error
1001Invalid HTTP Method
1002Authentication error
1003Insufficient Credits to Perform the Action
11xxServer Internal Error