← 返回 Skills 市场
310
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install video-subtitle-generator
功能描述
Generate and translate video subtitles using WhisperX and LLM translation. Use when processing video files to create .srt subtitle files. Supports multilingu...
安全使用建议
This skill appears to do what it says: local transcription with WhisperX and optional translation via a remote LLM. Before installing or running: 1) Expect large downloads and significant disk/compute usage (PyTorch, WhisperX, model weights). 2) Translation calls a remote API and will consume tokens (real cost) — provide an API key only if you accept charges. 3) The skill's registry metadata does not declare the required OPENAI_API_KEY / OPENAI_BASE_URL even though SKILL.md and translate.py use them — confirm this with the skill author or assume you'll need to set OPENAI_API_KEY to enable translation. 4) Install into a virtual environment and review the translate.py code if you need to confirm which endpoints are called (default base URL is openrouter.ai). 5) If you have concerns about third-party endpoints, override OPENAI_BASE_URL to a provider you trust or skip the translation step and run transcription only.
功能分析
Type: OpenClaw Skill
Name: video-subtitle-generator
Version: 1.0.1
The video-subtitle-generator is a legitimate tool for transcribing and translating video subtitles using WhisperX and OpenAI-compatible APIs. The SKILL.md instructions are safety-conscious, explicitly directing the AI agent to obtain user confirmation before incurring API costs or using credentials. The implementation across scripts/transcribe.py and scripts/translate.py follows standard practices, uses safe subprocess execution, and contains no evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
Name/description (video subtitle generation + translation) align with the included scripts (transcribe.py, translate.py, run.py), requirements.txt, and README. WhisperX is used for transcription and an LLM client for translation — these are expected for the stated functionality.
Instruction Scope
SKILL.md and the scripts clearly instruct extracting audio, running WhisperX locally, and calling a remote LLM for translation. The instructions require setting OPENAI_API_KEY and optionally OPENAI_BASE_URL for translation and warn about costs and asking user consent before translation — appropriate scope. Minor inconsistency: registry metadata declared no required env vars even though the runtime expects OPENAI_API_KEY/OPENAI_BASE_URL when doing translations.
Install Mechanism
There is no embedded install script; the skill is instruction-and-code-only. It relies on pip installing standard packages (whisperx, torch, torchaudio, openai) which is typical for this use case. Note: these packages and model weights are large and pip install will fetch code from PyPI (normal but heavy).
Credentials
The skill uses only environment variables appropriate to its operation (VIDEO_DIR, OUTPUT_DIR, TRANSLATED_DIR, TARGET_LANG, WHISPER_MODEL, and OPENAI_API_KEY/OPENAI_BASE_URL for translation). However, the registry metadata lists no required env vars while SKILL.md and translate.py require an API key for translation — a mismatch the user should correct/confirm before install.
Persistence & Privilege
The skill does not request persistent/always-on privileges. always is false and it does not modify other skills or system-wide settings. It runs as local scripts and only uses env vars and filesystem paths under the user's control.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install video-subtitle-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/video-subtitle-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Initial release of video-subtitle-generator.
- Generate multilingual video subtitles using WhisperX with automatic language detection.
- Translate subtitles to any target language via user-specified LLM API, supporting bilingual output.
- Batch processing of video files and directories.
- User confirmation required before installing dependencies and incurring translation API costs.
- Supports multiple Whisper model sizes and device types.
- Outputs .srt files (source, target, bilingual) and transcription metadata (.json).
元数据
常见问题
Video Subtitle Generator 是什么?
Generate and translate video subtitles using WhisperX and LLM translation. Use when processing video files to create .srt subtitle files. Supports multilingu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 310 次。
如何安装 Video Subtitle Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install video-subtitle-generator」即可一键安装,无需额外配置。
Video Subtitle Generator 是免费的吗?
是的,Video Subtitle Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Video Subtitle Generator 支持哪些平台?
Video Subtitle Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Video Subtitle Generator?
由 cjh(@jianhua-cui)开发并维护,当前版本 v1.0.1。
推荐 Skills