在沉浸式翻译中使用bigmodel中转站

Information

中转站地址:api.bigmodel.org/

使用

  1. 创建令牌

https://api.bigmodel.org/token

  1. 安装沉浸式翻译google插件

https://chromewebstore.google.com/detail/%E6%B2%89%E6%B5%B8%E5%BC%8F%E7%BF%BB%E8%AF%91-%E7%BD%91%E9%A1%B5%E7%BF%BB%E8%AF%91%E6%8F%92%E4%BB%B6-pdf%E7%BF%BB%E8%AF%91-%E5%85%8D%E8%B4%B9/bpoadfkcbjbfhfodiogcnhhhpibjhbnh?hl=zh-CN&utm_source=ext_sidebar

  1. 配置

打开配置

image

image

选择自定义apikey

apiKey就是步骤一申请的令牌,复制过来

模型,这里设置gpt-4o-mini 便宜又好用

自定义api接口这里设置为: https://api.bigmodel.org/v1/chat/completions

image

然后随便打开一个英文网页

https://github.com/wmc1125/wmc1125

点击翻译即可

image

对应的请求日志可以在下面链接查看

https://api.bigmodel.org/log

 

转自https://www.wangmingchang.com/5508.html