Nodes/comfyui-byokey/BYOKey Claude (Anthropic)
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.

By MeteorAndy·Created 3 months ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
api_keySTRINGAnthropic API key (sent as the x-api-key header).
base_urlSTRINGhttps://api.anthropic.comAPI base URL. Default targets Anthropic directly; override for a compatible relay/proxy.
promptSTRINGText input to the model.
modelCOMBOSonnet 4.6The Claude model used to generate the response.
seedINT00–2147483647Seed controls whether the node should re-run; results are non-deterministic regardless of seed.
imagesoptIMAGEOptional image(s) for multimodal context. Up to 20 images.
system_promptoptSTRINGFoundational instructions that dictate the model's behavior.
max_tokensoptINT327684096–64000Maximum number of tokens to generate (includes reasoning tokens when enabled).
temperatureoptFLOAT1.000–1Controls randomness. 0.0 is deterministic, 1.0 is most random. Ignored for Opus 4.7 and any model when reasoning_effort is set.
reasoning_effortoptCOMBOoffExtended thinking effort. 'off' disables reasoning. Ignored for models that do not support thinking (e.g. Haiku 4.5).

Outputs (1)

NameTypeDescription
outputSTRING