v1

latestOpenAPI 3.1.02026-07-266827131.9 KB

Edit Video

post/video/edit

Request body

asset_idsstring[] required

Array of video asset IDs to combine and edit

orientation'landscape' | 'portrait' required

Output video orientation

user_promptstring required

AI editing instructions describing desired output

Example request

{
  "asset_ids": [
    "re_657739295220518912",
    "re_657739295220518913"
  ],
  "orientation": "portrait",
  "user_prompt": "Create a dynamic montage with smooth transitions"
}

Response

Video editing initiated successfully

codestring

Response code indicating the result status

msgstring

Response message describing the operation result

successboolean

Indicates whether the operation was successful

failedboolean

Indicates whether the operation failed

Example response

{
  "msg": "success",
  "data": {
    "task_id": "f432bc84bfd141d1b05c1d24af0abe6a"
  },
  "success": true
}