> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI Sora 2 (reverse) Video Editing

Supports editing videos already generated by [OpenAI Sora 2 (reverse) Video Generation](/docs/models/reference-sora-2-video-reverse), with a degree of consistency maintained.

<Tip>
  This is an **async** API that only returns the task\_id of the async task. Use the task\_id to call the [Get Async Task Result API](/docs/models/reference-get-async-task-result) to retrieve the generated result.
</Tip>

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="prompt" type="string" required={true}>
  Positive text prompt for video editing.
</ParamField>

<ParamField body="task_id" type="string" required={true}>
  The task\_id returned from generating a video using [OpenAI Sora 2 (reverse) Video Generation](/docs/models/reference-sora-2-video-reverse).
</ParamField>

## Response

<ResponseField name="task_id" type="string" required={true}>
  The task\_id of the async task. Use the task\_id to call the [Get Async Task Result API](/docs/models/reference-get-async-task-result) to retrieve the generated result.
</ResponseField>
