executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
fcpx-assistantFinal Cut Pro X (FCPX) assistant — auto video production, TTS voiceover, media management, batch export | AI 自动成片、TTS 配音、素材管理、批量导出. Triggers: FCPX, FCP, Final Cut, make video, auto video, voiceover, import media, export
Independent GitHub snapshot · Automated classification · Original documentation governs
A fully automated video production pipeline — from topic to published video. Also your everyday FCP editing assistant.
From topic to published video — fully automated.
Topic 💡 → AI Script 📝 → Fetch Media 🔍 → TTS Voiceover 🎤 → Auto Assemble 🎞️ → Auto Publish 🚀
# Generate and publish to Bilibili
bash scripts/auto-video-from-topic.sh \
--topic "如何制作一杯完美的咖啡" \
--publish bilibili \
--title "咖啡教程" \
--tags "咖啡,教程"
Auto-generate video script from topic using AI.
bash scripts/ai-script-generator.sh \
--topic "如何制作一杯完美的咖啡" \
--style 教程 \
--duration 90 \
--keywords
Features:
Auto-search and download free stock footage from Pexels by keywords.
bash scripts/media-collector.sh \
--keywords "nature ocean sunset" \
--count 5 --output ./my-project
PEXELS_API_KEY for expanded searchDrop your BGM files (mp3/wav/m4a) into the project's music/ folder. The assembler auto-detects them.
my-project/
├── videos/ ← Stock footage (auto-filled by Step 2)
├── music/ ← Your BGM goes here
└── meta/ ← Metadata (auto-generated)
Generate per-paragraph voiceover using Qwen TTS.
bash scripts/tts-voiceover.sh \
--script "First paragraph
Second paragraph
Third paragraph" \
--output ./my-project/voiceover
--instruct (e.g., "warm female voice, moderate pace")--script-file ./script.txtlocalhost:7860Combines footage, voiceover, subtitles, and BGM into a finished video.
bash scripts/auto-video-maker.sh \
--project ./my-project \
--script-file ./script.txt \
--voiceover ./my-project/voiceover \
--style vlog \
--output final.mp4
Smart Features:
Style Presets:
| Style | Pacing | Font Size | Transition | Best For |
|---|---|---|---|---|
default | Medium | 42 | 0.5s | General |
vlog | Upbeat | 38 | 0.3s | Daily vlogs |
cinematic | Slow | 48 | 1.0s | Scenic/story |
fast | Rapid | 36 | 0.2s | Shorts/TikTok |
More Options:
--resolution 1080x1920 # Portrait mode
--no-subtitle # No subtitles
--subtitle-pos center # Center subtitles (default: bottom)
--font-size 50 # Custom font size
--music ./specific.mp3 # Specify BGM file
--transition none # No transitions
Upload finished video to platforms (Bilibili, YouTube, TikTok, Xiaohongshu).
bash scripts/auto-publish.sh \
--video final.mp4 \
--platform bilibili \
--title "我的视频" \
--tags "vlog,日常" \
--description "视频描述"
Supported Platforms:
bilibili - B 站 (requires biliup or web upload)youtube - YouTube (requires Google API setup)tiktok - 抖音 (requires cookie auth)xiaohongshu - 小红书 (requires cookie auth)Configure Accounts:
bash scripts/auto-publish.sh --config
Creates config files in ~/.fcpx-assistant/publish/
Automate everyday Final Cut Pro tasks.
osascript scripts/check-fcp.scpt # Check FCP status
osascript scripts/list-projects.scpt # List all projects
osascript scripts/open-project.scpt "Name" # Open a project
osascript scripts/import-temp-media.scpt # Import temp media
osascript scripts/project-time-tracking.scpt # Time tracking
bash scripts/scene-detect.sh video.mp4 # Scene detection
bash scripts/auto-rough-cut.sh video.mp4 # Auto rough cut (silence removal)
bash scripts/smart-tagger.sh ./media/ # AI smart tagging
bash scripts/auto-chapter-marker.sh video.mp4 # Auto chapter markers
bash scripts/audio-normalizer.sh video.mp4 # Normalize to -23 LUFS
bash scripts/auto-voiceover.sh "text" out.wav # Single-file voiceover
bash scripts/multi-lang-subtitles.sh video.mp4 en # Multi-language (en/ja/ko/fr/de/es)
bash scripts/auto-thumbnail.sh video.mp4 ./thumbs # Keyframe thumbnails + contact sheet
osascript scripts/create-script.scpt "Title" "Content" # Create script in Notes
osascript scripts/list-scripts.scpt # List scripts
| 工具 | 用途 | 安装方式 |
|---|---|---|
ffmpeg | 视频剪辑、转场、字幕烧入 | brew install homebrew-ffmpeg/ffmpeg/ffmpeg |
osascript | FCPX AppleScript 控制 | macOS 自带 |
curl | API 调用 | macOS 自带 |
jq | JSON 处理 | brew install jq |
bash | 脚本运行 | macOS 自带 |
| 工具 | 用途 | 安装方式 |
|---|---|---|
biliup | B 站视频上传 | pip3 install --break-system-packages biliup |
trash | 安全删除文件 | brew install trash |
| 服务 | 用途 | 配置方式 |
|---|---|---|
| Qwen TTS WebUI | 文字转语音配音 | 本地部署,运行在 localhost:7860 |
| Pexels API | 免费视频素材搜索 | 无需 API key(可选设置 PEXELS_API_KEY 提高限额) |
| B 站账号 | 视频上传发布 | 运行 biliup login 扫码登录 |
本技能的 TTS 配音功能依赖 Qwen TTS WebUI,这是一个本地部署的语音合成服务。
git clone https://github.com/your-org/qwen-tts-webui.git
cd qwen-tts-webui
pip3 install -r requirements.txt
# 下载 Qwen3-TTS 模型
python3 scripts/download_model.py --model Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice
python3 app.py --port 7860
curl http://localhost:7860/gradio_api/info
在 tts-voiceover.sh 中修改以下参数(如果需要):
TTS_HOST="http://127.0.0.1:7860" # TTS 服务地址
INSTRUCT="活泼开朗的年轻男声,语调轻快有活力" # 默认声音特征
MODEL="Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice" # 模型名称
如果不想部署 Qwen TTS,可以:
tts-voiceover.sh 中的 API 调用)From script to screen — let AI make your videos! 🎬
从主题到发布的全自动视频生产线,同时也是你的 FCP 剪辑助手。
从主题到发布,全自动完成。
主题 💡 → AI 文案 📝 → 搜素材 🔍 → TTS 配音 🎤 → 自动成片 🎞️ → 自动发布 🚀
# 生成并发布到 B 站
bash scripts/auto-video-from-topic.sh \
--topic "如何制作一杯完美的咖啡" \
--publish bilibili \
--title "咖啡教程" \
--tags "咖啡,教程"
根据主题自动生成视频脚本。
bash scripts/ai-script-generator.sh \
--topic "如何制作一杯完美的咖啡" \
--style 教程 \
--duration 90 \
--keywords
功能:
从 Pexels 免费素材库自动搜索下载,按关键词匹配。
bash scripts/media-collector.sh \
--keywords "nature ocean sunset" \
--count 5 --output ./my-project
PEXELS_API_KEY 解锁更多搜索能力把你找的 BGM 放到项目的 music/ 目录即可,成片时自动检测。
my-project/
├── videos/ ← 素材(Step 2 自动填充)
├── music/ ← 你的 BGM 放这里(mp3/wav/m4a)
└── meta/ ← 元数据(自动生成)
用 Qwen TTS 为每段文案生成配音。
bash scripts/tts-voiceover.sh \
--script "第一段文案
第二段文案
第三段文案" \
--output ./my-project/voiceover
--instruct)--script-file ./script.txtlocalhost:7860把素材、配音、字幕、BGM 全部组装成完整视频。
bash scripts/auto-video-maker.sh \
--project ./my-project \
--script-file ./script.txt \
--voiceover ./my-project/voiceover \
--style vlog \
--output final.mp4
智能特性:
风格预设:
| 风格 | 节奏 | 字号 | 转场 | 适合 |
|---|---|---|---|---|
default | 中等 | 42 | 0.5s | 通用 |
vlog | 轻快 | 38 | 0.3s | 日常 Vlog |
cinematic | 缓慢 | 48 | 1.0s | 电影感 |
fast | 快速 | 36 | 0.2s | 短视频/抖音 |
将成品视频上传到各大平台(B 站、YouTube、抖音、小红书)。
bash scripts/auto-publish.sh \
--video final.mp4 \
--platform bilibili \
--title "我的视频" \
--tags "vlog,日常" \
--description "视频描述"
支持平台:
bilibili - B 站(需要 biliup 或网页上传)youtube - YouTube(需要 Google API 配置)tiktok - 抖音(需要 cookie 认证)xiaohongshu - 小红书(需要 cookie 认证)配置账号:
bash scripts/auto-publish.sh --config
在 ~/.fcpx-assistant/publish/ 创建配置文件
osascript scripts/check-fcp.scpt # 检查 FCP 状态
osascript scripts/list-projects.scpt # 列出所有项目
osascript scripts/open-project.scpt "名称" # 打开项目
osascript scripts/import-temp-media.scpt # 导入临时素材
osascript scripts/project-time-tracking.scpt # 时间追踪
bash scripts/scene-detect.sh video.mp4 # 场景分析
bash scripts/auto-rough-cut.sh video.mp4 # 自动粗剪
bash scripts/smart-tagger.sh ./media/ # 智能标签
bash scripts/auto-chapter-marker.sh video.mp4 # 自动章节标记
bash scripts/audio-normalizer.sh video.mp4 # 音频标准化 (-23 LUFS)
bash scripts/auto-voiceover.sh "文本" out.wav # 单文件配音
bash scripts/multi-lang-subtitles.sh video.mp4 en # 多语言字幕
bash scripts/auto-thumbnail.sh video.mp4 ./thumbs # 自动缩略图
osascript scripts/create-script.scpt "标题" "内容" # 创建文案
osascript scripts/list-scripts.scpt # 列出文案
| 工具 | 用途 | 安装方式 |
|---|---|---|
ffmpeg | 视频剪辑、转场、字幕烧入 | brew install homebrew-ffmpeg/ffmpeg/ffmpeg |
osascript | FCPX AppleScript 控制 | macOS 自带 |
curl | API 调用 | macOS 自带 |
jq | JSON 处理 | brew install jq |
bash | 脚本运行 | macOS 自带 |
| 工具 | 用途 | 安装方式 |
|---|---|---|
biliup | B 站视频上传 | pip3 install --break-system-packages biliup |
trash | 安全删除文件 | brew install trash |
| 服务 | 用途 | 配置方式 |
|---|---|---|
| Qwen TTS WebUI | 文字转语音配音 | 本地部署,运行在 localhost:7860 |
| Pexels API | 免费视频素材搜索 | 无需 API key(可选设置 PEXELS_API_KEY 提高限额) |
| B 站账号 | 视频上传发布 | 运行 biliup login 扫码登录 |
本技能的 TTS 配音功能依赖 Qwen TTS WebUI,这是一个本地部署的语音合成服务。
git clone https://github.com/your-org/qwen-tts-webui.git
cd qwen-tts-webui
pip3 install -r requirements.txt
# 下载 Qwen3-TTS 模型
python3 scripts/download_model.py --model Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice
python3 app.py --port 7860
curl http://localhost:7860/gradio_api/info
在 tts-voiceover.sh 中修改以下参数(如果需要):
TTS_HOST="http://127.0.0.1:7860" # TTS 服务地址
INSTRUCT="活泼开朗的年轻男声,语调轻快有活力" # 默认声音特征
MODEL="Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice" # 模型名称
如果不想部署 Qwen TTS,可以:
tts-voiceover.sh 中的 API 调用)从文案到成片,让 AI 帮你做视频!🎬
Made by Steve & Steven 🤝