基于 OpenRouter API 的 STranslate 翻译插件。
- 下载最新的
.spkg文件(在 Releases 页面) - 在 STranslate 中进入 设置 → 插件 → 安装插件
- 选择下载的
.spkg文件并重启 STranslate
- 获取 API Key: 访问 OpenRouter Console 注册并获取 API Key
- 配置插件: 在 STranslate 中进入 设置 → 服务 → OpenRouter → 设置
- API Key: 你的 OpenRouter API Key
- API URL:
https://openrouter.ai(默认) - 模型:
openai/gpt-5.2 - 温度: 0-2,默认 0.7
支持自定义提示词,内置:
- 翻译 - 专业翻译引擎
- 润色 - 文本润色优化
- 总结 - 文本摘要生成
提示词变量:$source(源语言)、$target(目标语言)、$content(待翻译文本)
Made with ❤️ by zggsong