See llms.txt for all machine-readable content.

Back to Templates

Create captioned vertical video shorts from long videos with Apify

Quick overview

Turn any long video into ready-to-post vertical Shorts. A form sends the link to the Apify AI Shorts Cutter actor, which picks the best moments, crops them to 9:16 and burns in animated captions. Clips land in Google Drive and you get all links in Telegram.

How it works

  1. A form collects the video URL, number of clips, minimum gap between clips and caption style; a Set node cleans the input and adds defaults.
  2. Start Apify run launches the AI Shorts Cutter actor asynchronously: it transcribes the video, scores self-contained moments, crops them to 9:16 around the speaker and burns in word-by-word captions.
  3. The workflow checks the run status every minute in a loop until it succeeds; failed, aborted or timed-out runs stop with a clear error.
  4. Each clip is downloaded, uploaded to Google Drive with a readable file name, and all links are combined into one Telegram message.

Setup

  1. Create an Apify account and copy your API token from Console → Settings → API & Integrations.
  2. Create a Query Auth credential with name token and your Apify token as value, and select it in Start Apify run, Check run status and Get clips.
  3. Connect Google Drive and choose a folder in Upload to Google Drive; connect your Telegram bot and set your chat ID in Send links to Telegram.
  4. Activate the workflow, open the form URL and submit a public video link. A 30-minute video usually takes 10 to 20 minutes.

Requirements

  • Apify account (pay-per-use: $0.02 per source minute + $0.10 per clip, about $1.10 for a 30-minute video with 5 clips), Google Drive, a Telegram bot, and a publicly reachable video URL.

Customization

  • Change clip length with minClipSeconds/maxClipSeconds, spread clips with minGapSeconds (60-120), switch reframe to blur, pick another caption style, or replace Drive and Telegram with YouTube, S3, Slack or email.