update readme ChatGChatGLMNode, add install instruction

This commit is contained in:
AlekPet
2024-11-06 10:13:34 +03:00
parent f3e4403317
commit 9ea018bbd7
+6 -1
View File
@@ -2,7 +2,12 @@
Translation is carried out with the help of artificial intelligence using GLM models.
### Note: To use it, you need to register on the site [bigmodel.cn](https://bigmodel.cn/) and get an API key. Free model is the 'glm-4-flash'!
### Install and use:
1. Install my custom nodes in ComfyUI, used [HERE](https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet#installing)
2. To use ChatGMLNode, you need to register on the site [bigmodel.cn](https://bigmodel.cn/) and get an API key. Free model is the `'glm-4-flash'`!
3. Inside folder **ChatGMLNode** find file `config.json` and add API key geting in point 2, and change `"ZHIPUAI_API_KEY": "your_api_key"` on your API Key.
4. Run comfyui and add node `ChatGLM4TranslateCLIPTextEncodeNode` or `ChatGLM4TranslateTextNode`.
> Includes: