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

Quick Information

No ratings yet
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
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
Download ZIP

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 total reviews
No ratings yet

Your Rating

How do you rate this asset?
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

No ratings yet
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
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
Download ZIP

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers