EasyTTS is a convenient tool designed to easily use third-party API services to invoke OpenAI's text-to-speech (TTS) functionality.
EasyTTS allows users to enter text and select different models, voices, and formats to generate audio files. The code for this project is almost entirely written by GPT-4 and I only provide requirements and suggestions.
Before using this tool, you should obtain an API-KEY that can call OpenAI TTS.
ChatAnywhere (only paid key supports calling OpenAI TTS, please select "Support paid key" to get API-KEY)
Bltcy
Before you start using it, make sure that Python is installed on your computer. If you have not installed Python yet, you can go to the Python official website to download and install it.
安装所需的Python库.bat to install the required Python library (such as inquirer ).日常启动.bat and select "Update API Setup" in the launcher menu to enter your API key and API base address.日常启动.bat file. To learn about each tone, please visit Text to Speech - OpenAI API. Note that the same tone may differ in different languages, please refer to the actual effect.
You can also find videos about ChatGPT voice dialogue functions on major video websites. The voice dialogue function in OpenAI's ChatGPT APP uses OpenAI TTS.
WebUI
Tone display (bilingual)
API consumption, balance query
Welcome to contribute to the project! If you have any suggestions or want to add new features, feel free to create an Issue or Pull Request.