# Video to Shorts: AI Clip Maker for Reels & TikTok (`ingeniela/ai-viral-clip-cutter`) Actor

Turn a podcast, webinar or interview into the best 20-60 second vertical clips with word-by-word captions, a title, a hook, a virality score and a post caption for each. Like OpusClip, pay per clip.

- **URL**: https://apify.com/ingeniela/ai-viral-clip-cutter.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** Videos, AI, Social media
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $100.00 / 1,000 clip createds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Video to Shorts: AI Clip Maker for Reels & TikTok

Turn one long video (podcast, webinar, interview, livestream, course lesson) into the **best 20-60 second vertical clips**, ready to post. The Actor transcribes the video, lets AI find the moments that work on their own (a strong first sentence, one complete idea, a payoff), cuts them at word boundaries, makes them **9:16**, burns **bold word-by-word captions**, and gives each clip a **title, a hook, a virality score, a post caption and hashtags**. Like OpusClip, but you pay per clip, with no subscription.

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/ai-clip-maker-tutorial.gif)

*Every result in this tutorial comes from a real run.*

### What you get (one row per clip)

- **The clip** as MP4 (1080×1920) with captions, plus an **SRT** file.
- **Title**, **hook** (the first sentence as said), **why it works** and a **virality score (0-100)**.
- **Post caption** and **hashtags**.
- Start and end time in the original video, length and the clip's transcript.

### How to use it

1. Paste the **direct link to your video file** (MP4, MOV…). Dropbox and Google Drive share links work, as do links from your own storage. Pages on YouTube, TikTok or Instagram are not downloaded: use your original file.
2. Choose **how many clips** and the **length** (20-60 s works best).
3. Optional: tell it **what to look for** ("money tips", "funny moments").
4. Choose the **vertical format**: the whole frame on a blurred background, or the centre cropped to fill the screen.
5. Click **Start**. A 30-minute podcast takes about 5-8 minutes.

### How it works

1. Transcription with Whisper (word-level timestamps) through OpenRouter or OpenAI: your key, or the built-in one.
2. A strong AI model reads the timed transcript and proposes the best moments. Clip edges are snapped to word boundaries, so no clip starts or ends mid-word, and clips never overlap.
3. FFmpeg cuts each clip, makes it vertical and burns the captions (Anton font, 3 words on screen, the spoken one highlighted).

### Pricing

| Event | Price |
|---|---|
| Clip created | $0.10 |
| Minute transcribed with the built-in key (not charged with your own OpenAI/OpenRouter key) | $0.01 |
| AI clip selection per video with the built-in AI (not charged with your own key) | $0.05 |

**Example:** a 40-minute podcast into 8 clips with the built-in AI = $0.80 + $0.40 + $0.05 = **$1.25**.

### FAQ

**Which languages?** Whisper transcribes almost any language; titles and captions can be written in the language of the video or in English, Spanish, Portuguese, French, German or Italian.

**Can I change the caption style?** Choose the highlight color and uppercase or not. For full styling (fonts, animations, positions), run the clips through our Auto Captions Actor with captions off here.

**Faces?** The crop mode keeps the centre of the frame. For two-person podcasts filmed wide, the blurred-background mode keeps both people in view.

# Actor input Schema

## `videoUrls` (type: `array`):

Direct links to your MP4/MOV files (Dropbox and Google Drive share links work). Podcasts, webinars, interviews, livestream recordings.

## `clipsPerVideo` (type: `integer`):

The best moments first.

## `minSeconds` (type: `integer`):

Shortest clip.

## `maxSeconds` (type: `integer`):

Longest clip (TikTok/Reels sweet spot: 20-60 s).

## `focus` (type: `string`):

e.g. 'money tips', 'funny moments', 'anything about AI'.

## `language` (type: `string`):

ISO code like 'en' or 'es'. Empty = detect.

## `outputLanguage` (type: `string`):

Language for titles, hooks and post captions.

## `reframe` (type: `string`):

How a horizontal video becomes 9:16. Vertical videos are kept as they are.

## `captions` (type: `boolean`):

Bold captions, 3 words at a time, the spoken word highlighted. An SRT file is always included.

## `highlightColour` (type: `string`):

\#RRGGBB of the spoken word.

## `uppercase` (type: `boolean`):

The classic clip look.

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider. Picks the moments.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own OpenAI key: used for Whisper transcription and for the AI.

## `openrouterApiKey` (type: `string`):

Your own OpenRouter key: used for Whisper transcription and for the AI (then those events are not charged).

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/lYhzUaQnLmzci34BM/records/sample-captions-en.mp4"
  ],
  "clipsPerVideo": 1,
  "minSeconds": 8,
  "maxSeconds": 60,
  "outputLanguage": "the language of the video",
  "reframe": "blur",
  "captions": true,
  "highlightColour": "#FFFF00",
  "uppercase": true,
  "aiProvider": "auto"
}
```

# Actor output Schema

## `clips` (type: `string`):

No description

## `files` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videoUrls": [
        "https://api.apify.com/v2/key-value-stores/lYhzUaQnLmzci34BM/records/sample-captions-en.mp4"
    ],
    "clipsPerVideo": 1,
    "minSeconds": 8
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/ai-viral-clip-cutter").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videoUrls": ["https://api.apify.com/v2/key-value-stores/lYhzUaQnLmzci34BM/records/sample-captions-en.mp4"],
    "clipsPerVideo": 1,
    "minSeconds": 8,
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/ai-viral-clip-cutter").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/lYhzUaQnLmzci34BM/records/sample-captions-en.mp4"
  ],
  "clipsPerVideo": 1,
  "minSeconds": 8
}' |
apify call ingeniela/ai-viral-clip-cutter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/ai-viral-clip-cutter"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2XWIIkp3UUPQgfYLc/builds/unXLEWIfrpn00bRXj/openapi.json
