video-caption-generator

Transcribe Google Drive videos with Whisper and generate social captions and titles.

3.3k|656|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/ericosiu/ai-marketing-skills --skill video-caption-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-caption-generator
Source: https://github.com/ericosiu/ai-marketing-skills/tree/main/video-caption-generator
Command: npx skills add https://github.com/ericosiu/ai-marketing-skills --skill video-caption-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes the manual work of transcribing short videos and writing platform-ready captions and titles by automating the workflow from Google Drive to finished marketing copy.

Core Features & Use Cases

  • Drive-based video processing: Scans a specified Google Drive folder for new MP4/MOV files and downloads them for processing.
  • Local transcription with Whisper: Transcribes each video locally using OpenAI Whisper (turbo model) to produce usable text.
  • Deduplication and A/B handling: Deduplicates by transcript-derived content hash to avoid repeating the same clip while still supporting A/B variants (same audio, different filenames) with proper tagging.
  • Claude-generated social output: Uses Claude API via the Anthropic Messages endpoint to generate a conversational social caption and a curiosity-driven YouTube/Facebook title under length constraints.

Quick Start

Run this skill to process your Google Drive folder by giving the folder id: python3 scripts/process_videos.py --folder-id YOUR_FOLDER_ID

Frequently Asked Questions about video-caption-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate social captions and YouTube titles from Google Drive videos?

To automatically generate social captions and YouTube titles from Google Drive videos, you can use a workflow that scans your Drive folder, transcribes the new video files locally, and passes the text to an AI model to produce platform-ready marketing copy.

How does video deduplication work when processing marketing creatives from Drive?

Video deduplication works by computing a content hash from the video transcript. This identifies clips with identical audio, allowing the workflow to skip reprocessing while still preserving A/B filename variants for separate tracking.

Do I need a Claude API key to generate video captions and titles?

Yes, you need an Anthropic API key for Claude to generate conversational social captions and curiosity-driven titles. You also need local Whisper transcription software to convert the video audio into text first.

Can I use local Whisper transcription for short-form videos stored in Google Drive?

Yes, you can use local Whisper transcription for short-form videos stored in Google Drive. The workflow downloads MP4 or MOV files from a specified folder ID and processes them locally using the Whisper turbo model.

What is the best way to handle A/B testing variants when automating video transcription?

The best way to handle A/B testing variants when automating video transcription is to deduplicate clips by their transcript-derived content hash while preserving the unique filenames, ensuring each variant is tagged correctly without reprocessing identical audio.

Why are my videos being reprocessed every time I run the folder scan?

Videos are reprocessed if persistent tracking of processed Drive file IDs is missing or cleared. The workflow requires persistent tracking of these IDs to support reruns without reprocessing previously handled files.