ComfyUI and Claude
A set of custom nodes that are using Anthropic's Claude models for describing images and transforming texts.
Setup
Clone the repository into your custom nodes folder and install the requirements:
git clone https://github.com/tkreuziger/comfyui-claude.git ./ComfyUI/custom_nodes/comfyui-claude
python3 -m pip install -r ./ComfyUI/custom_nodes/comfyui-claude/requirements.txt
Then restart ComfyUI.
Requirements
You need an Anthropic API key that you must fill in the nodes. Learn more about this here.
Included nodes
- DescribeImage: Takes an image as input and returns a textual description of it.
- CombineTexts: Combine two texts into something new with the help of Claude.
- TransformText: Transforms an input text into some other text, ideal for rephrasing prompts or similar.