API Endpoints

Complete reference of all available API endpoints. All endpoints require authentication.

Videos

GET/v1/videos

List all videos with pagination.

Query Parameters

page - Page number (default: 1)

limit - Items per page (default: 20, max: 100)

status - Filter by status (pending, processing, completed, failed)

GET/v1/videos/:id

Get details for a specific video including status and download URL.

POST/v1/videos/generate

Generate a new video.

Request Body

{
  "content_id": "string",     // OR provide image_url + title + description
  "image_url": "string",
  "title": "string",
  "description": "string"
}
DELETE/v1/videos/:id

Delete a video.

Content

GET/v1/content

List all content items with pagination.

GET/v1/content/:id

Get details for a specific content item.

POST/v1/content

Create a new content item.

Request Body

{
  "title": "string",          // required
  "description": "string",    // required
  "image_url": "string",      // OR image_base64
  "image_base64": "string",
  "price": "string",          // optional
  "external_id": "string"     // optional
}
PATCH/v1/content/:id

Update a content item.

DELETE/v1/content/:id

Delete a content item.

Organization

GET/v1/organization

Get organization details including settings and usage.

GET/v1/organization/usage

Get current usage and remaining credits.

Related Documentation