

Experience the future of companionship with an AI-powered 3D virtual chatbot. Engage in lifelike conversations, enjoy emotional interactions, and immerse yourself in a hyper-realistic experience. With stunning visuals, adaptive intelligence, and a natural voice, your virtual companion is just a chat away! 💕

This is the frontend service for the Virtual Girlfriend application. It provides a user interface for interacting with the virtual avatar, supporting real-time chat, audio playback, and lip-sync animations.
git clone https://github.com/satyamshorrf/virtual-girlfriend.git cd frontend
npm install
.env file in the frontend directory and add the backend API URL:
REACT_APP_BACKEND_URL=http://localhost:3000
npm start
The frontend will run on http://localhost:5173 (or another port if specified).
npm startRuns the app in development mode.
npm run buildBuilds the app for production.
npm testRuns the test suite.

This is the backend service for the Virtual Girlfriend application. It handles chat interactions, audio generation, and lip-syncing for the virtual avatar.
ffmpeg and rhubarb are installed and available in your system's PATH.git clone https://github.com/satyamshorrf/virtual-girlfriend.git cd backend
npm install
.env file in the backend directory and add the following:
OPENAI_API_KEY=your_openai_api_key ELEVEN_LABS_API_KEY=your_elevenlabs_api_key
npm run dev
The server will run on http://localhost:3000.
GET /Returns a simple "Hello World!" message.
GET /voicesFetches available voices from the ElevenLabs API.
POST /chatHandles chat requests. Accepts a JSON payload:
{ "message": "Hello!", "user_id": "12345" }
Returns a JSON response with text, audio, lip-sync data, facial expressions, and animations.
Use nodemon for hot-reloading during development:
npm install -g nodemon nodemon index.js
This project is licensed under the MIT License.