Cut YouTube videos into clips and vertical Shorts
Send a YouTube link with start and end times and get an MP4 of just that part, frame-accurate, with sound. Keep the video's shape or make vertical 9:16 clips for Shorts, Reels and TikTok. Built for n8n, Make, Zapier and your own code.
What you get
Frame-accurate
Cut exactly at the times you give, to the millisecond.
Vertical 9:16, two ways
crop fills the screen with the middle of the frame; blur keeps the whole frame on a blurred background.
Only the part you need
Fetches just the seconds around each clip, so a clip from a 3-hour podcast is quick.
Plays everywhere
MP4 with H.264 video and AAC audio, 720p or 1080p.
Many clips at once
Up to 100 clips per Apify run, 10 per API job.
Failed clips are free
A clip that still fails after retries is reported with the reason, not charged.
Who it is for
Shorts, Reels and TikTok
Turn long videos, podcasts and streams into vertical clips.
Automation builders
Clip from n8n, Make or Zapier, then upload or edit in the next step.
Clipping agencies
Cut many highlights from many videos in one job.
AI video pipelines
Pair with transcripts to cut the moments an LLM picks.
How to use it
- Open the Actor on Apify and sign in.
- Add clips: one object per clip with video, start, and end or duration.
- Choose resolution, shape (original or 9:16) and the vertical fit.
- Click Start; each clip comes back with a clipUrl to download the MP4.
Call it from code
curl -X POST "https://api.apify.com/v2/acts/ttechx~youtube-clip-maker/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"clips": [{"video": "https://www.youtube.com/watch?v=Ap8jTCMK3c4", "start": "00:00:50", "end": "00:01:20"}], "resolution": "720", "aspect": "9:16", "fit": "blur"}'from apify_client import ApifyClient # pip install apify-client
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("ttechx/youtube-clip-maker").call(run_input={
"clips": [
{
"video": "https://www.youtube.com/watch?v=Ap8jTCMK3c4",
"start": "00:00:50",
"end": "00:01:20"
}
],
"resolution": "720",
"aspect": "9:16",
"fit": "blur"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)Get your token in Apify Console > Settings > API & Integrations. In n8n, Make or Zapier, use the Apify app and pick this Actor.
- Open the API on RapidAPI and subscribe to a plan (there is a free plan to try it).
- POST /clip with the video and up to 10 clips. You get a jobId at once.
- Poll GET /clip/result?id=JOB_ID every few seconds until status is done, partial or failed, then download each url. Or pass a webhook.
| Endpoint | Required | Returns |
|---|---|---|
POST /clip | id, clips | Start a clip job (HTTP 202 with a jobId) |
GET /clip/result | id (the jobId) | Job status and, once finished, a download link per clip |
GET /transcript | id | A video's transcript, to pick the moments to clip |
Call it from code
curl --request POST \
--url https://youtube-clip-shorts-maker.p.rapidapi.com/clip \
--header 'Content-Type: application/json' \
--header 'x-rapidapi-host: youtube-clip-shorts-maker.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--data '{"id": "https://www.youtube.com/watch?v=Ap8jTCMK3c4",
"clips": [{"start": "00:00:50", "end": "00:01:20"}],
"aspect": "9:16", "fit": "blur"}'
# then, every 5 seconds or so:
curl --url 'https://youtube-clip-shorts-maker.p.rapidapi.com/clip/result?id=JOB_ID' \
--header 'x-rapidapi-host: youtube-clip-shorts-maker.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import time, requests
HOST = "youtube-clip-shorts-maker.p.rapidapi.com"
HEADERS = {"x-rapidapi-key": "YOUR_RAPIDAPI_KEY", "x-rapidapi-host": HOST}
job = requests.post(f"https://{HOST}/clip", headers=HEADERS, timeout=150, json={
"id": "Ap8jTCMK3c4",
"clips": [{"start": "00:00:50", "end": "00:01:20"}],
"aspect": "9:16", "fit": "crop",
}).json()
while True:
result = requests.get(f"https://{HOST}/clip/result", params={"id": job["jobId"]}, headers=HEADERS).json()
if result["status"] in ("done", "partial", "failed"):
break
time.sleep(5)
for clip in result["clips"]:
print(clip["status"], clip.get("url"))Input
| Field | Type | What it does | |
|---|---|---|---|
clips | array of objects | Required | {video, start, end} or {video, start, duration}. Times as seconds (83.25) or HH:MM:SS[.mmm]. Each clip at most 180 seconds; up to 100 per run. |
resolution | 720 | 1080 | Short side of the clip. Default 720. | |
aspect | original | 9:16 | The video's own shape, or vertical. Default original. | |
fit | crop | blur | For 9:16 only. Default crop. |
{
"clips": [
{
"video": "https://www.youtube.com/watch?v=Ap8jTCMK3c4",
"start": "00:00:50",
"end": "00:01:20"
}
],
"resolution": "720",
"aspect": "9:16",
"fit": "blur"
}| Parameter | Type | What it does |
|---|---|---|
id | string | YouTube video id or URL: watch, youtu.be, Shorts, embed or live links |
clips | array | 1 to 10 clips, each with start plus end or duration; at most 180 seconds each |
resolution | 720 | 1080 | Short side of the clip. Default 720 |
aspect | original | 9:16 | Default original |
fit | crop | blur | For 9:16. Default crop |
webhook | https URL | Optional: gets a POST when the job finishes |
Idempotency-Key (header) | string | Optional: a retry with the same key and body returns the same job |
Output
One row per clip:
| Field | What it is |
|---|---|
clipUrl, clipKey | Download link of the MP4 and its key in the run's storage |
status, error | OK, or fail with the reason |
start, end, duration | The clip you got |
resolution, aspect, fit, width, height | Its size and shape |
sizeBytes | File size |
videoId, videoUrl | The source video |
{
"videoId": "Ap8jTCMK3c4",
"start": "00:00:50",
"end": "00:01:20",
"duration": 30.0,
"resolution": "720p",
"aspect": "original",
"fit": null,
"status": "OK",
"clipUrl": "https://api.apify.com/v2/key-value-stores/.../records/Ap8jTCMK3c4_00-00-50_00-01-20_720p.mp4",
"width": 1280,
"height": 720,
"sizeBytes": 14085112,
"error": null
}GET /clip/result once the job has finished (shortened):
| Field | What it is |
|---|---|
status | queued, processing, done, partial or failed |
summary | requested, succeeded and failed counts |
clips[].url | Download link of each delivered clip, valid for linkExpiresIn seconds |
clips[].status, msg | Each clip's status, and the reason when it failed |
clips[].width, height, sizeBytes | Size of each clip |
Call /clip/result again within 2 days for fresh links.
{
"status": "done",
"jobId": "9f0c2b6a1d3e4f5a6b7c8d9e",
"summary": {
"requested": 1,
"succeeded": 1,
"failed": 0
},
"clips": [
{
"index": 0,
"start": "00:00:50",
"end": "00:01:20",
"duration": 30,
"status": "done",
"url": "https://...mp4",
"width": 720,
"height": 1280,
"sizeBytes": 7469568
}
],
"linkExpiresIn": 3600
}Use it with AI agents
Through Apify the Actor is one tool, ttechx/youtube-clip-maker. Through RapidAPI you get 3 tools: createClips, getClipResult and getTranscript. Pick your assistant:
Through Apify
Run this, then type /mcp in Claude Code and sign in to Apify.
claude mcp add --transport http ttech-clip "https://mcp.apify.com/?tools=ttechx/youtube-clip-maker"No browser sign-in? Add --header "Authorization: Bearer YOUR_APIFY_TOKEN".
Through RapidAPI
claude mcp add --transport http ttech-clip https://mcp.rapidapi.com \
--header "x-api-host: youtube-clip-shorts-maker.p.rapidapi.com" \
--header "x-api-key: YOUR_RAPIDAPI_KEY"Through Apify
- Open Settings > Connectors in claude.ai or Claude Desktop.
- Choose Add custom connector, name it, and paste this URL:
https://mcp.apify.com/?tools=ttechx/youtube-clip-maker- Connect and sign in with your Apify account.
Through RapidAPI
Claude Desktop: add to claude_desktop_config.json (Settings > Developer > Edit Config; needs Node.js), then restart.
{
"mcpServers": {
"ttech-clip": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.rapidapi.com",
"--header",
"x-api-host:youtube-clip-shorts-maker.p.rapidapi.com",
"--header",
"x-api-key:YOUR_RAPIDAPI_KEY"
]
}
}
}Through Apify
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project), then sign in when Cursor asks.
{
"mcpServers": {
"ttech-clip": {
"url": "https://mcp.apify.com/?tools=ttechx/youtube-clip-maker"
}
}
}Through RapidAPI
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"ttech-clip": {
"url": "https://mcp.rapidapi.com",
"headers": {
"x-api-host": "youtube-clip-shorts-maker.p.rapidapi.com",
"x-api-key": "YOUR_RAPIDAPI_KEY"
}
}
}
}Through Apify
Add to ~/.codex/config.toml and set APIFY_TOKEN in your environment.
[mcp_servers.ttech_clip]
url = "https://mcp.apify.com/?tools=ttechx/youtube-clip-maker"
bearer_token_env_var = "APIFY_TOKEN"Through RapidAPI
Add to ~/.codex/config.toml and set RAPIDAPI_KEY in your environment.
[mcp_servers.ttech_clip]
url = "https://mcp.rapidapi.com"
http_headers = { "x-api-host" = "youtube-clip-shorts-maker.p.rapidapi.com" }
env_http_headers = { "x-api-key" = "RAPIDAPI_KEY" }Through Apify
- In ChatGPT on the web, open Plugins, select + and Add custom MCP server (available on plans that allow custom MCP servers).
- Paste this URL and choose OAuth:
https://mcp.apify.com/?tools=ttechx/youtube-clip-maker- Sign in with your Apify account and review the tools.
Through RapidAPI
RapidAPI's MCP server needs two request headers (x-api-host and x-api-key). If your ChatGPT plan's custom MCP screen has no place for them, copy the brief below into ChatGPT and let it write the code for you.
Through Apify
Add to .vscode/mcp.json, then start the server and sign in.
{
"servers": {
"ttech-clip": {
"type": "http",
"url": "https://mcp.apify.com/?tools=ttechx/youtube-clip-maker"
}
}
}Through RapidAPI
Add to .vscode/mcp.json:
{
"servers": {
"ttech-clip": {
"type": "http",
"url": "https://mcp.rapidapi.com",
"headers": {
"x-api-host": "youtube-clip-shorts-maker.p.rapidapi.com",
"x-api-key": "YOUR_RAPIDAPI_KEY"
}
}
}
}Brief for any LLM
Endpoints, inputs, outputs, examples and MCP setup in one Markdown text. Paste it into ChatGPT, Claude or Gemini and ask for the code you need. Also at /youtube-clip-maker.md.
Good to know
- Each clip at most 180 seconds.
- Live streams that are still live are not supported. Private, deleted and age-restricted videos fail with an error, free.
- A clip usually takes 15-60 seconds; a 3-minute 1080p clip up to about 3 minutes.
FAQ
crop or blur?
crop for talking heads: the middle of the frame fills the screen. blur when nothing may be cut off: the whole frame sits on a blurred copy.
Does a clip from a long video take longer?
Not much: only the part around each clip is fetched.
Apify or RapidAPI?
Apify for many clips per run and storage of the files; RapidAPI for a job API with polling or a webhook.