ComfyUI Extension: ComfyUI Razv LLM Node
Custom ComfyUI node for integrating Claude API with image and text capabilities.
Custom Nodes (0)
README
ComfyUI Razv LLM Node
Custom ComfyUI node for integrating Claude API with image and text capabilities.
Features
- Text-based chat with Claude models
- Optional image input support
- Configurable model selection (Claude Opus 4.1, Claude Sonnet 4, Claude 3.5 Sonnet, Claude 3.5 Haiku)
- Adjustable parameters (temperature, max tokens, system prompt)
Installation
Option 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "razv-llm"
- Click Install
Option 2: Git Clone
cd ComfyUI/custom_nodes
git clone https://github.com/razvanmatei-sf/razv-llm.git
cd razv-llm
pip install -r requirements.txt
Configuration
Set your Anthropic API key using one of these methods:
- Environment variable:
ANTHROPIC_API_KEY
orCLAUDE_API_KEY
- Direct input in the node's API key field
Usage
- Add the "RazvLLMChat" node to your workflow
- Connect an image (optional) and provide a text prompt
- Configure model and parameters as needed
- Execute to get Claude's response
Node Parameters
- prompt: Text input for Claude
- model: Choose between Claude Opus 4.1, Claude Sonnet 4, Claude 3.5 Sonnet, or Claude 3.5 Haiku
- temperature: Control response randomness (0.0 - 1.0)
- max_tokens: Maximum response length
- system_prompt: Optional system message to guide Claude's behavior
- api_key: Your Anthropic API key (if not set via environment)
Requirements
- ComfyUI
- Python 3.8+
- See
requirements.txt
for Python dependencies
License
MIT