OpenRouter 凭证#
¥OpenRouter credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
创建 OpenRouter 账户。
¥Create a OpenRouter account.
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
相关资源#
¥Related resources
有关服务的更多信息,请参阅 OpenRouter API 文档。
¥Refer to OpenRouter's API documentation for more information about the service.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- API 密钥
¥An API Key
生成 API 密钥:
¥To generate your API Key:
- 登录你的 OpenRouter 账户或 create 账户。
¥Login to your OpenRouter account or create an account. 2. 打开 API 密钥 页面。
¥Open your API keys page. 3. 选择“创建新密钥”以创建 API 密钥,你可以选择为密钥命名。
¥Select Create new secret key to create an API key, optionally naming the key. 4. 复制你的密钥并将其作为 API 密钥添加到 n8n 中。
¥Copy your key and add it as the API Key in n8n.
请参阅 OpenRouter 快速入门 页面了解更多信息。
¥Refer to the OpenRouter Quick Start page for more information.