限时免费试用:欢迎注册 api.bigmodel.org ,快速体验大模型 API 接入服务。
当前位置:首页 >AI

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

分类:AI时间:2024-10-09浏览:808

中转站地址: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

本站文章如未注明出处均为原创,转载请注明出处,如有侵权请邮件联系站长。
0/500
Share your thoughts respectfully.