Skip to main content
Anthropic Claude is a family of powerful AI models known for strong reasoning, safety, and long-context capabilities. ComfyUI has integrated the Anthropic Claude API through Partner Nodes, allowing you to use Claude directly in your workflows for conversational and image analysis tasks.

What Anthropic Claude is good at

  • Strong reasoning: A model family known for strong reasoning, safety, and long-context capabilities
  • Conversational and image analysis tasks: Use Claude directly inside your ComfyUI workflows through Partner Nodes
  • Multimodal input: Every supported model accepts text-only and text + image inputs, with up to 20 images per request
  • A model for every workload: From the flagship Opus line to fast, cost-effective Haiku for high-throughput use cases

Supported Models

All models support both text-only and multimodal (text + image) inputs with up to 20 images per request.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates. If you can’t find them in the template, your ComfyUI may be outdated.If nodes are missing when loading a workflow, possible reasons:
  1. You are not using the latest ComfyUI version (Nightly version)
  2. Some nodes failed to import at startup

Anthropic Claude Chat Workflow

Anthropic Claude Chat workflow preview

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Anthropic Claude” in Template Library
In the corresponding template, we have built a prompt for analyzing and generating role prompts, used to interpret your images into corresponding drawing prompts.
Refer to the numbered steps in the workflow image to complete the basic workflow execution:
  1. In the Load Image node, load the image you need AI to interpret (optional: skip for text-only queries)
  2. In the Anthropic Claude node, modify prompt to set your conversation prompt, or change model to select a different Claude model
  3. (Optional) Set the system_prompt to define the model’s behavioral instructions
  4. Click Run or press Ctrl(cmd) + Enter to execute the conversation
  5. After the API returns results, view the AI response in the Preview Any node

Additional Notes

  • Adjust max_tokens (up to 32000) and temperature (0.0 to 1.0) in the node’s advanced options
  • The seed parameter controls whether the node re-runs: results are non-deterministic regardless of seed value