PodGenie is a lightweight, AI-powered web app built using Streamlit that lets anyone generate podcast-style audio by simply entering a topic. It uses Gemini 2.5 Flash by Google to generate the podcast script and gTTS to convert it into voice.
- 🤖 Script Generation with Gemini 2.5 Flash
- 🔊 Voice Synthesis using Google Text-to-Speech (gTTS)
- 🎧 Streamlined UI using Streamlit
- ⬇️ Downloadable Podcast Audio (MP3)
| Component | Tool Used |
|---|---|
| UI / Frontend | Streamlit |
| Script Generation | Gemini 2.5 Flash (via Google AI API) |
| Text-to-Speech | gTTS (Google Text-to-Speech) |
| Audio Playback | Streamlit Audio Player |
- Enter a topic like "The Future of Robotics"
- The app sends the topic to Gemini 2.5 Flash using the Google Generative AI SDK.
- Gemini returns a podcast-style script.
- gTTS converts the text into voice.
- You can listen to or download the generated podcast.
Create .env file
GEMINI_API_KEY=AIzaSyAKDD-Wf5zL6xqaiV_HcCGVHypZxbgf_-I
export GOOGLE_APPLICATION_CREDENTIALS= project/hackathon-463806-f7d9eb3ff7cc.json #Create a gTS API file first
cd podcast-generator && node server.js
cd podcast-generator-ui/
streamlit run app.pygit clone https://github.com/psreyas09/project
cd project/podgenie
pip install -r requirements.txt