# Cut.Pro API

> Clip long videos, render them, publish to social networks and generate image, video, voice, music, sound, 3D and text with AI, all over HTTP.

The Cut.Pro API turns a video link into vertical clips ready to post. You send the URL, the AI picks the best moments, and you render, download or publish each cut with one request.

- [Quickstart](https://cut.pro/docs/en/quickstart): From link to MP4 in seven requests.
- [API reference](https://cut.pro/docs/reference): Every endpoint, with a client to test in the browser.

## Your first request

Analyzing a video is free and returns the cost in credits before you spend anything.

**curl**

```bash
curl -X POST https://api.cut.pro/api/v1/videos/info \
  -H "X-Api-Key: $CUTPRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }'
```

**Node.js**

```js
const response = await fetch("https://api.cut.pro/api/v1/videos/info", {
	method: "POST",
	headers: {
		"X-Api-Key": process.env.CUTPRO_API_KEY,
		"Content-Type": "application/json",
	},
	body: JSON.stringify({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }),
});

const video = await response.json();
```

**Python**

```python

response = requests.post(
    "https://api.cut.pro/api/v1/videos/info",
    headers={"X-Api-Key": os.environ["CUTPRO_API_KEY"]},
    json={"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"},
)

video = response.json()
```

```json title="200 OK"
{
  "id": "7412908365112823",
  "title": "Rick Astley - Never Gonna Give You Up",
  "author": "Rick Astley",
  "platform": "youtube",
  "duration": 213,
  "credits_cost": 4,
  "current_balance": 120,
  "credits_unlimited": false
}
```

The `id` is the `video_id` you use in the rest of the flow. No key yet? [Generate one](https://cut.pro/docs/en/authentication).

## Choose how to integrate

- [REST](https://cut.pro/docs/en/quickstart): HTTP with JSON at `https://api.cut.pro/api/v1`. Works in any language.
- [MCP](https://cut.pro/docs/en/mcp): Use the API inside Claude, ChatGPT, Cursor and VS Code, without writing code.
- [Coding agent](https://cut.pro/docs/en/mcp): Give your agent `llms-full.txt` or the Markdown of any page.

## What you can do

- [Clipping](https://cut.pro/docs/en/clipping): A YouTube, TikTok, Twitch, Kick or other source link becomes cuts with a title, a description and a score from 0 to 10.
- [Video upload](https://cut.pro/docs/en/uploads): Send the file straight to storage, in one part or in several.
- [Monitoring](https://cut.pro/docs/en/monitoring): Follow channels and live streams and get clips from every new video.
- [Rendering](https://cut.pro/docs/en/rendering): Apply a template and generate the vertical MP4 with captions.
- [Publishing](https://cut.pro/docs/en/publishing): Post to TikTok, Instagram, YouTube and eight more networks, now or scheduled.
- [Transcription](https://cut.pro/docs/en/transcription): Audio or video becomes timed text, in JSON, SRT, VTT or TXT.
- [Models](https://cut.pro/docs/en/models): The full catalog of AI models, with prices and what each takes.
- [Generate with AI](https://cut.pro/docs/en/generations): Image, video, voice, music, sound, avatars, 3D and tools, with the price fixed upfront.
- [Chat and embeddings](https://cut.pro/docs/en/text): Claude, GPT, Gemini, DeepSeek and more in OpenAI's format, billed by the token.
- [AI characters](https://cut.pro/docs/en/personas): Create a consistent character and put it in photos and videos.

## Before going to production

- [Conventions](https://cut.pro/docs/en/conventions): IDs, dates, pagination and the format of every response.
- [Credits](https://cut.pro/docs/en/credits): What is charged, when it is charged and how to check the statement.
- [Errors](https://cut.pro/docs/en/errors): Every API error code, with the route that returns each one.
- [Rate limits](https://cut.pro/docs/en/rate-limits): 600 requests per minute per key, and how to react to a 429.
