Skip to main content
Skip table of contents

Google Gemini

Introduction

Google's Gemini API allows developers to build generative AI applications using Gemini models. Gemini is built from the ground up to be multimodal. It can generalize and seamlessly understand, operate across, and combine different types of information. including language, images, audio, video, and code.

Use cases for Google Gemini include reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.

You can find more details and the supported operations on Google Gemini | qibb Catalog.

How to get started with Google Gemini integration

Before you get started using Google Gemini integration please make sure that you have the needed permission for the operations. Here you can find Google Gemini API documentation.

  1. You will need an API Key for authentication.

  2. Get your API Key from your Google Cloud account. If you don`t have an API Key, you need to generate one.

  3. If you have already a Project, continue to get API Key from step 5. If you don`t have a Project, you need to create one.

  4. Sign in to your Google Cloud account, click on the Select a project button and click on New Project.

    gcs-21.png
  5. Once you select the related project, click on the APIs and Services button.

    gcts-1.png

  6. Click on Enabled APIs & services to check if Google Gemini is on the Enabled APIs list. If it is not on the list click on Enabled APIs & services button and enable the API.

    gcs-22.png

  7. Click on the Credentials button. On the page that opens, you will see the Create Credentials button. Click on it and select API key.

    gcts-2.png

  8. Once you click on API key button, your API key will be generated. You can manage restrictions for your API Key during creation or by clicking the name of your API Key. Save your API key to be able to use it later.

    gcts-3.png

  9. Go to qibb Workflow Editor, open Node Catalog in the right sidebar, and install Google Gemini node by clicking on the + button.

  10. Drag Google Gemini and any other nodes you need from the left sidebar and place them in your flow.

  11. Enter your API Key in the Advanced/Security field of the node and start using the integration!

gemini.png

Note for endpoints with a {model} path parameter:

The Google Gemini API Docs specify that users should format this parameter as models/model-name.

When using our nodes, users must specify only model-name, since models/ is already hard-coded into the path.

Importing flow examples of a node

Once you've successfully installed a node from the qibb catalog, you can easily import example flows that showcase how the nodes can be used. These example flows are directly accessible within the Flow Editor and are designed to guide users with helpful hints, including how to configure mandatory parameters and credentials.

Here's how to import examples:

  1. In the top right corner of the Flow Editor, click on the menu icon.

  2. Select Import to open the Import Dialog.

  3. Click on the Examples tab.

  4. Choose an example from the list.

  5. Confirm your selection by clicking on the Import button.

By following these steps, you are now ready to make basic API calls using the provided examples. For further exploration of what’s possible, you can find more complex examples in the Flow Catalog.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.