Agent skill · marketing growth · samuraigpt

muapi-ai-clipping

Turn a long video into N viral-ready short clips with a single managed API call. Wraps muapi.ai's `/ai-clipping` endpoint, which handles transcription, highlight ranking through a virality framework (hook / emotional peak / opinion bomb / revelation / conflict / quotable / story peak / practical value), overlap dedupe, and vertical face-tracking auto-crop server-side. No local Whisper, no local LLM, no GPU.

Why this skill is useful

Adds a managed API call for generating viral video clips with specific ranking and cropping features that the AI wouldn't 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

AI Clipping One API call: long video in → ranked vertical short clips out. Each clip ships with a viral score (0–100), an opening hook line, a one-sentence "why it works" reason, and a hosted mp4 URL. Underlying API: https://muapi.ai/playground/ai-clipping Reference implementation (open source): https://github.com/SamurAIGPT/AI-Youtube-Shorts-Generator --- When to Use Auto-clip a podcast, interview, lecture, vlog, or stream into TikTok / Reels / Shorts. Extract the best 30–75s moments from any hosted video URL. Get face-tracked vertical (9:16), square (1:1), or portrait (4:5) crops without running ffmpeg locally. If you only need raw timestamps for your own renderer, set --coords-only to skip cropping and just get the highlight ranges. --- Agent Execution Protocol Step 1 — Collect Inputs Input Required Default Notes :--- :--- :--- :--- --video yes — Hosted mp4 URL, or local file path (auto-uploaded), or YouTube URL (if backend supports it) --num-clips no 3 Number of highlights to extract --aspect-ratio no 9:16 9:16 \ 1:1 \ 4:5 --coords-only no off Return just the highlight time ranges, skip cropping If the user gave only a video URL, run with defaults — don't block on questions. --- Step 2 — Verify Prerequisites muapi-cli installed and authed (muapi auth configure) MUAPIAPIKEY available (env var or muapi auth status passes) That's it. No ffmpeg, no Python, no Whisper install, no LLM keys. Everything runs server-side. --- Step 3 — Run the Skill The script: 1. Resolves --video to a hosted URL (uploads local files via muapi upload file if needed). 2. Calls muapi edit clipping with the supported parameters. 3. Polls until the job is done (or returns the requestid immediately under --async). 4. Prints a ranked summary and, if --output-json is set, writes the full result. --- What Happens Server-Side The /ai-clipping endpoint internally runs the full pipeline so the agent doesn't have to: Transcribe with Whisper. …

How to use it

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

@skills samuraigpt/ai-clipping

View the source on GitHub

Browse the @skills marketplace