依赖 GPT-4V 与 Whisper,需自备相应 API 密钥或模型,README 未给出配置步骤;需本地安装 FFmpeg 才能处理视频;Python 需 3.8 及以上版本。
Clip-Anything
SamurAIGPTMIT活跃维护用自然语言提示从任意视频中精准截取片段,省去手动拖时间轴找画面的麻烦,适合快速产出短视频素材。
Clip any moment from any video with prompts
git clone https://github.com/SamurAIGPT/Clip-Anything.git
cd Clip-Anything
pip install -r requirements.txt
python clip_anything.py --video input.mp4 --prompt "your prompt here"README 未说明显存或 GPU 要求;技术栈依赖 GPT-4V 云端接口,本地主要做抽帧与 FFmpeg 处理。
用自然语言提示从任意视频中定位并剪出指定片段的 Python 工具
用自然语言提示从任意视频中精准截取片段,省去手动拖时间轴找画面的麻烦,适合快速产出短视频素材。
核心能力
- 用自然语言提示描述想要的画面并自动匹配片段
- 多模态分析画面、音频、情绪与屏幕文字
- 智能场景检测识别物体、动作、情绪和文本
- 为每个场景打病毒传播潜力评分
- 基于 FFmpeg 与 OpenCV 完成视频抽帧与剪辑
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Clip Anything
Multimodal AI video clipping - Extract any moment from any video using natural language prompts. Just describe what you're looking for, and AI will find and clip it for you.
Looking for an api to build your own Opus-clip style product ? Check the api below
https://muapi.ai/playground/autocrop
https://muapi.ai/playground/ai-clipping
Tutorials
- YouTube: Watch Tutorial
- Medium: Read Article
Features
- Natural Language Prompts - Describe the moment you want in plain English
- Multimodal Analysis - Understands visual, audio, and sentiment cues
- Smart Scene Detection - Identifies objects, actions, emotions, and text
- Virality Scoring - Rates each scene for potential engagement
- Customizable Clips - Tailor output to your exact specifications
How It Works
Video Input → AI Analysis → Prompt Matching → Clip Extraction → Output Video
Advanced Video Analysis
The AI evaluates every frame of your video:
- Visual: Objects, scenes, actions, faces
- Audio: Speech, music, sound effects
- Sentiment: Emotions, reactions, tone
- Text: On-screen text and captions
Prompt-Based Clipping
Simply describe what you want:
- "Find all the funny moments"
- "Clip when someone scores a goal"
- "Extract the product reveal"
- "Get the emotional reaction shots"
Demo
Input Video: YouTube Example
Output Video: See Result
Quick Start
# Clone the repository
git clone https://github.com/SamurAIGPT/Clip-Anything.git
cd Clip-Anything
# Install dependencies
pip install -r requirements.txt
# Run the clipper
python clip_anything.py --video input.mp4 --prompt "your prompt here"
API Alternative
Want production-ready clipping at scale? Use the Vadoo AI Clipping API:
import requests
response = requests.post(
"https://viralapi.vadoo.tv/api/create_clips",
headers={"X-API-KEY": "your_api_key"},
json={
"video_url": "https://example.com/video.mp4",
"prompt": "highlight moments"
}
)
Use Cases
| Use Case | Example Prompt |
|---|---|
| Sports Highlights | "Extract all scoring plays" |
| Podcast Clips | "Find the most insightful moments" |
| Travel Vlogs | "Clip the scenic views" |
| Tutorials | "Get the key demonstration steps" |
| Interviews | "Find emotional reactions" |
Tech Stack
| Component | Purpose |
|---|---|
| GPT-4V | Visual understanding |
| Whisper | Audio transcription |
| FFmpeg | Video processing |
| OpenCV | Frame analysis |
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Follow for Updates
Related Projects
- AI-Youtube-Shorts-Generator - Auto-generate YouTube Shorts
- Text-To-Video-AI - Generate videos from text
- ai-creator-academy — free curriculum teaching creators how to monetize AI-clipped video content
License
MIT License - see LICENSE for details.