---
title: "Edit Video"
method: POST
path: "/video/edit"
---

# Edit Video

`POST /video/edit`

## Request body

- object
  - `asset_ids` string[], required — Array of video asset IDs to combine and edit
  - `orientation` 'landscape' | 'portrait', required — Output video orientation
  - `user_prompt` string, required — AI editing instructions describing desired output

## Response `200`

Video editing initiated successfully

- object
  - `code` string — Response code indicating the result status
  - `msg` string — Response message describing the operation result
  - `data` object — Response data object containing task information
    - `task_id` string — Unique identifier of the video editing task
  - `success` boolean — Indicates whether the operation was successful
  - `failed` boolean — Indicates whether the operation failed

---

[API](https://skmtc.net/memories/apis/screenplay-extraction-api.md) · [All operations](https://skmtc.net/memories/apis/screenplay-extraction-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memories/screenplay-extraction-api/versions/720c8c144ddc/schema)
