Communitygithub.com

andyluu98/VideoMotion

檢查並安裝 VideoMotion 所需的所有元件 (Node.js、ffmpeg、HyperFrames、Python 環境、VieNeu 語音、Whisper)。適用於新安裝外掛的使用者,輸入“/vm-cai-dat”、“安裝影片”或“檢查影片製作電腦”,或當某個影片製作步驟回報缺少工具時。

VideoMotion 是什麼?

此技能會自動檢查並安裝 VideoMotion 影片製作外掛所需的所有必要軟體和模型。它會驗證 Node.js 22+、ffmpeg(含 ffprobe 和 loudnorm 濾鏡)以及 HyperFrames 之類的系統工具,若缺少這些工具則會引導使用者手動安裝。接著,它會設定一個專用的 Python 虛擬環境(與 MotionFly 共用)並下載大型模型(VieNeu 語音合成、Whisper large-v3-turbo 語音辨識),總共約 2-3 GB。此技能也提供 HyperFrames Claude 技能的選用整合,以改善場景撰寫;若未安裝,則可依賴 `agents/vm-canh.md` 中的技術合約。最後,驗證所有元件後,使用者即可輸入 `/videomotion` 並提出影片要求來開始使用。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/andyluu98/VideoMotion/tree/HEAD/skills/vm-cai-dat

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

安裝 VideoMotion

VideoMotion 與 MotionFly 共用 Python 環境和模型,位置在 ~/.motionfly:如果已經執行過 MotionFly,則無需重新下載任何內容。

外掛所有技能共用的變數(在 Bash 中執行):

VV="${CLAUDE_PLUGIN_ROOT}"
PY="$HOME/.motionfly/venv/Scripts/python.exe"; [ -x "$PY" ] || PY="$HOME/.motionfly/venv/bin/python"
export PYTHONUTF8=1 HF_HUB_DISABLE_PROGRESS_BARS=1

步驟 1. 檢查

使用任何系統 Python(3.10 以上版本)執行:

python "$VV/tools/setup/doctor.py"

閱讀結果表格。如果必要群組(Node.js 22+、ffmpeg、ffprobe、ffmpeg loudnorm、HyperFrames)中有顯示 THIẾU(缺少)的項目,請通知使用者自行安裝,並附上備註欄中的連結。請勿自行安裝系統軟體。

步驟 2. 安裝 Python 和模型

如果缺少「Python 環境」或「VieNeu 語音」,請先向使用者確認一次(將下載約 2 到 3 GB:Python 套件、VieNeu 模型、Whisper large-v3-turbo 模型),然後在背景執行:

python "$VV/tools/setup/doctor.py" --install > "$HOME/.motionfly/install.log" 2>&1

此命令會在 ~/.motionfly/venv 建立虛擬環境(若系統有 uv 則使用),安裝 vieneu、faster-whisper、soundfile、numpy、scipy,下載模型,並自動修復 Hugging Face 快取的符號鏈結錯誤(ONNX Runtime 會回報「External data path escapes model directory」)。

步驟 3. Claude 的 HyperFrames 技能

如果「Claude 的 HyperFrames 技能」一行顯示為 tùy chọn(選用,尚未安裝),建議使用者執行 npx [email protected] skills。擁有這組技能後,場景撰寫會更標準化;即使沒有安裝,仍可透過 agents/vm-canh.md 中的技術合約正常運作。

完成

再次執行步驟 1。如果看到 SAN SANG(就緒),請通知使用者輸入 /videomotion 並附上影片要求。

備註:若電腦沒有 NVIDIA 顯示卡,VieNeu 語音將在 CPU 上執行(在中階電腦上,每秒語音約需 0.4 秒處理時間),背景音樂可使用使用者提供的檔案或以程式合成。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

andyluu98/VideoMotion

Làm video tiếng Việt từ một yêu cầu, AI làm đạo diễn, không khung dựng sẵn: ý tưởng lớn, kịch bản, giọng VieNeu, phân cảnh theo lời, nhạc nền, dựng từng cảnh bằng agent Sonnet chạy song song (HyperFrames + GSAP), phụ đề, xuất MP4. Dùng khi người dùng gõ "/videomotion", "làm video", "video giải thích", "clip ngắn về X", "biến bài này thành video".

andyluu98/VideoMotion

Dựng hình cho dự án VideoMotion đã có giọng và phân cảnh: tải phông của style, viết màu, giao từng cảnh cho agent vm-canh chạy song song, ghép, kiểm tra kỹ thuật, render, ghép âm thanh và phụ đề. Dùng ở bước 7 của /videomotion, hoặc khi người dùng nói "dựng lại cảnh", "render", "xuất video", "sửa hình cảnh X".

andyluu98/VideoMotion

Sinh giọng đọc tiếng Việt bằng VieNeu-TTS từ script.json của một dự án video, tự chấm phát âm bằng Whisper, giữ bản đọc tốt nhất, lấy mốc thời gian từng từ (voice.wav, words.json). Dùng ở bước 4 của /videomotion, hoặc khi người dùng nói "sinh giọng", "đọc lại câu", "đổi giọng", "sửa phát âm".

andyluu98/VideoMotion

Chọn hoặc tạo nhạc nền cho dự án video, đo nhịp, rồi trộn với giọng (nhạc tự hạ khi có lời, chuẩn -14 LUFS). Dùng ở bước 6 của /videomotion, hoặc khi người dùng gửi file nhạc, nói "đổi nhạc", "nhạc sôi động hơn", "nhạc nhỏ lại".

相關技能