Skip to content

OpenAI 凭证(OpenAI credentials)#

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

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

先决条件(Prerequisites)#

创建一个 OpenAI 账户。

🌐 Create an OpenAI account.

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

  • API 密钥

有关该服务的更多信息,请参阅OpenAI 的 API 文档

🌐 Refer to OpenAI's API documentation for more information about the service.

使用 API 密钥(Using API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个 API 密钥
  • 组织 ID:如果你属于多个组织,则必填;否则请留空。

生成 API 密钥:

🌐 To generate your API Key:

  1. 登录你的 OpenAI 账户或创建一个账户。
  2. 打开你的API 密钥页面。
  3. 选择 创建新的密钥 来创建 API 密钥,并可选择为密钥命名。
  4. 复制你的密钥,并将其作为 API 密钥 添加到 n8n 中。

有关更多信息,请参阅API 快速入门账户设置文档

🌐 Refer to the API Quickstart Account Setup documentation for more information.

要查找你的组织 ID:

🌐 To find your Organization ID:

  1. 转到你的组织设置页面。
  2. 复制你的组织 ID,并将其作为 n8n 中的 组织 ID 添加。

有关详细信息,请参阅 设置你的组织。请注意,使用组织 ID 发出的 API 请求将计入该组织的订阅配额。

🌐 Refer to Setting up your organization for more information. Note that API requests made using an Organization ID will count toward the organization's subscription quota.