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

# Ltx2 Pro Retake

> Edits a specific segment of an existing video (audio, video, or both).

Edits a specific segment of an existing video (audio, video, or both).

**Model**

```bash theme={null}
ltx-2-pro-retake
```

## Inputs

### Required

* **video\_url (STRING)**\
  Source video to be edited.
* **start\_time (FLOAT, default: 0)**\
  Start time of edit segment in seconds.
* **duration (INT, default: 5)**\
  Length of segment to modify.

### Optional

* **prompt (STRING)**\
  Instruction describing how the segment should be changed.
* **mode (STRING, default: replace\_audio\_and\_video)**\
  Edit operation mode. Options: replace\_audio\_and\_video, replace\_audio, replace\_video.

## Outputs

* **video (VIDEO)**\
  Edited video output.
* **video\_url (STRING)**\
  Public URL of edited video.
* **file\_path (STRING)**\
  Local saved path.
