
Plugin that integrates OpenAI, Gemini, Claude and Hugging Face APIs. Provides chat, streaming, tools, image generation, TTS/STT & real-time voice for intelligent game experiences.This plugin works as a help to use OpenAI, Google Gemini, Anthropic Claude and Hugging Face APIs through a unified system. Perfect for any game genre - from RPGs with dynamic NPCs to educational apps with intelligent tutoring systems.Key Capabilities:Interactive dialogue and character conversationsProcedural content generation (quests, stories, dialogue)Voice integration (TTS/STT) and real-time audio chatAI-powered game mechanics and intelligent opponentsCustom tool creation for game-specific interactionsHighly Customizable: Adapt AI responses to match your game's tone and style. Control creativity, randomness, and response length. Build custom functions that AI can invoke for unique gameplay mechanics.Genre-Agnostic: Suitable for RPGs, simulations, educational games, adventure titles, and productivity applications. Easy integration with drop-in components and ScriptableObject configuration.*NOTE* You will need API key in case you wanna use each provider and I am not affiliated with any of the providers.In case of any problem send me an email: pabloglezjobs@gmail.comMulti-Provider AI IntegrationMajor AI Providers: You can use different providers, OpenAI, Google Gemini, Anthropic Claude and Hugging Face.Unified API: Single interface for all providers with consistent method signaturesProvider-Specific Optimizations: Tailored implementations that leverage each provider's unique capabilitiesComprehensive AI ServicesChat Services: Text-based conversations with streaming supportTool Integration: Function calling with automatic parameter validation and executionImage Generation: AI-powered image creationAudio Services: Text-to-Speech (TTS) and Speech-to-Text (STT) capabilitiesRealtime Communication: Low-latency voice conversations (OpenAI Realtime API and Gemini Live API)Vision Analysis: Image understanding and description (in development)Advanced AI CapabilitiesReasoning Engine: Multi-step task execution with planning capabilitiesTool Chaining: Sequential tool usage for complex operationsStreaming Responses: Real-time text and audio streamingContext Management: Conversation history and session managementParameter Control: Fine-tuned response generation with temperature, top-p, and other parametersDeveloper-Friendly ArchitectureScriptableObject Configuration: Easy API key management through Unity InspectorAutomatic Token Tracking: Built-in usage monitoring and cost estimationError Handling: Comprehensive error management and debugging supportCoroutine-Based: Unity-native asynchronous operationsEvent System: Publisher-subscriber pattern for real-time updatesTechnical SpecificationsUnity Compatibility: Unity 2020.3 LTS and aboveMemory Management: Efficient audio clip handling and texture managementNetwork Protocols: WebSocket support for realtime services, HTTP/HTTPS for standard APIsAudio Formats: WAV, MP3 support for audio processingImage Formats: PNG, JPEG support for image generation and analysisJSON Serialization: JsonUtility integration for data handlingFuture FeaturesImage Generation using Gemini API: Support for image generation with Gemini modelsGrok API provider: Adding support for xAI's Grok modelsChatGPT have helped in the creation of the images and guides.Cursor have been used as the IDE of the project, helping in fixing errors and commenting the code.