/translate_popclipext

PopClip Plugin, Translate Text into English

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Translate

效果演示

在任何可编辑的输入框,选择文本,翻译替换为英文。

demo

安装

双击 translate.popclipext 安装插件

配置

API Key

为了使用这个插件,需要提供一个 OpenAI API Key。获取 API Key 的步骤如下:

  1. 注册 OpenAI 帐户:https://platform.openai.com/
  2. 生成 API Key:https://platform.openai.com/account/api-keys
  3. 将生成的 API Key(以 sk- 开头)复制并粘贴到插件设置中的“API Key”字段。

模型

可用的模型数值为gpt-3.5-turbo和gpt-4。