A downloadable asset pack

Download NowName your own price

Unity Gemini Integration

This package provides a straightforward way to integrate Google's Gemini API for text generation into your Unity projects.

Key Features:

  • Direct Gemini API Access: Send text prompts and receive responses using Unity's UnityWebRequest.
  • Conversation History Management: Automatically handles conversation context for ongoing interactions.
  • Custom Personality Prompts: Define and modify AI personality via the Unity Inspector or in code.
  • Asynchronous Operation: Uses coroutines for non-blocking API calls.
  • Inspector Configuration: API key and personality prompt settings are easily configured in the Unity Inspector.
  • Error Handling: Includes basic error handling and logging.
  • Unity 6 Compatible.

Installation:

  1. Download the Unity Gemini Integration.unitypackage.
  2. Open it in your Unity project.
  3. Add the Gemini Manager prefab to your scene.
  4. Enter your Google Gemini API key in the Inspector.
  5. Optionally, set the personalityPrompt.
  6. Access the GeminiIntegration.cs script to call methods.

GitHub

Published 9 days ago
StatusReleased
CategoryAssets
Authormusclecrampstudio
Tagsai, package, tool, Unity

Download

Download NowName your own price

Click download now to get access to the following files:

Unity Gemini Integration.unitypackage 3.2 kB

Leave a comment

Log in with itch.io to leave a comment.