Skip to main content
GET
/
videos
/
generations
/
{requestId}
Poll the status of a video generation request
curl --request GET \
  --url https://api.maxai.lol/v1/videos/generations/{requestId} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "queued",
    "statusReason": "<string>",
    "model": "<string>",
    "safetyLevel": "low",
    "input": {
      "positivePrompt": "<string>",
      "frameImage": "<string>"
    },
    "samples": 123,
    "dimensions": {
      "width": 123,
      "height": 123
    },
    "queuedAt": "2023-11-07T05:31:56Z",
    "cancelledAt": "2023-11-07T05:31:56Z",
    "startedAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "results": [
      {
        "cost": 123,
        "isNSFW": true,
        "url": "<string>"
      }
    ],
    "totalCost": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

requestId
string<uuid>
required

The UUID of the image generation request to check.

Response

Image generation request status retrieved successfully.

status
number
Example:

200

data
object