en un clic
videocut-install
环境准备。安装依赖、下载模型、验证环境。触发词:安装、环境准备、初始化
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
环境准备。安装依赖、下载模型、验证环境。触发词:安装、环境准备、初始化
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Use when a request asks for a Chinese-first AI video script with shot plans, image prompts, narration, subtitles, or handoff contracts for scene generation, image generation, video assembly, or WeChat draft preparation.
Use when a Codex task needs native image generation or editing, especially a set, series, material kit, long image, multi-screen design, storyboard, carousel, or other deliverable requiring multiple consistent images.
Skill 开发指南。当用户需要创建新 Skill 或更新已有 Skill 时触发,提供标准化模板、目录规范和最佳实践。
Use when reviewing an agent Skill before sharing, installing, or executing it and when checking a Skill bundle for credentials, dangerous commands, suspicious network behavior, or obfuscated code.
This skill should be used when preparing Markdown articles for a WeChat Official Account draft box, selecting wenyan-cli themes, processing article images, or troubleshooting authentication and whitelist failures.
Fetch and summarize Feishu group chat history. Use when the user asks to read, review, or summarize messages from a Feishu group chat. Triggers: "看群聊记录", "群里聊了啥", "帮我看看这个群", "群消息历史", "chat history", "what did the group discuss". NOT for: sending messages (use message tool), reading documents (use feishu-doc skill), or wiki operations (use feishu-wiki skill).
| name | videocut-install |
| description | 环境准备。安装依赖、下载模型、验证环境。触发词:安装、环境准备、初始化 |
| metadata | {"version":"1.0.0","alias":"videocut:安装"} |
首次使用前的环境准备
用户: 安装环境
用户: 初始化
用户: 下载模型
| 依赖 | 用途 | 安装命令 |
|---|---|---|
| funasr | 口误识别 | pip install funasr |
| modelscope | 模型下载 | pip install modelscope |
| openai-whisper | 字幕生成 | pip install openai-whisper |
| ffmpeg | 视频剪辑 | brew install ffmpeg |
首次运行自动下载到 ~/.cache/modelscope/:
| 模型 | 大小 | 用途 |
|---|---|---|
| paraformer-zh | 953MB | 语音识别(带时间戳) |
| punc_ct | 1.1GB | 标点预测 |
| fsmn-vad | 4MB | 语音活动检测 |
| 小计 | ~2GB |
首次运行自动下载到 ~/.cache/whisper/:
| 模型 | 大小 | 用途 |
|---|---|---|
| large-v3 | 2.9GB | 字幕转录(质量最好) |
约 5GB 模型文件
1. 安装 Python 依赖
↓
2. 安装 FFmpeg
↓
3. 下载 FunASR 模型(口误识别)
↓
4. 下载 Whisper 模型(字幕生成)
↓
5. 验证环境
pip install funasr modelscope openai-whisper
# macOS
brew install ffmpeg
# Ubuntu
sudo apt install ffmpeg
# 验证
ffmpeg -version
from funasr import AutoModel
model = AutoModel(
model="paraformer-zh",
vad_model="fsmn-vad",
punc_model="ct-punc",
)
print("FunASR 模型下载完成")
import whisper
model = whisper.load_model("large-v3")
print("Whisper 模型下载完成")
from funasr import AutoModel
model = AutoModel(
model="paraformer-zh",
vad_model="fsmn-vad",
punc_model="ct-punc",
disable_update=True
)
# 测试转录(用任意音频/视频)
result = model.generate(input="test.mp4")
print("文本:", result[0]['text'][:50])
print("时间戳数量:", len(result[0]['timestamp']))
print("✅ 环境就绪")
解决:使用国内镜像或手动下载
解决:确认已安装并添加到 PATH
which ffmpeg # 应该输出路径
解决:检查 Python 版本(需要 3.8+)
python3 --version