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.

Credentials

你可以在 此处 中找到此节点的身份验证信息。

¥You can find authentication information for this node here.

操作#

¥Operations

  • 音频:

¥Audio:

  • 分析音频:导入音频并回答相关问题。

    ¥Analyze Audio: Take in audio and answer questions about it.

  • 转录录音:将音频转录为文本。

    ¥Transcribe a Recording: Transcribes audio into text.

  • 文档:

¥Document:

  • 分析文档:导入文档并回答相关问题。

    ¥Analyze Document: Take in documents and answer questions about them.

  • 文件:

¥File:

  • 上传文件:将文件上传到 Google Gemini API 供其他用户使用。

    ¥Upload File: Upload a file to the Google Gemini API for later user.

  • 图片:

¥Image:

  • 分析图片:导入图片并回答相关问题。

    ¥Analyze Image: Take in images and answer questions about them.

  • 生成图片:根据文本提示创建图片。

    ¥Generate an Image: Creates an image from a text prompt.

  • 文本:

¥Text:

  • 消息模型:使用 Google Gemini 模型创建补全功能

    ¥Message a Model: Create a completion with a Google Gemini model.

  • 视频:

¥Video:

  • 分析视频:导入视频并回答相关问题。

    ¥Analyze Video: Take in videos and answer questions about them.

  • 生成视频:根据文本提示创建视频。

    ¥Generate a Video: Creates a video from a text prompt.

  • 下载视频:使用 URL 从 Google Gemini API 下载生成的视频。

    ¥Download Video: Download a generated video from the Google Gemini API using a URL.

模板和示例#

¥Templates and examples

Template widget placeholder.

相关资源#

¥Related resources

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

¥Refer to Google Gemini's documentation for more information about the service.

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.