ChatGLM nodes for ComfyUI
Translation is carried out with the help of artificial intelligence using GLM models.
Install and use:
- Install my custom nodes in ComfyUI, used HERE
- To use ChatGMLNode, you need to register on the site bigmodel.cn and get an API key. Free model is the
'glm-4-flash'! - Inside folder ChatGMLNode find file
config.jsonand add API key geting in point 2, and change"ZHIPUAI_API_KEY": "your_api_key"on your API Key. - Run comfyui and add node
ChatGLM4TranslateCLIPTextEncodeNodeorChatGLM4TranslateTextNode.
Includes:
ChatGLM4TranslateCLIPTextEncodeNode - translate text, and return CONDITIONING
ChatGLM4TranslateTextNode - translate text and return text (STRING)
ChatGLM4InstructNode - Generate prompt from instruct
ChatGLM4InstructMediaNode - Generate prompt from instruct to describe what is shown in the media
Image:
Used Zhipu AI: https://bigmodel.cn/
