DEV Community

Ved Vyas
Ved Vyas

Posted on

Murf-AI Coding Challenge 2 Project

This is a submission for the Murf AI Coding Challenge 2

🚉 What I Built
RailVaani-Railway Announcement System using Murf AI is a simulation tool that mimics real Indian railway announcements. It allows users to enter train information (number, name, time, station details, delay status, etc.). Then it generates bilingual announcements in both English and Hindi using Murf’s natural-sounding voice API.

✨ Key features:

English + Hindi voice announcements

12-hour format support (AM/PM)

Train & platform details read clearly

Delayed status announcements

Save, replay, or delete past announcements (localStorage)

Minimal backend (Node.js) used to securely interact with Murf API

🎥 Demo
Watch the demo video on YouTube
https://youtu.be/DCwax8_-vq4

🔗 Code Repository:
GitHub Repo: https://github.com/Cosmos-Ved09/RailVaani-Murf-ai

🧠 How I Used Murf API
I used Murf’s Text-to-Speech API to convert dynamic announcement text (input by the user) into audio in two languages:

English voice: en-US-natalie

Hindi voice: hi-IN-shaan

The frontend sends the text and selected voice to a Node.js backend, which makes a secure call to Murf's API and returns an audio URL. The audio is then played in the browser.

🌍 Use Case & Impact
This project replicates an everyday system used in railway stations, making it a perfect example of a real-world AI application.
🚆 Railway stations can use this model to:

Reduce reliance on manual announcements

Localize announcements in multiple languages

Automate repetitive processes

Improve clarity and consistency

📚 It can also be used as an ed-tech project or demo kit to showcase the power of AI-driven voice synthesis.

Top comments (0)