拥抱脸凭据(Hugging Face credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
支持的身份验证方法(Supported authentication methods)#
- API 密钥
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Hugging Face 的文档。
🌐 Refer to Hugging Face's documentation for more information about the service.
View n8n's Advanced AI documentation.
使用 API 密钥(Using API key)#
要配置此凭证,你需要一个 Hugging Face 账户以及:
🌐 To configure this credential, you'll need a Hugging Face account and:
- 一个 API 密钥:Hugging Face 将这些称为 API 令牌。
获取 API 令牌:
🌐 To get your API token:
- 打开你的 Hugging Face 账户并进入 Tokens 页面。
- 复制那里列出的令牌。它应该以
hf_开头。 - 将此 API 令牌作为你的 n8n 凭证 API Key 输入。
有关更多信息,请参阅 获取你的 API 令牌。
🌐 Refer to Get your API token for more information.