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)