klap-generate-shorts

Installation
SKILL.md

Klap Generate Shorts

End-to-end workflow for generating short-form video clips from YouTube videos using the Klap API. Handles the complete pipeline: submit → process → export → download → store.

What It Does

  1. Submits a YouTube URL to Klap for AI-powered editing
  2. Polls for processing completion (~5-30 minutes)
  3. Lists all generated shorts with virality scores
  4. Exports each short (creates download URLs)
  5. Downloads videos locally
  6. Stores everything in video_to_shorts_agent database table
  7. Sends desktop/webhook notifications when complete

How to Run

# Generate shorts from YouTube video
python3 skills/klap-generate-shorts/scripts/klap_generate_shorts.py "https://youtube.com/watch?v=VIDEO_ID"
Installs
1
First Seen
Apr 8, 2026
klap-generate-shorts — g-hunterai/openclaw-skills