Agent skill · creative production · samuraigpt

muapi-youtube-shorts

Auto-generate viral 9:16 YouTube Shorts (or TikTok / Reels clips) from a long-form video. Thin platform-aware wrapper around the AI Clipping skill — picks sensible defaults for short-form social platforms (9:16, 30–60s sweet spot) and delegates the actual highlight extraction + crop to muapi.ai's `/ai-clipping` endpoint.

Why this skill is useful

Adds a script that automates the generation of platform-specific short clips from long-form videos using the muapi.ai API, which the AI wouldn't reliably generate on its own.

What it needs

Requires muapi-cli installed locally. Requires muapi account access. About 4k tokens when loaded. Last updated 2026-08-04. 3,990 stars on the source repository.

What this skill does

YouTube Shorts Generator Long video → ranked vertical short clips, tuned for short-form social. This skill is a platform-aware preset over the AI Clipping primitive. It picks the right aspect ratio and clip count for the target platform and delegates highlight extraction, dedupe, and face-tracked auto-crop to muapi.ai's managed /ai-clipping endpoint. Reference implementation: https://github.com/SamurAIGPT/AI-Youtube-Shorts-Generator Underlying API: https://muapi.ai/playground/ai-clipping --- When to Use This vs. AI Clipping Use this skill when… Use AI Clipping directly when… :--- :--- Target is YouTube Shorts / TikTok / Reels You want full control over aspect / count You want platform-tuned defaults You want raw timestamps (--coords-only) You'd rather pass --platform tiktok than think about ratios You're integrating into a custom renderer --- Agent Execution Protocol Step 1 — Collect Inputs Input Default Notes :--- :--- :--- --source — YouTube URL, hosted mp4 URL, or local file --platform shorts shorts \ tiktok \ reels \ feed (sets ratio + count defaults) --num-clips platform default Override clip count --aspect-ratio platform default Override aspect ratio If the user gave only a URL, run with platform defaults — don't block. --- Step 2 — Verify Prerequisites muapi-cli installed and authed (muapi auth configure) MUAPIAPIKEY available That's it. Transcription, highlight ranking, dedupe, and cropping all run server-side — no ffmpeg, no Python, no Whisper, no LLM keys needed locally. --- Step 3 — Run the Pipeline The script: 1. Resolves the source (uploads local files to muapi CDN if needed). 2. Picks platform defaults if --aspect-ratio / --num-clips aren't passed. 3. Calls muapi edit clipping (the /ai-clipping endpoint) with the chosen params. 4. Polls until done, prints a ranked summary, optionally downloads / opens clips. --- What Happens Server-Side The /ai-clipping endpoint runs the full pipeline: Transcribes the audio. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills samuraigpt/youtube-shorts

View the source on GitHub

Browse the @skills marketplace