ComfyUI Node
BYOKey Claude (Anthropic)
Generate text responses with Anthropic's Claude models. Provide a text prompt and optionally one or more images for multimodal context.
BYOKey Claude (Anthropic)
- images
- output
◄api_key►
◄base_urlhttps://api.anthropic.com►
◄prompt►
◄modelSonnet 4.6►
◄seed0►
◄system_prompt►
◄max_tokens32768►
◄temperature1.00►
◄reasoning_effortoff►
Categoryapi/byokey/text
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | Anthropic API key (sent as the x-api-key header). | |
| base_url | STRING | https://api.anthropic.com | API base URL. Default targets Anthropic directly; override for a compatible relay/proxy. |
| prompt | STRING | Text input to the model. | |
| model | COMBO | Sonnet 4.6 | The Claude model used to generate the response. |
| seed | INT | 00–2147483647 | Seed controls whether the node should re-run; results are non-deterministic regardless of seed. |
| imagesopt | IMAGE | Optional image(s) for multimodal context. Up to 20 images. | |
| system_promptopt | STRING | Foundational instructions that dictate the model's behavior. | |
| max_tokensopt | INT | 327684096–64000 | Maximum number of tokens to generate (includes reasoning tokens when enabled). |
| temperatureopt | FLOAT | 1.000–1 | Controls randomness. 0.0 is deterministic, 1.0 is most random. Ignored for Opus 4.7 and any model when reasoning_effort is set. |
| reasoning_effortopt | COMBO | off | Extended thinking effort. 'off' disables reasoning. Ignored for models that do not support thinking (e.g. Haiku 4.5). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | STRING | — |