---
title: "Trim Video Endpoint"
method: PUT
path: "/v1/videos/{video_id}/trim"
tags: ["Video Emotion API"]
---

# Trim Video Endpoint

`PUT /v1/videos/{video_id}/trim`

Crop an uploaded video by trimming time off the beginning and/or the end.

On a processed video this drops the cut-out portion's faces, speakers,
transcript, and facial/audio/text emotion data by re-analyzing only the
kept window (timestamps re-based to the new start). The video re-enters
`processing`; poll the status endpoint for completion.

## Path parameters

- `video_id` string, required — Unique identifier of the video to crop

## Response `200`

Successful Response

- TrimVideoResponse — Result of a trim request — the video re-enters processing.
  - `id` string, required
  - `status` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/imentiv/apis/welcome-to-imentiv-ai.md) · [All operations](https://skmtc.net/imentiv/apis/welcome-to-imentiv-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imentiv/welcome-to-imentiv-ai/revisions/74ceee4a5c98/schema)
