Anuwad is a voice-enabled translation application designed to help Hindi and Kannada speakers communicate across language barriers. It combines speech input, AI-powered text translation, and generated speech playback in one simple interface.
- Voice Input: Speak naturally using your microphone.
- Hindi ↔ Kannada Translation: Translate text in both directions.
- AI-Generated Speech: Listen to translations in the target language.
- Copy Translation: Copy translated text easily.
- Editable Input: Review and correct recognized speech before translating.
| Component | Technology |
|---|---|
| Frontend | Flutter, Dart |
| Backend | Python, FastAPI |
| Translation | Sarvam AI |
| Speech Generation | Sarvam AI Text-to-Speech |
| Speech Recognition | speech_to_text |
| HTTP Communication | REST API |
- The user speaks into the microphone or enters text manually.
- The application sends the text to the FastAPI backend.
- The backend requests a translation from Sarvam AI.
- The translated text appears in the Flutter interface.
- When requested, the backend generates speech audio for playback.
- Flutter SDK and Dart
- Python
- A Sarvam AI API key
git clone https://github.com/omiiikb07/Anuwad.git
cd AnuwadCreate and activate a Python virtual environment inside backend, then install the backend dependencies required by the project.
Create backend/.env and add:
SARVAM_API_KEY=your_api_key_hereNever commit your real API key.
From the project root, run:
cd backend
python -m uvicorn app:app --reloadThe backend should be available at http://127.0.0.1:8000.
Open a second terminal in the project root:
flutter pub get
flutter run -d chromeAnuwad/
├── backend/
│ └── app.py
├── lib/
│ └── main.dart
├── test/
├── web/
├── android/
├── ios/
├── windows/
├── linux/
├── macos/
├── pubspec.yaml
└── README.md
The web prototype supports Hindi ↔ Kannada text translation, microphone input, translation copying, and AI-generated audio playback.
- Improve responsive UI and accessibility.
- Add automated tests for translation and speech workflows.
- Improve error handling and loading states.
- Prepare deployment for wider access.
- Explore mobile platform support.
Omshi Bhaskar
GitHub: @omiiikb07