A comprehensive virtual AI wife application with advanced features including 3D VRM model integration, multi-AI provider support, voice interaction, camera integration, music playback, and browser automation.
- Multiple AI Providers: Google Gemini (default), OpenAI, Together AI, Groq
- Intelligent Conversations: Context-aware responses with personality
- Emotion Detection: Automatic emotion recognition and appropriate responses
- Learning System: Saves training data to improve responses over time
- VRM Model Support: Uses wife.vrm model for realistic 3D representation
- Animation System: Multiple FBX animations for different emotions and actions
- Real-time Responses: Character animations sync with emotions and music
- YouTube Integration: Search and play music using YouTube API
- Auto-Dance: Character dances when music is playing
- Voice Commands: "Play hindi songs" or specific song requests
- Music Controls: Play, pause, volume control
- Speech Recognition: Multi-language voice input
- Text-to-Speech: Natural voice responses
- Clap Detection: Activate voice mode by clapping
- Real-time Conversation: Seamless voice interaction
- Live Video Feed: Real-time camera access
- Visual Analysis: AI can see and respond to what you show
- Image Recognition: Analyze images and provide contextual responses
- Privacy Controls: Full camera control and privacy settings
- 12 Languages: English, Hindi, Bhojpuri, French, Tamil, Urdu, Arabic, Bengali, Spanish, German, Indonesian, Japanese
- Auto-Detection: Automatically detects and responds in user's language
- Cultural Context: Appropriate responses for different cultures
- Chrome Integration: Open and control Chrome browser
- Smart Search: Research topics and generate PDF reports
- Web Navigation: Navigate to websites and extract information
- Local Storage: Save research results locally
- Personality Customization: Define your wife's personality traits
- Relationship Context: Set your relationship details and preferences
- Knowledge Base: Personal information storage for better responses
- Training Data: Continuous learning from interactions
- Touch-Friendly: Optimized for mobile devices
- Responsive Design: Works on all screen sizes
- Mobile Controls: Touch-based interaction
- Go to Google AI Studio
- Create a new API key
- Add it to Settings > AI Settings
- Go to OpenAI API
- Create a new API key
- Add it to Settings > AI Settings
- Go to Google Cloud Console
- Enable YouTube Data API v3
- Create credentials (API key)
- Add it to Settings > Music Settings
Ensure these files are in the public folder:
wife.vrm- The 3D character modelanimations/folder with FBX animation files
npm install
npm run dev- Open the application
- Go to Settings > Profile
- Enter your name and wife's name
- Add relationship context
- Configure AI provider and API key
- Set language preferences
- Enable clap detection in Settings > Audio
- Clap twice to activate voice mode
- Speak naturally - she'll respond in your language
- Use the microphone button for manual voice activation
- Add YouTube API key in Settings > Music
- Go to Music tab
- Search for songs: "hindi songs", "relaxing music", etc.
- Watch your wife dance to the music!
- Enable camera in Settings > Camera
- Go to Camera tab
- Show her things - she can see and respond
- Enable real-time analysis for continuous interaction
Say commands like:
- "Open Chrome and search for [topic]"
- "Research [subject] and make a PDF"
- "Take a screenshot"
- Frontend: React + TypeScript + Vite
- 3D Rendering: Three.js + React Three Fiber
- VRM Support: @pixiv/three-vrm
- Animations: FBX Loader
- Styling: Tailwind CSS + Framer Motion
- State Management: React Context
src/
βββ components/ # React components
βββ contexts/ # Context providers
βββ utils/ # Utility functions
βββ types/ # TypeScript types
public/
βββ wife.vrm # 3D character model
βββ animations/ # FBX animation files
train/ # Training data storage
- All conversations stored locally
- API keys encrypted in browser storage
- No data sent to external servers without consent
- Full control over camera and microphone access
- No voice response: Check API key and internet connection
- Camera not working: Grant camera permissions in browser
- Music not playing: Verify YouTube API key
- Character not loading: Ensure wife.vrm file is in public folder
- Close other browser tabs for better 3D performance
- Use Chrome for best WebGL support
- Enable hardware acceleration in browser settings
This is a comprehensive virtual companion application. Feel free to extend features:
- Add more animation files
- Implement additional AI providers
- Enhance browser automation
- Add more languages
This project is for educational and personal use. Ensure you comply with all API terms of service and local regulations regarding AI companions.
Enjoy your virtual AI wife companion! π