Skip to content

Google Gemini 节点(Google Gemini node)#

使用 Google Gemini 节点来自动化 Google Gemini 的工作,并将 Google Gemini 与其他应用集成。n8n 内置支持广泛的 Google Gemini 功能,包括处理音频、视频、图片、文档和文件,以进行分析、生成和转录。

🌐 Use the Google Gemini node to automate work in Google Gemini and integrate Google Gemini with other applications. n8n has built-in support for a wide range of Google Gemini features, including working with audio, videos, images, documents, and files to analyze, generate, and transcribe.

本页列出了 Google Gemini 节点支持的操作列表以及更多资源的链接。

🌐 On this page, you'll find a list of operations the Google Gemini node supports, and links to more resources.

凭证

你可以在这里找到该节点的认证信息。

操作(Operations)#

  • 音频:
    • 分析音频:接收音频并回答相关问题。
    • 转录录音:将音频转为文字。
  • 文档:
    • 分析文档:接收文档并回答相关问题。
  • 文件搜索:
    • 创建文件搜索存储:为 RAG(检索增强生成)创建一个新的文件搜索存储
    • 删除文件搜索商店:删除文件搜索商店
    • 列出文件搜索商店:列出用户拥有的所有文件搜索商店
    • 上传到文件搜索商店:将文件上传到文件搜索商店用于 RAG(检索增强生成)
  • 图片:
    • 分析图片:接收图片并回答相关问题。
    • 生成图片:根据文本提示创建图片。
    • 编辑图片:上传一张或多张图片并根据提示进行编辑
  • 媒体文件:
    • 上传媒体文件:将文件上传到 Google Gemini API 以供稍后使用。
  • 文本:
    • 向模型发送消息:使用 Google Gemini 模型创建一个完成项。
  • 视频:
    • 分析视频:观看视频并回答相关问题。
    • 生成视频:根据文本提示创建视频。
    • 下载视频:使用 URL 从 Google Gemini API 下载生成的视频。

模板和示例(Templates and examples)#

Template widget placeholder.

有关该服务的更多信息,请参考Google Gemini 文档

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.