1.0.1
  • 1.0.1
  • 1.0.0
  1. API Reference
1.0.1
  • 1.0.1
  • 1.0.0
  • Get Started
  • API Reference
    • Create Task
      • Image To Video
      • Instruct Edit
      • Try-On (Apparel)
      • Try-On (Accessories)
      • Lifestyle Scene
      • Swap Fashion Model
      • Background Replacer
      • Segment Image By Prompt
      • Segment Image By Type
      • Background Remover
    • Upload Asset File
      POST
    • List Preset Materials
      GET
    • Check Task Status
      GET
    • Get Download Url
      GET
    • Retrieve API Credit Usage
      GET
  • Help
    • Download File Samples
    • Error Codes
    • FAQ
  1. API Reference

Retrieve API Credit Usage

GET
https://api.sellerpic.ai/v1/api/usage
Please ensure you have sufficient credits in your account before creating a task.
Refer to Credit Deduction Rules
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sellerpic.ai/v1/api/usage' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
    "code": 0,
    "data": {
        "remaining": 0,
        "total": 0,
        "usage": 0
    },
    "msg": "string",
    "success": true,
    "traceId": "string"
}

Request

Header Params

Responses

🟢200OK
*/*
OK
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-07-22 02:38:28
Previous
Get Download Url
Next
Download File Samples
Built with