🚧 Work in progress 🏗️
Non-official Google Gemini API client for Unity. Limited use cases are currently supported.
(🚧 TBD:)
Open examples scenes at `Assets/Scenes/*.scene
The following examples are available:
- BasicChatExample: Generates text content and streaming
- VisionExample: Image content understanding
- AudioExample: Audio content understanding
- FunctionCallingExample: Calling C# functions from Gemini
- TextToSpeechExample: Text-to-speech
- Enable API key at Google Cloud
- Put
.env
file in the project root with the following content:
API_KEY=abc123
Add the following line to Packages/manifest.json
to install the Gemini for Unity package via UPM:
"dependencies": {
"com.github.asus4.googleapis-unity": "https://github.com/asus4/google-gemini-unity.git?path=Packages/GoogleApis",
... other dependencies
}
- Nunito Font: OFL 1.1
- Sawarabi Gothic Font: OFL 1.1
- JFK library: public domain