Skip to content

NVIDIA Nemotron 凭证(NVIDIA Nemotron credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

一个凭证涵盖两种部署模式:

🌐 A single credential covers both deployment modes:

先决条件(Prerequisites)#

要访问云端,请创建一个 NVIDIA build 账户。

🌐 For cloud access, create an NVIDIA build account.

对于自托管访问,请运行一个 NIM 容器,该容器暴露一个兼容 OpenAI 规范的端点。有关设置指南,请参阅 NVIDIA NIM 文档

🌐 For self-hosted access, run a NIM container that exposes an OpenAI-spec compatible endpoint. Refer to NVIDIA NIM documentation for setup guidance.

支持的身份验证方法(Supported authentication methods)#

  • API 密钥(当连接到不强制身份验证的自托管 NIM 时可选)

请参考 NVIDIA 的 构建目录 以获取可用 Nemotron 模型列表,并参考 NIM 文档 以获取自托管指南。

🌐 Refer to NVIDIA's build catalogue for the list of available Nemotron models and to the NIM documentation for self-hosting guidance.

使用 API 密钥(Using API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • A 基础 URL:用于调用的 OpenAI 规范兼容端点。对于 build.nvidia.com 云,使用默认的 https://integrate.api.nvidia.com/v1,或者将其替换为你自托管的 NIM URL(例如,http://localhost:8000/v1)。
  • 一个 API 密钥:用于 build.nvidia.com 云。对于不需要身份验证的自托管 NIM,请留空。

要为 build.nvidia.com 生成 API 密钥:

🌐 To generate an API key for build.nvidia.com:

  1. 登录你的 NVIDIA 构建 账户。
  2. 在目录中打开一个 Nemotron 模型并选择 获取 API 密钥
  3. 复制你的密钥,并将其作为 API 密钥 添加到 n8n 中。

连接到自托管的 NIM:

🌐 To connect to a self-hosted NIM:

  1. Base URL 设置为你的 NIM 端点,包括 /v1 路径(例如,http://localhost:8000/v1)。
  2. 如果你的 NIM 需要身份验证,请将令牌粘贴到 API Key 中。否则,请将该字段留空。