> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TrimVideoLatent - ComfyUI Built-in Node Documentation

> Complete documentation for the TrimVideoLatent node in ComfyUI. Learn its inputs, outputs, parameters and usage.

The TrimVideoLatent node removes frames from the beginning of a video latent representation. It takes a latent video sample and trims off a specified number of frames from the start, returning the remaining portion of the video. This allows you to shorten video sequences by removing the initial frames.

## Inputs

| Parameter     | Description                                                                     | Data Type | Required | Range      |
| ------------- | ------------------------------------------------------------------------------- | --------- | -------- | ---------- |
| `samples`     | The input latent video representation containing the video frames to be trimmed | LATENT    | Yes      | -          |
| `trim_amount` | The number of frames to remove from the beginning of the video (default: 0)     | INT       | Yes      | 0 to 99999 |

## Outputs

| Output Name | Description                                                                                            | Data Type |
| ----------- | ------------------------------------------------------------------------------------------------------ | --------- |
| `output`    | The trimmed latent video representation with the specified number of frames removed from the beginning | LATENT    |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/TrimVideoLatent/en.md)

***

**Source fingerprint (SHA-256):** `176aa42bb489ff6326057c79ff4dcd27543b96d3212e30af77eeeccd77d3926b`
