Podcastfy can be used as a command-line interface (CLI) tool. See below some usage examples. Please make sure you follow configuration instructions first - See Setup.
-
Generate a podcast from URLs (using OpenAI TTS by default):
python -m podcastfy.client --url https://example.com/article1 --url https://example.com/article2
-
Generate a podcast from URLs using ElevenLabs TTS:
python -m podcastfy.client --url https://example.com/article1 --url https://example.com/article2 --tts-model elevenlabs
-
Generate a podcast from a file containing URLs:
python -m podcastfy.client --file path/to/urls.txt
-
Generate a podcast from an existing transcript file:
python -m podcastfy.client --transcript path/to/transcript.txt
-
Generate only a transcript (without audio) from URLs:
python -m podcastfy.client --url https://example.com/article1 --transcript-only
-
Generate a podcast using a combination of URLs and a file:
python -m podcastfy.client --url https://example.com/article1 --file path/to/urls.txt
-
Generate a podcast from image files:
python -m podcastfy.client --image path/to/image1.jpg --image path/to/image2.png
-
Generate a podcast with a custom conversation configuration:
python -m podcastfy.client --url https://example.com/article1 --conversation-config path/to/custom_config.yaml
-
Generate a podcast from URLs and images:
python -m podcastfy.client --url https://example.com/article1 --image path/to/image1.jpg
-
Generate a transcript using a local LLM:
python -m podcastfy.client --url https://example.com/article1 --transcript-only --local
For more information on available options, use:
python -m podcastfy.client --help
- Generate a podcast from raw text input:
python -m podcastfy.client --text "Your raw text content here that you want to convert into a podcast"