Last updated
1/17/2025
Share
Get started
Document
Podcast

Create your own tailored podcast using your documents

This blueprint demonstrates how you can use open-source models & tools to convert input documents into a podcast featuring two speakers. It combines document pre-processing, language model-powered script generation, and text-to-speech synthesis. Designed to run on most local setups, it requires no external API calls or GPU access, making it both more accessible and privacy-friendly by keeping all processing local.

If you encounter any issues with the hosted demo below, try the Blueprint in the GPU-enabled Google Colab Notebook available here.

Preview this Blueprint in action
Hosted demo
Hosted Demo
Step by step walkthrough
Tools used to create

Trusted open source tools used for this Blueprint

Llama.cpp

Use llama.cpp to load GGUF-type models, enabling efficient local generation of podcast scripts.

Kokoro

Use Kokoro to initialize a text-to-speech model to generate your podcast audio. 

Streamlit

Use Streamlit to build an interactive app for the full document-to-podcast pipeline.

icon choices
Choices

Insights into our motivations and key technical decisions throughout the development process.

Focus
Decision
Rationale
Alternatives Considered
Trade-offs
Focus
Focus
Decision
Rationale
Alternatives Considered
Trade-offs
Overall Motivation
Overall Motivation
Build a local-friendly, developer-centric document-to-podcast solution.
Ensures privacy, flexibility, and accessibility for developers without GPUs.
APIs or targeting GPU-accessible developers.
Less polished UX; smaller models yield weaker output but are more accessible.
Document Pre-processing
Document Pre-processing
Used Python’s re library for text cleaning.
Lightweight, familiar, and effective for most input scenarios.
MarkItDown or custom regex libraries.
Limited scalability for complex tasks.
Podcast Script Generation
Podcast Script Generation
Used llama_cpp with Qwen2.5-3B-Instruct-GGUF.
CPU-friendly, consistent, and balanced performance.
Larger models or APIs; OLMoE-1B-7B-0924.
Smaller models are often less creative than larger ones, leading to weaker podcast scripts.
Audio Generation
Audio Generation
Adopted Kokoro/OuteTTS for TTS.
Best open-source results after testing multiple frameworks.
Suno/bark and parler-tts.
Open-source TTS lags behind closed-source solutions like ElevenLabs.
Deployment Options
Deployment Options
Supported Codespaces, CLI, Streamlit app, Colab, HF Spaces.
Flexible for diverse environments and compute needs.
Single-path setups like only local.
Maintaining multiple pathways adds complexity for updates and consistency.
Ready? Try it yourself!
icon extensions
Explore Blueprints Extensions

See examples of extended blueprints unlocking new capabilities and adjusted configurations enabling tailored solutions—or try it yourself.

Load more
Text Link
BYOTA
tags
Text Link
Finetune STT with your voice
tags
Text Link
Map Features in OSM with CV
tags
Text Link
Finetune LLM using Federated AI
tags
Text Link
Embedding
tags
Text Link
Federated AI
tags
Text Link
Image Segmentation
tags
Text Link
Object Detection
tags
Text Link
Automatic Speech Recognition
tags
Text Link
Speech-to-Text
tags
Text Link
Query structured documents Q&A
tags
Text Link
Emails
tags
Text Link
Newsletter
tags
Text Link
Podcast
tags
Text Link
Community
tags
Text Link
Events
tags
Text Link
Discord
tags
Text Link
Data Extraction
tags
Text Link
User-Interface
tags
Text Link
Performance Optimization
tags
Text Link
LLM Inference
tags
Text Link
Language Modelling
tags
Text Link
Text-to-Text
tags
Text Link
Text-to-Speech
tags
Text Link
LLM
tags
Text Link
Email
tags
Text Link
Podcast personalities
tags
Text Link
Document-to-podcast
tags
Text Link
Blueprints
tags
Text Link
Use Cases
tags
Text Link
English
tags
Text Link
General Language
tags
Text Link
Multilingual
tags
Text Link
Audio
tags
Text Link
Text
tags
Text Link
Finetuning
tags
Text Link
Local AI
tags
Text Link
Federated Learning
tags
Text Link
LLM Integration
tags