A reusable Flask template that integrates Bland AI’s conversational pathways with voice-based interaction in the browser. Transcribes user speech, sends it to Bland AI, and speaks the AI's response back
- User clicks "Start".
- Browser captures microphone input.
- Speech is transcribed and sent to Flask backend.
- Flask forwards it to Bland AI (
/v1/pathway/chat/{chat_id}
). - Response is spoken back to the user in a female voice.
- Loop continues until stopped.
git clone https://github.com/Manoj632004/Voice-Enabled-AI-Chatbot-Template
cd voice-chatbot-bland-flask
pip install flask requests
BLAND_API_KEY = "your_bland_ai_api_key"
python app.py