Demo to preview the plugin:

Introduction

The Gemini API supports content generation with images, audio, tools, and more. This plugin enables developers to access Gemini’s robust suite of content generation features, allowing the creation of multimedia assets directly within applications.

Prerequisites

  • A project on Google Cloud.
Image without caption

How to setup

1. Google Cloud Project Setup

Image without caption

2. Enable the API

  • Navigate to the API Library in the Cloud Console.
  • Search for the relevant AI Models API ( “Gemini API” ).
Image without caption
  • Enable the API for your project.
Image without caption

3. Create the API Key

Image without caption
  • Choose your created project from the list
Image without caption
  • Add the key in plugin settings
Image without caption

About billing

Billing for the Gemini API is based on two pricing tiers: free of charge (or free) and pay-as-you-go (or paid). Pricing and rate limits differ between these tiers and also vary by model. For current prices and rate limits, see Pricing. For a model-by-model breakdown of capabilities, see the Gemini models page.
💡
You can use the Gemini API for free with limited access, including rate limits and restricted features depending on the model. For higher usage or full access, a pay-as-you-go plan is available.
For giving full capabilities to the api key, connect billing to the created api key in the Google AI Studio.
Image without caption

Plugin Data Calls

List Models List (Data)

Get Model (Data)

Get File (Data)

List Files (Data)

Generate Content From Text (Data)

Generate Content From File and Text (Data)

Generate Json (Data)

Generate Chat (Data)

Plugin Action Calls

List Models List (Action)

Get Model (Action)

Upload Media (Action)

Get File (Action)

List Files (Action)

Delete File (Action)

Generate Content From Text (Action)

Generate Content From File and Text (Action)

Generate Json (Action)

Generate Chat (Action)

💡
Some of the Gemini API AI responses may include markdown code. To ensure better performance and readability, consider using a markdown viewer for rendering these responses.
Image without caption

Changelogs