ComfyUI Node

API Connection

Configure once, reuse across nodes. For any relay, override the base URL and choose its API protocol. / 一次配置,多节点共用。中转站填写其地址并选择接口格式。

By playboy-dongan·Created 8 days ago·Updated 8 days ago· 0
API Connection
    • connection
    ◄providerCustom / 自定义►
    ◄base_url►
    ◄api_keyenv:COMFY_API_KEY►
    ◄protocolauto►
    CategorySimple API

    Inputs (4)

    NameTypeDefaultDescription
    providerCOMBOCustom / 自定义10 options: Custom / 自定义, OpenAI, OpenAI Responses, Gemini, Claude, DeepSeek, +4
    base_urlSTRINGInclude the API version, e.g. https://host/v1. Leave blank for official presets. / 填含版本号的基础地址;预设平台可留空。
    api_keySTRINGenv:COMFY_API_KEYPaste a key, env:VARIABLE or key:local_name. Raw pasted keys are saved in workflows. / 可填密钥、env:变量名、key:本地名称。直接填写会保存在工作流中。
    protocolCOMBOautoauto follows the provider; relays can use any of these protocols. / auto 跟随平台;中转站按其文档选择。

    Outputs (1)

    NameTypeDescription
    connectionSA_CONNECTION—