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

# TrimVideoLatent - ComfyUI Built-in Node Documentation

> The TrimVideoLatent node removes frames from the beginning of a video latent representation.

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):** `33b7a899f2002e9a7008f2ca93de853c08dd0629a4c6867fb42aae4ec2eb864b`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.