Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→

Search AIPrompt123

Search prompts, categories, platforms and repositories

Image & videoPythonMIT

The-Shreyas-M/ai-video-editor

AI Video Editor is a specialized workspace designed for Claude Code and local terminal workflows. Using simple conversational commands like /ai-video, Claude analyzes long podcast episodes, webinars, or YouTube videos, detects the most viral and engaging segments, automatically crops them with smart speaker face-tracking, applies kinetic captions, ducks background audio, and interfaces with the YouTube API to schedule Shorts.

1.4k stars210 forks10 contributors14 open issuesUpdated

What it does

  • Automatically identifies viral clip moments from long-form YouTube videos.
  • Generates word-by-word animated captions with customizable font styles and colors.
  • Performs smart active-speaker face tracking for 9:16 vertical framing.
  • Schedules and publishes generated Shorts directly to YouTube via Google APIs.

Key features

  • First-class Claude Code skill integration via command line.
  • Automated audio ducking: reduces background music volume during speech.
  • Whisper-powered speech-to-text with auto-highlighted buzzwords.
  • Direct YouTube Data API v3 upload and scheduling integration.

How to install it

Commands are copied from the project documentation at the time of review. Check the repository for the current version.

Clone repository
git clone https://github.com/The-Shreyas-M/ai-video-editor.git
cd ai-video-editor
Install dependencies
pip install -r requirements.txt
Install Claude CLI
npm install -g @anthropic-ai/claude-code
Configure keys
export ANTHROPIC_API_KEY="sk-ant-..."
export YOUTUBE_CLIENT_SECRETS_FILE="client_secrets.json"
Claude AI Video Production Guide YouTube & Shorts Workflow

How to generate YouTube videos with Claude AI

Using Claude Code commands to cut, edit, subtitle, and post YouTube Shorts from raw long-form videos.

Prerequisites checklist

  • Python 3.10+
  • Claude Code CLI (@anthropic-ai/claude-code)
  • FFmpeg installed
  • YouTube Google Cloud Client Secrets (optional for upload)
1

Stage Raw Video File

Place your long recording or podcast into the inputs folder (e.g., inputs/podcast_ep1.mp4).

2

Launch Claude Code

Open your terminal in the repository folder and start Claude Code.

Terminal / Command
claude
3

Instruct Claude to Extract Viral Shorts

Prompt Claude to inspect the transcript, extract top 3 viral segments under 60 seconds, and crop with face tracking.

Terminal / Command
/ai-video extract --file inputs/podcast_ep1.mp4 --count 3 --format 9:16 --captions viral
4

Export and Upload to YouTube

Claude renders the high-energy vertical MP4s with animated subtitles and uploads them as scheduled YouTube Shorts.

Ready-to-use Claude AI Scripting Prompt

/ai-video extract --file inputs/interview.mp4 --duration 55 --style "high-retention" --captions-font "Montserrat-ExtraBold" --highlight-color "#FFD700"

Alternatives to consider

ai-video-editor is a strong default for image & video, but the right choice depends on your stack, licence constraints and how much control you need. These are the projects we compare most often.

VideoLingoOpusClipCapCut Scripting

Prompts that pair with it

All prompts →
Verified Knowledge · FAQ

ai-video-editor FAQ

Adoption questions we hear most often about this project.

Related repositories

Image & video · Python

A node-based interface for diffusion models with fine-grained control over image and video pipelines.

88.0k9.8kGPL-3.0

Image & video · Python

An open-source effort to reproduce efficient video generation models.

29.0k2.9kApache-2.0