v5

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-0112516159.5 KB

Create video scene index

post/video/{video_id}/index/scene/

Path parameters

video_idstring required
Example:m-12345

Request body

scene_type'shot' | 'time_based'
segmentation_thresholdnumber
callback_urlstring

Example request

{
  "scene_type": "shot",
  "segmentation_threshold": 0.8,
  "callback_url": "https://webhook.example.com/callback"
}

Response

Scene index creation started

successboolean
status'processing' | 'done' | 'failed'

Example response

{
  "success": true,
  "status": "processing",
  "data": {
    "id": "job-123",
    "output_url": "https://api.videodb.io/async-response/job-123"
  }
}