Errors

The Elai API will return error responses on invalid requests. Each response will include an error code and a message.

"responses": {
  "400": {
    "description": "Bad request"
  },
  "401": {
    "description": "Not authorized"
  },
  "402": {
    "description": "Not enough minutes left in the current tariff plan"
  },
  "404": {
    "description": "Not found"
  },
  "500": {
    "description": "Internal error"
  }
}

Each error request should return a body with a message:

{"message":"Slide 1 is too long. Please limit speech to 60s for this avatar."}

Limitations

We have the following entity creation limits for each account for every 8 hours. Limits are different for paid and trial accounts:

  • video (including templates): trial: 50, paid: 1000 (6000 for API plans)
  • folder: trial: 10, paid: 100
  • uploaded media: trial: 200, paid: 1000
  • custom fonts: trial: 10, paid: 100