You know that moment in a video, the perfect quote, the highlight, the "wait, run that back" moment? That's the part everyone wants to share.
But getting from full-length video to clean, clipped highlight is not fast. Manually trimming videos takes time. Doing it over and over again? That is time you are not spending building things that matter.
So we automated it.
With n8n and FastPix, you can go from long-form video to precisely clipped, ready-to-publish shortform content automatically. No video editor. No exporting. No timeline scrubbing. Just a simple workflow that clips the moment you want, when you want it, every single time.
Let's set it up.
Manually clipping videos does not scale, especially when you are working with live streams, UGC, or high-volume content pipelines. By combining n8n for automation and FastPix for precise video processing, you can automatically extract highlights from long-form videos using timestamps, metadata, or AI, without editing tools, exports, or manual timelines.
This setup creates a repeatable workflow: trigger → clip → process → publish. It reduces editing time, lowers operational overhead, and ensures clips are generated consistently and quickly. For teams building content pipelines, social media workflows, or automated recaps, this approach turns video clipping into a scalable, API-driven process instead of a manual task.
New to FastPix? Sign up at dashboard.fastpix.io/signup. New accounts get $25 in free credits, no card required, 30-second setup. By the end of Step 2 you will have your first clip URL running.
Because doing it manually does not scale. Not when you are working with live streams, user-generated uploads, or just more content than one person can reasonably drag across a timeline.
Traditional editing tools are fine, until you need to clip ten videos a day, across multiple platforms, with frame-level precision. That is where automation pays off:
With n8n as your automation engine and FastPix handling the actual clipping via API, you get a clean, scalable pipeline, from ingestion to distribution with almost zero manual work.
Let's build it.
This workflow won't take much to set up, but here is what you'll want on hand:
n8n is an open-source automation platform that lets you connect APIs, services, and logic into structured workflows. It is node-based, which means you can build out logic visually, schedule triggers, HTTP requests, loops, and conditions, without needing to spin up a backend.
For video tasks, this makes it ideal. You can fetch video sources, pass timestamps, make API calls to processing services, and route outputs wherever you want, all from one interface.
FastPix provides APIs for on-demand video processing, including clipping, encoding, and delivery. In this workflow, it is used to extract exact segments from a video based on start and end times.
The clipping endpoint supports:
You send a video URL and timestamps, FastPix returns a processed clip, no manual trimming, no export steps, no video editor needed.
When you connect n8n's automation flow with FastPix's API, you get a reliable, repeatable way to generate and publish clips with minimal overhead.
Let's walk through setting up your automated video clipping flow in n8n. The workflow will do the following:
You can start the workflow either manually (for testing) or on a schedule (for automation):
If your video is stored on Google Drive:
If your video is already hosted publicly (e.g., on S3 or CDN), you can skip this and use a static URL directly.
Add an HTTP Request node to call the FastPix API:
Method: POST
URL: https://api.fastpix.io/v1/on-demand
Headers:
Content-Type: application/json
Authorization: Basic <base64 encoded Token ID:Token Secret>
Body (JSON):
1{
2 "inputs": [
3 {
4 "type": "video",
5 "url": "https://static.fastpix.io/sample.mp4",
6 "startTime": 2,
7 "endTime": 30
8 }
9 ]
10}
This sends a request to create a clip between 2s and 30s from the provided video URL. FastPix returns a clip ID you’ll use to track status.
Validation moment: If your first POST returned a clip ID and a 200 response, you've validated the entire integration. Everything below is polish. The hard part is done.
Video processing isn’t always instant, so:
Correct the polling method, use GET, not POST:
Once the status is completed, FastPix will return a playable asset. You can build the download URL using the playback ID:
bash
https://stream.fastpix.io/{{ $json.data.playbackIds[0].id }}/capped-4k.mp4
If you want to push the final clip somewhere like YouTube:
The basic workflow works, but if you're handling real-world volume or different input sources, a few upgrades can make it more dynamic and resilient.
Hardcoding timestamps is fine for testing. But in production, you'll want to pull startTime and endTime from somewhere else, like a Google Sheet, a webhook payload, or a database. Add a Google Sheets node or Webhook Trigger to fetch timestamp values dynamically. This makes your workflow reusable for different videos.
APIs sometimes fail. Network issues, bad input, expired tokens, it happens. Add an If node after the FastPix request or status check. If the response status isn't 200 or the job fails, send a notification using Slack, Email, or any other n8n integration. This helps you catch failures without manually checking logs.
You don’t have to stop at YouTube. Extend the flow to support TikTok, Instagram Reels, or anywhere else your audience lives. You can either:
Don't want to manually mark highlights? Use AI to find them for you. Add a transcription step with OpenAI Whisper or a similar speech-to-text service. Then scan the text for keywords, speaker moments, or chapters, and pass those timestamps into FastPix for automated clip generation.
Don't want to start from scratch? No problem. Here's a minimal n8n workflow that handles the core logic: trigger → FastPix clip request → download result.
You can import this JSON directly into your n8n editor and modify as needed.
A quick note before you import:
1{
2 "nodes": [
3 {
4 "parameters": {},
5 "type": "n8n-nodes-base.manualTrigger",
6 "typeVersion": 1,
7 "position": [0, 0],
8 "id": "a5fb32a0-5a71-4859-a8c0-30c819116608",
9 "name": "Manual Trigger"
10 },
11 {
12 "parameters": {
13 "method": "POST",
14 "url": "https://api.fastpix.io/v1/on-demand",
15 "sendHeaders": true,
16 "headerParameters": {
17 "parameters": [
18 {"name": "accept", "value": "application/json"},
19 {"name": "authorization", "value": "Basic <REPLACE_WITH_YOUR_BASE64_TOKEN>"}
20 ]
21 },
22 "sendBody": true,
23 "specifyBody": "json",
24 "jsonBody": "{\n \"accessPolicy\": \"public\",\n \"optimizeAudio\": false,\n \"maxResolution\": \"1080p\",\n \"inputs\": [\n {\n \"url\": \"https://static.fastpix.io/sample.mp4\",\n \"startTime\": 0,\n \"endTime\": 60,\n \"type\": \"video\"\n }\n ],\n \"mp4Support\": \"capped_4k\"\n}",
25 "options": {}
26 },
27 "type": "n8n-nodes-base.httpRequest",
28 "typeVersion": 4.2,
29 "position": [220, 0],
30 "id": "17b422f7-e0c3-48d5-a4c1-919997b44724",
31 "name": "Send to FastPix"
32 },
33 {
34 "parameters": {
35 "url": "=https://stream.fastpix.io/{{$json.data.playbackIds[0].id}}/capped-4k.mp4",
36 "options": {}
37 },
38 "type": "n8n-nodes-base.httpRequest",
39 "typeVersion": 4.2,
40 "position": [440, 0],
41 "id": "a817fa2a-22b7-46b0-908f-4a8e6a770649",
42 "name": "Download Clip",
43 "retryOnFail": true,
44 "maxTries": 5
45 }
46 ],
47 "connections": {
48 "Manual Trigger": {
49 "main": [[{"node": "Send to FastPix", "type": "main", "index": 0}]]
50 },
51 "Send to FastPix": {
52 "main": [[{"node": "Download Clip", "type": "main", "index": 0}]]
53 }
54 }
55}Once imported, run the workflow manually and check the outputs. If all goes well, you'll get a downloadable clip URL from FastPix.
Once your workflow is running, here are a few things worth keeping in mind in 2026:
Combining n8n's workflow automation with FastPix's video APIs gives you a powerful way to automate clipping, repurposing, and publishing video content at scale.
From one API, you get:
Whether you're building social media highlights, auto-recaps from live streams, or a fully automated content pipeline, FastPix with n8n lets you move faster, with less manual work.
FastPix is also available as SDKs in Node.js, Python, Go, PHP, and C#, so you can integrate it in whatever stack you already use.
Sign up at dashboard.fastpix.io/signup. New accounts get $25 in free credits. The sample workflow JSON above runs as soon as you paste in your Token ID and Secret. Most teams get their first automated clip flowing in under 5 minutes. If you hit a snag, the FastPix Slack community is one click away.
The on-demand clipping endpoint accepts startTime and endTime in seconds with decimal precision and returns frame-accurate cuts on the output side, so a startTime: 12:40 will not silently round to the nearest GOP boundary. If frame accuracy is critical for your pipeline (sports highlights, captioned cuts), pass timestamps as floats rather than integers and verify the first and last frame of the returned clip against your source.
You don't have to poll. FastPix sends a webhook when the asset reaches a ready state, which means n8n can react with a Webhook Trigger node instead of a Wait > GET > If polling loop. Polling is fine for a manual test run, but for production replace it with a webhook subscription so the workflow stays event-driven and you stop burning n8n executions on idle waits.
Both. The flow in this article uses the on-demand endpoint, but FastPix also exposes a live clipping API that lets you cut a segment from an in-progress RTMPS/SRT stream by passing streamId, startTime and endTime. Same n8n shape, different endpoint. This is the path you want for real-time highlight workflows where the recap has to publish before the stream ends.
Pass an aspect ratio or resolution parameter on the clip request so FastPix outputs the format you actually publish. Combine that with Auto Reframe in the In-Video AI suite to keep the subject centered when going from 16:9 source to 9:16 output. That removes the second transcode hop most teams add downstream and keeps the n8n flow to a single API call.
Practical input length is multi-hour for VOD; the real constraint is your storage and download path in n8n, not FastPix. On concurrency, default API limits cover most workflows, but if you're processing UGC backlogs or multiple simulcasts, batch your clip requests through an n8n SplitInBatches node with a 5 to 10 item batch size and a small wait, rather than firing 200 HTTP requests in one tick. The dashboard has per-account rate-limit settings, and you can request a lift if you hit limits on a real workload.
Add three things, in this order: an If node after the FastPix POST that branches on non-200 responses, a max-retry counter on the polling loop so a stuck job fails loudly instead of looping forever, and a Slack or email node on the error branch that posts the source URL and the clip ID. The most common production failures aren't FastPix returning errors, they're upstream: expired Google Drive share links, S3 signed URLs that timed out, or a webhook trigger firing before the upload finished. Log the input URL on every run so you can replay.
