An Open Source alternative to NotebookLM's podcast feature: Transforming Multimodal Content into Captivating Multilingual Audio Conversations with GenAI
podcastfy.mp4
Podcastfy is an open-source Python package that transforms multi-modal content (text, images) into engaging, multi-lingual audio conversations using GenAI. Input content include websites, PDFs, youtube videos as well as images.
Unlike UI-based tools focused primarily on note-taking or research synthesis (e.g. NotebookLM β€οΈ), Podcastfy focuses on the programmatic and bespoke generation of engaging, conversational transcripts and audio from a multitude of multi-modal sources enabling customization and scale.
This sample collection is also available at audio.com.
Image Set | Description | Audio |
---|---|---|
Senecio, 1922 (Paul Klee) and Connection of Civilizations (2017) by Gheorghe Virtosu | π | |
The Great Wave off Kanagawa, 1831 (Hokusai) and Takiyasha the Witch and the Skeleton Spectre, c. 1844 (Kuniyoshi) | π | |
Pop culture icon Taylor Swift and Mona Lisa, 1503 (Leonardo da Vinci) | π |
Content Type | Description | Audio | Source |
---|---|---|---|
Youtube Video | YCombinator on LLMs | Audio | YouTube |
Book: Networks, Crowds, and Markets | Audio | book pdf | |
Research Paper | Climate Change in France | Audio | |
Website | My Personal Website | Audio | Website |
Website + YouTube | My Personal Website + YouTube Video on AI | Audio | Website, YouTube |
Language | Content Type | Description | Audio | Source |
---|---|---|---|---|
French | Website | Agroclimate research information | Audio | Website |
Portuguese-BR | News Article | Election polls in SΓ£o Paulo | Audio | Website |
- Generate conversational content from multiple-sources and formats (images, websites, YouTube, and PDFs)
- Customize transcript and audio generation (e.g. style, language, structure, length)
- Create podcasts from pre-existing or edited transcripts
- Support for advanced text-to-speech models (OpenAI, ElevenLabs and Edge)
- Support for running local llms for transcript generation (increased privacy and control)
- Seamless CLI and Python package integration for automated workflows
- Multi-language support for global content creation (experimental!)
- Add support for running LLMs locally
- Enable config for running podcastfy with no API KEYs
- and more...
- Podcastfy is now multi-modal! Users can generate audio from images + text inputs!
- Users can now customize podcast style, structure, and content
- Integration with LangChain for better LLM management
- Python 3.11 or higher
$ pip install ffmpeg
(for audio processing)
-
Install from PyPI
$ pip install podcastfy
-
Set up your API keys
from podcastfy.client import generate_podcast
audio_file = generate_podcast(urls=["<url1>", "<url2>"])
python -m podcastfy.client --url <url1> --url <url2>
Experience Podcastfy with our HuggingFace π€ Spaces app for a simple URL-to-Audio demo. (Note: This UI app is less extensively tested and capable than the Python package.)
Podcastfy offers a range of customization options to tailor your AI-generated podcasts:
- Customize podcast Conversation (e.g. format, style, voices)
- Choose to run Local LLMs (156+ HuggingFace models)
- Set System Settings (e.g. output directory settings)
We welcome contributions! See Guidelines for more details.
-
Content Summarization: Busy professionals can stay informed on industry trends by listening to concise audio summaries of multiple articles, saving time and gaining knowledge efficiently.
-
Language Localization: Non-native English speakers can access English content in their preferred language, breaking down language barriers and expanding access to global information.
-
Website Content Marketing: Companies can increase engagement by repurposing written website content into audio format, providing visitors with the option to read or listen.
-
Personal Branding: Job seekers can create unique audio-based personal presentations from their CV or LinkedIn profile, making a memorable impression on potential employers.
-
Research Paper Summaries: Graduate students and researchers can quickly review multiple academic papers by listening to concise audio summaries, speeding up the research process.
-
Long-form Podcast Summarization: Podcast enthusiasts with limited time can stay updated on their favorite shows by listening to condensed versions of lengthy episodes.
-
News Briefings: Commuters can stay informed about daily news during travel time with personalized audio news briefings compiled from their preferred sources.
-
Educational Content Creation: Educators can enhance learning accessibility by providing audio versions of course materials, catering to students with different learning preferences.
-
Book Summaries: Avid readers can preview books efficiently through audio summaries, helping them make informed decisions about which books to read in full.
-
Conference and Event Recaps: Professionals can stay updated on important industry events they couldn't attend by listening to audio recaps of conference highlights and key takeaways.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This tool is designed for personal or educational use. Please ensure you have the necessary rights or permissions before using content from external sources for podcast creation. All audio content is AI-generated and it is not intended to clone real-life humans!
Copyright (c) 2024. Tharsis T. P. Souza, New York, NY.