This project is a Flask-based web application that leverages Google API Gemini (Google Bard) and Google Search API to create a generative chatbot with multiple features. The application supports text-to-text conversation, image-to-text conversation, and text-to-speech integration, providing a robust user authentication system and token limit management. The token limits reset daily to ensure fair usage.
Text-to-Text Conversation: Engage in conversations with the chatbot using text input, powered by Google API Gemini. Image-to-Text Conversation: Upload images to generate text responses using Google's image processing capabilities. Token Limits: Manage user interactions with token limits that reset daily. Voice Integration: Convert text responses to speech using text-to-speech functionality. User Authentication: Secure user authentication system with registration and login features. Daily Token Reset: Automatically reset user tokens at the start of each day. Google Search Integration: Enhance responses with better search results from the internet using the Google Search API.
- Python
- HTML
- CSS
- Javascript
- SQL Lite
Visit "https://aistudio.google.com/app/apikey" for API key and use in this project.
User Registration and Login
- Register a new account using the /register route.
- Log in using the /login route. Chatbot Interaction
- Once logged in, users can engage with the chatbot via text or image inputs.
- Text responses can be converted to speech if voice integration is enabled. Token Management
- Each user is allocated a certain number of tokens per day.
- Tokens reset automatically at the start of each day. Sharing Content
- Users can share content via a generated link which can be accessed by others.
Contributions are welcome! Please open an issue or submit a pull request.
Here are the some Snapshots:
Credits: @imvks786, aistudio.google.com