Skip to main content

A Python package to generate AI-powered podcasts in Hindi, Marathi, or English using Gemini API.

Project description

AI Podcast Generator A Python package to generate AI-powered podcasts in Hindi, Marathi, or English using the Gemini API. Create engaging podcasts on any topic with customizable rounds and output options (save to MP3 or play immediately). Installation pip install ai-podcast-generator

Usage from ai_podcast_generator import PodcastGenerator

Initialize with your Gemini API key

pg = PodcastGenerator(api_key="YOUR_GEMINI_API_KEY", language="english")

Generate a podcast

pg.run_podcast( topic="AngularJS vs ReactJS", num_rounds=2, output=True, # Save to MP3 output_path="angular_vs_react.mp3" )

Features

Supports Hindi, Marathi, and English languages. Customizable number of Q&A rounds. Option to save podcast as MP3 or play immediately. Uses Gemini AI for script generation and text-to-speech.

Requirements

Python 3.10+ Gemini API key Dependencies: pyaudio, pydub, google-generativeai

License MIT License Contributing Contributions welcome! Please open an issue or PR on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_podcast_generator-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_podcast_generator-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file ai_podcast_generator-0.1.0.tar.gz.

File metadata

  • Download URL: ai_podcast_generator-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ai_podcast_generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc417925765b3e7fbd4aaa325cdfd6191c82e6bec4406380e18a0ac9ea012ea4
MD5 9b054109d5db773285b36f2bb220303d
BLAKE2b-256 90ebacd1d78306707e1175a9826741d22cac96f24c0cbe7df514c96751e2b020

See more details on using hashes here.

File details

Details for the file ai_podcast_generator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_podcast_generator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e8733463c234dcf3704c99fcfd87d96822bf0ea9c01696961aa9e33cbf3d3c6
MD5 3316590f99928379a2c6dabdf4314644
BLAKE2b-256 b76ac2aa66cddbb1cb8e4078849421c4a369f61f0f394336034d299f39531e95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page