Real-time AI conversational avatar powered by OpenAI GPT-4.
- Click "Deploy" button above or go to: https://vercel.com/new
- Import repository:
Sm0k367/eco-avatar - Add environment variable:
- Name:
OPENAI_API_KEY - Value: Your OpenAI API key
- Get it from: https://platform.openai.com/api-keys
- Name:
- Click "Deploy"
- Done! Your app is live in ~2 minutes 🎉
- ✅ AI Chat - Powered by GPT-4
- ✅ Voice Recording - Speech-to-text with Whisper
- ✅ Modern UI - Beautiful dark theme interface
- ✅ Mobile Responsive - Works on all devices
- ✅ Real-time - Instant AI responses
- ✅ Customizable - Settings for voice, speed, volume
eco-avatar/
├── api/ # Vercel Serverless Functions
│ ├── chat.py # AI chat endpoint
│ ├── transcribe.py # Audio transcription
│ └── health.py # Health check
├── public/ # Static frontend
│ ├── index.html # Main page
│ ├── styles.css # Styling
│ └── app.js # Frontend logic
├── requirements.txt # Python dependencies
├── vercel.json # Vercel configuration
└── README.md # This file
Required:
OPENAI_API_KEY- Your OpenAI API key
How to add in Vercel:
- Go to Project Settings → Environment Variables
- Add
OPENAI_API_KEYwith your key - Select all environments (Production, Preview, Development)
- Redeploy
GET /api/health- Health checkPOST /api/chat- Send message to AIPOST /api/transcribe- Transcribe audio
curl https://your-app.vercel.app/api/healthcurl -X POST https://your-app.vercel.app/api/chat \
-H "Content-Type: application/json" \
-d '{"message": "Hello!", "session_id": "test"}'- Vercel: Free tier (100 GB bandwidth/month)
- OpenAI API: Pay-as-you-go (~$5-20/month depending on usage)
# Install Vercel CLI
npm install -g vercel
# Clone repository
git clone https://github.com/Sm0k367/eco-avatar.git
cd eco-avatar
# Run locally
vercel devMIT License - feel free to use and modify!
- Issues: https://github.com/Sm0k367/eco-avatar/issues
- Vercel Docs: https://vercel.com/docs
- OpenAI Docs: https://platform.openai.com/docs
Built with 💜 by Epic Tech AI
Ready to deploy? Click the button above or visit: https://vercel.com/new