Skip to content

Blueprint Chapter - Gemini

Text chat

Create a node called "Gemini Chat Options" and configure the parameters "Model" and "API Key."

Create a "Gemini Chat Request" node, and connect it to the "Options" and "Messages" nodes. Click on run, and you will see Gemini chat information printed on the screen, as shown in the image:

Generate text from image.

Create a "Gemini Chat Options" node as well, and configure the parameters "Model" and "Api Key".

Read the image file flower.png and set it to "Messages".

flower.png

Create a "Gemini Chat Request" node, click on Run, and you will see the chat messages returned by Gemini printed on the screen, as shown below:

Convert audio into text

Gemini supports converting audio into text.

Create the following blueprint, set up audio loading, configure the Gemini Options, click Run, and you will see the chat messages returned by Gemini after processing the audio on the screen.

guide bludprint

guide bludprint

Original: https://wiki.disenone.site/en

This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post was translated using ChatGPT, please provide feedback in 反馈Point out any omissions.