已无需手动安装,在config.py 文件中,添加 阿里云/百度翻译 API的密钥+ key
其他启动主程序,会自动安装所需要的文件。
issue:
linux 无法使用?
在容器内 安装 node.js 环境解决。
| English | 中文教程 | 视频教程 | 更新内容 |
introduction:
1. I created two translation nodes, which can be both installed or only one of them can be used;
2. first one is `BaiduTranslateApi`, it's used BaiduTranslate developer account
on the official website of Baidu Translator, which can be used for a long time by oneself;
3. second is `BaiduTranslate`, Connected to the Api of Baidu Translate, Need install requirements;
4. unable to preview the prompt words in Comfyui, i dont know how to do it. If you have any good ideas, Let me know!
5. I didn't use Google Translate because I need to use it in China.
BaiduTranslateApi
installcustom_nodes
folder, Unzip it;appid
and secretKey
;config.py
in Notepad/other editors;apiid
in quotation marks of appid = ""
;secretKey
in quotation marks of secretKey = ""
;PreviewText
Nodes翻译Api auto to English
;简介:
BaiduTranslateApi
,这个需要去百度翻译官网注册开发者账号,可以自己长久使用。BaiduTranslate
,我爬了百度翻译的接口,不被百度反爬也可以长期使用。BaiduTranslateApi
的安装教程custom_nodes
文件夹中;appid
和secretKey
;config.py
;appid = ""
引号之中填写你的百度翻译apiid
;secretKey = ""
引号之中填写你的百度翻译 secretKey
;PreviewText
节点翻译Api auto to English
;