Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Godot4 Gemini 1.0 API Examples

An asset by aki@akjava
The page banner background of a mountain and forest
Godot4 Gemini 1.0 API Examples image holder but it is empty

Quick Information

0 ratings
Godot4 Gemini 1.0 API Examples icon image
aki@akjava
Godot4 Gemini 1.0 API Examples

Google Gemini AI API examples for godot 4.2.1

Supported Engine Version
4.2
Version String
0.1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

godot-simple-gemini-api

This is Example Project not addon. As simply as possible, call the Gemini API.

API KEYS

This app requires an API key. Save it in settings.json. Take care of your keys. By default, it is added to .gitignore.

LICENSE

MIT LICENSE - Akihito Miyazaki

Examples

V1beta parts are not implemented yet. see https://ai.google.dev/tutorials/rest_quickstart

send_text

simple send text

sent_text_safety

show how to control safety.

set_text_config

send text with configuration (stopsequence ,temperature ..etc)

send_text_stream

Send a text stream. This code uses HttpClient. I'm not familiar with this; please handle with care.

chat_text

Send multiple-turn text.

send_image

Send an image and text. I tested mp4, but it's not working.

get_embedding

get single embedding

batch_embedding

get multiple embedding and cmpare them.

count_tokens

count tokens

get_list_model

get model list and info.

Google Gemini AI API examples for godot 4.2.1

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot4 Gemini 1.0 API Examples icon image
aki@akjava
Godot4 Gemini 1.0 API Examples

Google Gemini AI API examples for godot 4.2.1

Supported Engine Version
4.2
Version String
0.1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers