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.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Overview
Generate text responses from an Anthropic Claude model. This node sends a text prompt and optional images to a Claude model and returns the generated text response.Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
prompt | STRING | Yes | N/A | Text input to the model. (default: empty string) |
model | COMBO | Yes | "Opus 4.7""Opus 4.6""Sonnet 4.6""Sonnet 4.5""Haiku 4.5" | The Claude model used to generate the response. |
seed | INT | Yes | 0 to 2147483647 | Seed controls whether the node should re-run; results are non-deterministic regardless of seed. (default: 0) |
images | IMAGE | No | 0 to 20 images | Optional image(s) to use as context for the model. Up to 20 images. |
system_prompt | STRING | No | N/A | Foundational instructions that dictate the model’s behavior. (default: empty string) |
Parameter Constraints
- Image Limit: A maximum of 20 images can be provided per request.
- Temperature Handling: When thinking is enabled or when using the “Opus 4.7” model, the temperature parameter is automatically unset (defaults to 1.0) as required by the Anthropic API. For other models, temperature can be set via the model configuration.
- Thinking/Reasoning: The model configuration includes a
reasoning_effortsetting that controls whether thinking is enabled. When enabled, the node automatically configures the appropriate thinking mode (adaptive or budget-based) depending on the selected model.
Outputs
| Output Name | Data Type | Description |
|---|---|---|
output | STRING | The generated text response from the Claude model. Returns “Empty response from Claude model.” if no text is generated. |
Source fingerprint (SHA-256):
e3bab004535d4d406582aa42f28bb64a2988f8331788d51ec1fa4e943d8d4382