---
title: "Clip Video API — Turn a Long Video into Short Clips | Pogclip Docs"
description: "Start clipping a long YouTube, Twitch or Kick video into scored vertical clips with captions, or check its credit price."
url: https://pogclip.com/docs/clip-video
---

# Clip a video

Starts clipping a long video into short vertical clips with word-by-word captions, each scored out of 100. The video must be longer than 3 minutes and up to 8 hours, and `rightsConfirmed` must be `true`.

|          |                                                                        |
| -------- | ---------------------------------------------------------------------- |
| MCP tool | `clip_video`                                                           |
| API      | `POST /api/v1/projects`                                                |
| Credits  | 1 credit for each minute of video. They come back if processing fails. |

## When to use it

- Call with `priceOnly: true` first to get the video's length and credit price before charging the account.
- Call again without `priceOnly` once the user confirms. Sending the same link and options returns the same project, for no more credits.
- To clip the same video again, send a new `requestId`. It uses the full price again.
- To edit a video of 10 minutes or less by its script, use [`open_video`](https://pogclip.com/docs/open-video) instead.

## Parameters

| Name              | Type    | Required | What it is                                                                                                                             |
| ----------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `url`             | string  | Yes      | A public YouTube, Twitch or Kick video link.                                                                                           |
| `rightsConfirmed` | boolean | Yes      | Must be true: the user owns the video or has permission to use it.                                                                     |
| `language`        | string  | No       | Spoken language. Default "auto" detects it. One of `auto`, `en`, `es`, `pt`, `fr`, `de`, `it`.                                         |
| `clipLength`      | string  | No       | Preferred clip length in seconds. A moment that needs more time keeps it. Default "auto". One of `auto`, `under_30`, `30_60`, `60_90`. |
| `priceOnly`       | boolean | No       | Returns the length of the video and its price in credits, and starts nothing.                                                          |
| `requestId`       | string  | No       | Any text. A new one clips the same video again, for its full price.                                                                    |

## Call it from an AI agent

```json
{
  "name": "clip_video",
  "arguments": {
    "url": "https://www.youtube.com/watch?v=VIDEO_ID",
    "rightsConfirmed": true
  }
}
```

## Call it from your code

```bash
curl -X POST https://pogclip.com/api/v1/projects \
  -H "Authorization: Bearer $POGCLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=VIDEO_ID", "rightsConfirmed": true}'
```

## What you get back

With `priceOnly: true`:

```json
{
  "status": "price",
  "name": "Five tips for talking on camera",
  "durationSeconds": 523,
  "credits": 9,
  "creditsAvailable": 289,
  "next": "Nothing has started. Send the same request without priceOnly once the user agrees to the price."
}
```

Without it:

```json
{
  "status": "created",
  "project": {
    "id": "08eda86f",
    "name": "Five tips for talking on camera",
    "status": "processing",
    "stage": "queued",
    "progress": 0,
    "source": {
      "title": "Five tips for talking on camera",
      "url": "https://www.youtube.com/watch?v=VIDEO_ID",
      "durationSeconds": 523
    },
    "language": "auto",
    "clipLength": "auto",
    "clipCount": 0,
    "credits": {
      "amount": 9,
      "state": "reserved"
    },
    "createdAt": "2026-12-04T10:19:27.845Z",
    "expiresAt": "2027-01-03T10:19:27.845Z",
    "pageUrl": "https://pogclip.com/dashboard/projects/08eda86f",
    "next": "Processing usually takes a few minutes (roughly a third of the video length). Check again in about a minute."
  }
}
```

- `status`: `checking_link` means the link check is still running; repeat the same call in about 10 seconds. `price` returns `durationSeconds`, `credits` and `creditsAvailable` without starting a project. `created` starts a new project, and `existing` returns a project already made for the same link and options. With `priceOnly` you always get the price; its `next` says when a project exists already.
- `project.id`: pass this as `projectId` to [`get_project`](https://pogclip.com/docs/get-project) and [`list_clips`](https://pogclip.com/docs/list-clips).
- `project.status`: `processing` means clipping is underway; poll [`get_project`](https://pogclip.com/docs/get-project) about once a minute until it is `done`.
- `project.pageUrl`: share this pogclip.com link so the user can follow progress in the browser.
- `next`: tells you what to call next and when. Once there is a project, it is in `project`.

## Errors

| Code                   | What it means                                                                                       |
| ---------------------- | --------------------------------------------------------------------------------------------------- |
| `rights_not_confirmed` | `rightsConfirmed` was not `true`.                                                                   |
| `link_unavailable`     | The link is private, live, a playlist, longer than 8 hours, or cannot be read. `reason` says which. |
| `video_too_short`      | The video is 3 minutes or shorter. Open it with `open_video` instead.                               |
| `not_enough_credits`   | The video needs more credits than the account has. The answer has a `billingUrl`.                   |
| `too_many_processing`  | 3 videos are already processing. Wait for one to finish.                                            |
| `invalid_request`      | A field is missing or wrong. The message says which.                                                |
| `unauthorized`         | The API key or sign-in is missing, wrong or revoked.                                                |
| `rate_limited`         | More than 60 requests in a minute. Wait for `retryAfterSeconds`.                                    |

## Related

- [Check a project](https://pogclip.com/docs/get-project)
- [List clips](https://pogclip.com/docs/list-clips)
- [Skill: make clips](https://pogclip.com/docs/make-clips)
