Skip to main content
GET /v1/videos
Returns a paginated list of all video generation tasks for the authenticated user.

Query Parameters

page
integer
default:"1"
Page number for pagination.
limit
integer
default:"20"
Number of videos per page (max 100).

Response

data
array
Array of video objects.
pagination
object
Pagination information.

Examples

List All Videos

import requests

response = requests.get(
    "https://api.voidai.app/v1/videos",
    headers={"Authorization": "Bearer sk-voidai-your_key_here"},
    params={"page": 1, "limit": 10}
)

data = response.json()
for video in data["data"]:
    print(f"{video['id']}: {video['status']} - {video['prompt'][:50]}...")

Response Example

{
  "data": [
    {
      "id": "vid_abc123",
      "status": "completed",
      "prompt": "A serene beach at sunset with gentle waves",
      "model": "sora-2",
      "created_at": 1701691200
    },
    {
      "id": "vid_def456",
      "status": "processing",
      "prompt": "A cat playing piano in a jazz club",
      "model": "sora-2",
      "created_at": 1701691100
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 25
  }
}