Check Usage Limits

Use your API key to check this key's request limits, as well as how many tasks of each type your account can process concurrently and hold in the queue.

GET /api/account/limits
X-Api-Key: sk-live-xxxx
  • Only X-Api-Key is required; no other parameters are needed.
  • The query itself also counts toward your request count.
  • The values returned are the ones currently in effect. If we've adjusted the limits for your account or key, the adjusted values are returned.
  • The same values can also be viewed on the Dashboard.

Response fields

Field Description
credit_type Key type: paid or trial
requests.per_minute The maximum number of requests this key can send per minute
requests.per_day The maximum number of requests this key can send per day
tasks Limits for each task type, one entry per task type. See the table below.
as_of When this data was generated (ISO 8601)

Fields in each tasks entry:

Field Description
type Task type, same as type in task data: 1 Image to Video, 2 Image Generation, 3 Face Age Detection, 4 Reference to Video, 5 Text to Video
action Name of the task type, e.g. video_generation
max_processing Concurrent processing limit: the maximum number of tasks of this type that can be processing at the same time. Tasks beyond this are queued, not rejected.
max_pending Queue limit: the maximum number of tasks of this type that can be waiting in the queue. Once the queue is full, creating a task of this type returns 429.

How limits are calculated

  • Requests are counted per key. Each key is counted separately, and every API call counts as one request, including task status queries, credit queries, and this API. For defaults, see Authentication.
  • Concurrent processing and queue limits are calculated per account. They're shared by all keys on the same account, paid and trial keys alike.

The 429 response message differs depending on which limit you exceeded:

message Cause What to do
Too Many Attempts. This key's request limit is used up Wait Retry-After seconds before sending again. If it's caused by polling for results, see No Public URL? Poll for Results.
Too many pending tasks of this type; please retry later. The queue for this task type is at its limit Wait Retry-After seconds, or wait for earlier tasks to finish before sending again.

Example response

The values below are for reference only; rely on the values you actually get.

{
  "credit_type": "paid",
  "requests": {
    "per_minute": 300,
    "per_day": 100000
  },
  "tasks": [
    { "type": 1, "action": "video_generation", "max_processing": 10, "max_pending": 50 },
    { "type": 2, "action": "image_generation", "max_processing": 5, "max_pending": 30 },
    { "type": 3, "action": "detect_face", "max_processing": 20, "max_pending": 50 },
    { "type": 4, "action": "reference2video", "max_processing": 10, "max_pending": 50 },
    { "type": 5, "action": "text2video", "max_processing": 10, "max_pending": 50 }
  ],
  "as_of": "2026-11-30T04:30:00.000000Z"
}

Errors

Status code Cause
401 X-Api-Key missing, key doesn't exist or has been revoked, or the trial key's credit grant has expired (see Authentication)
429 Request limit exceeded