This repository was archived by the owner on Jun 3, 2026. It is now read-only.
Repository navigation
v0.1.0
This release introduces a simple CLI and Python package for text-to-speech conversion using OpenAI's TTS models.
- CLI commands:
gptspeak "text",convert,play,concat,configure - Python functions:
convert_text_to_speech(),convert_text_to_speech_direct(),play_audio() - Multiple TTS models (tts-1, tts-1-hd) and voices (alloy, echo, fable, onyx, nova, shimmer)
- Easy configuration with
gptspeak configure - Cross-platform compatibility (macOS, Linux, Windows)
Install with pip install gptspeak. Set your OpenAI API key in the environment.
Example: gptspeak "Hello, world!" -o hello.mp3 -m tts-1-hd -v nova
Explore the README for detailed usage instructions and examples.