Nodes/ERPK Collection/Claude API Client
ComfyUI Node

Claude API Client

Initialize a Claude API client with model and settings.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Claude API Client
    • client
    modelclaude-sonnet-5
    api_key
    enable_streamingfalse
    enable_cachingtrue
    CategoryERPK/Claude

    Inputs (4)

    NameTypeDefaultDescription
    modelCOMBOclaude-sonnet-5Claude model to use. Sonnet 5 offers the best balance of performance and cost.
    api_keyoptSTRINGAnthropic API key. If empty, will use ComfyUI Settings or config.ini.
    enable_streamingoptBOOLEANfalseEnable streaming responses. Note: ComfyUI may not display streaming in real-time.
    enable_cachingoptBOOLEANtrueEnable prompt caching for cost optimization (up to 90% savings on repeated prompts).

    Outputs (1)

    NameTypeDescription
    clientCLAUDE_API_CLIENT