A real-time subtitle translation plugin for Potplayer that utilizes LLM (Large Language Models) to translate subtitles during playback.
- Real-time subtitle translation
- Support for multiple LLM models
- Seamless integration with Potplayer
- Copy the plugin files to
Potplayer\Extension\Subtitle\Translate - Modify the following configuration in
llm.as:api_key: Your API keyselected_model: Your chosen LLM modelapi_url: API endpoint URL
// Example configuration in llm.as
api_key = "your_api_key_here"
selected_model = "model_name"
api_url = "https://api.example.com"- Potplayer installed
- Valid API key for the chosen LLM service
这是一个Potplayer字幕插件,通过调用大语言模型(LLM)实现字幕实时翻译功能。
- 字幕实时翻译
- 支持多种LLM模型
- 与Potplayer无缝集成
- 将插件文件复制到
Potplayer\Extension\Subtitle\Translate目录下 - 在
llm.as中修改以下配置:api_key:您的API密钥selected_model:选择的LLM模型,例如deepseek-reasonerapi_url:API接口地址
// ollama.as 配置示例
api_key = "你的API密钥"
selected_model = "模型名称"
api_url = "https://api.example.com"- 已安装Potplayer
- 拥有有效的LLM服务API密钥