Skip to content

Surya-sourav/PromptCast.Ai

Repository files navigation

PromptCast.ai 🎙️ AI-Powered Podcast Creation

PromptCast.ai

License: MIT Python Version Flask Version

PromptCast.ai is an innovative AI-powered platform that revolutionizes podcast creation. With just a topic input, it generates professional-quality podcast scripts and audio, making content creation accessible to everyone.

🌟 Features

  • 🔍 Intelligent Content Scraping: Gathers relevant information from the web based on your topic.
  • 📝 AI Script Generation: Creates engaging podcast scripts using advanced AI models.
  • 🔊 Text-to-Speech Conversion: Transforms written scripts into natural-sounding audio.
  • 📄 PDF Export: Generates downloadable PDF versions of your podcast scripts.
  • 🎨 User-Friendly Interface: Intuitive web interface for easy interaction.

🚀 Quick Start

Get PromptCast.ai up and running in minutes:

  1. Clone the repository:

    git clone https://github.com/yourusername/promptcast-ai.git
    cd promptcast-ai
  2. Set up a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up environment variables: Create a .env file in the root directory and add:

    CEREBRAS_API_KEY=your_cerebras_api_key
    HUGGINGFACE_API_TOKEN=your_huggingface_api_token
    
  5. Run the application:

    python app.py
  6. Open your browser and navigate to http://localhost:5000.

🏗️ Architecture

PromptCast.ai follows a modular architecture for efficient and scalable podcast creation:

graph TB
    A[Web Interface] -->|User Input| B[Flask Server]
    B -->|Topic| C[Content Scraper]
    C -->|Raw Content| D[Script Generator]
    D -->|Script| E[PDF Creator]
    D -->|Script| F[Text-to-Speech]
    E -->|PDF| B
    F -->|Audio| B
    B -->|Results| A
Loading