v5

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

Reframe video to different aspect ratio

post/video/{video_id}/reframe

Path parameters

video_idstring required
Example:m-12345

Request body

targetstring required
modestring required
startnumber
endnumber
callback_urlstring
callback_dataobject

Example request

{
  "target": "9:16",
  "mode": "auto",
  "end": 30,
  "callback_url": "https://webhook.example.com/callback"
}

Response

Reframe job 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"
  }
}