> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic Claude Workflow in ComfyUI

> How to run the Anthropic Claude chat workflow in ComfyUI, locally or on Comfy Cloud

This guide shows how to run the Anthropic Claude workflow in ComfyUI. For what the model is and what it does best, see the [Anthropic Claude overview](/tutorials/partner-nodes/anthropic/claude).

<Tip>
  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](/tutorials/partner-nodes/overview) section of the documentation to understand the specific requirements for using the Partner Nodes.
</Tip>

<Tip>
  <Tabs>
    <Tab title="Local users">
      Make sure your ComfyUI is updated.

      * [Download ComfyUI](https://www.comfy.org/download)
      * [Update Guide](/installation/update_comfyui)

      Workflows in this guide can be found in the [Workflow Templates](/interface/features/template).
      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
    </Tab>

    <Tab title="Cloud users">
      * [Cloud](https://cloud.comfy.org) will update after ComfyUI stable release.

      So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.
    </Tab>
  </Tabs>
</Tip>

## Anthropic Claude Chat Workflow

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_anthropic_claude-1.webp" alt="Anthropic Claude Chat workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_anthropic_claude&utm_source=docs&utm_medium=referral&utm_campaign=claude">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_anthropic_claude.json">
    Download JSON or search "Anthropic Claude" in Template Library
  </Card>
</CardGroup>

<Note>
  In the corresponding template, we have built a prompt for analyzing and generating role prompts, used to interpret your images into corresponding drawing prompts.
</Note>

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
